Skip to main content

Computer Science I Exam Solutions - 350 Verified Questions

Page 1


Computer Science I Exam Solutions

Course Introduction

Computer Science I introduces the foundational principles of computer science and problem-solving using programming. Students will learn the basics of algorithm development, data types, control structures, functions, and basic data structures such as arrays and lists. The course emphasizes writing and debugging code, with practical assignments that build proficiency in a modern programming language. By the end of the course, students will be able to design, implement, and test simple programs, laying the groundwork for further study in computer science.

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) A variable's ____ describes the kind of values the variable can hold,how much memory the value occupies,and the types of operations that can be performed with the data stored there.

A) size

B) name

C) data type

D) value

Answer: C

Q2) Jerry needs to know more about the report.He asks Anna questions about what the report should look like and what other information should be included on the report.What part of the program development cycle is this?

A) Understanding the problem

B) Planning the logic

C) Coding the program

D) Interviewing about the problem

Answer: A

Q3) Computer programmers often refer to memory addresses using hexadecimal notation.

A)True

B)False

Answer: True

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) if-else examples can also be called ____,because they contain the action taken when the tested condition is true and the action taken when it is false.

A) do loops

B) repetition

C) single-alternative selections

D) dual-alternative selections

Answer: D

Q2) A sequence can contain any number of tasks,but there is no chance to branch off and skip any of the tasks.

A)True

B)False

Answer: True

Q3) You can use an ____ statement to clearly show where the actions that depend on a decision end.

A) end

B) else

C) endif

D) if

Answer: C

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) Most programming languages allow you to combine as many AND and OR operators in an expression as you need.

A)True

B)False

Answer: True

Q2) C#,C++,C,and Java use the symbol ____ to represent the logical OR.

A) %%

B) &&

C) ||

D) **

Answer: C

Q3) You use the logical ____ operator to reverse the meaning of a Boolean expression.

A) NOT

B) AND C) OR

D) XOR

Answer: A

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) While making decisions is what makes computers seem intelligent,it's looping that makes computer programming both efficient and worthwhile.

A)True

B)False

Q2) Most languages provide a built-in way to check whether a value that is entered is numeric or not.

A)True

B)False

Q3) When you use a ____ within a computer program,you can write one set of instructions that operates on multiple,separate sets of data.

A) counter

B) variable

C) loop

D) sentinel

Q4) As long as a Boolean expression remains true,a ____ loop's body executes.

A) do

B) go

C) while D) begin

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 number of elements an array will hold is known as the ____ of the array.

A) bounds

B) limits

C) constraints

D) size

Q2) Leaving a loop as soon as a match is found improves the program's ____.

A) indirect relationships

B) logic

C) simplicity

D) efficiency

Q3) Most programming languages use a statement similar to the following to declare a three-element array and assign values to it: ____

A) {20,30,40} = num someVals[3]

B) num someVals[3] = {someVals}

C) num someVals[] = 20,30,40

D) num someVals[3] = 20,30,40

Q4) Write the pseudocode to define and initialize a five element array called "evens," with even numbers from 2 to 10,and then find the total of the values in the array using a for loop.

Q5) Define and initialize an array that contains the names of the days of the week.

Page 7

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

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) In daily life,using a low-level,abstract list of chores makes your day manageable.

A)True

B)False

Q2) In most circumstances,you should not declare global variables and constants.

A)True

B)False

Q3) Programmers often say that a method's implementation details are hidden in a(n)____.

A) black box

B) secret box

C) trap door

D) invisible box

Q4) The arguments sent to a method in a method call are often referred to as ____ parameters.

A) formal

B) declared

C) instantiated

D) actual

Q5) What is the difference between an argument and a parameter variable?

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) Each method that each object can use is an ____ method.

A) invoke

B) instance

C) enabled

D) included

Q2) When you use inheritance you can reuse well-established features of ____.

A) parent classes

B) derived classes

C) child classes

D) subclasses

Q3) Because the plus symbol (+)has diverse meanings based on context,it is ____.

A) overdefined

B) defined

C) polyclassist

D) polymorphic

Q4) The syntax used to declare a class differs among programming languages.

A)True

B)False

Q5) List the three parts of a class definition.

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

Turn static files into dynamic content formats.

Create a flipbook
Computer Science I Exam Solutions - 350 Verified Questions by Quizplus - Issuu