

![]()


Computer Science I introduces students to the fundamental concepts and principles of computer science, emphasizing problem-solving and programming skills. Students learn the basics of algorithms, data types, control structures, functions, and software development using a high-level programming language such as Python or Java. The course covers topics including variables, conditionals, loops, arrays, and basic input/output operations, providing a strong foundation for further study in computer science. Through hands-on projects and exercises, students develop logical thinking and computational skills necessary for designing and implementing efficient solutions to real-world problems.
Recommended Textbook
Starting Out with Python 3rd Edition by Tony Gaddis
Available Study Resources on Quizplus
13 Chapters
488 Verified Questions
488 Flashcards
Source URL: https://quizplus.com/study-set/1057 Page 2

Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/20921
Sample Questions
Q1) Programs are commonly referred to as _____.
A) system software
B) software
C) application software
D) utility programs.
Answer: B
Q2) What is the encoding technique called that is used to store negative numbers in the computer's memory?
A) Unicode
B) ASCII
C) floating-point notation
D) two's complement
Answer: D
Q3) The disk drive is a secondary storage device that stores data by _____ encoding it onto a spinning circular disk.
A) electrically
B) magnetically
C) digitally
D) optically
Answer: B
To view all questions and flashcards with answers, click on the resource link above. Page 3

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20922
Sample Questions
Q1) What symbol is used to mark the beginning and end of a string?
A) Slash
B) Asterisk
C) Quotation
D) Comma
Answer: C
Q2) The output of the following print statement is:
Print 'I\'m ready to begin'
A) Im ready to begin
B) I\'m ready to begin
C) I'm ready to begin
D) 'I\'m ready to begin'
Answer: C
Q3) According to the behavior of integer division, when an integer is divided by an integer, the result will be a float.
A)True
B)False
Answer: False
Q4) The result of the expression 12.3 + 6.7 is _______________.
Answer: 19.0
To view all questions and flashcards with answers, click on the resource link above. Page 4

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20923
Sample Questions
Q1) In Python, the _____ symbol is used as the not-equal-to operator.
A) ==
B) <>
C) <=
D) !=
Answer: D
Q2) Which of the following is the correct if clause to determine whether y is in the range 10 through 50?
A) if 10 < y or y > 50
B) if 10 > y and y < 50
C) if y > 10 and y < 50
D) if y > 10 or y < 50
Answer: C
Q3) When using the _____ operator, both subexpressions must be true for the compound expression to be true.
A) or
B) and
C) not
D) maybe
Answer: B
To view all questions and flashcards with answers, click on the resource link above. Page 5

Available Study Resources on Quizplus for this Chatper
34 Verified Questions
34 Flashcards
Source URL: https://quizplus.com/quiz/20924
Sample Questions
Q1) In flowcharting, the decision structure and the repetition structure both use the diamond symbol to represent the condition that is tested.
A)True
B)False
Q2) The first line in the while loop is referred to as the condition clause.
A)True
B)False
Q3) A(n) _______________ validation loop is sometimes called an error trap or an error handler.
Q4) A(n) _______________ loop usually occurs when the programmer forgets to write code inside the loop that makes the test condition false.
Q5) Reducing duplication of code is one of the advantages of using a loop structure.
A)True
B)False
Q6) Functions can be called from statements in the body of a loop, and loops can be called from the body of a function.
A)True
B)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
69 Verified Questions
69 Flashcards
Source URL: https://quizplus.com/quiz/20925
Sample Questions
Q1) Python allows for passing multiple arguments to a function.
A)True
B)False
Q2) To refer to a function in a module, in our program we have to use the _______________ notation.
Q3) What type of function can be used to determine whether a number is even or odd?
A) even
B) odd
C) math
D) Boolean
Q4) The function header begins with the keyword _______________ followed by the name of the function.
Q5) The top-down design breaks down the overall task of the program into a series of _______________.
Q6) A value-returning function is _____.
A) a single statement that perform a specific task
B) called when you want the function to stop
C) a function that will return a value back to the part of the program that called it
D) a function that receives a value when it is called
To view all questions and flashcards with answers, click on the resource link above. Page 7

Available Study Resources on Quizplus for this Chatper
34 Verified Questions
34 Flashcards
Source URL: https://quizplus.com/quiz/20926
Sample Questions
Q1) A(n) _______________ access file retrieves data from the beginning of the file to the end of the file.
Q2) What type of file access jumps directly to any piece of data in a file without reading the data that came before it?
A) Sequential
B) Random
C) Number
D) Text
Q3) When a file has been opened using the 'r' mode specifier, which method will return the file's contents as a string?
A) write
B) input
C) get
D) read
Q4) When a program needs to save data for later use, it writes the data in a(n) _______________.
Q5) Programmers usually refer to the process of _______________ data in a file as "writing data to" the file.
Q6) A(n) _______________ file contains data that has not been converted to text.
To view all questions and flashcards with answers, click on the resource link above. Page 8

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20927
Sample Questions
Q1) The _______________ function returns the item that has the lowest value in the sequence.
Q2) Lists are _______________, which means their elements can be changed.
Q3) The sort method rearranges the elements of a list so they appear in ascending or descending order.
A)True
B)False
Q4) Lists are dynamic data structures such that items may be added to them or removed from them.
A)True
B)False
Q5) A(n) _______________ is an object that holds multiple items of data.
Q6) What method can be used to convert a list to a tuple?
A) append
B) tuple
C) insert
D) list
Q7) A list cannot be passed as an argument to a function.
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
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20928
Sample Questions
Q1) Which of the following string methods can be used to determine if a string contains only '\n' characters?
A) ischar()
B) isalpha()
C) istab()
D) isspace()
Q2) If a whole paragraph is included in a single string, the split() method can be used to obtain a list of the sentences included in the paragraph.
A)True
B)False
Q3) A(n) _______________ exception will occur if you try to use an index that is out of range for a particular string.
Q4) The strip() method returns a copy of the string with all leading whitespace characters removed, but does not remove trailing whitespace characters.
A)True
B)False
Q5) The _______________ method returns a copy of the string with all alphabetic letters converted to lower case.
To view all questions and flashcards with answers, click on the resource link above. Page 10

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20929
Sample Questions
Q1) The issubset method can be used to determine whether set1 is a subset of set2.
A)True
B)False
Q2) A(n) _______________ is an object that holds multiple unique items of data in an unordered manner.
Q3) The built-in function _______________ returns the number of items in a set.
Q4) You created the following dictionary relationships = {'Jimmy':'brother'}. You then executed the following code, and received a KeyError exception. What is the reason for the exception?
Relationships['jimmy']
A) String comparisons are case sensitive so 'jimmy' does not equal 'Jimmy'.
B) You used the wrong syntax for creating the dictionary.
C) You should have used the code relationships['brother'].
D) There is a bug in Python.
Q5) Which function would you use to get the number of elements in a dictionary?
A) size
B) length
C) len
D) invalid code
Q6) Each element in a(n) _______________ has two parts: a key and a value.
Page 11
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20930
Sample Questions
Q1) The instances of a class share the data attributes in the class.
A)True
B)False
Q2) What is another name for the accessor methods?
A) Setters
B) Getters
C) Instances
D) Attributes
Q3) A mutator method has no control over the way that a class's data attributes are modified.
A)True
B)False
Q4) A class definition is stored in the library so that it can be imported into any program.
A)True
B)False
Q5) An object is a stand-alone program but is used by programs that need its service.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 12

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20931
Sample Questions
Q1) What gives a program the ability to call the correct method depending on the type of object that is used to call it?
A) Polymorphism
B) Inheritance
C) Encapsulation
D) Methods
Q2) The term _______________ refers to an object's ability to take different forms.
Q3) In the following line of code, what is the name of the subclass?
Class Rose(Flower):
A) Rose
B) Flower
C) Either
D) Incorrect code
Q4) In the following line of code, what is the name of the base class?
Class Male(Human):
A) Male
B) Human
C) Either
D) Incorrect code
Q5) _______________ is used to create an 'is a' relationship among classes.
Page 13
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20932
Sample Questions
Q1) When function A calls function B, which in turn calls function A, it is known as indirect recursion.
A)True
B)False
Q2) Some problems are _______________ solved with recursion than with a loop.
Q3) A problem can be solved with recursion if it can be broken down into _____ problems.
A) smaller
B) one-line
C) manageable
D) modular
Q4) The process of calling a function requires _____.
A) a long memory access
B) a quick memory access
C) several actions to be performed by the computer
D) one action to be performed by the computer
Q5) A base case is not necessary for all recursive algorithms.
A)True
B)False
Q6) Recursive function calls are _______________ efficient than loops.
Page 14
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/20933
Sample Questions
Q1) The _______________ module allows you to create GUI programs in Python.
Q2) In which environment can a user determine the order in which things happen?
A) Command line
B) GUI
C) ALU
D) CPU
Q3) In a GUI environment, most interactions are done through small windows known as _____ that display information and allow the user to perform actions.
A) input boxes
B) windows
C) dialog boxes
D) message boxes
Q4) The Label widget's _______________ method determines where a widget should be positioned and makes the widget visible when the main window is displayed.
Q5) Check buttons are displayed in groups and used to make mutually exclusive selections.
A)True
B)False
Q6) The GUI popularized the use of the _______________ as an input device.
Page 15
To view all questions and flashcards with answers, click on the resource link above.