Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For each of the following statements, determine whether they are true for GUI pr

ID: 3920576 • Letter: F

Question

For each of the following statements, determine whether they are true for GUI programs, command line programs or both.

The programs displays icons and widgets.

      [ Choose ]            Both            Command line programs            GUI programs      

The program is entirely event-driven.

      [ Choose ]            Both            Command line programs            GUI programs      

The program performs a series of tasks in a predetermined order such as asking for input.

      [ Choose ]            Both            Command line programs            GUI programs      

The programs uses global variables to keep track of state.

      [ Choose ]            Both            Command line programs            GUI programs      

Commands are given in any order the user chooses.

Options: Command line programs, GUI programs, Both

Explanation / Answer

1. GUI Program

Graphical user interface provides graphical icons and widgets for interaction

2. GUI Program

GUI is entirely based events. For example opening a window , clicking over a button, typing something in a textarea.

3. CUI Program

A shell script is written in a shell programming language (e.g., bash ) to a command in order for the command to use it as an input.

4. Both

Both GUI and CUI uses global variable for handling.

5. Both

Both GUI and CUI commands can be given in any order.