• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

Programming Logic & Design Final Exam Chapters 1-6 Questions and Correct Answers. Newest Rated A

Document preview thumbnail
Preview 4 out of 31 pages

Programming Logic & Design Final Exam Chapters 1-6 Questions and Correct Answers. Newest Rated A

Content preview

Programming Logic & Design Final
Exam Chapters 1-6 Questions and
Correct Answers. Newest 2026-2027
Rated A


A _____ expression has one of two values, often expressed as true or
false.
Select one:
a. Selection
b. Georgian
c. Caesarian
d. Boolean - Ansd. Boolean


A _________is a variable that can be set to indicate whether some event
has occurred.
Select one:
a. counter
b. subscript
c. banner
d. flag - Ansd. flag


A counter keeps track of _______________.
Select one:
a. the number of machine cycles required by a segment of a program
b. the number of times software has been revised

1

,c. the number of times an event has occurred
d. the number of loop structures within a program - Ansc. the number of
times an event has occurred


A do-while loop _______________.
Select one:
a. is a type of pretest loop
b. is not structured, and therefore obsolete
c. can be replaced by a sequence and a while loop
d. has a body that might never execute - Ansc. can be replaced by a
sequence and a while loop


A group of statements that executes as a unit is a _____________.
Select one:
a. cohort
b. family
c. chunk
d. block - Ansd. block


A hierarchy chart tells you ___________.
Select one:
a. which modules call other modules
b. what tasks are to be performed within each program module
c. when a module executes
d. all of the above - Ansa. which modules call other modules


A message that asks a user for input is a(n) ___________.

2

,Select one:
a. prompt
b. declaration
c. comment
d. echo - Ansa. prompt


A program contains a seven-element array that holds the names of the
days of the week. At the start of the program, you display the day names
using a subscript named dayNum. You display the same array values again
at the end of the program, where you ________ as a subscript to the array.


Select one:
a. must not use dayNum
b. can use dayNum, but can also use another numeric value
c. must use a numeric constant instead of a variable
d. must use dayNum - Ansb. can use dayNum, but can also use another
numeric value


A programmer's most important task before planning the logic of a program
is to __________________.
Select one:
a. code the problem
b. train the users of the program
c. understand the problem
d. decide which programming language to use - Ansc. understand the
problem


3

, A programming language's rules are its ____________.
Select one:
a. logic
b. syntax
c. format
d. options - Ansb. syntax


A report that lists only totals, with no details about individual records, is a(n)
_______________ report.
Select one:
a. accumulator
b. final
c. summary
d. group - Ansc. summary


A sequence structure can contain _____________.
Select one:
a. any number of tasks
b. exactly three tasks
c. only one task
d. no more than three tasks - Ansa. any number of tasks


A subscript is a(n) _________.
Select one:
a. number that represents the highest value stored within an array
b. alternate name for an array
c. element in an array

4

Document information

Uploaded on
September 21, 2026
Number of pages
31
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
wilfredmburuUS
3.0
(1)
Sold
10
Followers
0
Items
1383
Last sold
2 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions