NEW
Font size
WorksheetsUnit 4 - Review
Total questions: 35
Worksheet time: 18mins
Fill in the blank: __________ is the process of writing clear, step-by-step instructions that tell a computer how to solve a problem or complete a task.
Deleting
All programming languages — no matter how simple or advanced — are ultimately translated into _____ 1s and 0s
binary
hexidecimal
gamma code
A _________ is a classification that specifies what kind of value a piece of data can hold and what operations can be performed on it.
packet
syntax
database
The value presented here is an example of what data type in programming?
9.91
Float
String
Boolean
Logic Error
Which of the following is an example of an Integer?
1A130BSB
8
34.97
ABC
A boolean data type is represented by what?
Math
1 and 0
True / False
4 + 11 = 15
Which of the following is a variable naming convention displayed as camel case?
some_var
myAge
MYVARIABLE
449-0198
Which of the following is an example of the snake case variable naming convention?
myDogName
grand_total
IsTheChoice
my$name
What is a named container that stores a value in programming?
byte
What are notes written by programmers within the code to document and explain parts of the program?
Fill in the blank: ________ are unchanging values that can be used throughout your program
Words
Fill in the blank. We ________ a variable when we give it a starting value.
remark
compile
eleviate
Fill in the blank. A __________ is a reusable block of code that can take parameters.
beveller
Which variable is declared outside any function or block and is accessible anywhere in the code?
Global Scope Variable
Marginal Variable
Local Scope variable
Which variables are declared inside a function or block and are only accessible within that function/block.
Cyclic variables
Dynamic Variables
A ____________ is a programming element that executes specific blocks of code only if a given logical condition is met.
function
variable
dynasty statement
A ______ is a programming structure that repeats a block of code.
It runs the same instructions multiple times until a condition is met.
Which loop will run at least one time regardless of the condition?
while
carver loop
A _________ is a smaller block of code inside a larger program.
boolean
subprogram
space
rootkit
What does DRY stand for in computer programming?
Delay, Re-Write, Yell
Develop, Report, Yield
Database, Repository, Yada
A ________ is a function that belongs to an object.
An _______ is a collection of related data (variables) and functions (methods) stored together.
undecillion
An _______ is a clear, step-by-step set of instructions to solve a specific problem.
A ________ is a visual diagram that shows the flow of the program using shapes and arrows.
flow chart
Which shape represents the end of a program in a flowchart?
Which of the following represents a decision (yes/no) on a flowchart?
Fill in the blank. __________ is a way to describe what a program does using plain English mixed with code-like structure.
Syntax
Markup language
Pseudocode
Nonorithm
FIll in the blank. _________ is the process of checking if your program works correctly, efficiently, and meets the goals of the problem.
Marking
Commenting
Recovering
Evaluation
__________ is the process of identifying what went wrong, why it happened, and correcting it so the program runs properly.
Pythoning
Which of the following are tyes of programming errors?
Portion Error
Masking Error
PVR Error
Bunson Error
Check Diode Error
MWT Error
Syntax Error
Runtime Error
Logic Error
Logic
Lorax
Mylon Error
What are the two most common types of algorithms?
Graph
Dynamic Programming
Machine Learning
Data Mining
Sorting
Searching
Cryptographic Compression
Which is considered an advantage of an algorithm?
They make programs run slower
They always eliminate the need for testing
They help us solve problems efficiently
They guarantee that programs will never have errors
What does IDE stand for in programming?
Interscope Dynamic Election
Intact Design Evaluation
Intermediate Deletion Election
Fill in the blank. ________ is a built-in tool that helps locate and fix problems in code.
Which of the following involves keeping a written or digital record of your debugging and problem-solving process.
Error detection
Journaling
