Frontend Development Quiz 7

Frontend Development Quiz 7

Professional Development

16 Qs

quiz-placeholder

Similar activities

Pre-While-Post

Pre-While-Post

Professional Development

15 Qs

C3: Review 1-5

C3: Review 1-5

Professional Development

15 Qs

Basics of Python Programming Unit-1

Basics of Python Programming Unit-1

University - Professional Development

20 Qs

Sing a song

Sing a song

Professional Development

15 Qs

TESTING YOUR KNOWLEDGE INTERMEDIATE 8 UNIT 4

TESTING YOUR KNOWLEDGE INTERMEDIATE 8 UNIT 4

Professional Development

20 Qs

Fraud Resolution Quiz

Fraud Resolution Quiz

Professional Development

15 Qs

ETS Summer 2020 Test 1 Reading Part 7 Multi-Passage

ETS Summer 2020 Test 1 Reading Part 7 Multi-Passage

Professional Development

15 Qs

Copy Correction & Feedback Quiz

Copy Correction & Feedback Quiz

Professional Development

20 Qs

Frontend Development Quiz 7

Frontend Development Quiz 7

Assessment

Quiz

English

Professional Development

Medium

Created by

Vindhya Gaddam

Used 3+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is JavaScript?

JavaScript is a scripting language used to make the website interactive

JavaScript is an assembly language used to make the website interactive

None of the mentioned

JavaScript is a compiled language used to make the website interactive

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct about JavaScript?

a) JavaScript is an Object-Based language

b) JavaScript is Assembly-language

c) JavaScript is an Object-Oriented language

d) JavaScript is a High-level language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Among the given statements, which statement defines closures in JavaScript?

a) JavaScript is a function that is enclosed with references to its inner function scope

b) JavaScript is a function that is enclosed with references to its lexical environment

c) JavaScript is a function that is enclosed with the object to its inner function scope

d) None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. What will be the output of the following JavaScript code snippet?

<p id="demo"></p>

var txt1 = "Sanfoundry_";

var txt2 = "Javascriptmcq";

document.getElementById("demo").innerHTML = txt1 + txt2;

a) error

b) Sanfoundry_ Javascriptmcq

c) undefined

d) Sanfoundry_Javascriptmcq

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What will be the output of the following JavaScript code?

<p id="demo"></p>

<script>

var js = 10;

js *= 5;

document.getElementById("demo").innerHTML = js;

</script>

a) 10

b) 50

c) 5

d) Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Arrays in JavaScript are defined by which of the following statements?

a) It is an ordered list of values

b) It is an ordered list of objects

c) It is an ordered list of string

d) It is an ordered list of functions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. What will be the output of the following JavaScript code?

// JavaScript Comparison Operators

function compare()

{

int num=2;

char b=2;

if(a==b)

return true;

else

return false;

}

a) false

b) true

c) compilation error

d) runtime error

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?