Deck 2: VB Data Types, Constants, and Functions
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/20
Play
Full screen (f)
Deck 2: VB Data Types, Constants, and Functions
1
What is the result of VAL("15/08/2020")?
A)15
B)15/08
C)0
D)15/08/2020
A)15
B)15/08
C)0
D)15/08/2020
15
2
Which of the following is an invalid Data Type in VB?
A)integer
B)string
C)single
D)smallint
A)integer
B)string
C)single
D)smallint
smallint
3
vbRed is ____ .
A)vb colour
B)vb color
C)colour
D)intrinsic constant
A)vb colour
B)vb color
C)colour
D)intrinsic constant
intrinsic constant
4
Which of the following is not a valid logical operator in VB.
A)and
B)or
C)xor
D)not
A)and
B)or
C)xor
D)not
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
5
______ control can be used to accept input from the user.
A)label
B)form
C)text box
D)frame
A)label
B)form
C)text box
D)frame
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following is a non-executable statement in VB?
A)if
B)dim
C)assignment statement
D)do… while
A)if
B)dim
C)assignment statement
D)do… while
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
7
The constant which are readymade in VB are called as _______ constant.
A)numeric
B)string
C)named
D)intrinsic
A)numeric
B)string
C)named
D)intrinsic
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
8
The constant which are defined by user is known as _____ constant.
A)numeric
B)string
C)named
D)intrinsic
A)numeric
B)string
C)named
D)intrinsic
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following function is invalid in VB?
A)left( )
B)lower( )
C)mid( )
D)len( )
A)left( )
B)lower( )
C)mid( )
D)len( )
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
10
____ function is used to convert a text value to a numeric value.
A)ucase( )
B)lcase( )
C)val( )
D)len( )
A)ucase( )
B)lcase( )
C)val( )
D)len( )
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
11
Option buttons are also called as _______ buttons.
A)check
B)radio
C)round
D)select
A)check
B)radio
C)round
D)select
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
12
_____ can be used in an application to give user True/False or Yes/No Option
A)option button
B)check box
C)text box
D)label
A)option button
B)check box
C)text box
D)label
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
13
_____ allows the user to select any number of options at a time from a group.
A)option button
B)check box
C)text box
D)label
A)option button
B)check box
C)text box
D)label
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
14
_____ is used to display headings and messages.
A)option button
B)check box
C)text box
D)label
A)option button
B)check box
C)text box
D)label
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
15
_______ property of a Text Box is True then user cannot type anything in a Text Box.
A)text
B)locked
C)name
D)backcolor
A)text
B)locked
C)name
D)backcolor
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
16
_______ statement cannot be used to create a loop.
A)do - while
B)for - next
C)while - wend
D)if - else
A)do - while
B)for - next
C)while - wend
D)if - else
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
17
For I = 10 To 20 …. Next I, will execute a loop _____ time/s.
A)10
B)11
C)0
D)1
A)10
B)11
C)0
D)1
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
18
For I = 1 To 20 Step 2…. Next I, will execute a loop _____ time/s.
A)10
B)20
C)0
D)1
A)10
B)20
C)0
D)1
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
19
For I = 10 To 1…. Next I, will execute a loop _____ time/s.
A)10
B)20
C)0
D)1
A)10
B)20
C)0
D)1
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
20
For I = 10 To 1 Step -1…. Next I, will execute a loop _____ time/s.
A)10
B)20
C)0
D)1
A)10
B)20
C)0
D)1
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck