Quizz for Javascript and typescript

Quizz for Javascript and typescript

Professional Development

20 Qs

quiz-placeholder

Similar activities

Technology pop quiz

Technology pop quiz

9th Grade - Professional Development

20 Qs

Robotics and Artificial Intelligence

Robotics and Artificial Intelligence

6th Grade - Professional Development

15 Qs

JS Module Quizz

JS Module Quizz

Professional Development

15 Qs

OJET

OJET

Professional Development

20 Qs

R2-VirtuQuest2024

R2-VirtuQuest2024

Professional Development

25 Qs

Omen Transcend 14 & Envy 14

Omen Transcend 14 & Envy 14

Professional Development

19 Qs

RobloxStudio

RobloxStudio

Professional Development

22 Qs

COGNITIONIS#10

COGNITIONIS#10

KG - Professional Development

20 Qs

Quizz for Javascript and typescript

Quizz for Javascript and typescript

Assessment

Quiz

Other

Professional Development

Medium

Created by

Kyaw Htet San

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is a closure in JavaScript?

A way to lock variables in a function

A combination of a function and the lexical environment within which that function was declared

A method for closing browser windows

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a Promise in JavaScript?

A mechanism for asynchronous programming

A callback function

A data type in JavaScript

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is event delegation in JavaScript?

The process of handling events in a nested manner

The assignment of a single event listener to a common ancestor of multiple elements

The use of event bubbling

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, what is the purpose of prototypes?

To create private variables

To implement inheritance

To store metadata about functions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does Async/Await differ from using Promises in JavaScript?

Async/Await is just syntax sugar for Promises

Async/Await allows for more readable asynchronous code

Promises are faster than Async/Await

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an ES6 feature?

var keyword

Arrow functions

document.write() method

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is hoisting in JavaScript?

A technique for organizing code in sections

The process of moving variable and function declarations to the top of their containing scope

A type of sorting algorithm

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?