State
Completed on
Time taken 2 mins 45 secs
Marks 19.00/20.00
Grade 95.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00
How do you change the cursor to a hand pointer when the user hovers over an element in CSS?
a. cursor: click;
b. cursor: hover;
c. cursor: grab;
d. cursor: hand;
The correct answer is: cursor: grab;
Question 2
Correct
Mark 1.00 out of 1.00
What is the purpose of the "Object.getPrototypeOf()" method in JavaScript?
a. To create a new object with the specified prototype
b. To get the prototype of an object
c. To set the prototype of an object
d. To check if an object is an instance of a specific constructor function
The correct answer is: To get the prototype of an object
, Question 3
Correct
Mark 1.00 out of 1.00
What does the term 'responsive web design' refer to?
a. Ensuring web pages are secure from cyber threats.
b. Developing web applications with slow load times.
c. Creating web pages that adjust smoothly to different screen sizes and devices.
d. Designing web pages to be SEO-friendly.
The correct answer is: Creating web pages that adjust smoothly to different screen sizes and devices.
Question 4
Correct
Mark 1.00 out of 1.00
What is the main role of JSX (JavascriptXML) in React?
a. To handle data flow between components
b. To outline server-side routing logic
c. To streamline intricate JavaScript computations
d. To represent the user interface (UI) with a syntax resembling HTML
The correct answer is: To represent the user interface (UI) with a syntax resembling HTML
Question 5
Correct
Mark 1.00 out of 1.00
How do you check if an object is an instance of a specific constructor function in JavaScript?
a. By using the "typeof" operator
b. By comparing the constructor property of the object
c. By using the "instanceof" operator
d. By using the "isObject" method
The correct answer is: By using the "instanceof" operator