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 - Chapter 1-5 Review Exam Questions and Answers

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

Programming Logic and Design - Chapter 1-5 Review Exam Questions and 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
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Programming Logic and Design -
Chapter 1-5 Review Exam Questions
and Answers

A message that asks a user for input is a ______. - ANSWER-Prompt

Computer programs are also known as ______ - ANSWER-b. software

The major computer operations include ______ - ANSWER-b. input, processing, and
output

Visual Basic, C++, and Java are all examples of computer ______ - ANSWER-d.
programming languages

A programming language's rules are its ______ - ANSWER-a. syntax

The most important task of a compiler or inerpreter is to ______ - ANSWER-c.
translate programming language statements into machine language

Which of the following is temporary, internal storage? - ANSWER-d. memory

Which of the following pairs of steps in the programming process is in the correct
order? - ANSWER-d. code the program, translate it into machine
language

The programmer's most important task before planning the logic of a program is to
______ - ANSWER-d. understand the problem

The two most commonly used tools for planning a program's logic are ______ -
ANSWER-a. flowcharts and pseudocode

Writing a program in a language such as C++ or Java is known as ______ the
program. - ANSWER-b. coding

An English-like programming language such as Java or Visual Basic is a ______
programming level - ANSWER-c. high-level

Which of the following is an example of a syntax error? - ANSWER-c. misspelling a
programming language word

Which of the following is an example of a logical error? - ANSWER-a. performing
arithmetic with a value before
inputting it
b. accepting two input values when a program requires
only one

, c. dividing by 3 when you meant to divide by 30

d. ALL OF THE ABOVE

The parallelogram is the flowchart symbol representing ______ - ANSWER-c. both a
and b

In a flowchart, a rectangle represents ______ - ANSWER-d. processing

In flowcharts, the decision symbol is a ______ - ANSWER-d. diamond

The term "eof" represents ______ - ANSWER-b. a generic sentinel value

When you use an IDE instead of a simple text editor to develop a program,______ -
ANSWER-d. some help is provided

When you write a program that will run in a GUI environment as opposed to a
command-line environment, ______ - ANSWER-b. some syntax is different

As compared to procedural programming, with objectoriented programming ______ -
ANSWER-a. the programmer's focus differs

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 __________. - ANSWER-any number of tasks

Which of the following is NOT another term for a selection structure? - ANSWER-
Loop structure

The structure in which you ask a question, and, depending on the answer, take some
action and then ask the question again, can be called all of the following except a(n)
_________. - ANSWER-if-else-then

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

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

The statement 'if age > = 65 then seniorDiscount = "yes"' is an example of a
____________. - ANSWER-single-alternative selection

The statement 'while temperature remains below 60, leave the furnace on' is an
example of a ____________. - ANSWER-loop

The statement 'if age < 13 then movieTicket = 4.00 else movieTicket = 8.50' is an
example of __________. - ANSWER-dual-alternation 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