Quiz for Fundamentals of TypeScript, JavaScript and Node.js Quiz

Categories:

Sample MCQs related to Fundamentals of TypeScript and Node.js Course for Quiz Preparation

This page contains quiz question related to topic being covered for course All Web 3 and Metaverse. The quiz covers the following Topics:

The quiz portal will let you access your preparation for the quiz. The quiz selects random questions from the Question Bank and also changes the answer position. At the end of the quiz this portal will also show you the questions with wrong answer and a small description about the correct answer.
More questions are being added in the portal on regular basis so the questions pool increases day by day and there are chances that you will get 60-70% different questions on each quiz.

Please share your feedback using comments / or email as this will help us to improve this quiz system

/35
0 votes, 0 avg
681
Created on By admin
TS

Fundamentals of TypeScript, JavaScript and Node.js Quiz

Quiz Audience : All Web 3 and Metaverse Students
Topics Included in Quiz :  

TypeScript Foundation Quiz has been scheduled from October 02 to October 08, 2023.

Quiz Content :
First Ten Steps: https://github.com/panaverse/learn-typescript

First Six Chapters of the Book: “Learning TypeScript” by Josh Goldberg
https://www.oreilly.com/library/view/learning-typescript/9781098110321/

1 / 35

1) Which of the following is not a correct way to define variable in TypeScript

2 / 35

2) What is the output of the following TypeScript code?
const foo = (): number => 5;
console.log(foo());

3 / 35

3) What will be the output of the following code
console.log(Math.ceil(-4.6));

4 / 35

4)

5 / 35

5) Which of the following statement is true?

6 / 35

6) What is the extension of the JavaScript Module file in Node.js

7 / 35

7) What is the difference between “typeof” and “instanceof” in TypeScript?

8 / 35

8)

9 / 35

9) What is the difference between “async” and “await” in TypeScript?

10 / 35

10) Which command in Node.js is used to create a Node. js project and will create a package where the project files will be stored. 

11 / 35

11)

12 / 35

12)  What is the command to run the node programs?

13 / 35

13)

14 / 35

14)

JS MCQ

15 / 35

15)

JS MCQ

16 / 35

16)

17 / 35

17)

18 / 35

18)

19 / 35

19) When multiple computations are happening at the same time we can call it :

20 / 35

20)

21 / 35

21)

22 / 35

22) Which of the computer programming languages below has influenced the creation of typescript?

23 / 35

23)

24 / 35

24)

Java Script MCQs

25 / 35

25)

26 / 35

26)

27 / 35

27) What is the correct statement to describe difference between let and var for defining variable.

28 / 35

28) What is the purpose of the “never” type in TypeScript?

29 / 35

29) Which of the statements below is true about the variables in Typescript?

30 / 35

30)

31 / 35

31) What will be the output of the following code :
console.log(true + false)

 

32 / 35

32) What will be the output of the following code ?
let nothing: void = undefined;
let num: void = 1; // Error

33 / 35

33) Select the function that Node supports for client-side timer functions?

34 / 35

34)

35 / 35

35) Which import statement can be used to import entire module that are exported by some other module.

Your score is

The average score is 52%

0%

6 thoughts on “Quiz for Fundamentals of TypeScript, JavaScript and Node.js Quiz”

  1. The validation of this question is wrong.
    const myTimeout = setTimeout(myGreeting, 5000);

    function myStopFunction(){
    clearTimeout(myTimeout);
    }

    function myGreeting(){
    console.log(“Greetings..”);
    }

    console.log(“Start”);

    I have marked the answer: Start will be printed then their is a pause of 5 second and then Greetings will be printed. It should be the right answer and I have compiled this code.
    But the system consider it the wrong.

Comments are closed.