Quizz for Javascript and typescript

Quizz for Javascript and typescript

Professional Development

20 Qs

quiz-placeholder

Similar activities

Html и JavaScript I

Html и JavaScript I

Professional Development

20 Qs

GenAI & Copilot Overview

GenAI & Copilot Overview

Professional Development

15 Qs

RobloxStudio

RobloxStudio

Professional Development

22 Qs

Mid Test React JS

Mid Test React JS

Professional Development

25 Qs

COGNITIONIS#10

COGNITIONIS#10

KG - Professional Development

20 Qs

Javascript-2

Javascript-2

Professional Development

18 Qs

CSS Unit 1

CSS Unit 1

Professional Development

20 Qs

Python End of Module Touchpoint

Python End of Module Touchpoint

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?