Eloquent Javascript Flashcards

1
Q

What is HTTP used for?

A

It is used to retrieve web pages and the files associated with them.

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

What does URL stand for?

A

Universal Resource Locators.

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

Name the parts a URL composed of?

A

First part is the HTTP Protocol. Second part names he served on which this page can be found. Third part names a specific file on this server.

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

What is sandboxing?

A

Isolating a programming environment.

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

Name some methods off the window object.

A

document, timers (setTimeout)

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

JavaScript provides a way to encode and decode query parameter.

A

encodeURIComponent and decodeURIComponent

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

What does HTTP stand for?

A

Hypertext Transfer Protocoo

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

Define a constructor

A

Functions used to create new objects are called constuctors. Conventions are to name constructors with a capital letter. For example, “new Rabbit()”.

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

Define Functional Programming.

A

Produces abstractionthrough clever ways of combining functions.

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

Name popular type of abstractions in JS.

A

Functional Programming and Object Oriented Programming to name a few.

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