Prelude To Programming 6th Edition Venit Test Bank PDF Download
Prelude To Programming 6th Edition Venit Test Bank PDF Download
download pdf
https://testbankdeal.com/product/prelude-to-programming-6th-edition-
venit-test-bank/
https://testbankdeal.com/product/prelude-to-programming-6th-edition-
venit-solutions-manual/
https://testbankdeal.com/product/c-programming-from-problem-analysis-
to-program-design-6th-edition-malik-test-bank/
https://testbankdeal.com/product/c-programming-from-problem-analysis-
to-program-design-6th-edition-malik-solutions-manual/
https://testbankdeal.com/product/strategic-analysis-and-action-8th-
edition-crossan-test-bank/
International Economics A Policy Approach 10th Edition
Kreinin Solutions Manual
https://testbankdeal.com/product/international-economics-a-policy-
approach-10th-edition-kreinin-solutions-manual/
https://testbankdeal.com/product/phlebotomy-textbook-3rd-edition-
strasinger-test-bank/
https://testbankdeal.com/product/principles-of-taxation-for-business-
and-investment-planning-21st-edition-jones-test-bank/
https://testbankdeal.com/product/fundamentals-of-nursing-8th-edition-
potter-test-bank/
https://testbankdeal.com/product/essentials-of-systems-analysis-and-
design-5th-edition-valacich-solutions-manual/
Management Information Systems 10th Edition McLeod Test
Bank
https://testbankdeal.com/product/management-information-systems-10th-
edition-mcleod-test-bank/
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()
testbankdeal.com