Multiple Choice
Identify the letter of the choice that best completes the statement or answers the question.
____ 1. All of the following are major hardware components of a typical computer system
except ______.
a. Main Memory
b. CPU
c. Operating System
d. secondary storage
____ 2. Application software are programs that ___________.
a. manage the computer’s hardware devices
b. controls the computers input/output
c. performs diagnostic tests on secondary storage
d. perform general user needs
____ 3. The purpose of an algorithm is to ____________.
a. analyze a problem
b. describe problem solution
c. specify problem requirements
d. define user interface
____ 4. The CPU only processes instructions written in this language.
a. Java
b. Pseudo code
c. machine language
, d. Visual Basic
____ 5. An object in Visual Basic ____________.
a. is the data a program uses
b. is a property of a control
c. is an action performed by a method
d. is a reusable self contained unit
____ 6. GUI (Graphical User Interface) applications ______________.
a. are more complex for programmers to write
b. requires users to follow a predefined order
c. requires users to know commands before using them
d. more difficult to use
____ 7. Which of the following is NOT an example of an event in Visual Basic?
a. click a control
b. drag a control onto a form from the tool box
c. change focus of a control
d. change contents of a textbox
____ 8. When creating a Visual Basic desktop application, you will initially ____________.
a. check for logic errors
b. place controls on a desktop editing form
c. write program statements
d. correct syntax errors
____ 9. Programs should use comments (remarks) to __________________.
, a. make the code more understandable to human readers of the program.
b. make a program run more efficiently
c. make the code run faster
d. make the program smaller in size
____ 10. Flowcharts and pseudocode are_________________________.
a. used to determine the controls required for a program
b. statements that describe the programs input and output
c. used to graphically design the solution to a problem
d. the actual Visual Basic program without input or output statements
____ 11. How would you get the Design window to display if it is not visible in your project?
a. Press Shift+F9 on the keyboard.
b. Click View on the menu bar, and then on the View menu click Designer.
c. Double click the icon in the tool bar for the designer window.
d. Select view designer in the edit menu.
____ 12. The auto hide feature ____________________.
a. enables the programmer to hide a control on a form automatically
b. permanently remove the toolbox from the Visual Basic environment
c. will hide the controls on a form, until the programmer changes the status
d. will cause the window to stay minimized as a tab along one of the edges of the
screen until the mouse cursor is over the tab
____ 13. A ToolBar ___________________________.
a. allows the programmer to put controls on the form
b. can be used as a shortcut for executing commands found in the menu
c. is difficult to use, since you must remember the commands
, d. allows the programmer to create user defined controls
____ 14. What is the purpose of the Toolbox?
a. To design user defined methods.
b. To select controls and place on an application form
c. To select controls with associated event procedures.
d. To select methods to be placed on the form
____ 15. How do you display a tooltip?
a. single click an icon on the toolbar or toolbox
b. double click an icon on the toolbar or toolbox
c. hold the mouse cursor over a button on the toolbar or toolbox for a few seconds
d. tab to the icon on the toolbar or toolbox so that it has the focus
____ 16. A Visual Basic keyword _________________.
a. has a special purpose and cannot be used as a variable or other identifier
b. is used to name the forms for Visual Basic project
c. can only be used to name Visual Basic controls
d. should be used instead of the default names supplied by Visual Basic
____ 17. What is the purpose of testing a program with sample data?
a. To be sure that there are no syntax errors in the program
b. To be sure that the user has input a valid number
c. To insure that the application's output is correct
d. To check to see if the program will run
____ 18. A TextBox control ________________.
a. is used to describe other controls on the form