wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Final Examination in Responsive Web Design

Total questions: 70

Worksheet time: 35mins

Name
Class
Date
1.

Which HTML5 element represents a standalone block of content?

a)

a. <div>

b)

b. <section>

c)

c. <article>

d)

d. <span>

2.

Which element defines the introductory content of a page?

a)

a. <header>

b)

b. <nav>

c)

c. <aside>

d)

d. <head>

3.

Which semantic tag is used for content that is indirectly related to the main content?

a)

a. <main>

b)

b. <footer>

c)

c. <aside>

d)

d. <section>

4.

Flexbox is best suited for:

a)

1D layout

b)

2D layout

c)

Text formatting

d)

Image scaling

5.

Which property aligns items along the main axis in Flexbox?

a)

align-items

b)

justify-content

c)

align-content

d)

display-flex

6.

CSS Grid is ideal for layouts involving:

a)

Only columns

b)

Only rows

c)

Both rows and columns

d)

Text-only pages

7.

Which CSS property defines the number and size of grid columns?

a)

grid-columns

b)

grid-template-columns

c)

columns-grid

d)

grid-size

8.

What does this media query target? @media (min-width: 1024px)

a)

Small screens

b)

Medium screens

c)

Large screens

d)

Print media

9.

Mobile-first design prioritizes:

a)

Desktop screens

b)

Laptop screens

c)

Small screens

d)

Television screens

10.

Bootstrap uses how many columns in its grid system?

a)

8

b)

10

c)

12

d)

16

11.

The Bootstrap class that makes an image responsive is:

a)

img-responsive

b)

img-auto

c)

img-fluid

d)

image-resize

12.

A hamburger menu is typically shown in:

a)

Desktop navigation

b)

Tablet navigation

c)

Mobile navigation

d)

Footer navigation

13.

Which of the following is a semantic HTML element?

a)

a. <b>

b)

b. <i>

c)

c. <footer>

d)

d. <font>

14.

What does display: flex; do?

a)

Creates a table

b)

Activates the Flexbox layout

c)

Activates the Grid layout

d)

Changes element to inline-block

15.

Which property controls direction in Flexbox?

a)

flex-flow

b)

flex-direction

c)

layout-direction

d)

flex-path

16.

In CSS Grid, the property to define rows is:

a)

grid-template-rows

b)

grid-rows

c)

rows-template

d)

row-grid

17.

Which media query syntax is correct?

a)

@query screen-width max(900px)

b)

@media (max-width: 900px)

c)

@media max(900px)

d)

@media-width (900px)

18.

Bootstrap class .col-md-6 means:

a)

6 columns on all screens

b)

6 columns only on mobile

c)

6 columns on medium screens and up

d)

6 columns on large screens only

19.

The element used for the main navigation is:

a)

a. <menu>

b)

b. <section>

c)

c. <nav>

d)

d. <header>

20.

Which flex property controls spacing between items?

a)

gap

b)

space-between

c)

item-gap

d)

flex-space

21.

What does mobile-first CSS usually use first?

a)

@media (max-width…)

b)

@media (min-width…)

c)

Browser-default queries

d)

None of the above

22.

Which class hides an element in Bootstrap?

a)

.d-none

b)

.hidden

c)

.display-none

d)

.no-show

23.

CSS Grid areas are defined using:

a)

grid-box

b)

template-area

c)

grid-template-areas

d)

grid-area-name

24.

In Flexbox, this aligns items along the cross-axis:

a)

justify-content

b)

align-items

c)

flex-align

d)

align-content

25.

The Bootstrap class for navigation bars is:

a)

.navbar

b)

.navmenu

c)

.navbar-default

d)

.navbar-container

26.

Responsive design means:

a)

Website changes layout based on screen

b)

Website automatically writes content

c)

Website loads faster

d)

Website scales fonts only

27.

Which is NOT a semantic tag?

a)

a. <main>

b)

b. <section>

c)

c. <div>

d)

d. <footer>

28.

The purpose of media queries is to:

a)

Change colors

b)

Apply styles based on device conditions

c)

Resize images only

d)

Animate layouts

29.

Grid "fr" unit means:

a)

free size

b)

flexible ratio

c)

fraction

d)

frame unit

30.

A navigation bar that switches to a hamburger menu is called:

a)

adaptive navigation

b)

responsive navigation

c)

fixed navigation

d)

static navigation

31.

Flexbox is designed for one-dimensional layouts.

a)

True

b)

False

32.

CSS Grid supports both rows and columns.

a)

True

b)

False

33.

"<div>" is a semantic element.

a)

True

b)

False

34.

Media queries can check orientation.

a)

True

b)

False

35.

Mobile-first starts with min-width.

a)

True

b)

False

36.

Bootstrap automatically makes grids responsive.

a)

True

b)

False

37.

justify-content aligns items on the cross-axis.

a)

True

b)

False

38.

A hamburger menu is ideal for small screens.

a)

True

b)

False

39.

"<header>" is always placed at the bottom of the page.

a)

True

b)

False

40.

10. .col-sm-6 applies to small screens and up.

a)

True

b)

False

41.

Media queries can apply styles only to print.

a)

True

b)

False

42.

"<nav>" is used for navigation menus.

a)

True

b)

False

43.

.container in Bootstrap centers the content.

a)

True

b)

False

44.

Flexbox can reverse the layout direction.

a)

True

b)

False

45.

Grid layout can overlap elements.

a)

True

b)

False

46.

Semantic HTML improves accessibility.

a)

True

b)

False

47.

Bootstrap uses CSS Grid internally.

a)

True

b)

False

48.

Mobile-first improves loading performance.

a)

True

b)

False

49.

"<footer>" must appear only once in a page.

a)

True

b)

False

50.

Grid gap can control spacing between tracks.

a)

True

b)

False

51.

The HTML element for navigation.

a)

a. <nav>

b)

b. <header>

c)

c. <section>

d)

d. <aside>

52.

The layout system for one-dimensional alignment.

a)

Flexbox

b)

Grid

c)

Block

d)

Inline

53.

The layout system for two-dimensional alignment.

a)

CSS Grid

b)

Flexbox

c)

Bootstrap

d)

Float

54.

Code that changes page layout based on screen size.

a)

Media query

b)

Selector

c)

Class

d)

Attribute

55.

A design principle that prioritizes small screens.

a)

Mobile-first

b)

Responsive design

c)

Desktop-first

d)

Progressive enhancement

56.

A popular CSS framework for responsive design.

a)

Bootstrap

b)

Foundation

c)

Bulma

d)

Tailwind CSS

57.

The unit used for flexible grid sizing.

a)

fr (fraction)

b)

px (pixel)

c)

em (em unit)

d)

% (percentage)

58.

The Bootstrap class for images that scale.

a)

img-fluid

b)

img-responsive

c)

img-scale

d)

img-adaptive

59.

The tag for grouping related content in a page.

a)

a. <div>

b)

b. <section>

c)

c. <article>

d)

d. <span>

60.

The tag used for the main content of a page.

a)

a. <main>

b)

b. <header>

c)

c. <footer>

d)

d. <section>

61.

The Bootstrap navbar toggle button symbol.

a)

hamburger icon

b)

plus icon

c)

arrow icon

d)

search icon

62.

The CSS property that sets direction in Flexbox.

a)

flex-direction

b)

justify-content

c)

align-items

d)

flex-wrap

63.

The CSS property that defines columns in a grid.

a)

grid-template-columns

b)

grid-row-gap

c)

justify-content

d)

align-items

64.

The rule used to start a media query.

a)

@media

b)

@import

c)

@font-face

d)

@keyframes

65.

The HTML element usually found at the bottom of a page.

a)

a. <footer>

b)

b. <header>

c)

c. <aside>

d)

d. <section>

66.

Bootstrap's base container class.

a)

container

b)

box

c)

wrapper

d)

frame

67.

The layout activated by display: flex.

a)

Flexbox

b)

Grid

c)

Block

d)

Inline

68.

The markup that gives structure and meaning to content.

a)

Semantic HTML

b)

CSS

c)

JavaScript

d)

Non-semantic HTML

69.

The part of the navigation shown only on mobile devices.

a)

hamburger menu

b)

footer

c)

sidebar

d)

search bar

70.

A Bootstrap class that hides an element.

a)

d-none

b)

d-block

c)

d-flex

d)

d-inline