

![]()


Programming Logic and Design introduces students to the fundamental concepts necessary for developing structured computer programs. The course emphasizes problem-solving, logical thinking, and algorithm development through the use of flowcharts, pseudocode, and structure charts. Students learn how to break down complex tasks into manageable modules, apply control structures such as sequence, selection, and iteration, and ensure efficient, error-free program logic. By focusing on language-independent methods, the course builds a strong foundation for understanding varieties of programming languages and prepares students for advanced study in software development.
Recommended Textbook
Starting Out with Programming Logic and Design 3rd Edition by Tony Gaddis
Available Study Resources on Quizplus
15 Chapters
655 Verified Questions
655 Flashcards
Source URL: https://quizplus.com/study-set/1537 Page 2

Available Study Resources on Quizplus for this Chatper
48 Verified Questions
48 Flashcards
Source URL: https://quizplus.com/quiz/30362
Sample Questions
Q1) Computers can do such a wide variety of things because they can be ____________________.
Answer: programmed
Q2) The CPU understands instructions in machine language,which are written in binary.
A)True
B)False
Answer: True
Q3) What is the largest value that can be stored in one byte?
A)255
B)128
C)8
D)65535
E)16
Answer: A
Q4) A _____________ language allows the programmer to create very powerful and complex programs without knowing how the CPU works.
Answer: high-level
Q5) A program cannot be translated if it has _____________ errors.
Answer: syntax
To view all questions and flashcards with answers, click on the resource link above. Page 3

Available Study Resources on Quizplus for this Chatper
48 Verified Questions
48 Flashcards
Source URL: https://quizplus.com/quiz/30363
Sample Questions
Q1) Most programming languages do not automatically print spaces between multiple items that are displayed on the screen.
A)True
B)False
Answer: True
Q2) 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.
A)True
B)False
Answer: True
Q3) When a mathematical calculation is performed,you typically want to store the result of that calculation in a ______________.
Answer: variable
Q4) The __________________ symbol is used to represent the inputs and outputs in the steps of the program.
Answer: parallelogram
Q5) The ___________ operator performs division and returns the remainder. Answer: modulus
To view all questions and flashcards with answers, click on the resource link above. Page 4

Available Study Resources on Quizplus for this Chatper
48 Verified Questions
48 Flashcards
Source URL: https://quizplus.com/quiz/30364
Sample Questions
Q1) Programmers use _____________ to graphically depict the flow of logic inside a module.
Answer: Flowcharts
Q2) Modules are commonly called what?
A)Procedures
B)Subroutines
C)Subprograms
D)Methods
E)All of the above
Answer: E
Q3) The hierarchy chart does not reveal any details of the steps taken inside the module.
A)True
B)False
Answer: True
Q4) In most languages a module definition has three parts: a header,body,and footer.
A)True
B)False
Answer: False
To view all questions and flashcards with answers, click on the resource link above.
Page 5

Available Study Resources on Quizplus for this Chatper
44 Verified Questions
44 Flashcards
Source URL: https://quizplus.com/quiz/30365
Sample Questions
Q1) Which structure is a logical design that controls the order in which a set of statements executes?
A)Control
B)Sequence
C)Module
D)Terminal
E)None of the above
Q2) The _________ symbol is used to represent a selection structure in flowcharting.
Q3) The ________ operator could be used,in some situations,to simplify nested selection structures.
A)AND
B)NOT
C)OR
D)All of the above
E)None of the above
Q4) The _________________ decision structure provides only one alternative path of execution.
Q5) The __________ operator requires both sub expressions to be true for the compound expression to be true.
Q6) A ____________ expression evaluates as either true or false.
To view all questions and flashcards with answers, click on the resource link above. Page 6

Available Study Resources on Quizplus for this Chatper
44 Verified Questions
44 Flashcards
Source URL: https://quizplus.com/quiz/30366
Sample Questions
Q1) How many times will the following loop iterate?
Set k = 1
While k > 5
Display k
End While
A)One
B)Two
C)Five
D)No iterations
E)Infinite
Q2) The loop that iterates as long as a condition is false and then stops when the condition becomes true is called a __________ loop.
Q3) Which loop statement does not contain an increment statement but automatically increments the counter at the end of each iteration?
A)Do-While
B)Do-Until
C)For
D)While
E)None of the above
To view all questions and flashcards with answers, click on the resource link above.
Page 7

Available Study Resources on Quizplus for this Chatper
44 Verified Questions
44 Flashcards
Source URL: https://quizplus.com/quiz/30367
Q1) A ___________ statement specifies the value that is returned from the function when the function ends.
Q2) The variable r would contain the value ________ after the execution of the following statement.
Declare Integer i = 12
Declare Real r
Set r = toReal (i)
A)12
B)1.2
C)12.0
D)0.12
E)None of the above
Q3) There can be only _______ return value from a function to the called module.
Q4) The toInteger function accepts a real number as its argument and preserves any fractional part in the returned number.
A)True
B)False
Q5) The process of appending one string to the end of another string is called
To view all questions and flashcards with answers, click on the resource link above. Page 8

Available Study Resources on Quizplus for this Chatper
44 Verified Questions
44 Flashcards
Source URL: https://quizplus.com/quiz/30368
Sample Questions
Q1) An error trap can be performed by a(n)____________________ validation loop.
Q2) What type of function can be used to see if the password entered has the minimum number of characters?
A)Mathematical
B)Boolean
C)String
D)Trigonometric
E)None of the above
Q3) __________ programming is the practice of anticipating errors that can happen while a program is running.
Q4) When a payroll program verifies that no value greater than 168 is entered for the number of hours worked in a week,it is performing a ___________________ check.
Q5) Programs should be designed such that all input is inspected before it is processed and bad data is discarded.
A)True
B)False
Q6) Checking for reasonableness of data is programmatically impossible. A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 9

Available Study Resources on Quizplus for this Chatper
46 Verified Questions
46 Flashcards
Source URL: https://quizplus.com/quiz/30369
Sample Questions
Q1) Array bounds checking happens at runtime,which is while the program is running.
A)True
B)False
Q2) The storage locations in an array are known as _________________.
Q3) One of the advantages of two- or more dimensional arrays is that the data values can be of two or more data types.
A)True
B)False
Q4) All the values in an array must be of the same _____________.
Q5) Access the individual elements in an array by using their _____________.
A)Sizes
B)Numbers
C)Integers
D)Subscripts
E)None of the above
Q6) In a sequential search algorithm,the Boolean variable used as a flag is initialized to TRUE.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 10
Q7) A ___________________ array is like several identical arrays put together.

Available Study Resources on Quizplus for this Chatper
43 Verified Questions
43 Flashcards
Source URL: https://quizplus.com/quiz/30370
Sample Questions
Q1) The biggest advantage of the bubble sort algorithm is that values move only by one element at a time toward their final destination in the array.
A)True
B)False
Q2) In the bubble sort algorithm,the two arguments sent into the swap module are
A)array[index] and array[index-1]
B)array[index+1] and array[index-1]
C)array[index-1] and array[index+1]
D)array[index-1] and array[index]
E)None of the above
Q3) In a sorting algorithm,the sort order can be changed by changing the ________________ operator.
Q4) In a binary search,if the search fails to find the item on the first attempt,then there are 999 elements left to search in an array of 1000 elements.
A)True
B)False
Q5) The advantage of the _________ search is its simplicity.
Q6) The bubble sort is limited to arranging data only in acceding order.
Page 11
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
43 Verified Questions
43 Flashcards
Source URL: https://quizplus.com/quiz/30371
Sample Questions
Q1) The use of a buffer increases the system's performance because writing data to memory is faster than writing to a disk.
A)True
B)False
Q2) In general,how many types of files are there?
A)one
B)two
C)three
D)five
E)None of the above
Q3) The ________ file is used to describe a file that data is written to.
Q4) What type of data file can be opened and viewed in an editor such as Notepad?
A)Text file
B)Output file
C)Input file
D)Binary file
E)None of the above
Q5) The process of ________ a file creates a connection between the file and the program.
Page 12
Q6) The _________ is a small holding section in memory.
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
43 Verified Questions
43 Flashcards
Source URL: https://quizplus.com/quiz/30372
Sample Questions
Q1) When the user is ready to stop the program,the user selects an operation such as "__________" from the menu.
A)STOP
B)CTRL + Z
C)CTRL + X
D)CTRL + Q
E)End of Program
Q2) It is not possible to give the user an opportunity to make additional selections from the menu without having to run the program.
A)True
B)False
Q3) A series of nested _____________ statements can be used to process the menu selections in lieu of the case statement.
Q4) What is the structure that is needed to process a menu selection?
A)Sequence
B)Decision
C)Iteration
D)Loop
E)None of the above
To view all questions and flashcards with answers, click on the resource link above. Page 13

Available Study Resources on Quizplus for this Chatper
31 Verified Questions
31 Flashcards
Source URL: https://quizplus.com/quiz/30373
Sample Questions
Q1) What is the output of the following pseudocode?
Declare String str = "ABC"
Display str[1]
A)A
B)B
C)C
D)ABC
E)Nothing.This is an error.
Q2) Which of the following pseudocode statements uses substring notation to display the first character in a String variable named city?
A)Display city[0]
B)Display city[length - 1]
C)Display city[1]
D)All of the above
E)None of the above
Q3) In pseudocode you can use the _________ library function to determine whether a character is lowercase.
Q4) In pseudocode you can use the _________ library module to insert a string into another string.
To view all questions and flashcards with answers, click on the resource link above. Page 14

Available Study Resources on Quizplus for this Chatper
43 Verified Questions
43 Flashcards
Source URL: https://quizplus.com/quiz/30374
Sample Questions
Q1) The recursive calls stop when the conditional expression becomes _________.
Q2) A module that calls itself is known as a _____________ module.
Q3) The total number of times a module calls itself recursively is known as the ________ of recursion.
A)Height
B)Weight
C)Time
D)Depth
E)None of the above
Q4) When a recursive algorithm terminates its nth instance of the module call,it returns to the point in the __________ instance directly after the recursive module call.
Q5) The majority of repetitive programming tasks are best done with which of the following?
A)Loops
B)Decision structures
C)Recursion
D)Sequence structures
E)All of the above
Q6) ____________________ is a powerful tool for solving some repetitive problems.
Page 15
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
43 Verified Questions
43 Flashcards
Source URL: https://quizplus.com/quiz/30375
Sample Questions
Q1) The variables,arrays,or other data structures that are stored in the object are known as the object's __________.
A)Records
B)Methods
C)Addresses
D)Fields
E)None of the above
Q2) Procedures,typically,operate on data items that are within the procedure.
A)True
B)False
Q3) A ________ is the 'blueprint' of the object that is created from it.
Q4) The separation of data and the code that operates on the data can lead to problems as a program becomes larger and more complex.
Q5) The object's ___________ are the modules and functions of the object.
Q6) When a superclass method has the same name as a subclass method,it is often said that the superclass method overrides the subclass method.
A)True
B)False
Q7) The key word ___________ creates the object in memory.
Page 16
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
43 Verified Questions
43 Flashcards
Source URL: https://quizplus.com/quiz/30376
Sample Questions
Q1) The color,size,and position of a component are known as the _________________ of the component.
Q2) The _______________ indicates how a program will flow from one window to the next as the user interacts with the program.
Q3) In a GUI environment the ___________ determines the order in which things happen.
Q4) Which component usually appears in groups and allows the user to select one of several options?
A)Text box
B)Slider
C)Combo box
D)List box
E)Radio button
Q5) In a user interface flow diagram,an arrow appears between two windows in the diagram when actions performed in one window can cause another window to open.
A)True
B)False
Q6) The GUIs popularized the use of the __________ as an input device.
Q7) GUIs popularized the use of the keyboard as an input device.
To view all questions and flashcards with answers, click on the resource link above. Page 17