WorksheetsCoding Principles Week 2 Revision
Total questions: 29
Worksheet time: 18mins
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)
What does <!DOCTYPE html> signify when writing HTML web code?
The remainder of the document will be written in HTML format
This document will exclude anything except HTML code
The document begins here.
What is a "function" in JavaScript?
A repeatable code that can be reused multiple times but typed out once
A layer of code that allows the JavaScript to run
The basic code that allows you to interface JavaScript with HTML
The way in which you write any code in JavaScript
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?
HTML
Java
JavaScript
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?
The Phrase "Thanks for your information" appears on screen
Nothing happens
The Phrase "Please provide contact information" appears on screen
The phrase "Thanks for your information" is printed out
Browser Cookies are what kind of Proxy?
Load Balancing
Caching
Filtering
Authentication
HTTPS stands for Hypertext Transfer Protocol Secure. What are some ways that it differs from regular HTTP?
It uses cryptographic security to prevent outside actors intercepting traffic
It uses passwords on the server and the client side so that unless you log in you cannot see content
It uses SSL to issue security certificates along all points in the request.
It can only be used when connecting government sources.
What does the IP in TCP/IP stand for?
(a)
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?
HTML
Java
JavaScript
What does the X stand for in XAMPP
"X" operating system
MacOS X
Xandu
"X" SQL Database
What does the "A" stand for in LAMP & XAMPP?
Application base
Active Server
Apache
Altered systems
MySQL/MariaDB is the M in which acronym?
XAMPP
LAMP
What are the two Ps in XAMPP?
PHP
Python
ParticleFX
Perl
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?
Open it in an up to date version of Adobe Acrobat Reader
Try saving the attachment then open it
Tell the sender it isn't working and ask for it in a different format
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?
The computer volume is set to 0
The audio codec of the file is not supported by Windows Media Player
You have a set of headphones plugged in
What is MySQL for?
Managing HTTP protocols
Provides the operating system for the server
Accesses databases and datatables for non-static data
Is the coding language for all applications in the stack
Which of these are examples of non-static information
An HTML webpage
A users login details
A users basket of goods
Website header images
What does the L stand for in LAMP?
Level 1
Linux
LastLoadOS
Limiting Factors
"A server that runs more complex webcode using Business Logic. They are responsive and react instantly to user inputs" describes what type of server?
Web Server
Application Sever
Database Server
"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?
Web Server
Application Server
Database Server
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?
Client Side
Server Side
Application Servers are low demand in terms of power and computational resources.
True
False
"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?
Centralised
Commercial
Distributed
Non-relational
Which of the following make up relational databases that can be read by SQL languages?
Tables
Data matrix points
Rows
Columns
Remote Keys
What are the two main components of a Content Management System (CMS)?
Content Management Application (CMA)
Content Creation Area (CCA)
Content Delivery Application (CDA)
Content Upload Server (CUS)
What is the main purpose of a Content Management System (CMS)?
To help you organise podcasts and media in time order
To act as a graphical interface for the production and hosting of content online
To help you avoid needing to pay attention in Principles of Coding
To allow you to create email marketing templates
When your webpage loads the copy is moved around as images and adds pop in. What technical SEO factor is being negatively effected?
Largest Contentful Paint (LCP)
First input Delay (FID)
Cumulative Layout Shift (CLS)
Long or complex Javascript functions are on of the largest factors to negatively impact First Input Delay (FID)
True
False
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?
The image server is currently inaccessible to the website
The images have been deleted from the internet
Your computers graphics card isn't powerful enough to render the images
You have not left enough space between lines of HTML code when inserting image links
