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 CH.1-3 Review Complete Solutions

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

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

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
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

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

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