wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computing Fundamentals Prefinal Exam

Total questions: 56

Worksheet time: 56mins

Name
Class
Date
1.

What does CSS stand for in web development?

a)

Creative Script Styles

b)

Cascading Style Sheets

c)

Computer Styling Syntax

d)

Custom Sheet System

2.

What is the main purpose of CSS?

a)

To structure the page content

b)

To style and format web pages

c)

To add server-side logic

d)

To handle form submissions

3.

Which statement best describes CSS syntax?

a)

Property: selector; value

b)

Selector: property; value

c)

Value: selector; property

d)

Selector: value; property

4.

Which selector targets elements with a specific class?

a)

#highlight

b)

.highlight

c)

*highlight

d)

highlight#

5.

Which selector targets all elements in a webpage?

a)

#

b)

.

c)

*

d)

:

6.

Which type of CSS is best for organizing large projects?

a)

Inline styling

b)

Internal styling

c)

External styling

d)

Embedded styling

7.

Where is internal CSS usually written?

a)

Inside the <footer>

b)

Inside the <body>

c)

Inside theInside the <head>

d)

Inside the <script>

8.

What does the property display: flex; do?

a)

Makes text italic

b)

Makes an element a flex container

c)

Centers text vertically

d)

Changes element color

9.

Which property centers flex items horizontally?

a)

justify-content

b)

align-items

c)

align-content

d)

text-align

10.

What does display: grid; do in CSS?

a)

Creates a single line layout

b)

Turns an element into a grid container

c)

Aligns items in a flex row

d)

Sets a table-style design

11.

Which property defines columns in a CSS grid?

a)

grid-gap

b)

grid-rows

c)

grid-template-columns

d)

grid-area

12.

What is the main purpose of media queries?

a)

To change color schemes

b)

To adjust layout for different screen sizes

c)

To style navigation menus

d)

To manage JavaScript animations

13.

Which CSS property removes underlines from links?

a)

text-decoration: none;

b)

font-style: normal;

c)

text-align: center;

d)

decoration-style: off;

14.

What does the pseudo-class :hover do?

a)

Applies styles during page load

b)

Applies styles when scrolling

c)

Applies styles on mouse hover

d)

Applies styles when printing

15.

What is the purpose of transition: background 0.3s;?

a)

Adds a shadow to the background

b)

Changes the font automatically

c)

Creates a smooth background change effect

d)

Centers the background image

16.

HTML stands for ________.

a)

Hyper Transfer Markup Layout

b)

HyperText Marking Language

c)

HyperText Markup Language

d)

Hyper Transfer Making Layout

17.

The main purpose of HTML is to ________.

a)

design visual animations

b)

program dynamic actions

c)

structure webpage content

d)

connect external networks

18.

Which tag declares the document type?

a)

<html>

b)

<meta>

c)

<!DOCTYPE html>

d)

<header>

19.

The element is mainly used to ________.

a)

display all page text

b)

hold the main content

c)

store metadata and links

d)

contain user input forms

20.

The element contains ________.

a)

invisible metadata only

b)

external scripts and fonts

c)

the visible page content

d)

configuration information

21.

Which HTML tag is used for the largest heading?

a)

<h6>

b)

<h3>

c)

<h1>

d)

<head>

22.

What does the

tag represent?

a)

a new heading section

b)

a paragraph of text

c)

a highlighted keyword

d)

a list of items

23.

The
tag is used to ________.

a)

break a text line

b)

start a new paragraph

c)

insert a comment

d)

make text italic

24.

Which tag makes text appear bold?

a)

<u>

b)

<b>

c)

<i>

d)

<mark>

25.

To underline a specific word, you should use ________.

a)

<b>

b)

<u>

c)

<p>

d)

<h4>

26.

The tag requires the ________ attribute to display an image.

a)

name

b)

type

c)

src

d)

form

27.

Which attribute shows alternative text when an image fails to load?

a)

text

b)

link

c)

alt

d)

ref