FCC & Reading Week 1 Flashcards
Reveiw FCC week one assignments
algorithm
series of elementary steps
source code
commands to make computer to take actions
programming language
way to give orders to a computer
assembly language
primitive human-readable representation of machine language
ECMAScript
ES2015 or ES6
console.log()
function to write a message to the console
value types
number strings
string concatenation
+
execution
asking the computer to process orders
interpreted language
from source code to machine language one line at a time
compiled language
taking the whole program to machine language all at once through a compiler program
algorithm
an ordered sequence of operations solving a given problem
browser
software to visit and use a web application
Node.js
a framework that allows JavaScript outside the browser
MongoDB
database program written in JavaScript using JSON documents
String
data encased in ‘ ‘ or “ “
Handle special characters in a string
\
Statement
each instruction in a program
JavaScript statement usually ends in
;
Comment a single line of code
//
Comment multiple lines of code
/* . */
keyword to define a variable
var
assignment operator in JavaScripts
=
Equals operator in JavaScript
==
seven major math operators in JavaScript
+ - * / % ++ –
use camelCase to name a variable
var myCamelCase
create uninitialized variable
var myVariable;
declare and initialize a variable
var myVariable = 5.2;
add two numbers in JS
var myAdd = 5 + 6;
multiply two numbers in JS
var myMult = 10 * 3;
find the remainder of a number
var myRemain = 12%5;
increment a number in JS
var i = 0; i++;
decrement a number in JS
var i = 0; i--;
value of uninitialized JS variable
“undefined”
JavaScript is case sensitive
true
addition of compound assignment
myVar+=5;
subtraction of compound assignment
myVar-=5;
compound assignment multiplication
myVar*=5;
compound assignment of division
myVar/=5;