You are on page 1of 8

Page |1

ict- 4th qtr reviewer

1) consist of a collection of files. These files can include modules, insertibles


objects and a single resource files
a. Microsoft b. visual basic c. powerpoint

2) type of VB file where each project is saved on a file.


a. resource b. log c. project

3) The extension name of a project file which can be tracked.


a. .VBP b. .RES c. .LOG

4) This type of VB file where each coded module is saved as a file.


a. standard module b. class module c. form module

5) Type of VB file where each form is saved as a file.


a. binary b. form module c. class module

6) Each icon or picture property value is saved by Visual basic in .FRX form.
a. Log b. resource c. binary

7) A file for logging load errors.


a. Log b. resource c. binary

8) A project can have a single resource file for starting binary and string data.
a. project b. resource c. log

9) give the extension file of the following where they can be tracked.
a. resource ___________
b. log _____________ a. .BAS f. .RES
c. binary ____________ b. .CLS g. .VBP
d. form module ___________ c. .FRM h. .VBW
e. class module ___________ d. .FRX
f. standard module _____________ e. .LOG
g. workspace _______________

10) one part of the planning process might be creating an ordered list of programming steps, called ___
a. program user interface b. algorithm c. bug

11) The complete set of forms and controls used in a program. This includes all the menus, dialog
boxes, button, objects and pictures that users see when they operate the program.
a. program user interface b. algorithm c. bug

12) It is a set of instruction that collectively cause a computer to perform a useful tasks, such as
processing electronic artwork of managing files on a network.
a. program b. program interface c. properties

13) are programmable characteristics associated with forms and their controls.
a. program b. program interface c. properties

14) a problem that stops the program from running or from producing the expected results is called_
a. software defect (bug) b. virus c. defective program

15) Long statements can be broken into multiple lines in the code window using ___________.
a. remark b. line continuation c program

16) is used to tell Visual basic to ignore the words that follow it. it is used to describe the procedures
a. single quotation mark b. line continuation c. code
Page |2

17) resumes the current application and place visual basic in this mode. This option is equivalent to
start or continue option
a. break b. run c. stop

18) This button ends the current application and allows you to return to Visual Basic design mode. This
is equivalent to choosing the End option from the run menu.
a. break b. run c. stop

19) Places Visual Basic in this mode, which suspends and pauses the current application.
a. break b. run c. stop

20) It is a word that visual basic uses as part of its language. This includes, predefined statements
(such as IF and LOOP). functions (such as LEN and MID) and operators (such as OR and MOD)
a. Stop b. keyword c. run

21) Is used to to create a box that can display text. This box can display output but cannot input any
information directly to it.

a. syntax b. label control c. text box control

22) a label box property that determines how the textual characters are aligned in the region of the
label.
a. backstyle b. appearance c. alignment property

23) a label box property that is set to 1-30 label appears recessed.
a. appearance property b. borderstyle property.

24) For label to appear recessed. This is set to 1.


a. backcolor property b. border style property c. alignment property.

25) this works with backcolor property. It is set to 0 transparent.


a. backstyle b. alignment property c. appearance property

26) specifies the backcolor and foreground color of the label.


a. caption b. font c. backcolor and forecolor

27) identifies the text that appears in the label.


a. name b. caption c. font

28) property defines the name by which you will call the label in the code.
a. name property b. font property c. caption property

29) this property when set to TRUE the Label will grow vertically to fit its contents, while retaining the
same width .
a. autosize b. wordwarp c. font property

30) this property determines if its contents should be automatically resized as its grows. If set to
TRUE, the Label grows horizontally to fit its content.
a. autosize property b. wordwarp property c. caption property

31) Visual basic includes this procedure where this executes when the form is loaded in the memory,
before the program displays the form
a. form load procedure b. text property c. multiline property

32) are versatile controls that can be used to get input from the user or to display text. Textboxes
should not be used to display text that you do not want the user to change
a. label control b. textbox control c. command buttom control
Page |3

33) property of textbox control is used to align text to the left, right or centered. The Alignment
property will not work if MultiLine property is not set to TRUE.
a. Alignment property b. multiline property c. scroll bat property

34) horizontal scroll bar.___________ property if set to TRUE, the textbox will accept or display
multiple lines of text at run time. A multiple-line textbox automatically manages word wrap as long
as there is no
a. Alignment property b. multiline property c. scroll bat property

35) Property that can be either true or false. If true, scroll bars will appear.
a. Tabindex property b. scroll bars property c. tabindex pproperty

36) Property that determines the order in which the object receives the focus when the user presses
the tab key
a. Tabindex b. text property c. selstart

37) Property that contains the text that appears in the text box.
a. Text property b. selstart sellenghtm sel/text c. tabindex

38) These properties are only avaible only at run time. Use theses properties if you wish to select the
content of the textbox when it receives focus.
a. Text property b. selstart sellenght sel/text c. tabindex

39) allows the end-user to click a button to perform a specific action such as displaying a picture,
ending the program, copying an object or any other task.
a. Command buttom b. texbox control c. label box control

Command buttom properties

40) property contains the text that should appear on the button. By inserting an ampersand character
(&) before the character it will act as a hotkey
a. enabled b. caption c. default

41) property, when set to true, allows the user to press enter key instead of clicking the button to
activate the click event procedure.
a. Caption b. Default c, enabled

42) property can be either true or false. If True, will appear shaded, and the button will not
resthe button will respond when clicked. If False, the caption pond to events.
a. Caption b. Default c, enabled
43) Is a set of keystroke such as ALT-C when type wi;; produced the same results as clicking the
command.
a. Default b. hotkey c. enabled
44) property contains a picture that will appear on the command button instead of caption. To display
different pictures, which indicate disabled, the buttons or the event procedure is running.
a. Style property b. picture property c. default

45) is a word that has a special meaning to Visual Basic like Private Sub and End Sub.
a. Function b. keyword c. program comments

46) explain the purpose of the program or procedure and describe what It accomplishes. It always
begins with an apostrophe character(‘).
a. Function b. keyword c. program comments
Page |4

47) is one way of executing a set of statements that perform a specific task. To send information to a
function, you provide arguments, like LoadPicture.
a. Function b. keyword c. program comments

48) Specifies the name of a control


a. tooltiptext b. name c. top

49) Sets the text that will appear as you put the mouse over a control.
a. tooltiptext b. name c. top

50) Indicates the starting position of a control from the Top edge of a form
For forms, it specifies the number of twips from the Top edge of the screen.
a. width b. visible c. top

51) Allows you to set whether a control will be visible on a form or not
a. width b. visible c. top

52) Specifies the width of a control in twips.


a. width b. visible c. top

53) Determines how the form will respond to a user who would like to resize its window.
a. controlbox b. borderstyle c. icoh

54) Specifies whether the control menu will appear or not.


a. controlbox b. borderstyle c. icoh

55) Specifies the name of the button that will appear on the taskbar when the user minimizes the form.
a. controlbox b. borderstyle c. icoh

56) Adds an active Maximize button to the window of a form


a. maxbutton b. minbutton c. movable

57) Determines the size of a for(normal, maximized or minimized). This a the most useful when you
want the form to be minimized.
a. startup position b. window state c. show in taskbar

58) Sets the starting position of a form at runtime. The most common value used is 2- CenterScreen,
which shows the form at the center of the screen when it is opened.
a. startup position b. window state c. show in taskbar

59) Specifies whether an open form will appear on the taskbar or not.
a. startup position b. window state c. show in taskbar

60) These are the controls that you put or build into Visual Basic files as you create your project. They
do not exist in an external file. To use these controls, you gave to get them from the toolbox and
then set their properties so they can perform a specific function in the project
a. intrinsic controls b. commonly used controls c. common properties

Label box properties :

61) Sets the name of a control. It starts with the prefix “lbl”
a. backcolor b. caption c. name

62) Sets the text that will appear in the label box at runtime
a. backcolor b. caption c. name

63) Used for changing the background color of the label box
a. backcolor b. caption c. name
Page |5

64) Sets the font name, font style, font size, and font effects
a. autosize b. font c. fontcolor

65) Sets the font color.


a. autosize b. font c. fontcolor

66) Allows the label box to expand horizontally to correspond to the length of the text placed unto it.
a. wordwrap b. autosize fontcolor

67) Retains the label width but expands vertically to put text exceeding the width to succeeding lines.
a. wordwrap b. autosize fontcolor

TEXTBOX PROPERTIES

68) Sets the name to be used when coding or calling a control. It starts with the prefix “txt”
a. text b. name c. multiline

69) Sets the text that will appear at runtime


a. text b. name c. multiline

70) Allows text to occupy several lines within the box. Any of the following values can be set:
a. alignment b. multiline c. scrollbars

71) Can be used several lines


a. false multiline b. true multiline c. alignment

72) Cannot use several lines.


a. false multiline b. true multiline c. alignment

73) Sets the alignment of the text within the box.


a. tabindex b. scrollbars c. alignment

74) Sets the presence of scrollbars in the box


a. scrollbars b. tabindex c. multiline

75) Sets the order in which a control will receive focus when the tab key is pressed. A number input is
needed to designate the order.
a. tabindex b. scrollbars c. alignment

76) Specifies whether a user can change the value In the text box or not.
a. maxlenght b. passwordchar c. locked

77) Sets the maximum number of characters that may be entered in the text box
a. maxlenght b. passwordchar c. locked

78) Sets the character that will appear when the password is entered into the text box.
a. maxlenght b. passwordchar c. locked

COMMAND BUTTOM

79) Performs a specific action when clicked. Most of the actions are specified using program codes. The
syntax depends on the function that the command
a. command button b option button c. list box
Page |6

80) Puts a label on the button. An ampersand(&) is placed before a letter in caption to create a
keyboard shortcut key. The letter designated as the shortcut key will be underlined. To access it
using the keyboard. You must press the ALT key together with the underlined letter of the

a. captions . b. option button c. combo box

81) Removes all items from the list.


a. additem b. clear c removeitem

82) Removes a particular choice or item from the List Box.


a. additem b. removeitem c. clear

83) Sets the choices on the List Box


a. additem b.removeitem c. clear

84) Sets the name to be used when coding or calling a control. It starts with the prefix “cmd”
a. captions b. name c. font

Textbox Properties

85) Sets the image that appears on the command button. You can choose from the available images in
your computer or you can use one of your own picture files. Set the style property to 1-Graphical
for the picture to appear
a. font b. backcolor c. picture

86) Sets the font name, font style, font size, and font effects
a. font b. backcolor c. picture

87) Keyboard shortcuts are also called accelerator keys. Use different letters for accelerator keys. If
you use the same letter, only one of the button will activate when the shortcut key is pressed the
thers will be disregarded.
a. caption b. font c. backcolor

88) Sets the background color of the command button


a. picture b. backcolor c. font d, caption

89) Sets whether a command button will display text or graphics


a. style b, default c. backcolor d. picture.

90) Determines how a command button will respond to the enter key.
a. default b. style c. caption

commonly used controls

91) It is the first object you see when you open the application. It is the window into which all the
controls will appear, where you will input data and see the result.
a. the label b. the form c. multiline

92) This is probably the first control you will master. It is used to display static text, titles and screen
output from operations.
a. the label b. the form c. multiline

Important property of label:


93) the text that is displayed in the label
a. backstyle b. backcolor and forecolor c. caption

94) colors of the background and the text


a. backstyle b. backcolor and forecolor c. caption
Page |7

95) Opaque or Transparent – whether the background is visible or not.


a. backstyle b. font c. alignment

96) – True or False – If true, you can have several lines of text, delimited by <CR>
a. multiline b. backstyle c. backcolor

97) is commonly known as radio button because it looks like the power button of old car radios
a. check box b. option button c. command button

Option button Properties

98) Sets the name to be used when coding or calling a control. It starts with the prefix “opt”
a. name b. caption c. appearance d. value

99) Sets the name to be used when coding or calling a control. It starts with the prefix “opt”
a. appearance b. value c. captionvalue d. name

100) Sets the appearance of the button.


a. appearance b. value c. captionvalue d. name

Combos properties

101) Sets the text that will appear on the combo box when the program runs.
a. style b. name c. backcolor d. text
102) Sets the type of combo box.
a. text b. backcolor c. style

1 – (includes a dropdown list and a text box. User can select from the list or type in the text
box.
a. simple combo b. dropbox combo c. style

2 – (has list and a text box that doesn’t drop down.)


a. simple combo b. dropbox combo c. style

103) Used for changing the background color of the combo box.
a. additem b. backcolor c. style

LISTBOX

104) Presents a list of choices to the user in a single column.


Allows the input of options by the user or the creation of a list at runtime.
a. list box b. combobox c. textbox

105) Sets the name to be used when coding or calling a control. It starts with the prefix “list”
a. multiselect b. backcolor c. name d. set count

106) Used for changing the background color of the list box.
a. multiselect b. backcolor c. name d. set count

107) Allows several selections to be made


a. multiselect b. backcolor c. name d. set count

108) Displays the number of selected items in a Text box or Label box
a. multiselect b. backcolor c. name d. set count
Page |8

TEXTBOX PROPERTIES

109) Sets the name to be used when coding or calling a control. It starts with the prefix “pic”
a. appearance b. stretch c. name
110) Specifies whether pictures resizing is allowed or not.True – Allows resizing of pictures
False – does not allow pictures resizing.
a. appearance b. stretch c. name

Properties Common to the Combo Box and the List Box

111) Tells the user whether the items on the list are sorted alphabetically by displaying True/False in
a text box or Label Box
a. sorted b. listindex c,. listcount d text

112) Returns or sets the index of the selected items In the control.
a. sorted b. listindex c. listcount d text

113) Counts the number of choices in the List Box


A control that will displays the counted items should be specified.
a. sorted b. listindex c,. listcount d text

114) Displays the selected text or item in the assigned Text box or Label box.
a. sorted b. listindex c,. listcount d text

Methods Common to the Combo Box and the List Box

115) Removes all items from the list


a. additem b. removeitem c. clear

116) Sets the choices on the List Box


a. additem b. removeitem c. clear

You might also like