PRE-MIDTERM Flashcards

1
Q

Where is the query string included when submitting a form using the HTTP GET method?

A

In the HTTP head.

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

What happens when accessing www.google.com? (2)

A

Multiple GET requests are sent to the server and some JS code is possibly downloaded from the server.

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

What’s a MIME type?

A

The Multipurpose Internet Mail Extension is a standard that indicates the format of a file.

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

List 3 possibly correct MIME type definitions.

A

text / plain
text / css
text / javascript

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

Who invented HTML?

A

Tim Berners-Lee

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

What is the range of HTTP informational response status codes?

A

100-199

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

What is the range of HTTP successful response status codes?

A

200-299

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

What is the range of HTTP redirection message status codes?

A

300-399

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

What is the range of HTTP client-error response status codes?

A

400-499

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

What is the range of HTTP server-error response status codes?

A

500-599

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

Which is stricter & more standardized? HTML or XHTML?

A

XHTML

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

Is HTML case sensitive?

A

No

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

Is XHTML case sensitve?

A

Yes

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

What is the scope of a variable declared with var?

A

The scope is the current execution context and closures thereof (local from within a function or global from outside any function).

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

What is the scope of a variable declared with let?

A

The scope is the block statement/expression on which it is used.

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

What happens to Boolean values in arithmetic operations?

A

true converts to 1 and false to 0.

17
Q

Do nested elements belong to their parent’s class(es)?

A

No.

18
Q

What form attribute defines the destination of a submitted form?

A

action

19
Q

Can input of type “number” be resized without CSS (using the size attribute)?

A

No.

20
Q

How are radio buttons linked?

A

Through a common “name” attribute value.

21
Q

What is the order in which to list font properties when using the shorthand CSS “font” property?

A

style variant weight size family.

22
Q

How would you italicize text in CSS?

A

font-style: italic;

23
Q

How would you change the font of a text in CSS?

A

font-family: Arial;

24
Q

How would you bold text in CSS?

A

font-weight: bold;