

Computer Science I Test Bank
Course Introduction
Computer Science I is an introductory course that explores the fundamental concepts of computer science and programming. Students will learn about problem-solving strategies, algorithm design, and the basic structure of computer programs using a high-level programming language such as Python or Java. Topics include variables, data types, control structures, functions, and an introduction to object-oriented programming. This course also covers software development practices, debugging techniques, and emphasizes logical thinking and computational reasoning skills essential for tackling more advanced computer science subjects.
Recommended Textbook
Just Enough Programming Logic and Design 2nd Edition by Joyce Farrell
Available Study Resources on Quizplus
7 Chapters
350 Verified Questions
350 Flashcards
Source URL: https://quizplus.com/study-set/2426

Page 2

Chapter 1: An Overview of Computers and Logic
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48218
Sample Questions
Q1) When Jerry plans the solution to this programming problem,he will use one of two tools to help him.These tools are: ____.
A) algorithms and flowcharts
B) pseudocode and algorithms
C) code and algorithms
D) pseudocode and flowcharts
Answer: D
Q2) A(n)____ value is a predetermined value that means "Stop the program!"
A) flag
B) sentinel
C) indicator
D) counter
Answer: B
Q3) A program that is free of syntax errors will produce the correct results.
A)True
B)False
Answer: False
To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Understanding Structure
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48219
Sample Questions
Q1) Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.
A) processes
B) modules
C) units
D) pieces
Answer: B
Q2) In structured programs,structures can be stacked or connected to one another only at their entry point or ____.
A) endif statement
B) connection point
C) end point
D) exit point
Answer: D
Q3) A repetition or iteration loop is known as a(n)____ structure.
A) while do
B) do while
C) if do
D) do if
Answer: A
To view all questions and flashcards with answers, click on the resource link above. Page 4

Chapter 3: Making Decisions
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48220
Sample Questions
Q1) True/false evaluation is "natural" from a computer's standpoint because computer circuitry consists of two-state on-off switches,often represented by ____.
A) 1 or -1
B) 1 or 0
C) light or dark
D) plus or minus
Answer: B
Q2) ____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.
A) Truth diagrams
B) Truth matrix
C) Truth tables
D) Logic diagrams
Answer: C
Q3) In every programming language,addition has precedence over multiplication in an arithmetic statement.
A)True
B)False
Answer: False
To view all questions and flashcards with answers, click on the resource link above.
Page 5

Chapter 4: Looping
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48221
Sample Questions
Q1) It is always a mistake to fail to initialize a loop's control variable.
A)True
B)False
Q2) A(n)____ value is a number you use to increase a loop control variable on each pass through a loop.
A) jump
B) bump
C) increment
D) step
Q3) Every high-level computer programming language contains a ____ statement that you can use to code any loop,including both indefinite and definite loops.
A) do
B) while C) for
D) count
Q4) When you do not know when you write the program whether the loop will be executed two times,200 times,or not at all you should use a definite loop.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 6

Chapter 5: Arrays
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48222
Sample Questions
Q1) The following pseudocode is not working correctly.The code should total the array elements.What code needs to be changed? start
Declarations
Num count = 0
Num total = 0
Num scores[6] = 2,4,6,8,10,12
While count < 6
Total = total + scores
Count = count + 1
Endwhile
Stop
A) Change the while to:
While count < 7
B) move count = count + 1 after the endwhile
C) Change the total = to:
Total = scores + scores[count]
D) Change the total = to:
Total = total + scores[count]
Q2) Define and initialize an array that contains the names of the days of the week.
To view all questions and flashcards with answers, click on the resource link above. Page 7

Chapter 6: Using Methods
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48223
Sample Questions
Q1) All modern programming languages contain many built-in,prewritten ____ to save time and effort.
A) routines
B) variable
C) methods
D) programs
Q2) In a program,when you send a value to a method,you send a(n)____ to the method.
A) variable
B) parameter
C) argument
D) key
Q3) Creating submethods makes the calling method's logic more concise,easier to read,and somewhat easier to identify as structured.
A)True
B)False
Q4) A method's ____ contains all the statements in the method.
A) header
B) body
C) declaration
D) return
To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: Object-Oriented Programming
Available Study Resources on Quizplus for this Chatper
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48224
Sample Questions
Q1) A class that inherits from a base class is a ____ class.
A) super
B) lower
C) derived
D) parent
Q2) Each method that each object can use is an ____ method.
A) invoke
B) instance
C) enabled
D) included
Q3) When you use inheritance you can reuse well-established features of ____.
A) parent classes
B) derived classes
C) child classes
D) subclasses
Q4) ____ methods pass the data stored in a field back to a client program.
A) Mutator
B) Send
C) Set
D) Get
To view all questions and flashcards with answers, click on the resource link above. Page 9