Font size
WorksheetsDigital Literacy Chapter 14 Review
Total questions: 51
Worksheet time: 51mins
Which of the following are true regarding pseudocode? (Select two.)
It is a set of steps, rules, and instructions used to solve a problem.
It is a line-by-line description of what your program needs to do.
It is the process of translating a program design into code.
It is not a programming language.
It contains diagrams of the processes to be included in the program.
What is an argument called when you are defining a function?
Process
Argument
Variable
Parameter
Which of the following BEST describes a for loop?
Repeats and executes a block of code a specific number of times.
Uses the equality operator (==) to test the value.
Continues to run a block of code until a certain condition is met.
Runs code associated with a condition that is true.
Which of the following programming languages runs the fastest?
Assembly
Interpreted
Runtime engines
Compiled
Which of the following BEST describes an algorithm?
A list of instructions or rules designed to complete tasks or solve specific problems.
An error or defect in a software program that causes the program to not run properly.
Something that makes it easier for humans to read and write computer instructions.
A command that directs a computer to repeat the same instructions over and over until a certain condition is reached.
Which of the following is used to instruct a computer to test a variable to see if it is equal to a certain value?
A Boolean condition
Equality operator
Assignment operator
Code statements
Which of the following BEST describes debugging?
The process of translating the program design into code form.
The process of removing or hiding all irrelevant data.
The process of finding and fixing errors in a computer program.
The process that allows programmers to get to working solutions.
Which language are top-end video games generally written in?
Assembly language
Compiled language
Interpreted language
Machine language
Which of the following are used for code blocks when programming in JavaScript?
{ }
[ ]
( )
" "
Which of the following thinking techniques do you need to use to make sure the Getting Started guide only includes basic information?
Algorithmic thinking
Problem solving
Abstraction
Computational thinking
Which relational operator is used for less than or equal to?
>
<=
>=
<
Which relational operator is used for not equal to?
==
<=
!=
>=
John, a programmer, has created a set of instructions to tell a computer what to do. What has he created?
Flowchart
Program
Language
Pseudocode
Which of the following is a section of code that you write once and then reuse when you need?
Array
Variable
Function
Constant
A software developer is writing an advanced computer game, which includes complex graphics and game routines. The developer wants to use a compiled executable programming language to improve the game's runtime performance.
Which of the following programming languages would provide this capability?
JavaScript
C++
Ruby
Python
Based on the code in the image, what grade will you receive if your "studentGrade" is 86?
D
C
B
A
Which of the following BEST describes a code visualizer?
It allows you to look at code and learn how it works.
It is an English-like notation that looks like a simple programming language.
It is an easy environment to write simple programs in.
It has diagrams of the workflow to be included in the program.
Which relational operator is used for equal to?
<=
>=
==
!=
Which logical operator would you use if either condition is considered TRUE, making the whole statement TRUE?
AND
NOT
XOR
OR
Which logical operator would you use if only one of the conditions is TRUE, making the whole statement TRUE?
XOR
NOT
OR
AND
Which of the following is a set of rules that determines the proper way that programmers use a programming language's keywords, characters, and commands to create instructions that a computer can execute?
Coding
Debugging
Program
Syntax
Which logical operator would you use if both statements are TRUE, making the whole statement TRUE?
OR
AND
NOT
XOR
Which of the following arithmetic operators are used to change the current value by 1? (Select two.)
+
++
--
/
-
Which of the following BEST describes a while loop?
Continues to run a block of code until a certain condition is met.
Uses the equality operator (==) to test the value.
Repeats and executes a block of code a specific number of times.
Runs code associated with a condition that is true.
Which type of programming language is JavaScript an example of?
Interpreted
Runtime
Compiled
Assembly
Which relational operator is used for greater than?
<=
<
>
>=
The following is a single-dimensional array of text strings that includes the last names of students in a class:
["Hughes", "Menendez", "Abadi", "Chen", "Baranek"]
Which name is the third element in the array?
Baranek
Menendez
Abadi
Chen
Which of the following BEST describes flowcharts?
Diagrams of the workflow or processes to be included in a program.
An easy-to-read description of what a computer program must do.
A notation reviewed by programmers to ensure that a program's logic and structure are accurate.
An English-like notation that looks like a simple programming language.
Which programming languages use a runtime engine? (Select two.)
Java
C#
Python
C++
PASCAL
Which language type is extremely difficult for humans to understand?
Compiled languages
Interpreted languages
Assembly language
Machine language
Which of the following BEST describes a variable?
Useful to programmers because it makes programs more readable and easier to debug.
Created in a program to store a value that can change as the program runs.
A specific value in a program that doesn't change as the program runs.
A classification of a value that tells the computer how the programmer intends to use the data.
Which programming language is more efficient because it allows direct access to hardware?
Machine language
Assembly language
Interpreted language
Compiled language
Which of the following is a value that is passed in to a command or function?
Argument
Boolean
Array
Constant
Which method do programmers use to identify values or elements in an array?
Two-dimensional
Lists
Members
Index notation
Which of the following BEST describes a function argument?
The value(s) that a function displays to the console.
The value(s) passed to the function for processing.
The command value that stops function execution.
The calculated value returned from a function.
Which of the following programming languages (or language types) is much easier to understand, but is clumsy and difficult to program with?
Assembly
Runtime engines
Interpreted
Compiled
Which of the following languages is typically used to build web apps?
Assembly
Runtime engines
Compiled
Interpreted
Which of the following BEST describes coding?
The process of creating instructions that direct a computer to do certain tasks.
The process that allows programmers to get to working solutions.
The process of finding and fixing errors in a computer program.
The process of removing irrelevant data in order to reduce a problem to its essential elements.
Which type of loop is illustrated in the image below?
While
Code
Infinite
For
Which data type is the value 98.6 an example of?
Integer
Floating point
Character
Boolean
Which of the following is included in pseudocode?
Hierarchy charts
Flowcharts
English-like notation
Programming languages
Which of the following is a test to see if a value or statement is true or false?
Boolean condition
Code statements
Equality operator
Assignment operator
Which of the following are compiled languages? (Select two.)
C
C++
Ruby
Python
JavaScript
Which of the following is the classification that tells a computer how the programmer intends to use a variable in a program?
Function
Algorithm
Constant
Data type
Which type of loop repeats and executes a block of code a specific number of times?
Infinite
For
While
Code
Which is solved first in the order of operations?
Exponents
Subtraction
Multiplication
Parentheses
Which command or statement is a quick way to create several branches?
case
switch
break
return
Which programming languages are also known as scripting languages?
Machine language
Compiled languages
Assembly language
Interpreted languages
Which of the following is an essential tool for professional programmers?
IDE
Google Chrome
Pseudocode
Simple text editor
Which logical operator would you use if the whole statement is not TRUE?
NOT
AND
XOR
OR
Which of the following JavaScript properties returns the length of an array?
length
forEach()
slice()
from()
