Home
MCQs by exam
Frontend Developer Tests
Computer Science MCQs
Frontend Developer Tests MCQs – Computer Science MCQs
18 multiple choice questions typical of the Frontend Developer Tests exam, with answers and explanations. Switch on practice mode to test yourself first.
A
It dropped support for the grid
B
It switched from CSS to Flash
C
It removed the jQuery dependency
Correct answer
D
It made jQuery a required library
A
768px and above
Correct answer
B
1200px and above
C
992px and above
D
576px and above
A
invisible-all
B
d-none
Correct answer
C
hidden
D
no-display
A
24
B
10
C
16
D
12
Correct answer
A
.html()
B
.text()
C
.attr()
D
.val()
Correct answer
A
It works only on the first li element
B
It also handles li items added later
Correct answer
C
It prevents the click event from firing
D
It runs the handler twice for safety
A
All elements with class 'item'
Correct answer
B
Only the first 'item' element
C
The element with id 'item'
D
All <item> tag elements
A
When the user first clicks
B
When every image has loaded
C
When the DOM is fully built
Correct answer
D
Before the HTML is parsed
A
Scoped to the whole enclosing function
B
Scoped to the nearest enclosing block
Correct answer
C
Always attached to the global object
D
Hoisted and initialised as undefined
A
map()
Correct answer
B
reduce()
C
filter()
D
forEach()
A
true
B
NaN
C
false
Correct answer
D
undefined
A
===
Correct answer
B
!==
C
=
D
==
A
"number"
B
"object"
Correct answer
C
"null"
D
"undefined"
A
Copying state into every child component
B
Moving shared state to the closest common parent
Correct answer
C
Moving state into a global window variable
D
Storing all state in the browser's localStorage
A
A browser feature that replaces the real DOM
B
An in-memory copy React diffs to update the real DOM
Correct answer
C
A CSS layer that hides components until they load
D
A server that pre-renders every page in advance
A
Never, because nothing is being watched
B
Before every render of the component
C
After every render of the component
D
Only once, after the first render
Correct answer
A
useEffect
B
useRef
Correct answer
C
useState
D
useMemo
A
To identify items so updates are efficient
Correct answer
B
To make each list item clickable by default
C
To set the order in which items are styled
D
To store the item's data in local storage
Practise on paper
Preparing for Frontend Developer Tests?
Make it your exam plan: see your progress in every subject and topic, set a daily goal and practise what you have not done yet.
Start my Frontend Developer Tests plan
Test yourself
Take a timed online test and get a certificate, or play today's quick quiz.
Online tests
Daily quiz