
- VBScript Tutorial
- VBScript - Home
- VBScript - Overview
- VBScript - Syntax
- VBScript - Enabling
- VBScript - Placement
- VBScript - Variables
- VBScript - Constants
- VBScript - Operators
- VBScript - Decisions
- VBScript - Loops
- VBScript - Events
- VBScript - Cookies
- VBScript - Numbers
- VBScript - Strings
- VBScript - Arrays
- VBScript - Date
- VBScript Advanced
- VBScript - Procedures
- VBScript - Dialog Boxes
- VBScript - Object Oriented
- VBScript - Reg Expressions
- VBScript - Error Handling
- VBScript - Misc Statements
- VBScript Useful Resources
- VBScript - Questions and Answers
- VBScript - Quick Guide
- VBScript - Useful Resources
- VBScript - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
VBScript Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to VBScript Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Q 1 - Which of the following is correct about variable declared using 'Dim' in VBScript?
Answer : C
Explaination
Variables declared using 'Dim' keyword at a Procedure level are available only within the same procedure. Variables declared using 'Dim' Keyword at script level are available to all the procedures within the same script.
Q 2 - Which of the following is used to create a constant in VBScript?
Answer : B
Explaination
Constants are declared using 'const' keyword.
Q 3 - Which of the following function of VBScript converts a given number of any variant subtype to Hexadecimal?
Answer : A
Explaination
Hex function converts a given number of any variant subtype to Hexadecimal.
Q 4 - How will you get the exponent of the given number in VBScript?
Answer : B
Explaination
Using Exp function, which returns the value of e raised to the specified number.
Q 5 - How will you compare two strings in VBScript?
Answer : A
Explaination
Using StrComp function, which returns an integer value after comparing the two specified strings.
Q 6 - How will you get the largest subscript of an array in VBScript?
Answer : C
Explaination
Using UBound function, which returns an integer that corresponds to the largest subscript of the given arrays.
Q 7 - How will you release the memory acquired by an array variable in VBScript?
Answer : D
Explaination
Using Erase Function, which recovers the allocated memory for the array variables.
Q 8 - Which of the following event is triggered when an object goes out of scope or when the object is set to Nothing in VBScript?
Answer : B
Explaination
Class_Terminate is triggered when an object goes out of scope or when the object is set to Nothing.
Q 9 - Which of the following is correct about RegExp.Execute method?
Answer : C
Explaination
Both of the above options are correct.
Answer : A
Explaination
+ operator concatenates two Values if values are string. So A + B will give VBScript.