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

Programming Logic and Design (Chapter I-V Review) Questions with Complete Answers

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

Programming Logic and Design (Chapter I-V Review) Questions with Complete Answers

Institution
Programming Logic And Design
Module
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
Module
Programming Logic and Design

Document information

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

Subjects

Content preview

Programming Logic and Design
(Chapter I-V Review) Questions with
Complete Answers

The value stored in an uninitialized variable is - ANSWER-garbage

The value 3 is an example of - ANSWER-a numeric constant

The assignment operator - ANSWER-is a binary operator

Multiplication has a lower precedence than - ANSWER-parantheses

Which of the following is not a term used as a synonym for module? - ANSWER-
object

This facilitates reusability - ANSWER-Modularization

What is the name for the process of paying attention to important properties while
ignoring nonessential details? - ANSWER-abstraction

Every module has all of the following except - ANSWER-local variables

Programmers say that one module can _______________ another, meaning that the
first module causes the second module to execute. - ANSWER-call

The more that a module's statements contribute to the same job, the greater the
_______________ of the module - ANSWER-functional cohesion

In most modern programming languages, a variable or constant that is declared in a
module is _______________ in that module - ANSWER-in scope

Which of the following is not a typical housekeeping task? - ANSWER-printing
summaries

Which module in a typical program will execute the most times? - ANSWER-the
detailed loop

A hierarchy chart tells you - ANSWER-which modules call other modules

What are nonexecuting statements that programmers place within code to explain
program statements in English? - ANSWER-comments

Program comments are - ANSWER-neither required in a program nor a form of
external documentation

, Which of the following is valid advice for naming variables? - ANSWER-To make
names easier to read, separate long names by using underscores or capitalization
for each new word.

A message that asks a user for input is a(n) - ANSWER-prompt

Snarled program logic is called _______________ code. - ANSWER-spaghetti

The three structures of structured programming are - ANSWER-sequence, selection,
and loop

A sequence structure can contain how many tasks? - ANSWER-any number of tasks

Which of the following is not another term for a selection structure? - ANSWER-loop
structure

A _______________ expression has one of two values, often expressed as true or
false. - ANSWER-Boolean

Placing a structure within another structure is called _______________ structures. -
ANSWER-nesting

Attaching structures end to end is called _______________ - ANSWER-stacking

When an action is required if a condition is true, but no action is needed if it is false,
you use a _______________. - ANSWER-single-alternative selection

To take action repeatedly as long as a condition remains true, you use a
_______________. - ANSWER-loop

When you must perform one action when a condition is true and a different one
when it is false, and then the program continues, you use a _______________. -
ANSWER-dual-alternative selection

What attributes do all three basic structures share? - ANSWER-They all have one
entry and one exit point

What is true of stacking structures? - ANSWER-Each structure has only one point
where it can be stacked on top of another.

When you input data in a loop within a program, the input statement that precedes
the loop _______________. - ANSWER-is called a priming input

A group of statements that executes as a unit is a _______________. - ANSWER-
block

Placing a decision within a loop is _______________ - ANSWER-an acceptable
structured programming technique
£11.96
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

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
Follow You need to be logged in order to follow users or courses
Sold
281
Member since
2 year
Number of followers
28
Documents
25966
Last sold
5 days 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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions