Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding Principles Week 2 Revision

Total questions: 29

Worksheet time: 18mins

Name
Class
Date
1.

When writing HTML code, you have created a main heading. You begin the section with the <body> tag.

What tag do you use to close the section and move on?

(a)  

2.

What does <!DOCTYPE html> signify when writing HTML web code?

a)

The remainder of the document will be written in HTML format

b)

This document will exclude anything except HTML code

c)

The document begins here.

3.

What is a "function" in JavaScript?

a)

A repeatable code that can be reused multiple times but typed out once

b)

A layer of code that allows the JavaScript to run

c)

The basic code that allows you to interface JavaScript with HTML

d)

The way in which you write any code in JavaScript

4.

You are looking to create a new complex web game to add interactivity to your website. Which coding language would be best to create something like this?

a)

HTML

b)

Java

c)

JavaScript

5.

A programmer runs the following program:

a=EmailInput;

b=PhonenullInput

if (a=EmailInput or b=PhoneInput)

{

printf("Thanks for your information")

}

else

{

printf ("Please provide contact information")

}

What is the outcome?

a)

The Phrase "Thanks for your information" appears on screen

b)

Nothing happens

c)

The Phrase "Please provide contact information" appears on screen

d)

The phrase "Thanks for your information" is printed out

6.

Browser Cookies are what kind of Proxy?

a)

Load Balancing

b)

Caching

c)

Filtering

d)

Authentication

7.

HTTPS stands for Hypertext Transfer Protocol Secure. What are some ways that it differs from regular HTTP?

a)

It uses cryptographic security to prevent outside actors intercepting traffic

b)

It uses passwords on the server and the client side so that unless you log in you cannot see content

c)

It uses SSL to issue security certificates along all points in the request.

d)

It can only be used when connecting government sources.

8.

What does the IP in TCP/IP stand for?

(a)  

9.

You are creating a website where the content will be broadly static changing only periodically and not containing any complex functions. Which coding language would be best to create this website?

a)

HTML

b)

Java

c)

JavaScript

10.

What does the X stand for in XAMPP

a)

"X" operating system

b)

MacOS X

c)

Xandu

d)

"X" SQL Database

11.

What does the "A" stand for in LAMP & XAMPP?

a)

Application base

b)

Active Server

c)

Apache

d)

Altered systems

12.

MySQL/MariaDB is the M in which acronym?

a)

XAMPP

b)

LAMP

13.

What are the two Ps in XAMPP?

a)

PHP

b)

Python

c)

ParticleFX

d)

Perl

14.

You have been sent a PDF and try to open it up but nothing loads in your web browser, what should you do to try and open the document?

a)

Open it in an up to date version of Adobe Acrobat Reader

b)

Try saving the attachment then open it

c)

Tell the sender it isn't working and ask for it in a different format

15.

You download an MP3 audio file and open it in Windows Media Player the file is playing, but there is no sound coming out of your speakers. What is likely to be the problem?

a)

The computer volume is set to 0

b)

The audio codec of the file is not supported by Windows Media Player

c)

You have a set of headphones plugged in

16.

What is MySQL for?

a)

Managing HTTP protocols

b)

Provides the operating system for the server

c)

Accesses databases and datatables for non-static data

d)

Is the coding language for all applications in the stack

17.

Which of these are examples of non-static information

a)

An HTML webpage

b)

A users login details

c)

A users basket of goods

d)

Website header images

18.

What does the L stand for in LAMP?

a)

Level 1

b)

Linux

c)

LastLoadOS

d)

Limiting Factors

19.

"A server that runs more complex webcode using Business Logic. They are responsive and react instantly to user inputs" describes what type of server?

a)

Web Server

b)

Application Sever

c)

Database Server

20.

"This server stores all data from other servers and provides regular data back ups. It is often referred to as the "back end" server" describes what kind of server?

a)

Web Server

b)

Application Server

c)

Database Server

21.

You are loading a webpage and recieve an "ERROR 502: Bad Gateway" message instead of recieving the webpage. Which side of the exchange has the error occured?

a)

Client Side

b)

Server Side

22.

Application Servers are low demand in terms of power and computational resources.

a)

True

b)

False

23.

"Data is distributed across multiple servers and can be accessed by multiple routes. It is often used by global organizations where storage in one place isn't effective for the business" describes what kind of database?

a)

Centralised

b)

Commercial

c)

Distributed

d)

Non-relational

24.

Which of the following make up relational databases that can be read by SQL languages?

a)

Tables

b)

Data matrix points

c)

Rows

d)

Columns

e)

Remote Keys

25.

What are the two main components of a Content Management System (CMS)?

a)

Content Management Application (CMA)

b)

Content Creation Area (CCA)

c)

Content Delivery Application (CDA)

d)

Content Upload Server (CUS)

26.

What is the main purpose of a Content Management System (CMS)?

a)

To help you organise podcasts and media in time order

b)

To act as a graphical interface for the production and hosting of content online

c)

To help you avoid needing to pay attention in Principles of Coding

d)

To allow you to create email marketing templates

27.

When your webpage loads the copy is moved around as images and adds pop in. What technical SEO factor is being negatively effected?

a)

Largest Contentful Paint (LCP)

b)

First input Delay (FID)

c)

Cumulative Layout Shift (CLS)

28.

Long or complex Javascript functions are on of the largest factors to negatively impact First Input Delay (FID)

a)

True

b)

False

29.

When you load your website to test functionality, several of your images hosted on an external image server are displayed as white with this icon. What is likely to be the issue?

a)

The image server is currently inaccessible to the website

b)

The images have been deleted from the internet

c)

Your computers graphics card isn't powerful enough to render the images

d)

You have not left enough space between lines of HTML code when inserting image links