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