Skip to main content

Fundamentals of Computer Programming Practice Exam - 350 Verified Questions

Page 1


Fundamentals of Computer Programming Practice Exam

Course Introduction

This course introduces students to the foundational principles of computer programming, focusing on problem-solving skills and algorithmic thinking. Through a contemporary programming language, students learn essential concepts such as data types, variables, control structures (sequence, selection, iteration), functions, arrays, and basic input/output. Emphasis is placed on writing readable, efficient code and systematically debugging programs. By the end of the course, students will be equipped to design, code, and test simple programs, providing a strong basis for further study in computer science and related fields.

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) To use a computer program,you must first load it into the computer's ____.

A) memory

B) monitor

C) disk

D) software

Answer: A

Q2) The programmer's job can be broken down into five development steps.

A)True

B)False

Answer: False

Q3) ____ are the two major components of any computer system.

A) Input and output

B) Monitors and printers

C) Keyboards and mice

D) Hardware and software

Answer: D

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

A)True

B)False

Answer: True

Page 3

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

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) The action or actions that occur within a loop are known as ____.

A) loop workings

B) loop body

C) action body

D) inner workings

Answer: B

Q2) You can replace any individual tasks or steps in a structured flowchart diagram or pseudocode segment with additional structures.

A)True

B)False

Answer: True

Q3) The popular name for logically snarled program statements is ____ code.

A) noodle

B) meatloaf

C) spaghetti

D) puzzle

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) A ____ of values is every value between low and high limits.

A) list

B) block

C) range

D) group Answer: C

Q2) In an AND decision,it is more efficient to first ask the question that is less likely to be

A) larger

B) Boolean

C) false

D) true

Answer: D

Q3) Boolean (true/false)expressions are named for George Boolean.

A)True

B)False

Answer: False

Q4) Write structured pseudocode to fix this statement:

if hourlyWage > 8.50 and < 15.80 then

Answer: if hourlyWage > 8.50 and hourlyWage < 15.80 then

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) Write the logic for a program that outputs every even number from 2 through 16.

Q2) Many programs are not run at the command prompt in a text environment,but are run using a ____,which allows users to interact with a program in a graphical environment.

A) UML

B) GOOY

C) GUM

D) GUI

Q3) Many programmers prefer starting their counted loops with a variable containing a(n)____ value.

A) 0

B) 1

C) arbitrary

D) constant

Q4) Program logic gets more complicated when you must use loops within loops,creating ____ loops.

A) interwoven

B) stacked

C) nested

D) connected

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) Any array's subscripts are always a ____ of integers.

A) group

B) sequence

C) list

D) range

Q2) An element in an array is 3 bytes long and there are 10 elements in the array.How big is the array?

A) 30 bytes

B) 10 bytes

C) 3 bytes

D) Not enough information to determine

Q3) Each separate array variable is one ____ of the array.

A) element

B) aspect

C) index

D) member

Q4) Write the pseudocode to define a six element array called "scores," and then allow a user to enter 6 scores and store them in the array using a for loop.

Q5) 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) The process of breaking down a large program into modules is called ____.

A) decomposition

B) isolation

C) modularization

D) compartmentalization

Q2) Variables and constants declared within a method are ____ only within that method.

A) in vision

B) in range

C) in scope

D) in group

Q3) C++ programmers use "____" to name their modules.

A) subroutine

B) function

C) procedure

D) method

Q4) With implementation hiding,when you make a request to a method,you only know the details of how the method is executed.

A)True

B)False

Page 8

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

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) By ____ the data,you pass one argument.

A) encapsulating

B) hiding

C) exposing

D) internalizing

Q2) A(n)____ is a term that describes a group of objects with common properties.

A) object

B) interface

C) class

D) method

Q3) Object-oriented programmers usually specify that their data fields will have ____.

A) public access

B) private access

C) inheritance

D) signatures

Q4) What features must a programming language have for it to be considered an object-oriented language?

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
Fundamentals of Computer Programming Practice Exam - 350 Verified Questions by Quizplus - Issuu