Basic concepts to know Flashcards

1
Q

What are two types of Command Line Interface?

A

*UNIX
*Windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does compile code mean?

A

Turning code into zeroes and ones, aka Machine Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is block level scope?

A

A block scope is the area within “if, else, switch” conditions or “for and while” loops. Generally speaking, whenever you see {curly brackets}, it is a block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is ES6?

A

The 2015 version of JavaScript.
*ECMAScript was created to standardize JavaScript
*ES6 is the 6th version of ECMAScript
*published in 2015
*it’s also knows as ECMAScript 2015.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the names of variables called?

A

identifiers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you add JavaScript to an HTML page?

A

*Use the dedicated HTML tag
< script > that wraps around JavaScript code.

*an external JS document that’s referred to in the HEAD section

*The < script > tag can be placed in the <head> section of your HTML or in the <body> section, depending on when you want the JavaScript to load.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are HTML tags called if they don’t need an ending tag?

A

Any of these:
*void
*empty
*self-closing elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is an object like a variable?

A

*Yes, an object is like a variable but with multiple values instead of one.

*it usually has properties and methods

*A car is like an object. It has properties (color, brand, etc.) and things it can do called “methods” (stop, start, etc.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you call an object?

A

*object name- period-property name.

*If you want to call the property FIRSTNAME from the PERSON object, you would type:
person.firstName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is JSON?

A

*it’s a data format used to transmit data in web apps

*JavaScript Object Notation

*an alternative to XML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is AJAX?

A

*Lets a webpage communicate with the server without reloading the page

*Stands for Asynchronous JavaScript and XML

*the use of the object named XMLHttpRequest to communicate with servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is jQuery?

A

jQuery is a library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an MIT Licesnse?

A

A permissive free software license

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Boolean result?

A

A result that’s either TRUE or FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an operand?

A

The quantity on which an operation is to be done.
The “subject” of an operation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

statically typed

A

*you have to declare the data type explicitly when you declare a variable.

*The language doesn’t figure it out for you.

*This avoids having a variable be treated as the wrong data type later in the code.

*cf. dynamically typed

17
Q

dynamically typed

A

*you do NOT have to declare the data type when you declare the variable

*the language will figure out the best data type.

*This can cause unexpected problems later in the code though when one data type gets treated like a different data type.

*cf. statically typed

18
Q

What’s the difference between a FOR LOOP and a WHILE LOOP?

A

FOR LOOP: When we know the number of iterations that must occur in a loop execution,

WHILE LOOP: When we do not know how many iterations must occur in a loop, we use a while loop. It runs until proven false.

19
Q

What is an integer?

A

A whole number

20
Q

What is node.js?

A

It’s a way to run JavaScript outside of a browser

Used in backend development