

McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Science in Computer Science (BSc CS) .
101. |
A complete repaint of a form or control can be enforced by ________ method. |
A. | refresh. |
B. | fresh. |
C. | show. |
D. | hide. |
Answer» A. refresh. |
102. |
________ event is fired when there is a change in the contents of the text box. |
A. | Click. |
B. | Got focus. |
C. | Lost focus. |
D. | Change. |
Answer» D. Change. |
103. |
________ is used to link or embed object, display and manipulate data from other windows based applications. |
A. | OLE. |
B. | DLE. |
C. | MLE. |
D. | CLE. |
Answer» A. OLE. |
104. |
The _______ event occurs when the form is closed by the user. |
A. | load. |
B. | click. |
C. | double click. |
D. | unload. |
Answer» D. unload. |
105. |
The ________ method is used to display a form object. |
A. | show. |
B. | hide. |
C. | control. |
D. | list. |
Answer» A. show. |
106. |
A ________ is a window that contains application code and has other objects placed on it to create the user interface. |
A. | code. |
B. | object. |
C. | form. |
D. | explorer. |
Answer» C. form. |
107. |
Visual basic project files are saved with an extension _________. |
A. | .vbp |
B. | .lmp |
C. | .bvp |
D. | .frm |
Answer» A. .vbp |
108. |
Form files are saved with an extension __________. |
A. | .frm. |
B. | .prj. |
C. | .vbp. |
D. | .rfm. |
Answer» A. .frm. |
109. |
The ________ box displays the name of the selected object associated with the form. |
A. | object. |
B. | list. |
C. | combo. |
D. | checkbox. |
Answer» A. object. |
110. |
A ________ procedure is used to create and manipulate custom properties. |
A. | mini. |
B. | property. |
C. | maxi. |
D. | stored. |
Answer» B. property. |
111. |
Writing code in _________ modules can create new objects. |
A. | form. |
B. | procedure. |
C. | class. |
D. | window. |
Answer» C. class. |
112. |
______ structure is for selectively executing a single block of statements from among multiple blocks of statements. |
A. | Do case. |
B. | Select-case. |
C. | For Next. |
D. | Do While. |
Answer» B. Select-case. |
113. |
The ________ statement first executes the statements and then tests the condition after each execution. |
A. | do-until. |
B. | do-loop while. |
C. | select-case. |
D. | if endif. |
Answer» B. do-loop while. |
114. |
The _________ function with symbols representing the date and time is used to print the formatted dates and times. |
A. | String. |
B. | Format. |
C. | Val. |
D. | date. |
Answer» B. Format. |
115. |
______ is the function used to compare two strings. |
A. | Strinv. |
B. | StrComp. |
C. | CompStr. |
D. | String. |
Answer» B. StrComp. |
116. |
The __________ function returns the intervals between two dates in terms of years, months or days. |
A. | datediff. |
B. | dateiff. |
C. | diffdate. |
D. | dateinter. |
Answer» A. datediff. |
117. |
The ________ function returns the length of string. |
A. | length. |
B. | len. |
C. | strlen. |
D. | lenstr. |
Answer» B. len. |
118. |
________ function returns a Variant (Long) specifying the position of the first occurrence of one string within another. |
A. | StrIn. |
B. | InStr. |
C. | StrVar. |
D. | VarStr. |
Answer» B. InStr. |
119. |
The value property of the scroll bar represents its current value which may be any integer between ________ and ________ value. |
A. | mini,maxi. |
B. | large,short. |
C. | high,low. |
D. | minimum, maximum. |
Answer» D. minimum, maximum. |
120. |
A Combobox combines the feature of ________ and _________. |
A. | listbox,optionbutton. |
B. | textbox,checkbox. |
C. | listbox,scrollbar. |
D. | textbox, listbox. |
Answer» D. textbox, listbox. |
121. |
_________ method removes list entries from a list box at run time. |
A. | Item remove. |
B. | Delete. |
C. | Remove item. |
D. | Erase. |
Answer» B. Delete. |
122. |
Control arrays are added at run time using __________ statement. |
A. | unload object. |
B. | load object. |
C. | form load. |
D. | form unload. |
Answer» B. load object. |
123. |
________ statement removes a control from an array. |
A. | Unload Object. |
B. | Load Object. |
C. | Form Load. |
D. | Form Unload. |
Answer» A. Unload Object. |
124. |
_______ is displayed as a horizontal line between items on a menu bar. |
A. | Horizontal Bar. |
B. | Separator Bar. |
C. | Vertical Bar. |
D. | Split Bar. |
Answer» B. Separator Bar. |
125. |
Check mark can be placed on a menu item using __________ property. |
A. | checked. |
B. | unchecked. |
C. | caption. |
D. | text. |
Answer» A. checked. |
126. |
________ argument is an integer called button. |
A. | Second. |
B. | First. |
C. | Third. |
D. | Fourth. |
Answer» B. First. |
127. |
________ event occurs when the user presses any mouse button. |
A. | Mouse Up. |
B. | Mouse Right. |
C. | Mouse Left. |
D. | MouseDown. |
Answer» D. MouseDown. |
128. |
________ argument gives the status of the SHIFT, CTRL and ALT keys. |
A. | Second. |
B. | First. |
C. | Third. |
D. | Fourth. |
Answer» A. Second. |
129. |
________ and ________ functions are used to add predefined dialog boxes. |
A. | Input( ) and Msgbox( ) |
B. | Msgbox( ) and Listbox( ) |
C. | Combobox( ) and Input( ) |
D. | Input( ) and Listbox( ) |
Answer» A. Input( ) and Msgbox( ) |
130. |
The common Dialog is used as a _________ that lets the user select and saves files. |
A. | dialog box |
B. | msgbox |
C. | input box |
D. | listbox |
Answer» A. dialog box |
131. |
______ function specifies the file name and assigns the picture to the picture property. |
A. | Unload picture |
B. | Load picture |
C. | Show picture |
D. | List picture |
Answer» B. Load picture |
132. |
________ method sets the colour of an individual pixel. |
A. | Reset |
B. | Set |
C. | Point |
D. | Fixed |
Answer» B. Set |
133. |
The point method returns the ________ of a particular pixel. |
A. | color |
B. | position |
C. | coordinate |
D. | center point |
Answer» A. color |
134. |
________ property of an image control sizes the picture loaded to it. |
A. | Undeclared variable |
B. | Text |
C. | Image |
D. | Declared variable |
Answer» D. Declared variable |
135. |
________ event occurs whenever the size of the form is changed. |
A. | Size |
B. | Change |
C. | Resize |
D. | Fixed |
Answer» C. Resize |
136. |
________ method with _______ argument is used to cascade forms. |
A. | Arrange, VbCascade |
B. | Arrange, VbFill |
C. | Arrange, VbUnfill |
D. | Arrange, Cascade |
Answer» A. Arrange, VbCascade |
137. |
A cell is an intersection of _______ and _______. |
A. | row, rows |
B. | row, column |
C. | column, column |
D. | row, line |
Answer» B. row, column |
138. |
_______ property is set to change the height of a cell. |
A. | Row |
B. | Column |
C. | Column height |
D. | Row height |
Answer» D. Row height |
139. |
________ kinds of rows and columns are created in the Ms Flex Grid control. |
A. | Two |
B. | One |
C. | Three |
D. | Four |
Answer» A. Two |
140. |
_______ is a process involving a minimum of two independent entries one being the client and the other is the server. |
A. | Client/Server Architecture |
B. | Client Architecture |
C. | Server Architecture |
D. | Network |
Answer» A. Client/Server Architecture |
141. |
The code in an application can be broken into logical components by _______ process. |
A. | procedural |
B. | modular |
C. | function |
D. | partitioning |
Answer» D. partitioning |
142. |
A __________ is a collection of object classes that model the structure of a relational database system. |
A. | ADO |
B. | DAO |
C. | RDO |
D. | DOA |
Answer» B. DAO |
143. |
The ________ object is a stored query definition, which is a precompiled SQL statement. |
A. | QueryDef |
B. | QueryFix |
C. | QueryDif |
D. | QueryFed |
Answer» A. QueryDef |
144. |
________ queries are SQL statements that perform specific actions on the database. |
A. | Action |
B. | Fixed |
C. | Unfixed |
D. | Select |
Answer» A. Action |
145. |
The _______ method creates a connection between the application and the ODBC database and assigns it to a database type object. |
A. | FixedDatabase |
B. | SelectDatabase |
C. | CreateDatabase |
D. | OpenDatabase |
Answer» D. OpenDatabase |
146. |
The Data control implements data access by using the __________. |
A. | Microsoft Jet Database Engine |
B. | Microsoft RDO |
C. | Microsoft ADO |
D. | Microsoft DAO |
Answer» A. Microsoft Jet Database Engine |
147. |
Visual basic Programming is an _______ driven programming concept. |
A. | task. |
B. | event. |
C. | flow. |
D. | exection. |
Answer» B. event. |
148. |
The ________ method of the connection object is used to run the queries against the database. |
A. | Open Resultset |
B. | Close Resultset |
C. | Fix Resultset |
D. | Unfix Resultset |
Answer» A. Open Resultset |
149. |
The print command in Visual basic programming is used to ____. |
A. | give output |
B. | print the form content |
C. | display the content in form |
D. | find error |
Answer» C. display the content in form |
150. |
_____ of the query designer interface displays the input sources for querying. |
A. | Select |
B. | Diagram |
C. | Image |
D. | Result |
Answer» B. Diagram |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.