Deck 2: VB Data Types, Constants, and Functions

Full screen (f)
exit full mode
Question
What is the result of VAL("15/08/2020")?

A)15
B)15/08
C)0
D)15/08/2020
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following is an invalid Data Type in VB?

A)integer
B)string
C)single
D)smallint
Question
vbRed is ____ .

A)vb colour
B)vb color
C)colour
D)intrinsic constant
Question
Which of the following is not a valid logical operator in VB.

A)and
B)or
C)xor
D)not
Question
______ control can be used to accept input from the user.

A)label
B)form
C)text box
D)frame
Question
Which of the following is a non-executable statement in VB?

A)if
B)dim
C)assignment statement
D)do… while
Question
The constant which are readymade in VB are called as _______ constant.

A)numeric
B)string
C)named
D)intrinsic
Question
The constant which are defined by user is known as _____ constant.

A)numeric
B)string
C)named
D)intrinsic
Question
Which of the following function is invalid in VB?

A)left( )
B)lower( )
C)mid( )
D)len( )
Question
____ function is used to convert a text value to a numeric value.

A)ucase( )
B)lcase( )
C)val( )
D)len( )
Question
Option buttons are also called as _______ buttons.

A)check
B)radio
C)round
D)select
Question
_____ 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
Question
_____ 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
Question
_____ is used to display headings and messages.

A)option button
B)check box
C)text box
D)label
Question
_______ property of a Text Box is True then user cannot type anything in a Text Box.

A)text
B)locked
C)name
D)backcolor
Question
_______ statement cannot be used to create a loop.

A)do - while
B)for - next
C)while - wend
D)if - else
Question
For I = 10 To 20 …. Next I, will execute a loop _____ time/s.

A)10
B)11
C)0
D)1
Question
For I = 1 To 20 Step 2…. Next I, will execute a loop _____ time/s.

A)10
B)20
C)0
D)1
Question
For I = 10 To 1…. Next I, will execute a loop _____ time/s.

A)10
B)20
C)0
D)1
Question
For I = 10 To 1 Step -1…. Next I, will execute a loop _____ time/s.

A)10
B)20
C)0
D)1
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/20
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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
15
2
Which of the following is an invalid Data Type in VB?

A)integer
B)string
C)single
D)smallint
smallint
3
vbRed is ____ .

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
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
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
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
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
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( )
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( )
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
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
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
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
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
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
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
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
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
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
Unlock Deck
Unlock for access to all 20 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 20 flashcards in this deck.