Week 7 Quiz True or False Flashcards

1
Q

By default, event handlers are set to the bubbling phase.

A

TRUE

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

In JavaScript, Array inherits from Object.

A

TRUE

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

In JavaScript, a closure is an inner function that has access to its outer function’s scope, even after the outer function has returned.

A

TRUE

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

You are allowed to have more than one script tag on the page for multiple JavaScript references.

A

TRUE

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

Null is not a data type of JavaScript

A

FALSE

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

JavaScript Supports dynamic typing

A

TRUE

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

A String can be made using either the single or double quotes characters.

A

TRUE

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

The default value returned from a function is undefined.

A

TRUE

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

An object is essentially a collection of key/value pairs.

A

TRUE

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

A callback function is a function that is an argument of another function that is typically executed before returning.

A

TRUE

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

The number 1, is considered truthy

A

TRUE

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

AJAX stands for Asynchronous JSON and XML

A

FALSE

Asynchronous JavaScript And XML

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

JS array method
array.push adds an element to the beginning of an array.

A

FALSE

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

Global variables

If you don’t declare a variable within a function, then it will be considered a global variable (assume non-strict mode).

A

TRUE

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

JS code execution

JavaScript code is compiled before being delivered to the browser (or other platform).

A

FALSE

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

5 == “5” is true

A

TRUE

Explanation : True, double equals use type coercion making string “5” into the number 5 before comparing

17
Q

HTML is a programming language.

A

FALSE

It is a markup language

18
Q

External CSS can be reused on multiple pages?

A

TRUE

19
Q

A comment is seen by the end user.

A

FALSE

Explanation : A comment is not visible to end users.

20
Q

The tag < p> starts a paragraph.< /p>

A

TRUE