Question Bank

98 approved questions from the community

Which `box-sizing` value includes padding and border within the element's specified width?

EASY
MULTIPLE CHOICE
25s
CSS
by Mohamed

What are the main parts of the CSS box model?

EASY
MULTIPLE CHOICE
25s
CSS
by Mohamed

How do you select all direct child `<li>` elements of a `<ul>`?

EASY
MULTIPLE CHOICE
20s
CSS
by Mohamed

Which selector matches elements by attribute presence or value?

EASY
MULTIPLE CHOICE
25s
CSS
by Mohamed

What is the main difference between class selectors and ID selectors in CSS?

EASY
MULTIPLE CHOICE
30s
CSS
by Mohamed

Which of the following are standard ways to include CSS in an HTML document?

EASY
MULTIPLE CHOICE
30s
CSS
by Mohamed

What does CSS stand for and what is its primary use?

EASY
MULTIPLE CHOICE
30s
CSS
by Mohamed

Virtual DOM is an in-memory representation used to compute efficient real DOM updates.

EASY
TRUE FALSE
20s
React
by Mohamed

React composition encourages developers to:

EASY
MULTIPLE CHOICE
30s
React
by Mohamed

Static generation is ideal for pages that change infrequently.

EASY
TRUE FALSE
20s
React
by Mohamed

A Higher-Order Component takes a component and returns a new component.

EASY
TRUE FALSE
20s
React
by Mohamed

React Portals are most useful when you need to:

EASY
MULTIPLE CHOICE
30s
React
by Mohamed

Mutating React state directly is recommended for performance.

EASY
TRUE FALSE
20s
React
by Mohamed

React Fragments let you return multiple children without adding extra DOM wrappers.

EASY
TRUE FALSE
20s
React
by Mohamed

Which statement is correct about `props` vs `state`?

EASY
MULTIPLE CHOICE
30s
React
by Mohamed

In a list render, what is the primary purpose of `key`?

EASY
MULTIPLE CHOICE
30s
React
by Mohamed

JSX must be transpiled before browsers can run it.

EASY
TRUE FALSE
20s
React
by Mohamed

Which description best matches React's role in frontend development?

EASY
MULTIPLE CHOICE
30s
React
by Mohamed
PreviousPage 5 of 5