CP1 Exam
What are 1 through 9 in hexadecimal?
1 through 9
What would the round function (dblNumber, 1) do to 123.7894?
123.8
What numbers do 0000 0000 associate with
128 64 32 16 8 4 2 1
What are 10 through 19 in hexadecimal?
16 through 25
What is 19 in hexadecimal?
19
What are 20 through 39 in hexadecimal?
1A through 1F
What is 21 in hexadecimal?
1B
What is 53 in hexadecimal?
2C
What is the value of dblGPA after the following statement executes if the value 3.10 is entered? blnAnswer = Double.TryParse(txtGPAInput.Text, dblGPA)
3.1
What is 42 in hexadecimal?
42
What are 10 through 15 in hexadecimal?
A through F
Which statement would change the color of the form to blue?
BackColor = Color.Blue
What is a list of instructions that contain data for a computer to follow called?
Computer program
In flowcharts, which symbol shows decisions?
Diamond
How to do curve points?
Dim CurvePoints() As Point {New Point(10, 10), }
Greg wants to change the size of the text in a label. Which label property should he change?
Font
Which For Each loop would correctly create a running total of the elements in an array called Scores?
For Each dblScore as Double in Scores Total = Total + dblScore Next dblScore
Array called intScores, which statement would pass the first element to a sub procedure?
GiveAdvice(intScores(1))
Sara thought her program would calculate grade point averages, but the program listed the highest grade instead. What type of error?
Logical
What statement will close a form?
Me.Close( )
Susan declares a variable with an If statement. What is the scope of this variable?
Procedural
In flowcharts, which symbol shows processes?
Rectangle
To change how the PictureBox image is displayed at runtime, what is changed?
SizeMode Property
What is the reason to use a breakpoint?
To examine variables and check logic
The interaction between the actor and the system can best be described as what?
Use Case
If defaults are set to show the watch window, which data would be shown?
Variable values only
Which statement correctly adds an item to a listbox?
lstAnswer.Items.Add("Answer")
Which property value would show a radio button as selected?
radProgram.checked = TRUE
Which correctly calls a function procedure?
strGrade=GPA(numDouble)