wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Digital Marketer Revision Quiz 2

Total questions: 26

Worksheet time: 13mins

Name
Class
Date
1.

Which programming concept allows the execution of different code blocks based on specified conditions?

a)

Iteration

b)

Selection

c)

Sequence

d)

Abstraction

2.

What is the purpose of pseudocode in coding?

a)

To write code in a specific programming language

b)

To visualise code execution flow using diagrams

c)

To represent code using natural language-like syntax

d)

To encrypt code for secure transmission

3.

Which coding language is primarily used for adding interactivity and dynamic behavior to web pages?

a)

HTML

b)

CSS

c)

JavaScript

d)

PHP

4.

What is the role of a variable in coding?

a)

To store and manipulate data

b)

To define the visual style of a web page

c)

To manage database operations

d)

To create animations and effects on a website

5.

Which programming concept allows a program to execute a set of instructions repeatedly?

a)

Selection

b)

Iteration

c)

Abstraction

d)

Inheritance

6.

What does CSS stand for in web development?

a)

Cascading Style Sheets

b)

Creative Style Syntax

c)

Code Syntax Structure

d)

Centralised Style System

7.

What is the purpose of a function in programming?

a)

To represent a collection of data

b)

To define the visual layout of a web page

c)

To encapsulate a set of instructions to reuse

d)

To establish a connection with a database

8.

Which programming language is primarily used for defining the structure and content of web

a)

HTML

b)

CSS

c)

JavaScript

d)

PHP

9.

What is the function of an operator in coding?

a)

To define the visual appearance of a web page

b)

To connect to a remote server for data exchange

c)

To perform operations on data, such as arithmetic and logic

d)

To validate user input in web forms

10.

Which coding concept allows a program to execute a series of statements in a specific order?

a)

Iteration

b)

Selection

c)

Sequence

d)

Inheritance

11.

What is the purpose of a comment in coding?

a)

To indicate an error in the code

b)

To enhance the visual design of the web page

c)

To provide explanations or notes within the code

d)

To define a reusable set of instructions

12.

Which coding language is primarily used for defining the visual style of web pages?

a)

HTML

b)

CSS

c)

JavaScript

d)

PHP

13.

What is the function of a loop in coding?

a)

To handle errors and exceptions in the code

b)

To define the structure of a web page

c)

To repeat a set of instructions until a condition is met

d)

To establish a connection with a database server

14.

What is the purpose of a database in web development?

a)

To define the structure and layout of a web page

b)

To store and manage large amounts of structured data

c)

To create interactive and dynamic effects on a website

d)

To handle client-serer communication

15.

Which coding language is primarily used for server-side web development?

a)

HTML

b)

CSS

c)

JavaScript

d)

PHP

16.

What is the role of an array in coding?

a)

To define the visual appearance of a web page

b)

To store a collection of elements or values

c)

To execute a set of instructions repeatedly

d)

To handle user interactions on a web page

17.

Which protocol is responsible for transferring web page data over the Internet?

a)

HTTP

b)

HTTPS

c)

FTP

d)

SMTP

18.

What protocol is used for secure and encrypted web page communication?

a)

HTTP

b)

HTTPS

c)

FTP

d)

SMTP

19.

What is the purpose of DNS (Domain Name System) in web development?

a)

To handle database operations

b)

To define the visual appearance of a webpage

c)

To convert domain names into IP addresses

d)

To execute JavaScript code on the client-side

20.

Which protocol is used for transferring files between a client and a server?

a)

HTTP

b)

HTTPS

c)

FTP

d)

SMTP

21.

What is the function of IP addresses in web communication?

a)

To validate HTML and CSS code

b)

To handle email communication

c)

To identify and locate devices on a network

d)

To transfer web page data between client and server

22.

What is the purpose of a router in web communication?

a)

To handle database operations

b)

To convert domain names into IP addresses

c)

To transfer web page data between client and server

d)

To direct network traffic between devices

23.

Which protocol is used for sending email over the Internet?

a)

HTTP

b)

FTP

c)

SMTP

d)

TCP/IP

24.

What is the role of a client in web communication?

a)

To host and serve web pages

b)

To request and receive web pages

c)

To store and manage database operations

d)

To handle server-side scripting

25.

Which protocol is responsible for reliable data delivery over the Internet

a)

HTTP

b)

HTTPS

c)

FTP

d)

TCP/IP

26.

What is the role of a webserver in web development?

a)

To handle client requests and deliver web pages

b)

To store and manage database operations

c)

To define the visual style of a web page

d)

To execute JavaScript code on the client-side