stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
11 IPT A&P Revision Quiz 1 Flashcards | StudBud
Explore
/
11 IPT A&P Revision Quiz 1
11 IPT A&P Revision Quiz 1
14 terms
·
StudBud Administration
·
27 plays
Algorithms and Programming Concepts
Flashcards
14 cards
F
Practice quiz
P
Host live
L
Questions
14
Answers
1
What does
rnd
() do?
Rounds down the number in brackets
Generates a random number between 0 and 1
2
Strings
should be encased in which characters?
double quotation marks " and "
single quotation marks ' and '
curly brackets { and }
round brackets ( and )
3
9 div 2 = ?
OR
9 \ 2 = ?
4.5
1
5
4
4
The format for
post-tested condition controlled
iteration is:
Do while … loop
For … next
Do ... loop until
If … then
5
9 mod 2
= ?
1
4.5
4
5
6
(image) The following SDC is used to represent...
Post-tested condition controlled iteration
Pre-tested condition controlled iteration
Selection (If…Then)
Count controlled iteration
7
int(82.719)
= ?
82
82.8
83
82.7
8
If Then
and
Select Case
are examples of:
Sequence
All of the above
Selection
Iteration
9
Which character is used for
comments
in Visual Basic?
double quotation marks " and "
curly brackets { and }
round brackets ( and )
single quotation marks ' and '
10
round(82.719,2)
= ?
82
80
82.72
82.2
11
The format for
count controlled
iteration is:
Do while … loop
For … next
If … then
Do ... loop until
12
(image) The following SDC is used to represent...
Pre-tested condition controlled iteration
Post-tested condition controlled iteration
Selection (If…Then)
Count controlled iteration
13
(image) The following SDC is used to represent...
Selection (If…Then)
Post-tested condition controlled iteration
Count controlled iteration
Pre-tested condition controlled iteration
14
The format for
pre-tested condition controlled
iteration is:
If ... Then
Do ... Loop until
Do while ... Loop
For ... Next