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

Programming Logic and Design Chapter 2 Exam Questions and Answers

Document preview thumbnail
Preview 2 out of 5 pages

Programming Logic and Design Chapter 2 Exam Questions and Answers

Content preview

Programming Logic and Design
Chapter 2 Exam Questions and
Answers

A(n) _____ is a name that represents a value that cannot be changed during the
program's execution.
A) Uninitialized variable
B) Named variable
C) Named constant
D) Input variable
E) None of these - ANSWER-Named Constant

_____ documentation is a reference guide that describes the features of the
program, designed for the user.
A) Internal
B) External
C) Program
D) Block
E) Line - ANSWER-External

The process where the programmer steps through each of the program's statements
one by one is called _____.
A) Hand tracing
B) Debug
C) Execute
D) Run
E) Checking - ANSWER-Hand Tracing

What is another term used for 'desk checking'? - ANSWER-Hand-tracing

The following is an example of what type of statement:
Set rate = 5.75
A) Declaration
B) Assignment
C) Input
D) Output
E) None of these - ANSWER-Assignment

What symbol is used to mark the beginning and end of a string? - ANSWER-
Quotations

Which of the following is not an actual programming language? - ANSWER-
Pseudocode

Which of the following is not an actual programming language?

, A) C++
B) Visual Basic
C) Java
D) Pseudocode
E) Python - ANSWER-Pseudocode

What is the first step of the program development cycle?
A) Write the code
B) Correct syntax errors
C) Debug the code
D) Test the executable code
E) Design the program - ANSWER-Design the program

What term is used for a string that appears in the actual code of a program?
A) String literal
B) Virtual string
C) Hard copy
D) Strongly typed
E) None of these - ANSWER-String literal

True/False: Programmers start writing code as the first step when they begin a new
project. - ANSWER-false

True/False: The structure of the camelCase naming convention is to write the first
word of the variable name in lowercase letters and then to capitalize the first
character of the second and subsequent words. - ANSWER-True

True/False: The expressions (a + b) / c and a + b / c will always yield identical
results. - ANSWER-false

True/False: An uninitialized variable is a variable that has been declared and
automatically initialized to zero. - ANSWER-false

True/False: A named constant can be assigned a value using a Set statement. -
ANSWER-false

True/False: Ovals are used as terminal symbols marking the starting and end of the
pseudocode. - ANSWER-false

True/False: It has been proven by a group of mathematicians that all programs can
be written using only three structures. - ANSWER-true

True/False: A variable is a storage location in memory that is represented by a name
and can hold different values during the execution of the program. - ANSWER-true

True/False: Most programming languages do not automatically print spaces between
multiple items that are displayed on the screen. - ANSWER-true

Document information

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