Docsity

Quiz 2 for Program Design and Development | CSCE 204, Quizzes of Computer Science

Toggle sidebar
bg1
Quiz 2
CSCE 204 โ€“ Fall 2009
Thursday, September 3
NAME:
1. How do you add a control onto a form?
a. Drag the control from the toolbox into the form window.
b. Place your mouse in the form and type the control name.
c. Double click the text property in the Properties Window.
d. Click the Common Controls tab in the toolbox window, and
then double click on the control icon.
2. A Boolean property:
a. Sets the variables for the application
b. Is made of many other letters and numbers
c. Changes the font size
d. Can only hold two values
3. What object is used to identify the current form?
a. Name
b. Display
c. Me
d. Sub
4. To change the text colors, what property is used?
a. Font
b. Text
c. Align
d. ForeColor
5. You are writing a program to compute carpet size. Instead of
multiplying the length by the width, you add the two numbers instead.
This is an example of:
a. A syntax error
b. A run-time error
c. A logical error
d. All of the above

Partial preview of the text

Download Quiz 2 for Program Design and Development | CSCE 204 and more Quizzes Computer Science in PDF only on Docsity!

Quiz 2

CSCE 204 โ€“ Fall 2009

Thursday, September 3

NAME:

  1. How do you add a control onto a form? a. Drag the control from the toolbox into the form window. b. Place your mouse in the form and type the control name. c. Double click the text property in the Properties Window. d. Click the Common Controls tab in the toolbox window, and then double click on the control icon.
  2. A Boolean property: a. Sets the variables for the application b. Is made of many other letters and numbers c. Changes the font size d. Can only hold two values
  3. What object is used to identify the current form? a. Name b. Display c. Me d. Sub
  4. To change the text colors, what property is used? a. Font b. Text c. Align d. ForeColor
  5. You are writing a program to compute carpet size. Instead of multiplying the length by the width, you add the two numbers instead. This is an example of: a. A syntax error b. A run-time error c. A logical error d. All of the above