100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Programming Logic and Design Mid-Term Review Exam Questions with Correct Answers

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
22-03-2025
Written in
2024/2025

Programming Logic and Design Mid-Term Review Exam Questions with Correct Answers

Institution
Programming Logic And Design
Course
Programming Logic and Design









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Programming Logic and Design
Course
Programming Logic and Design

Document information

Uploaded on
March 22, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Programming Logic and Design Mid-
Term Review Exam Questions with
Correct Answers

The amount by which a for loop control variable changes is often called a ____
value.

a. group
b. key
c. step
d. sentinel - ANSWER-c. step

Named ____ hold values that do not change during a program's execution.

a. constants
b. variables
c. objects
d. items - ANSWER-a. constants

One advantage to using a named constant is that the statement becomes ____.

a. self-perpetuating
b. self-documenting
c. self-referencing
d. self-mitigating - ANSWER-b. self-documenting

The action or actions that occur within a loop are known as a(n) ____.

a. loop body
b. action body
c. loop internals
d. structure body - ANSWER-a. loop body

Programmers use the term ____ to describe programs that are well designed and
easy to understand and maintain.

a. industrial
b. intractable
c. well behaved
d. elegant - ANSWER-d. elegant

A ____ error results when you use a syntactically correct statement but use the
wrong one for the current context.

a. syntax

, b. logical
c. semantic
d. programming - ANSWER-b. logical

Because they enable you to locate a particular record directly (without reading all of
the preceding records), random
access files are also called ____ files.

a. direct access
b. indirect access
c. sequential access
d. pointed access - ANSWER-a. direct access

With a(n) ____, you perform an action or task, and then you perform the next action,
in order.

a. ordered structure
b. sequence problem
c. sequence structure
d. loop sequence - ANSWER-c. sequence structure

Programmers employ the acronym ____ to mean that if your input is incorrect, your
output is worthless.

a. IBOW
b. GIGO
c. IIOW
d. GIGS - ANSWER-b. GIGO

A loop within another loop is known as a(n) ____ loop.

a. indefinite
b. infinite
c. nested
d. hidden - ANSWER-c. nested

Usually, ____ variables are not considered to be equal unless they are identical.

a. string
b. integer
c. character
d. floating point - ANSWER-a. string

You can perform a ____ by making comparisons using either the lowest or highest
value in a range of values.

a. range check
b. nested if
c. logic check
d. trivial expression - ANSWER-a. range check

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectknancy Boston University
View profile
Follow You need to be logged in order to follow users or courses
Sold
285
Member since
2 year
Number of followers
28
Documents
26010
Last sold
1 week ago

3.6

57 reviews

5
23
4
10
3
11
2
3
1
10

Recently viewed by you

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

Frequently asked questions