Study GuidePAGE 1
CIS 202 SECTION 5 & 9
FALL 20000
1.______What does the circle flowchart symbol represent?
(A)Input/Output
(B)Terminal
(C)Decision
(D)Connector
(E)Process
2.______A graphical depiction of the logical steps to carry out a task and show how the steps relate to each other is called a(n)
(A)flowchart.
(B)pseudocode.
(C)algorithms.
(D)hierarchy chart.
3.______Often a problem is too difficult to understand until one writes the program. (T/F) This question will be on every test this semester. Anyone missing the will fail the course. You must understand the problem before you begin to code!!!! This question is false.
4.______An algorithm is defined as:
(A)a mathematical formula that solves a problem.
(B)a tempo for classical music played in a coda.
(C)a logical sequence of steps that solve a problem.
(D)a tool that designs computer programs and draws the user interface.
5.______What does the parallelogram flowchart symbol represent?
(A)Input/Output
(B)Terminal
(C)Decision
(D)Connector
(E)Process
6.______Which of the following is NOT a valid file name?
(A)MYFILE.BAS
(B)myfile.bas
(C)sales
(D)mydata*.file
7.______Windows considers the file names MYDATA and mydata to be identical. (T/F)
8.______There is no difference between a folder and a directory (T/F)?
9.______When the Visual Basic editor is in the overwrite mode, the characters at the current cursor position are replaced by characters typed in from the keyboard. (T/F)
10.______A cursor is
(A)one of the controls on the monitor.
(B)the roller that moves the paper through the printer.
(C)a blinking vertical line on the screen.
(D)a person using a computer that is not working properly.
(E)one of the keys on the keyboard.
11.______Which of the following does not typically appear in a filespec?
(A)drive
(B)path
(C)file name
(D)user name
12.______A picture box is used primarily to get information from the user. (T/F)
13.______The person who actually runs a computer program is called a
(A)user.
(B)customer.
(C)client.
(D)tester.
(E)runner.
14.______To clear the data from a textbox object named txtBox the correct statement would be:
(A)txtBox.Cls
(B)txtBox.Text = ""
(C)txtBox.Print ""
(D)txtBox.Caption = ""
(E)None of the above
15.______When a Visual Basic program is running, the user can move from one control to another using the keyboard by pressing the
(A)Tab key.
(B)Space bar.
(C)Enter key.
(D)Backspace key.
16.______A picture file can be loaded into a picture control using which property?
(A)Appearance
(B)AutoRedraw
(C)DataSource
(D)Picture
(E)Tag
17.______The following lines of code are valid (T/F)
Private Sub cmdCompute_Click()
100 = intSales
picDisplay.Print txtBox.Text
End Sub
18.______The following lines of code are valid. (T/F)
Private Sub txtbox_Change()
strName = txtBox.Text
End Sub
19.______Pseudocode is
(A)data that have been encoded for security.
(B)the incorrect results of a computer program.
(C)a program that doesn't work.
(D)the obscure language computer personnel use when speaking.
(E)a description of an algorithm similar to a computer language.
20.______Which of the following is the proper order of procedures used in the problem-solving process?
(A)Design, analysis, coding, testing
(B)Analysis, testing, design, coding
(C)Analysis, design, coding, testing
(D)Analysis, design, testing, coding
(E)Design, testing, analysis, coding
21.______Which is the correct hierarchy for arithmetic operators (from those evaluated first to those evaluated last)?
(A)( ), ^, * /, + -
(B)^, * /, + -, ( )
(C)* /, + -, ^, ( )
(D)( ), * /, + -, ^
22._____Consider the program below. In the event procedure cmdButton_Click, the variable sngTotalCash is a form-level variable. (T/F)
Private Sub cmdButton_Click()
Dim sngCount As Single, sngPrice As Single, sngTotalCash As Single
sngCount = Val(txtBox1.Text)
sngPrice = Val(txtBox2.Text)
sngTotalCash = sngTotalCash + sngCount * sngPrice
End Sub