Search Header Logo

Front End Final Assessment

Authored by KVCH CORPORATE

Professional Development

Professional Development

Used 2+ times

Front End Final Assessment
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used in JavaScript to create a subclass that inherits properties and methods from a parent class?

inherit

extends

subclass

implements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between Promise.all() and Promise.race() in JavaScript?

Promise.all() returns the first resolved Promise, while Promise.race() returns an array of resolved Promises.

Promise.all() returns an array of resolved Promises, while Promise.race() returns the first resolved Promise.


Promise.all() waits for all Promises to reject, while Promise.race() rejects as soon as one Promise is rejected.

Promise. all() returns a promise that resolves to an array of values from the input promises while the Promise. race() returns a promise that resolves to the value from the first settled promise

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following JavaScript code?

11

21

12

22

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the Output of the Following JavaScript Code?

Error

6

2

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of These is Used to Declare a Constant Data Type?

  • constant

  • cons

  • const

  • cnst

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the Output of the Given Code?

  • Undefined

20

Error

40

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where Should You Insert JavaScript Code in an HTML Document?

  • The <head>section

  • The <body> section

  • Both <head> and <body> section

  • Anywhere in the HTML file

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Professional Development