1/43
abstraction
a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.
assigning a variable
changing the value that is held by the variable
case sensitive
distinguishing upper- and lowercase characters.
code
a set of instructions that tell a computer what to do written by the programmer.
creating a variable
defining named storage to hold data.
decrement
decreasing the value of a variable by a certain amount (usually by 1) using the '- -' operator.
graphics coordinate system
a way to define positions and dimensions on a graphical interface.
increment
the increase of a variables value, usually by 1 (the opposite of decrement)
lowerCamelCase
Capitalize each word except the first
(ex. turnLeftNow;)
modulus
the remainder after division. operator %
natural language
human languages (english, spainish) computers can understand, interpret, and respond to human language
numeric type of variable
variable that holds numerical values
(ex. var num = 3;)
program (software)
a set of instructions that a computer follows to perform a task
prompt
function that displays a dialogue asking the user for an input
remainder
The amount left over when one number is divided by another. (modulus using the % operator)
string type variable
sequence of characters used to represent text using ' ' or " "
var hello = "What is up gang!";
type of variable
identifies the kind of data a variable can hold.
user input
info or data that the user provides for the program, (typing something in, clicking the screen etc...) using prompt dialogues
Morse Code
a code where letters are represented by combinations of long and short signals of light or sound.
Baudot Code
a binary code invented by Emile Baudot in 1870 that uses crosses and dots in order to encode 2^5 or 32 characters.
variable-width encoding
using codes of different lengths to encode a character set for representation (example: Morse Code)
fixed-width encoding
using codes with a fixed width to encode a character set for representation (example: Baudot Code)
Algorithm
is a set of steps or rules to follow to solve a particular problem.
Computing Innovation
A __________ ________ includes a program as an integral part of its function.
Hello World
Traditionally the very first program you write when learning a programming language, a program that prints "Hello world" to the user.
println
JavaScript function that prints out a line to the user
CR
Carriage Return - this command moves the carriage to the start of the row
LF
Line Feed - this command advances to the next row down
integer
a whole number; a number that is not a fraction
string
a series of characters at any length. Can be a type of variable.
Boolean values
a variable to represent true or false.
floating point number
a number that may have digits after the decimal place. Can be a type of variable.
"declaring" variables
creating variables in a programming language
readLine
JavaScript function that allows for the reading of user input when a string is used
readInt
JavaScript function that allows for the reading of user input when an integer is used
readFloat
JavaScript function that allows for the reading of user input when a float number is used
Arithmetic Operators
___________ ______________ include + addition, - subtraction, * multiplication, / division, and % modulus. These operators are used to perform basic mathematical tasks.
Canvas
The screen in which our graphics programs are drawn.
properties of an object
The variables that are attached to the object.
User Interface
the term used for specifying how a user interacts with an electronic device, particularly a computer. Something known as "ui" or "UI"
graphical user interface (GUI)
a user-friendly picture-oriented way to interact with technology
command line interface (CLI)
old school text-based
Event
is an action (such as clicking the mouse or pressing a key on the keyboard) that a program detects and uses as input.
Callback Function
A function passed as a parameter to another function in order to be called later.