BPSC TRE – Python & Web Scripting Languages | Test 1

Questions 31-35 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 31

MCQ · Single Correct 1 mark

What are the three possible states of a JavaScript Promise object?

Answers for question 31

Question 32

MCQ · Single Correct 1 mark

Which DOM method selects the first element in the document matching a specified CSS selector?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

What is the key storage capacity and lifetime difference between localStorage and sessionStorage in Web Storage API?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

What will be the output of console.$\log(1 + '2' + 3)$ in JavaScript?

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

Which ES6 feature provides a concise syntax for defining functions and lexically binds the this value?

Answers for question 35
Scroll to Top