Codecademy: Code Foundations Flashcards
___________ is the mental process of thinking up instructions to give to a machine (like a computer)
programming
___________ is the process of transforming ideas into a written language that a computer can understand
coding
A __________________ is a way of saving a piece of information with a specific name.
Rather than writing out a piece of data every time we need it, we write it out once and the computer remembers it and can repeat that information back.
variable
Using a value without assigning it to a variable
hardcoding
When you specify the type and name of a variable to be used in an application, you are ____ a variable.
declaring
In computing, __________ is the pieces of information that we use to build programs, like the numbers in a calculation, or the text printed to a screen.
data
_________________ are the most basic data types, so basic that you can find them in pretty much every programming language. They include numbers, strings and booleans.
primitives
A data type that can be used to describe, calculate and count something.
numbers
___________ are any sequence of characters (letters, spaces, numbers, or symbols). While almost anything can be a ___________, they are typically used to represent text or speech. Similar to how we represent speech in writing, we surround ____________ with single (‘…’) or double quotes (“…”).
strings
A single value of either TRUE or FALSE
boolean
Different symbols that represent an operation, such as the plus sign as a symbol for addition.
operators
They include addition (+), subtraction (-), multiplication (*), and division (/)
arithmetic operators
<, >, ==
comparison operators
A _______________ is a named sequence of instructions, packaged as a unit, that performs a specific task.
function
A name for parts of a function which accept input values, like (topping1, topping2) in the example:
function makeSandwich (topping1, topping2)
parameters