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

1 In contrast to a terminal-based program, a GUI-based program a completely cont

ID: 3670629 • Letter: 1

Question

1 In contrast to a terminal-based program, a GUI-based program

a completely controls the order in which the user enters inputs

b can allow the user to enter inputs in any order

2 The main window class in a GUI-based program is a subclass of

a Text

b Frame

c Window

3 The attribute used to attach an event-handling method to a button is

named

a pressevent

b onclick

c command

4 The model classes are responsible for

a managing a program’s data

b displaying a program’s data

5 The controller methods

a are triggered when events occur in the view

b manage a program’s data

c display a program’s data

6 The window component that allows a user to move the text visible

beneath a Text widget is a

a list box

b label

c scroll bar

7 The sticky attribute

a controls the alignment of a window component in its grid cell

b makes it difficult for a window component to be moved

8 The field used to set frame attributes is called

a master

b mister

9 Generally speaking, it is better to

a define a main window of a fixed size

b allow the user to alter the size of a main window

10 The rows and columns in a grid layout are numbered starting from

a (0, 0)

b (1, 1)

Explanation / Answer

1 In contrast to a terminal-based program, a GUI-based program

a completely controls the order in which the user enters inputs

b can allow the user to enter inputs in any order

2 The main window class in a GUI-based program is a subclass of

a Text

b Frame

c Window

3 The attribute used to attach an event-handling method to a button is

named

a pressevent

b onclick

c command

4 The model classes are responsible for

a managing a program’s data

b displaying a program’s data

5 The controller methods

a are triggered when events occur in the view

b manage a program’s data

c display a program’s data

6 The window component that allows a user to move the text visible

beneath a Text widget is a

a list box

b label

c scroll bar

7 The sticky attribute

a controls the alignment of a window component in its grid cell

b makes it difficult for a window component to be moved

8 The field used to set frame attributes is called

a master

b mister

9 Generally speaking, it is better to

a define a main window of a fixed size

b allow the user to alter the size of a main window

10 The rows and columns in a grid layout are numbered starting from

a (0, 0)

b (1, 1)

If you need any further refinements, just get back to me.