NEW
Font size
WorksheetsAP CSP Unit 5 Review 2021
Total questions: 21
Worksheet time: 11mins
An action that causes something to happen.
Event
Call
Action
Program
The visual elements of a program through which a user controls or communications the application.
User Interface
Game Screen
Dialog Box
Visual System
Finding and fixing problems in your algorithm or program
Debugging
Cracking
Hacking
Problem Solving
Any valid unit of code that resolves to a value
Program
Equation
Expression
Formula
A placeholder for a piece of information that can change
Element
Proxy
Condition
Variable
The common programming structure that implements "conditional statements."
Then-Statements
When-Statements
If-Statements
Command-Statements
Any sequence of letters, numbers, or characters in a program between quotation marks "".
Rope
Value
Number
String
This term refers to any single value as true or false:
Null
Julian
Boolean
Conditional
Statements that only run under certain conditions
Boolean
Conditional
All values in a programming language have a "type" - such as a Number, Boolean, or String - that dictates how the computer will interpret it.
Variable
Expression
Element
Data Type
This is used to compare two values, and returns a Boolean (true/false)
Local Variable
==
=
Global Variable
A variable whose scope is typically derived from the variable being declared outside of any function, object, or method.
Local Variable
Global Variable
Regional Variable
Expression
A variable that is declared inside a function -- includes function parameter variables.
Event Handler
Regional Variable
Local Variable
Global Variable
In programming, an expression that evaluates to true or false.
Global Expression
Variable Expression
Boolean Expression
Algebraic Expression
Which prompt tells the computer to move to a new line for a string output.
\n
\newLine
\nu
\new
Which symbol represents "or" in JavaScript?
| |
!=
$
==
A function the programmer writes that is triggered by user interaction.
Booleans
Event Handlers
Buttons
Functions
A loop which counts the iterations of a block of code and runs it determined by the value of i.
Event Handler
List
For Loop
If-Statement
This type of variable stores several values or strings inside of it for use within a program.
For Loop
Event Handler
Traversal
List [ ]
This command places an item at the end of a variable list.
list.length
list.join
insertItem
appendItem
When a program processes through each part of a list to find items which meet certain criteria this is called a:
For Loop
List Loop
Traversal
Event Handler
