wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz- Web-Optimization

Total questions: 32

Worksheet time: 16mins

Name
Class
Date
1.

What is the primary goal of image optimization?

a)

Increase file size

b)

Improve image resolution only

c)

Reduce file size while maintaining acceptable quality

d)

Convert images to grayscale

2.

Which of the following image formats supports lossless compression?

a)

JPEG

b)

PNG

c)

GIF

d)

Both b and c

3.

Which compression technique removes unnecessary image data permanently?

a)

Lossless compression

b)

Lossy compression

c)

Vector compression

d)

Pixel interpolation

4.

Which image format is best suited for photographs on the web?

a)

PNG

b)

JPEG

c)

BMP

d)

TIFF

5.

What does WebP format offer compared to JPEG and PNG?

a)

Larger file sizes

b)

No transparency support

c)

Better compression with quality retention

d)

Only works in Internet Explorer

6.

Which tool is commonly used for image optimization?

a)

Photoshop

b)

TinyPNG

c)

ImageOptim

d)

All of the above

7.

What is a major drawback of using unoptimized images on a website?

a)

Slower page loading speed

b)

Increased SEO ranking

c)

Better website performance

d)

Improved user experience

8.

Which technique helps to improve image loading time on websites?

a)

Lazy loading

b)

Increasing image resolution

c)

Storing images in database

d)

Using only GIFs

9.

What is the recommended resolution for web images to balance quality and performance?

a)

300 DPI

b)

72 DPI

c)

1200 DPI

d)

50 DPI

10.

Which CSS property can be used to serve different images for different screen sizes?

a)

display: flex;

b)

background-size: contain;

c)

max-width: 100%;

d)

srcset in tag

11.

Which of the following is NOT a common image optimization technique?

a)

Resizing images

b)

Reducing image quality

c)

Increasing image resolution

d)

Using modern image formats

12.

What is the main advantage of using an optimized image over an unoptimized one?

a)

Higher resolution

b)

Faster website loading speed

c)

Increased image complexity

d)

Better database performance

13.

Which modern image format provides both lossless and lossy compression and supports transparency?

a)

JPEG

b)

GIF

c)

WebP

d)

BMP

14.

Which technique is used to serve different image sizes for different devices?

a)

Responsive images

b)

Pixelation

c)

Watermarking

d)

Blurring

15.

Which of the following is NOT a tool for image optimization?

a)

TinyPNG

b)

ImageOptim

c)

Adobe Illustrator

d)

Kraken.io

16.

What is an image sprite?

a)

A collection of multiple images stored separately

b)

A technique where multiple images are combined into one

c)

A high-resolution image used in web design

d)

A special format used for animations

17.

Which of the following is an advantage of using image sprites?

a)

Reduces the number of HTTP requests

b)

Increases page load time

c)

Uses more server bandwidth

d)

Makes individual images easier to manage

18.

Which CSS property is used to display only a specific portion of a sprite image?

a)

background-size

b)

background-position

c)

object-fit

d)

display-mode

19.

What is a downside of using image sprites?

a)

Slower rendering on mobile devices

b)

Requires extra CSS for positioning

c)

Uses more memory than separate images

d)

Causes increased server load

20.

In which scenario is an image sprite MOST beneficial?

a)

When using multiple small icons on a website

b)

When displaying high-quality photographs

c)

When using only one image on a webpage

d)

When embedding videos

21.

Which of the following is a common vector image format?

a)

PNG

b)

JPEG

c)

SVG

d)

BMP

22.

What is the key advantage of vector images over raster images?

a)

They support millions of colors

b)

They do not pixelate when resized

c)

They require more storage space

d)

They are best for photographs

23.

Which software is commonly used to create vector graphics?

a)

Adobe Photoshop

b)

Microsoft Paint

c)

Adobe Illustrator

d)

TinyPNG

24.

Which type of images are best suited for logos and icons?

a)

Raster images

b)

Vector images

c)

GIFs

d)

BMP files

25.

Which of the following is NOT a characteristic of vector graphics?

a)

Defined by mathematical equations

b)

Scalable without losing quality

c)

Uses pixels to define the image

d)

Commonly saved as SVG or EPS

26.

Which image format is known for its ability to support animations?

a)

JPEG

b)

SVG

c)

GIF

d)

PNG

27.

What is the primary purpose of using a CDN for image delivery?

a)

To reduce loading times by caching images closer to users

b)

To convert images to different formats

c)

To increase image quality

d)

To enhance image editing capabilities

28.

Which of the following is a benefit of using SVG images over raster images?

a)

They are easier to edit in image editing software

b)

They can be animated and styled with CSS

c)

They have a larger file size

d)

They are not scalable

29.

Minifying CSS helps in reducing (a)   and improving page load speed.

30.

Which image format is specifically designed for high-quality graphics on the web?

a)

JPEG

b)

PNG

c)

GIF

d)

TIFF

31.

What is the purpose of the 'alt' attribute in an tag?

a)

To provide alternative text for accessibility

b)

To specify the image source

c)

To define the image size

d)

To link to a different webpage

32.

Which of the following techniques can help reduce image file size without significant quality loss?

a)

Using higher resolution images

b)

Applying lossy compression

c)

Increasing color depth

d)

Using uncompressed formats