

![]()


Computer Programming Fundamentals introduces students to the essential concepts of computer programming, focusing on problem-solving techniques and algorithm development. Through hands-on practice, students learn the syntax and semantics of a programming language, such as Python, and explore foundational topics including variables, data types, control structures, functions, arrays, and basic input/output operations. The course emphasizes logical thinking, code structuring, and debugging skills, enabling students to design, implement, and test simple programs. By the end of the course, students gain a solid grounding in core programming principles, preparing them for more advanced study in computer science.
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) The disk drive is a secondary storage device that stores data by ________________ encoding it onto circular disks.
A)electrically
B)magnetically
C)digitally
D)optically
E)None of the above
Answer: B
Q2) Most programs written in a high-level language need to be translated into machine language.
A)True
B)False
Answer: False
Q3) The term software refers to all the physical devices,or components,that a computer is made of.
A)True
B)False
Answer: False
Q4) USB drives store data in a special type of memory known as ____________________.
Answer: Flash memory
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) The value of the expression 12 - 4 * 3 / 2 + 9 is _________.
A)21
B)15
C)-6
D) 6
E)None of the above
Answer: B
Q2) ___________ comments take up several lines and are used when lengthy explanations are required in the program.
Answer: Block
Q3) A program's ______________ will typically be the result of the process or processes that it has performed.
Answer: output
Q4) What is another term used for 'desk checking'?
A)Hand tracing
B)Debug
C)Execute
D)Run
E)Checking
Answer: A

Page 4
To view all questions and flashcards with answers, click on the resource link above.
Available Study Resources on Quizplus for this Chatper
48 Verified Questions
48 Flashcards
Source URL: https://quizplus.com/quiz/30364
Sample Questions
Q1) The module definition comprises the module header and the module __________.
A)Body
B)Statements
C)Call
D)Arguments
E)Parameters
Answer: A
Q2) Modules that use global variables cannot be used in a different ___________ unless they are redesigned.
Answer: program
Q3) Structure charts are also known as __________________.
Answer: Hierarchy charts
Q4) The scope of the parameter variables is the entire program and it is visible to any statement in the program.
A)True
B)False
Answer: False
Q5) A ___________ constant is a named constant that is available to every module in the program.
Answer: global

Page 5
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
44 Verified Questions
44 Flashcards
Source URL: https://quizplus.com/quiz/30365
Sample Questions
Q1) The _______ symbol indicates that some condition must be tested in a flowchart.
A)Rectangle
B)Oval
C)Parallelogram
D)Square
E)Diamond
Q2) What two logical operators perform short-circuit evaluation?
A)NOT and OR
B)AND and OR
C)AND and NOT
D)All of the Above
E)None of the Above
Q3) A case structure is a ___________ alternative decision structure.
A)Single
B)Dual
C)Multiple
D)Single or dual
E)All of the above
Q4) The value of the ____________ is compared with the values that follow each of the Case statements when a Select Case statement executes.
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) The amount by which the counter variable is incremented in a For loop is known as what?
A)Incremental value
B)Step amount
C)Counter differential
D)Additive Index
E)None of the above
Q2) An inner loop goes through all of its iterations for every single iteration of the ______ loop.
Q3) A While loop repeats infinitely when there is no statement inside the loop body that makes the test condition false.
A)True
B)False
Q4) The While and For loops are considered pretest loops because they test the condition before processing the statement(s)in the loop body.
A)True
B)False
Q5) The variable that is used to keep the running total in a loop is called a(n)_________________ in programming.
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
Sample Questions
Q1) What term is used in the ending terminal symbol of a function flowchart?
A)Return
B)End
C)Function End
D)Function Return
E)None of the above
Q2) The term ________________ is used to describe any mechanism that accepts input,performs some operation that cannot be seen on the input,and produces output.
A)White box
B)Black box
C)White cube
D)Black cube
E)None of the above
Q3) When a function is called,it is ___________.
Q4) The _________ function can be used to determine whether a string can be converted to an integer.
Q5) The ______ function accepts an argument and returns the square root of the argument.
Q6) The ________ chart is a tool that programmers use when designing functions.
Page 8
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
44 Verified Questions
44 Flashcards
Source URL: https://quizplus.com/quiz/30368
Sample Questions
Q1) A _________ loop could be used to validate input instead of using the priming read.
Q2) Often a Boolean function can be used to validate data.
A)True
B)False
Q3) The empty read is not an obvious input error and is a difficult one to handle.
A)True
B)False
Q4) If,when asked for a date of birth,the user enters a future date,this error should be caught by a ____________ check.
A)Date
B)Time
C)Day
D)Reasonableness
E)None of the above
Q5) If the user provides bad data as input to a program,the program will correct the data and produce output.
A)True
B)False
Q6) An error trap can be performed by a(n)____________________ validation loop.
Page 9
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
46 Verified Questions
46 Flashcards
Source URL: https://quizplus.com/quiz/30369
Sample Questions
Q1) 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
Q2) Some programming languages provide this specialized loop that steps through an array,retrieving the value of each element.
A)While Each
B)For Each
C)Repeat Get
D)Step Loop
E)None of the above
Q3) In the following declaration,what is the data type of the elements of the array? Declare Integer numbers [SIZE]
A)SIZE
B)numbers
C)Integer
D)Declare
E)None of the above
Q4) All the values in an array must be of the same _____________.
Q5) A ___________________ array is like several identical arrays put together.
Page 10
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/30370
Sample Questions
Q1) Which of the following is a sorting algorithm?
A)Bubble sort
B)Selection sort
C)Insertion sort
D)All of the above
E)None of the above
Q2) To order an array of strings in alphabetic order,the sorting algorithm should be structured for ____________ order.
A)alphabetic
B)numeric
C)ascending
D)descending
E)None of the above
Q3) For an array of n items,the maximum number of comparisons in a sequential search is ______.
Q4) The swap module is executed with three arguments to correctly swap the elements in an array.
A)True
B)False
Q5) 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) All types of data files are viewable in a text editor.
A)True
B)False
Q2) Opening a(n)________ file creates a file on disk and allows the program to write data to it.
A)In
B)Out
C)Output
D)Input
E)None of the above
Q3) The _________ marker indicates where the file's content ends.
Q4) What is the terminology used when a task is temporarily interrupted as a control variable reaches a specific value?
A)Control break
B)End of page
C)Break
D)Control break logic
E)None of the above
Q5) The word OutputFile indicates the _________ in which the file is used.
Q6) The term input file is used to describe a file that data is written to.
Page 12
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) The ____________ statement is the easiest and most straightforward method to process a user's menu selection.
Q2) Which symbol in flowcharting is appropriate to use to represent the display of each of the selections of the menu?
A)Rectangle
B)Parallelogram
C)Diamond
D)Terminal
E)None of the above
Q3) What type of menu first displays the main menu and then,based on the user's selection,displays a submenu?
A)Single-level menu
B)Multiple-level menu
C)Step-level menu
D)Sub-level menu
E)None of the above
Q4) Modules cannot be executed from a case statement,so loops have to be used.
A)True
B)False
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) Assuming the following variable declaration, Declare String str = "1234AB C" which of the following pseudocode expressions will return True?
A)isDigit(str[3])
B)isDigit(str[4])
C)isLetter(str[3])
D)isWhiteSpace(str[7])
E)None of the above.
Q2) The insert library module automatically expands the size of the string to accommodate the inserted characters.
A)True
B)False
Q3) In pseudocode you can use the _________ library module to insert a string into another string.
Q4) In pseudocode you can use the _________ library function to determine whether a character is lowercase.
Q5) The isUpper library function converts a character to uppercase. A)True
B)False
Q6) A ____________ character is a space,a tab,or a newline.
Page 14
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/30374
Sample Questions
Q1) The choice between using recursion or a loop is primarily a __________ decision.
A)Design
B)Case
C)Group
D)Any of the above
E)None of the above
Q2) 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
Q3) Which of the following can be solved with recursion?
A)Finding the greatest common divisor
B)Binary search
C)The Fibonacci Series
D)None of the above
E)All of the above
Q4) If a module has called itself six times,the depth of recursion was ____________.
To view all questions and flashcards with answers, click on the resource link above. Page 15

Available Study Resources on Quizplus for this Chatper
43 Verified Questions
43 Flashcards
Source URL: https://quizplus.com/quiz/30375
Sample Questions
Q1) Which of the following are contained in a UML diagram for a class?
A)Class name
B)Class fields
C)Class methods
D)All of the above
E)None of the above
Q2) The private object fields can be directly manipulated by outside entities.
A)True
B)False
Q3) 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
Q4) What type of programming encapsulates data and functions together in an object?
A)Object-oriented
B)Interactive
C)Procedural
D)Menu-driven
E)None of the above
Q5) A ________ is the 'blueprint' of the object that is created from it.
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) A component's ______________ control the visual characteristics that are displayed on the component.
A)Data
B)Fields
C)Properties
D)Specifiers
E)None of the above
Q2) In a GUI environment,the user determines the order in which things happen.
A)True
B)False
Q3) A __________ is a component that causes an action to occur when it is clicked in the window.
Q4) A(n)___________ is a module that automatically executes when a specific event occurs.
Q5) When working with a command line interface,if a command is not entered correctly it will not work.
A)True
B)False
Q7) GUIs popularized the use of the keyboard as an input device. Page 17
Q6) The GUIs popularized the use of the __________ as an input device.
To view all questions and flashcards with answers, click on the resource link above.
Page 18