0% found this document useful (0 votes)
4K views

Vbscript Quiz

The document contains the results of a multiple choice quiz on Visual Basic Scripting (VBS) concepts. It includes 27 questions with correct or incorrect answers identified. Key concepts covered include using Do...Loop statements, declaring variables, arrays, logical operators like AND and OR, and operator precedence. The participant's score was 45% which was below the passing score of 80%.

Uploaded by

helloguru
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views

Vbscript Quiz

The document contains the results of a multiple choice quiz on Visual Basic Scripting (VBS) concepts. It includes 27 questions with correct or incorrect answers identified. Key concepts covered include using Do...Loop statements, declaring variables, arrays, logical operators like AND and OR, and operator precedence. The participant's score was 45% which was below the passing score of 80%.

Uploaded by

helloguru
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

23:44 19/10/2008

Question: You use Exit ____ to exit a Do..While...Loop statement.


Question type: Fill In The Blank
Answers: do
Correct: Yes

Question: Which statement to force user to explicitly declare variables?


Question type: Word Bank
Answers: Option Explicit
Correct: Yes

Question: What are the values of the Array?


Question type: Matching Drag And Drop
Answers: arr(0) and Empty arr(1) and 3 arr(2) and 1
Correct: Yes

Question: arrData is an array with 4 slots. Which answer will loop through all of
the array, and print out their content?
Question type: Hotspot
Answers: {153;222}
Correct: No

Question: A = True, B = False ---> A Xor B = ?


Question type: Multiple Choice
Answers: False
Correct: No

Question: A = True, B = True ---> A And B = ?


Question type: Multiple Choice
Answers: True
Correct: Yes

Question: arr(2) = ?
Question type: Multiple Choice
Answers: 1
Correct: No

Question: We use the _____ keyword to declare a variable.


Question type: Fill In The Blank
Answers: dim
Correct: Yes

Question: Which answer will preserve the number of slots in arrData, and will save
the data in the first slot of the array?
Question type: Multiple Choice
Answers: Dim arrData(4)

Dim Preserve arrData(1)


Correct: No

Question: A = True ---> Not A = ?


Question type: Multiple Choice
Answers: False
Correct: Yes

Question: What is going to be printed?


Question type: Multiple Choice
Answers: Tel-Aviv
Correct: No

Question: A=True, B=True, C=False ---> A Xor B Xor C = ?


Question type: Multiple Choice
Answers: False
Correct: Yes

Question: Which calculation would return 1. you can choos more than one answer.
Question type: Multiple Response
Answers: Abs ( CInt ( True ) )
Correct: No

Question: str = "QuickTest Professional"


Question type: Matching Drop Down
Answers: Quick and QTP Professional and QTP Test and QTP QuickTest Professional
and QTP Pro and QTP QTP and QTP
Correct: No

Question: A = True, B = False ---> A Or B = ?


Question type: Multiple Choice
Answers: True
Correct: Yes

Question: VBScript has a special command named LBound, which returns the starting
index of an array. What are the possible indexes an array can start with?
Question type: Word Bank
Answers: Only 0
Correct: Yes

Question: A=True,B=True,C=False ---> A And B Or C = ?


Question type: Multiple Choice
Answers: True
Correct: Yes

Question: In order to get the integer ASCII code of a character, we should use:
Question type: Multiple Choice
Answers: Asc("A")
Correct: Yes

Question: When several operations occur in an expression, each part is evaluated


and resolved in a predetermined order called operator precedence.
Question type: Sequence Drag And Drop
Answers: Exponentiation (^) Mult and division (*, /) Modulus arithmetic (Mod)
Addition, subtraction (+, -) Negation (-)
Correct: No

Question: We can initialize a variable as shown below.


Question type: Multiple Choice
Answers: Yes
Correct: No

Question: What is the importance on stating Option Explicit in the top of the
test?
Question type: Multiple Choice
Answers: When started, we have to specifically declare every variable we work with
(otherwise we'll get an error message)
Correct: Yes
Question: A=True,B=True,C=False ---> ( A And B ) Or C = ?
Question type: Multiple Choice
Answers: True
Correct: Yes

Question: A=True, B=True ---> Not ( A Or B ) = ?


Question type: Multiple Choice
Answers: False
Correct: Yes

Your Score: 45 (45%)


Passing Score: 80 (80%)

You might also like