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 Exam Questions with Verified Answers

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

Programming Logic and Design Exam Questions with Verified 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
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Programming Logic and Design Exam
Questions with Verified Answers

What symbol is used to mark the beginning and end of a string?
A) Slash
B) Asterisk
C) Quotation
D) Comma
E) Question - ANSWER-C) Quotation

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

The ________ is a diagram that graphically depicts the steps that take place in a
program.
A) Program
B) Flowchart
C) Algorithm
D) Code
E) Pseudocode - ANSWER-B) Flowchart

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-E) Design the program

True/False: If you mistakenly write pseudocode into an editor for an actual
programming language, such as Python or Visual Basic, errors will result.
A) True
B) False - ANSWER-A) True

True/False: A sequence of characters that is used as data is called a string in
programming.
A) True
B) False - ANSWER-A) True

The value of the expression 12 - 4 * + 9 is ________.
A) 21
B) 15
C) -6
D) 2.18
E) None of these - ANSWER-B) 15

, 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-B) Assignment

True/False: Programmers use pseudocode to create "mock-ups" of programs
because they do not have to worry about syntax rules.
A) True
B) False - ANSWER-A) True

Modules are commonly called what?
A) Procedures
B) Subroutines
C) Subprograms
D) Methods
E) All of these - ANSWER-E) All of these

True/False: A module can have two variables of the same name because they are
within the same scope.
A) True
B) False - ANSWER-B) False

Which type of variable is not recommended to be used in programs because they
make programs hard to understand and debug?
A) Local
B) Pass by value
C) Reference
D) Global
E) Pass by reference - ANSWER-D) Global

True/False: The arguments in a module call and the parameters listed in the module
header must be of compatible data types.
A) True
B) False - ANSWER-B) False

Which type of variable is visible to every module and the entire program?
A) Local
B) Pass by value
C) Reference
D) Global
E) Pass by reference - ANSWER-D) Global

What phrase is placed in the starting terminal symbol of a module in a flowchart?
A) Start
B) Begin
C) Name of the module

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