Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

Programming logic and design CH.1-3 Review Complete Solutions

Document preview thumbnail
Preview 2 out of 9 pages

Programming logic and design CH.1-3 Review Complete Solutions

Content preview

Programming logic and design CH.1-3
Review Complete Solutions

Can hold text, such as letters of the alphabet, and other special characters, such as
punctuation marks - ANSWER-String variable

The feature of programming languages that prevents assigning values of an
incorrect data type - ANSWER-Type-safety

The feature of programs that assures you a module has been tested and proven to
function correctly - ANSWER-Reliability

A list of every variable name used in a program, along with its type, size, and
description - ANSWER-Data dictionary

A message that is displayed on a monitor to ask the user for a response and
perhaps explain how that response should be formatted - ANSWER-Prompt

The act of repeating input back to a user either in a subsequent prompt or in output -
ANSWER-Echoing input

____ is where a variable's data type or other information is stored as part of the
name. - ANSWER-Hungarian notation

Programmers generally write programs as one long series of steps. - ANSWER-
False

___________________ tasks include any steps you must perform at the beginning
of a program to get ready for the rest of the program. - ANSWER-Housekeeping

Attaching structures end to end is called ____ structures. - ANSWER-stacking

Pseudocode uses the end-structure statement ____ to clearly show where the
structure ends. - ANSWER-endif

if-else examples can also be called ____ because they contain the action taken
when the tested condition is true and the action taken when it is false. - ANSWER-
dual-alternative selections

No matter how complicated it is, any set of steps can always be reduced to
combinations of the two basic structures of sequence and loop. - ANSWER-False

The priming read is an example of a(n) ____ task. - ANSWER-housekeeping

The following pseudocode is an example of a ____ structure.
if firstNumber is bigger than secondNumber then

, print firstNumber
else
print secondNumber

endigf - ANSWER-decision

The do loop is a variation of the ____ loop. - ANSWER-while

A ____ read is an added statement that gets the first input value in a program. -
ANSWER-priming

The maximum number of entry points that any programming structure can have is
____. - ANSWER-one

Structures can be stacked or connected to one another at their ____. - ANSWER-
entry or exit points

Structured programs can be easily broken down into routines or ____ that can be
assigned to any number of programmers. - ANSWER-modules

Repetition and sequence are alternate names for a loop structure. - ANSWER-False

Because you may stack and nest structures while retaining the overall structure, it
might be difficult to determine whether a flowchart as a whole is structured. -
ANSWER-True

The following pseudocode is an example of ____.
if conditionA is true then

do stepE
else
do stepB
do stepC
do stepD
endif - ANSWER-nesting

You may hear programmers refer to looping as ____. - ANSWER-iteration

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

Programs that use _____ code logic are unstructured programs that do not follow the
rules of structured logic. - ANSWER-spaghetti

Structured programming is sometimes called ____________________-less
programming. - ANSWER-gotogo or togo-to

The case structure is a variation of the ____ structure. - ANSWER-selection

Document information

Uploaded on
March 22, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.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
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
3.8
(80)
Sold
327
Followers
27
Items
26139
Last sold
4 days 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