Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
94 Cards in this Set
- Front
- Back
- 3rd side (hint)
Argument |
The values you provide (or pass in) to a function. |
P and Q |
|
Array |
A data structure that allows you to store and access a sequence of values. |
|
|
Boolean |
A data structure that represents true or false. |
|
|
(CSS) Cascading Style Sheets |
A styling language used primarily for changing how the content in your HTML page looks. |
|
|
Closure |
An inner function that has access to an outer function's variables (in addition to its own and any global variables. |
Your relationship |
|
Comments |
Human readable text (often separated by // or /* and */ characters) in your code that is completely ignored by JavaScript. |
|
|
Developer Tools |
In the context of browsers, they are extentions that help you inspect, debug, and diagnose what is going on inside your web page. |
|
|
Event Bubbling |
The phase where an event starts at the element that initiated the event and climbs the DOM back to the root. |
|
|
(DOM) Document Object Model |
The JavaScript representation (often in a tree-like structure) of your HTML page and all the things inside it. |
|
|
Event Capturing |
The phase where an event starts at the root and transverses down the DOM until it reaches the element that initiated the event. |
|
|
Event Listener |
A function that listens for an event and then executes some code when that event is overheard. |
|
|
Event Target |
The element that is responsible for having initiated (aka fired) and event. |
|
|
Event |
A signal that travels through your DOM to indicate something has happened. |
|
|
For Loop |
A control statement that executes some code a finite number of times. |
|
|
Function |
A reusable block of code that takes arguments, groups statements together, and can be called on to execute the code contained inside it. |
|
|
Global Scope |
Something declared outside of a function that is accessible to the entire app. |
|
|
If Statement |
A conditional statement that executes some code if the condition is true. |
|
|
If/Else Statement |
A conditional statement that executes different pieces of code depending on whether a condition is true or false |
|
|
(IIFE) Immediately Invoked Function Expression |
A way of writing JavaScript that allows you to execute some code in its own scope without leaving behind any trace of its existence. |
Sneakey |
|
Invoke |
A fancy way of saying the same thing as calling a function. |
|
|
Javascript |
A fussy and (often) inconsistent scripting language that, to everyone's surprise over the years, has grown to be quite popular for building apps on the web and the server. |
|
|
Local Scope |
Something that is accessible only to the enclosing function or block. |
|
|
Loop |
A control statement that allows you to execute code repeatedly. |
|
|
Node |
A generic name for an item in the DOM. |
|
|
Object |
A very flexible and ubiquitous data structure you can use to store properties and their values and...even other objects. |
|
|
Operators |
A built-in function such as +, -, *, /, for, while, if, do, =, etc. words. |
|
|
Primitives |
A basic type that isn't composed of other types. |
|
|
Return |
A keyword that exits a function or block. In the case of functions, it is often used to return some data back to whatever called the function. |
What's the word? |
|
Scope |
A term indicating the visibility of something. |
|
|
Strict Equality (===) Comparison |
Checks whether value and type of two things is equal. |
|
|
Strict Inequality (!==) Comparison |
Checks whether the value and type of two things is not equal. |
|
|
String |
A sequence of characters that make up what we think of as text. It is also the name of a formal type for dealing with text in JavaScript. |
|
|
Switch Statement |
A conditional statement that checks a particular condition against a list of cases. If one of the cases matches the condition, the code associated with that case executes. |
|
|
Timer Functions |
Functions that executes code at a periodic interval. The most common timer functions are setTimeOut, setInterval, and requestAnimationFrame. |
|
|
Type |
A classification that helps identify your data and the values you can use. |
|
|
Values |
The formal name for the various types of data you'll encounter. |
|
|
Variable Scope |
The term for describing the visibility of a variable in a section of code. |
|
|
Variables |
A named bucket for storing data. |
|
|
Weak Equality (==) Comparison |
Checks only whether the value of two things is equal. |
|
|
Weak Inequality (!=) Comparison |
Checks only whether the value of two things is unequal. |
|
|
Web Browser |
A complex application that, at its bare minimum, helps you browse the internet and display web pages. |
|
|
While Loop |
A control statement that continually executes some code until a condition you specify returns false. |
|
|
CLI |
Command line Interface. A direct line of communication between the developers and the operating system they're working on. |
|
|
ls |
List directory contents. |
|
|
ls -al |
List a detailed directory of the contents, including hidden files. |
|
|
cd |
Change directories. |
|
|
cd ../ |
To move up (backwards) one directory. |
|
|
cd ~ |
Brings you back to the home directory. |
|
|
cd / |
To move to the root directory of your machine. |
|
|
cd - |
To move to the last directory you were in. |
|
|
pwd |
To show the current directory you are in. |
|
|
cp and formula |
To copy a file from one place to another. cp /path/to/existing/file.txt /path/to/new/location |
|
|
cp -r and formula |
To recursively copy a directory from one location to another. cp -r /path/to/existing/folder/ /path/to/new/location |
|
|
mv and formula |
To move a file from one place to another. mv /path/to/existing/folder /path/to/new/location |
|
|
mv -r and formula |
To recursively move a folder from one location to another. mv -r /path/to/existing/folder /path/to/new/location |
|
|
man <any command> |
To see the instruction manual for any command. |
|
|
mkdir <directory_name> |
To create a new directory. |
|
|
rm <file_name> |
To delete (remove) a file. |
|
|
rm </path/to/file_name> |
To delete a file from a different directory. |
|
|
rm -r <directory_name> |
To delete a directory and all its contents recursively. |
|
|
What kind of language is Java? What does it mean? |
Java is an object oriented programming language. Everything happens in a class. |
|
|
What is a class in Java? |
Consists of a group of related methods and variables lumped together under one name. |
|
|
What is a string? |
Anything that is written inside two quotation marks. |
|
|
Where do you put a semicolon? |
With exception of lines that either begin or end with {}, every line in Java must end with a semicolon. |
|
|
What does float mean? |
Floating decimal point. Any number that has a decimal in it. |
|
|
What does double mean? |
Floating decimal point. Any number that has a decimal in it. |
|
|
What does static mean? |
A method or a variable that is not attached to a particular object, but rather to the class as a whole. |
|
|
What does char mean? How many are allowed? |
Character. One character. |
|
|
What does str mean? |
String. You must use "" instead of ''. You can put any characters, as long as they're in the parentheses. |
|
|
What kind of data types are int, double, boolean and char? |
Primitive, meaning they are not changeable. |
|
|
What does sum do? |
It adds everything. It doesn't necessarily have to be addition. |
|
|
What integer would you get for double u = z / y; assuming z and y are both integers? |
8.0, not 8.14 because z and y are both integers, so Java is going to assume you want the answer in the form of an integer. |
|
|
If y is an int and z is a double, would your answer be an integer or an irrational number? |
Irrational number. If one thing is double, then everything is double. |
|
|
What primitive needs to be used for exponents? |
Double. |
|
|
How do you make an exponent? |
double (whatever) = Math.pow(x, y); |
|
|
What is the answer and why? int x = 5; int y = 7; int z = 57; double u = x * z; double d = Math.pow(x, y); System.out.println(d); |
78125.0 it's only giving you the answer for d because it's the only answer you asked for. |
|
|
What is typecasting? |
When you want to change a variable (int to double, for example), but instead of changing the original declaration, you change it in the line. |
|
|
What is the answer and why? int x = 5; int y = 7; int z = 57; double u = x / (double)y; System.out.println(u); |
0.714285 because y has been typecasted. |
|
|
% |
Modulus. Or remander. |
|
|
What's the answer and why? int x = 56 % 5; System.out.println(x); |
1 because the % only gives you the remainder, not the quotient. |
|
|
How do you create a new file in vim? The formula. |
vim file_name.txt |
|
|
While in vim, what letter do you type that allows you to start typing? What's the mode called? |
i insert mode |
|
|
In vim, how do you leave insert mode? |
Esc key |
|
|
In vim, how do you enter command mode? |
: |
|
|
What key saves the file you made in command mode? |
w |
|
|
What key exits vim? |
q |
|
|
How do you print the contents of a file to a screen? |
cat file_name.txt |
|
|
The main method formula |
public static void main(String[] args){ // code to execute here } |
|
|
What does public mean in the main method? |
It's the access modifier. It tells the JVM that this method is publicly accessible by any other method or service that has access to this file. |
|
|
What does static mean in the main method? |
It's a keyword. It means this method can be invoked without the use of an object. |
|
|
What does void mean in the main method? |
It means this method doesn't return a value. |
|
|
What does main mean in in the main method? |
This is where the name of the method goes. |
|
|
What does (String[] args) mean in the main method? |
This means that the main method requires an array of strings called args. |
|
|
What does JVM stand for? |
Java Virtual Machine |
|