Prelude to Programming 6th Edition Venit Test Bank instant download
Prelude to Programming 6th Edition Venit Test Bank instant download
https://testbankdeal.com/product/prelude-to-programming-6th-
edition-venit-test-bank/
https://testbankdeal.com/product/prelude-to-programming-6th-edition-
venit-solutions-manual/
testbankdeal.com
https://testbankdeal.com/product/c-programming-from-problem-analysis-
to-program-design-6th-edition-malik-test-bank/
testbankdeal.com
https://testbankdeal.com/product/c-programming-from-problem-analysis-
to-program-design-6th-edition-malik-solutions-manual/
testbankdeal.com
https://testbankdeal.com/product/corporate-governance-3rd-edition-kim-
test-bank/
testbankdeal.com
MR 2 2nd Edition Brown Test Bank
https://testbankdeal.com/product/mr-2-2nd-edition-brown-test-bank/
testbankdeal.com
https://testbankdeal.com/product/accounting-information-systems-9th-
edition-hall-test-bank/
testbankdeal.com
https://testbankdeal.com/product/business-and-professional-ethics-for-
directors-executives-accountants-8th-edition-brooks-test-bank/
testbankdeal.com
https://testbankdeal.com/product/cases-in-finance-3rd-edition-demello-
solutions-manual/
testbankdeal.com
https://testbankdeal.com/product/counseling-assessment-and-
evaluation-1st-edition-watson-test-bank/
testbankdeal.com
Intimate Relationships 7th Edition Miller Solutions Manual
https://testbankdeal.com/product/intimate-relationships-7th-edition-
miller-solutions-manual/
testbankdeal.com
Prelude to Programming 6th edition Elizabeth Drake
MULTIPLE CHOICE
a. 1, 2, 3, 4
b. 0, 1, 2, 3, 4
c. 0, 1, 2, 3
d. 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
ANS: D
a. 1, 2, 3, 4
b. 0, 1, 2, 3, 4
c. 0, 1, 2, 3
d. 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
ANS: C
a. 3 b. 4 c. 1 d. 3 4
4 5 3 6 8
6 5 2
8 6 4
ANS: A
a. 3 b. 4 c. 1 d. 3 4
4 5 3 6 8
6 5 2
8 6 4
ANS: A
a. 5 b. 5 c. 5 d. 2
7 5 5 5
7.5 7 3
7 7 7
ANS: B
a. While
b. For
c. Repeat ... Until
d. Do ... While
e. all of the above can be nested in a For loop
ANS: E
a. 13 b. 7 c. 7 6 d. 13
14 6 7 7 14
15 7 8 6 14
8 8 7 15
ANS: D
8. What will be displayed after code corresponding to the following pseudocode is run?
Declare A As Integer
Declare B As Integer
Declare C As Integer
Set A = 3
While A <= 6
Set B = (2 * A) – 1
Write B
Set C = A
While C <= (A+1)
Write C
Set C = C + 1
End While(C)
Set A = A + 2
End While(A)
a. 5 b. 3 c. 5 d. 5
3 5 3 3
9 4 4 3
5 5 9 9
9 5 5
5 6 5
ANS: C
9. Which of the following statements should be used to validate that a number input by the
user into a variable named Widgets is an integer value?
a. 4.41
b. 3.5
c. 3.91
d. 4.5
ANS: B
13. What is the output of the code corresponding to the following pseudocode?
Declare M As Integer
Declare P As Integer
Repeat
Set P = 1
While P < 4
Write M + “ and “ + P
Set P = P + 1
End While(P)
Set M = M + 1
Until M = 3
14. Which statement would produce an output of one of the following numbers:
5, 6, 7, 8, 9, 10
a. Floor(Random() * 5) + 5
b. Floor(Random() * 6) + 5
c. Floor(Random()) + 5
d. Floor(Random() * 9) - 5
ANS: A
15. What is displayed when the following pseudocode is coded and run, given that the input is
“Harold”?
TRUE/FALSE
1. True/False: It is possible to have both a Select Case statement and an If-Then
structure within a single loop.
ANS: T
4. True/False: If one For loop is nested within another, then the limit value for the two loops
must be different.
ANS: F
14. True/False: In a program with nested loops, the inner loop is completed before the outer
loop.
ANS: T
SHORT ANSWER
1. Numbers that form an unpredictable sequence in which each number is equally likely to oc-
cur are called __________ __________.
ANS: random numbers
3. The starting value of an algorithm used to generate a range of numbers is called the
_________.
ANS: seed
5. When one loop is contained within another loop, we say these are __________ loops.
ANS: nested
6. The statement
If Int(Number) != Number Then...
checks to see if the value of Number is a(n) _________.
ANS: integer
7. In a program with nested loops, the outer loop is completed __________ (before/after) the
inner loop.
ANS: after
8. If a counter named MyCount in a For loop has the value of 5 on the first pass, 10 on the
second pass, 15 on the third pass, and so on, the increment would be written as
__________.
ANS: MyCount+5
9. If a counter named MyCount in a For loop has the initial value of 5 on the first pass and
we want it to go through 4 iterations, increasing its value by 5 on each pass, the test
condition would be written as __________.
ANS: MyCount <= 20 or MyCount < 21
10. The function that returns the number of characters in a string is the __________ function.
ANS: Length_Of()
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.