1. What language is VBScript based on ? |
VBScript, Microsoft's Visual Basic Scripting Edition, is a scaled down version of Visual Basic. |
Jscript and Javascript. |
HTML. |
XML
|
2. Why is a scripting language called a scripting language ? |
Scripting languages, like JavaScript and VBScript, are designed as an extension to XML. |
Scripting languages, like JavaScript and VBScript, are designed as an extension to XHTML. |
Scripting languages, like JavaScript and VBScript, are designed as an extension to HTML. |
Scripting languages, like JavaScript and VBScript, are designed as an extension to DHTML.
|
3. There are two methods for declaring variables in VBScript |
option explicit and option explicit. |
explicitly and implicitly |
using VB and Java |
using javascript and perl variable
|
4. What does the Option Explicit directive do ? |
It forces you to declare all of your variables. |
It forces you to call the method. |
It forces you to declare all of your static variables |
It forces you to declare all of your global variables
|
5. How to disply values to the user ? |
Using Request.form |
Using Response.write |
Using Request.Querystring |
Using Request.Servarvariables
|
6. How to take request from the user ? |
Using Response.write |
Using Request.Querystring |
Using Request.Servarvariables |
Using Request.form
|
7. How to take request using get bmethod ? |
A.Using Request.form |
Using Response.write |
Using Request.Querystring |
Using Request.Servarvariables
|
8. How to take request using post method ? |
Using Request.form |
Using Response.write |
Using Request.Querystring |
Using Request.Servarvariables
|
9. VBScript is a |
Programming language |
Scripting language. |
Server Language |
None of these
|
10. VBScript is developed by |
Netscape |
Opera. |
Sun |
Misrosoft
|
11. What two VBScript commands can be used to make decisions ? |
if..then..else |
select..case |
A and B are correct. |
None of these.
|
12. Which of these VBScript commands can be used to to iterate through loops ? |
For...Next. |
While.....wend |
if....then...else |
A and B are correct
|
13. A scripting language is a |
lightweight programming language |
script. |
A and B are correct. |
None of these
|
14. The command used in VBScript for writing some text on a page is |
document.write(). |
Msgbox |
A and B are correct. |
None of these
|
15. Where to Put the VBScript code |
Head section. |
Body Section. |
Both body and head section. |
None of these.
|
16. Two kinds of procedures in VBScript |
Top procedure and bottom procedure |
The Sub procedure and the Function procedure. |
A and B are correct |
None of these
|
17. Which of these are string functions available in VBScript. |
Chr |
InStr |
LCase |
All of the above
|
18. Which of these are conversion functions available in VBScript |
CByte |
CDbl |
Cint |
All of the above
|
19. Which of these are math functions available in VBScript |
Abs |
Array |
All of the above |
None of these
|
20. Which of these are Time and Date Functions available in VBScript |
DateSerial |
DateDifference |
A and B are correct. |
DateValue
|