WorksheetsDigital Marketer Revision 1
Total questions: 38
Worksheet time: 19mins
Which of the following best describes iteration in flow control?
executing code for a defined set of conditions
executing code for a defined number of repetitions
executing code based on the order it is written
executing code based on user input
What kind of flow control is described here? Code is executed based on a set of conditions.
Iteration
Sequence
Selection
Input
Which of these best describes sequence flow control
Code executes based on a set number of conditions
Code executes based on user input
Code executes based on the order it is written
Code executes based on a defined number of repetitions
Which of these has the primary purpose of adding structure to a webpage?
HTML
CSS
JavaScript
PHP
Which of these is primarily used for adding styling options to a webpage?
HTML
CSS
JavaScript
PHP
Which of these is primarily used to make webpages interactive and dynamic by embedding programs into the webpage?
HTML
CSS
JavaScipt
PHP
Which of these is a scripting language that runs on the backend of a web environment?
HTML
CSS
JavaScript
PHP
Which of these best defines what HTML is used for?
Adding structure to a webpage
Adding style options to a webpage
Embedding code into a web document
Creating scripts that run on the web server
Which of these best defines what CSS is used for?
Adding structure to a webpage
Adding style options to a webpage
Embedding code into a web document
Creating scripts that run on the web server
Which of these best defines what JavaScript is used for?
Adding structure to a webpage
Adding style options to a webpage
Embedding code into a web document
Creating scripts that run on the web server
Which of these best defines what PHP is used for?
Adding structure to a webpage
Adding style options to a webpage
Embedding code into a web document
Creating scripts that run on the web server
Which of these best defines an algorithm?
A series of steps that solve a problem
A type of program that is used for data analysis
A maths equation that calculates complex problems
A visual representation of a system or process used for efficiency optimising
Which of these best defines what is meant by pseudocode?
A programming language that writes software in simplified and human-readable ways
A technique that represents an algorithm using a combination of natural language and simplified coding constructs
A method of encrypting sensitive data using symbols and characters
A programming paradigm that focuses on testing software applications
Which of the following statements best describes the purpose of an "if-else" statement in programming?
It is used to declare variables and assign values
It is used to perform calculations
It is used to make decisions and execute code blocks
It is used to define loops and repetition structures
What does a "for" loop primarily help accomplish in programming?
Enabling user input and output
Error handling
Organising and executing code blocks a set number of times
Performing database queries
Which of the following is the standard data transfer protocol for the internet?
TCP/IP
HTTP
HTTPS
SMTP
Which one of these protocols securely transfers data over the internet?
TCP/IP
HTTP
HTTPS
SMTP
Which of these is responsible for storing web pages and sending them to users over the internet?
Web server
Domain name server
Mail server
File server
Which of these is responsible for sending, receiving and storing emails?
Web server
Domain name server
Mail server
File server
Which of these is responsible for resolving domain names to IP addresses?
Web server
Domain name system
Mail server
File server
Which of these terms refers to information about information on a webpage?
Metadata
Index data
Dynamic data
Recursive data
What does HTTP stand for?
HyperText Transfer Protocol
HyperText Markup Langauge
HyperText and Terminal Protocol
HyperText PreProcessor
What is the purpose of pseudocode and flow charts in coding?
Define hardware components of a website
Determine webserver software requirements
Describe the logic and flow of a coding algorithm
Identify cross-browser compatibility issues
Which of the following coding concepts is related to decision making?
Selection
Iteration
Sequence
Maintenance
What does W3C stand for in the context of web governance?
World Wide Web Consortium
Web3 Coding Council
Webpage Content Control
Worldwide Web Control
What is the purpose of HTTP Secure (HTTPS)?
Encrypt and secure web page content
To improve web server performance
To optimise web page loading speed
To validate HTML and CSS code
Which protocol is commonly used for sending and receiving emails?
HTTP
HTTPS
FTP
SMTP
What is the purpose of an algorithm in coding?
Style web pages with CSS
Design graphics and images for a website
Perform a series of steps to solve a problem
Manage databases and store data
Which coding concept allows a program to execute a set of instructions repeatedly?
Selection
Iteration
Sequence
Maintenance
Which language is primarily used for server side web development?
HTML
CSS
JavaScript
PHP
What does DNS stand for?
Domain name system
Domain network security
Dynamic navigation service
Data network storage
What is the purpose of a client in the context of the web?
Storing web page content
Managing web server software
Requesting and displaying web pages
Categorising and indexing web pages
Which protocol is commonly used for transferring files between a client and a server?
HTTP
HTTPS
FTP
SMTP
What is the role of a router in the web system?
Storing web page content
Managing database operations
Handling client requests and routing data packets
Ensuring cross-browser compatibility
What does CMS stand for in the context of web development?
Client management system
Content management system
Code management system
Customer marketing solution
What is the purpose of IP addresses in web communication?
Storing web page content
Ensuring cross-browser compatability
Identifying and locating devices on a network
Validating HTML and CSS code
What is the purpose of security in web technologies?
Enhancing web server performance
Validating web page HTML and CSS code
Ensuring secure data transmission and protecting against unauthorised access
Crawling and indexing web pages for search engines
What is the purpose of a domain name in web addresses?
Encrypting web page data for secure transmission
Sorting meta information of web pages
Converting IP addresses into human-readable names
Determining web server software requirements
