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 6 pages
Exam (elaborations)

Exam 3 Programming logic and design, Comprehensive Verified Answers

Document preview thumbnail
Preview 2 out of 6 pages

Exam 3 Programming logic and design, Comprehensive Verified Answers

Content preview

Exam 3 Programming logic and design,
Comprehensive Verified Answers

A variable's unknown value is commonly called ____. - ANSWER-garbage

Usually, when you create nested loops, each loop has its own _____. - ANSWER-
loop control variable

Modularization makes it harder for multiple programmers to work on a problem. -
ANSWER-False

Computer programmers often refer to memory addresses using ____ notation. -
ANSWER-hexadecimal

Programmers can use either procedural programming or object-oriented
programming to develop programs. - ANSWER-True

An array can be used to replace___. - ANSWER-nested decisions

A loop within another loop is known as a(n)____loop. - ANSWER-nested

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

An ____is most often represented by a three-sided box that's connected to the step it
references by a dashed line. - ANSWER-annotation symbol

When you write programs, you work with data in three different forms: ____. -
ANSWER-variables; literals, or unnamed constants; and named constants

In every programming language, when you access data stored in an array, it is
important ____ containing a value that accesses memory occupied by the array. -
ANSWER-subscript

After a programmer plans the logic of a program, the next step is____. - ANSWER-
coding the program

A(n) ____is any numeric variable you use to count the number of times an event has
occurred. - ANSWER-counter

Array subscripts are always a sequence of___. - ANSWER-integers

Besides the popular, comprehensive programming languages such as Java and C+
+, many programmers use scripting languages such as Python, Lua, Perl, and PHP.
- ANSWER-True

, Programs that use ____code logic are unstructured programs that do not follow the
rules of structured logic. - ANSWER-Spaghetti

Loops are frequently used to ____that is, to make sure it is meaningful and useful. -
ANSWER-validate data

In a ___ the loop body executes at least one time because the loon control variable
is not tested until after une iteration . - ANSWER-Posttest loop

A short-circuit evaluation is where each part of an expression is evaluated only as far
as necessary to determine whether the entire expression is true or false. - ANSWER-
true

When the first letter of a variable name is uppercase, as in HourlyWage, the format
is known as _____ casing. - ANSWER-Pascal casing

Any decision can be made using combinations of just two types of comparisons:
equal and not equal. - ANSWER-False

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

When you write a program that stores a value in a variable, you are using _____
storage. - ANSWER-temporary

A(n) ____is a location on your computer screen where you type text entries to
communicate with the computer's operating system. - ANSWER-Command line

A(n)___ is similar to a variable, except it can be assigned a value only once. -
ANSWER-named constant

Parallel arrays are most useful when value pairs have a(n) ____ relationship. -
ANSWER-indirect

As a general rule, an eof question should always come immediately after an input
statement because the end-of-file condition will be detected at input. - ANSWER-
True

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 Selection

A structured program includes only combinations of the three basic structures: _ -
ANSWER-sequence, selection, and loop

A ___is a file in which records are stored one after another in some order. -
ANSWER-sequential

Declaring a starting value for a variable is known as _ the variable. - ANSWER-
initializing

Document information

Uploaded on
March 22, 2025
Number of pages
6
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