Question Bank

1899 approved questions from the community

What happens when you call setState() multiple times in the same synchronous code block?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the primary purpose of React.createElement()?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

After calling a `useState` setter, what should you expect?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

Render props pattern means a component receives:

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

Why might SSR improve perceived performance?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

For async fetching in React, what helps avoid stale response bugs?

MEDIUM
SINGLE CHOICE
40s
React
by Mohamed

What does one-way data flow in React imply?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

What is code splitting mainly intended to improve?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

Which testing style is most aligned with modern React guidance?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What do Error Boundaries catch?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the main use of `forwardRef`?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

Which scenario is best for `useCallback`?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is a key timing difference between `useEffect` and `useLayoutEffect`?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What does an empty dependency array in `useEffect` mean?

MEDIUM
SINGLE CHOICE
30s
React
by Mohamed

When should you prefer `useReducer` over `useState`?

MEDIUM
SINGLE CHOICE
35s
React
by Mohamed

What is the primary difference between class variables and instance variables?

MEDIUM
SINGLE CHOICE
35s
Python
by Mohamed

What is the key characteristic of Python's 'range' type?

MEDIUM
SINGLE CHOICE
35s
Python
by Mohamed

How can you define a Python dictionary where multiple keys have the same value efficiently?

MEDIUM
SINGLE CHOICE
35s
Python
by Mohamed

What is the recommended approach for loading large data files in Python?

MEDIUM
SINGLE CHOICE
35s
Python
by Mohamed

What is the key difference between multithreading and multiprocessing in Python?

MEDIUM
SINGLE CHOICE
40s
Python
by Mohamed
PreviousPage 58 of 95Next