Font size
Worksheets3rd Form End of Year Assessment
Total questions: 80
Worksheet time: 59mins
src attribute and then displays it.True or False? The HTML document itself begins with <html> and ends with </html>.
True
False
The visible part of the HTML document is between:
<html> </html>
<head> </head>
<body> </body>
<h1> </h1>
How many HTML elements are in this example?
3
5
7
6
Which code below is correct for a hyperlink
<a>
"https://google.com"
Click Me
</a>
<a>Click Me>
"https://google.com"
</a>
<a herf="https://google.com">
Click Me
</a>
<a href="https://google.com">
Click Me
</a>
Who is recognised as being the founding figure of the World Wide Web?
Richard J. Stallman
Tim Berners-Lee
Vinton Cerf
Larry Page
What does WWW stand for?
World Wide Web
Wide World Web
Web World Wide
We Will Wait
What do the letters CSS stand for?
Cook Some Sausages
Create Some Style
Computer Style Sheet
Cascading Style Sheet
What is the correct HTML for inserting an image?
<img src="image.gif"></img>
<image src="image.gif" alt="MyImage"></img>
<img alt="MyImage">image.gif</img>
<img href="image.gif" alt="MyImage"></img>
What is the correct HTML for creating a hyperlink?
<a name="http://www.w3schools.com">W3Schools.com</a>
<a>http://www.w3schools.com</a>
<a url="http://www.w3schools.com">W3Schools.com</a>
<a href="http://www.w3schools.com">W3Schools</a>
In this code, how much does an apple cost?
£1
50p
20p
25p
What would the program display if you ran this code and entered 2 and then 3 when prompted?
The total is 5.
The total is 23.
The total is 6.
An error.
What is the name of the variable in this program?
colour
input
" "
What will this code print?
access denied
access granted
error
password
If the user enters 60, what is the output?
You are old!
You are middle-aged!
You are young!
Error message
What will this code display?
a = 6
if a => 6:
print("pass")
else:
print("fail")
pass
fail
nothing because there will be an error
passfail
Pick a syntax error in the code
Capital P for print
Missing brackets
Missing comma
Missing speech marks
What is the output of the following code if raining was entered
Take a brolly!
Have a great day
The code would not run
What is the output of the following code if Raining was entered
Take a brolly!
Have a great day
The code would not run
What is the output of the following code if sunny was entered
Take a brolly!
Have a great day
The code would not run
What would output if the answer to Q1 was london?
well done you have a point
try again
the code would not run
What would output if the answer to Q2 was barcelona?
well done you have a point
try again
the code would not run
What would the score be if the answer to Q1 was manchester and the answer to Q2 was madrid?
(a)
Name the first variable in this code
(a)
What will happen when this program is run?
Syntax error
One will be displayed
Zero will be displayed
One then Zero will be displayed
What will happen when this program is run?
Syntax error
One will be displayed
Zero will be displayed
One then Zero will be displayed
What will happen when this program is run?
Syntax error
Big will be displayed
Small will be displayed
300 will be displayed
What is the output?
next
stop
next
stop
syntax error - program doesn't work
What will happen when this code is run?
Nothing there is an error on line 5
It will print the following:
10
10
20
It will print the following:
13.3333334
It will print the following:
10
10
20
Average = 13.33333334
Where is there an error in this code?
Line 2
No need for white space
Line 3
No need for ==
Line 8
There is no print instruction
Line 3 missing a colon ( : )
What will happen when this code is run and the user types in Finham Park?
The code will return:
Try again...
The code will return:
You bet it is, ", name, "is the best!
The code will return:
You bet it is, Finham Park is the best!
Nothing there is an error on
Line 5, missing a colon ( : )
What does the operator != on line 3 represent
Is exactly
Is an integer
Is a statement
Is not
Which of the following is the operator used in Python to say less than or equal to
==
<=
>=
<
This is code to calculate the price of tickets charged to customers. On which line of code is there an error?
Line 4
Line 5
Line 6
Line 8
What will happen when this code is run and the user inputs that the price of the ticket is 20 and the number needed is 4?
The code will eventually print:
160
The code will eventually print:
80
The code will eventually print:
The total cost of the tickets would be: 80
The code will eventually print:
The total cost of the tickets would be: 82.5
This is code to calculate the price of tickets charged to customers. On which line of code is there an error?
Line 4
Line 6
Line 7
Line 8
What will happen when this code is run?
The code will print:
a + 1
The code will print:
15
The code will print:
42
The code will print:
15 42
What will be displayed when this code is run?
13
0
zero
Nothing will be displayed
What will be displayed when this code is run?
20
0
zero
Nothing will be displayed
How many bits make a byte?
2
4
8
16
Convert the binary number 11000011 to Hex
11
A2
C3
D4
2A 7F 1C
Which of these are hexadecimal digits?
F
G
6
0
H
Computers store all data using...
Binary
Hexadecimal
Denary
Octal
Hex = ?
Hex = ?
Dec = ?
Hex = ?
Dec = ?
Hex = ?
Dec = ?
What denary number does this binary number represent?
(a)
What denary number does this binary number represent?
(a)
What Denary number does Hex A represent?
(a)
Convert the binary nibble to a Hex digit...
(a)
What is 4 in binary? Use the conversion table for guidance.
111
101
100
1011
What is 1001101 in denary. Use the conversion table for guidance.
82
24
77
11
What is 46 in binary? Use the conversion table for guidance.
00101110
00011111
01000100
00110000
What is 11111101 in denary? Use the conversion table for guidance.
(a)
11010111 in binary is
ODD
EVEN
Convert the following binary number into hexadecimal:
1010 1110
AB
5D
2F
AE
