Prelude to Programming 6th Edition Venit Test Bank - Free Download Available To Read All Chapters
Prelude to Programming 6th Edition Venit Test Bank - Free Download Available To Read All Chapters
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()
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
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.
testbankdeal.com