Other Terms Flashcards

1
Q

interpreter

A

a computer program that executes a programming or scripting language directly without needing to compile the code first. JavaScript is an interpreted language.

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

V8

A

A JavaScript Engine written using C++. It is synchronous.

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

call stack

A

A mechanism for an interpreter to keep track of its place in a script that calls multiple functions.

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

heap memory

A

An area of pre-reserved computer memory that a program process can use to store data in some variable amount that won’t be known until the program is running. Heap memory is allocated explicitly by the programmer and it won’t be deallocated until it is explicitly freed.

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

framework

A

a set of pre-written code that provides a structure for developing software applications.

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

library

A

a collection of pre-written code that can be used to perform specific tasks.

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

module

A

like a library, but may only contain a few lines of code.

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

hoisting (code)

A

refers to the availability of functions and variables “at the top” of your code, as opposed to only after they are created. The objects are initialized at compile time and available anywhere in your file.

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

DOM

A

The DOM is an interface for web documents. It represents a page so programs such as JavaScript and CSS can manipulate the document structure, style, and content. The DOM represents the document as nodes and objects; that way programming languages can interact with the page.

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

delimiter

A

A sequence of one or more characters for specifying the boundary between separate, independent regions.

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

primitive

A

a value that is not an object. It is any other data type.

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

pass by value vs pass by reference

A

pass by value - a copy of the value is passed. It is two separate copies. Changes in value are independent of one another. Each value is stored in different locations in memory.

pass by reference - the caller and callee use the same variable. If the callee modifies the variable, the effect is visible to the caller’s variable. Since they are both referencing the same value in memory.

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

wrapper function

A

a function that exists to call another function. It can be used to modify the behavior of the original function without changing its source code.

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

what is JSON?

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

magic string

A

A string that has some special meaning in our code. This is not good practice.

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

expression

A

a value or anything that executes that becomes a value.