9
IS1102 MCQ1 19/10/09

IS1102 MCQ1

Embed Size (px)

DESCRIPTION

IS1102 MCQ1. 19/10/09. Q1. The three main logical operators are ________, _________, and ________. ( A)And, Or, Not (B)And, Not, If (C)Or, Not, If (D)False, And, True. - PowerPoint PPT Presentation

Citation preview

Page 1: IS1102 MCQ1

IS1102 MCQ1

19/10/09

Page 2: IS1102 MCQ1

Q1. The three main logical operators are ________, _________, and ________.

(A) And, Or, Not(B) And, Not, If(C) Or, Not, If(D) False, And, True

Page 3: IS1102 MCQ1

Q2. A(n) _____________ allows a program to decide on a course of action based on whether a certain

condition is true or false.

(A) Or block(B) If block(C) And block(D) Else block

Page 4: IS1102 MCQ1

Q3. Keywords in Visual Basic are words that

(A) should be used when naming variables.(B) are used to name controls, such as

TextBox1, Command2, etc.(C) have special meaning and should not be

used when naming variables.(D) are used as prefixes for control names

(such as txt, btn, lbl, and lst).

Page 5: IS1102 MCQ1

Q4. Which of the following statements is a valid assignment statement?

(A) txtBox = "Hello World"(B) "Hello World" = txtBox.Text(C) txtBox.Text = "Hello World"(D) Text.txtBox = "Hello World"

Page 6: IS1102 MCQ1

Q5. What character is used to signify the beginning of a comment statement?

(A) asterisk(B) exclamation mark(C) apostrophe(D) backslash

Page 7: IS1102 MCQ1

Q6. Which of the properties in a control's list of properties is used to give the control a meaningful name?

(A) Text(B) ContextMenu(C) ControlName(D) Name

Page 8: IS1102 MCQ1

Q7. Which of the following properties determines the words appearing in a form's title bar?

(A) Text(B) Caption(C) Name(D) Title

Page 9: IS1102 MCQ1

Q8. The Properties window plays an important role in the development of Visual Basic applications. It is mainly used

(A) to change how objects look and feel.(B) when opening programs stored on a

hard drive.(C) to allow the developer to graphically

design program components.(D) to set program related options like

Program Name, Program Location, etc.