wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

3rd Form End of Year Assessment

Total questions: 80

Worksheet time: 59mins

Name
Class
Date
1.
What do the letters HTML stand for?
a)
Hyper Text Make Up Language
b)
Hyper Text Mark Up Language
c)
Hi Text Mark language
d)
Hyper Text Mark Up Literacy
2.
What extension do Web pages have
a)
exe
b)
html
c)
doc
d)
.xls
3.
Which of the following tags is a closing tag for the code on a web page?
a)
</html>
b)
<html>
c)
<!html>
d)
<end>
4.
Which tag gives the largest text?
a)
<h4>
b)
<h3>
c)
<h2>
d)
<h1>
5.
What tag is a closing tag?
a)
<h1>
b)
<title>
c)
<h6>
d)
</title>
6.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
7.
What does the tag <p> indicate?
a)
ordered list
b)
unordered list
c)
paragraph
d)
break
8.
Any content that is visible on your web page should go between these tags.
a)
<html></html>
b)
<style></style>
c)
<body></body>
9.
The content of the web (such as your pictures, text, links) will show up here. 
a)
Head
b)
Body
c)
Style
d)
Folder
10.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
11.
<img> tag finds;
a)
finds the image located at the a URL and the src attribute and then displays it.
b)
finds the image located at the SRC in the URL attribute and then displays it.
c)
Adds a cool picture
d)
Does not work in HTML coding
12.

True or False? The HTML document itself begins with <html> and ends with </html>.

a)

True

b)

False

13.

The visible part of the HTML document is between:

a)

<html> </html>

b)

<head> </head>

c)

<body> </body>

d)

<h1> </h1>

14.

How many HTML elements are in this example?

a)

3

b)

5

c)

7

d)

6

15.

Which code below is correct for a hyperlink

a)

<a>

"https://google.com"

Click Me

</a>

b)

<a>Click Me>

"https://google.com"

</a>

c)

<a herf="https://google.com">

Click Me

</a>

d)

<a href="https://google.com">

Click Me

</a>

16.

Who is recognised as being the founding figure of the World Wide Web?

a)

Richard J. Stallman

b)

Tim Berners-Lee

c)

Vinton Cerf

d)

Larry Page

17.

What does WWW stand for?

a)

World Wide Web

b)

Wide World Web

c)

Web World Wide

d)

We Will Wait

18.

What do the letters CSS stand for?

a)

Cook Some Sausages

b)

Create Some Style

c)

Computer Style Sheet

d)

Cascading Style Sheet

19.

What is the correct HTML for inserting an image?

a)

<img src="image.gif"></img>

b)

<image src="image.gif" alt="MyImage"></img>

c)

<img alt="MyImage">image.gif</img>

d)

<img href="image.gif" alt="MyImage"></img>

20.

What is the correct HTML for creating a hyperlink?

a)

<a name="http://www.w3schools.com">W3Schools.com</a>

b)

<a>http://www.w3schools.com</a>

c)

<a url="http://www.w3schools.com">W3Schools.com</a>

d)

<a href="http://www.w3schools.com">W3Schools</a>

21.
In the following code, "city" is an example of a what?
a)
List
b)
Loop
c)
Variable
d)
Array
22.

In this code, how much does an apple cost?

a)

£1

b)

50p

c)

20p

d)

25p

23.

What would the program display if you ran this code and entered 2 and then 3 when prompted?

a)

The total is 5.

b)

The total is 23.

c)

The total is 6.

d)

An error.

24.

What is the name of the variable in this program?

a)

print

b)

colour

c)

input

d)

" "

25.

What will this code print?

a)

access denied

b)

access granted

c)

error

d)

password

26.

If the user enters 60, what is the output?

a)

You are old!

b)

You are middle-aged!

c)

You are young!

d)

Error message

27.

What will this code display?

a = 6

if a => 6:

print("pass")

else:

print("fail")

a)

pass

b)

fail

c)

nothing because there will be an error

d)

passfail

28.

Pick a syntax error in the code

a)

Capital P for print

b)

Missing brackets

c)

Missing comma

d)

Missing speech marks

29.

What is the output of the following code if raining was entered

a)

Take a brolly!

b)

Have a great day

c)

The code would not run

30.

What is the output of the following code if Raining was entered

a)

Take a brolly!

b)

Have a great day

c)

The code would not run

31.

What is the output of the following code if sunny was entered

a)

Take a brolly!

b)

Have a great day

c)

The code would not run

32.

What would output if the answer to Q1 was london?

a)

well done you have a point

b)

try again

c)

the code would not run

33.

What would output if the answer to Q2 was barcelona?

a)

well done you have a point

b)

try again

c)

the code would not run

34.

What would the score be if the answer to Q1 was manchester and the answer to Q2 was madrid?

(a)  

35.

Name the first variable in this code

(a)  

36.

What will happen when this program is run?

a)

Syntax error

b)

One will be displayed

c)

Zero will be displayed

d)

One then Zero will be displayed

37.

What will happen when this program is run?

a)

Syntax error

b)

One will be displayed

c)

Zero will be displayed

d)

One then Zero will be displayed

38.

What will happen when this program is run?

a)

Syntax error

b)

Big will be displayed

c)

Small will be displayed

d)

300 will be displayed

39.

What is the output?

a)

next

stop

b)

next

c)

stop

d)

syntax error - program doesn't work

40.

What will happen when this code is run?

a)

Nothing there is an error on line 5

b)

It will print the following:

10

10

20

c)

It will print the following:

13.3333334

d)

It will print the following:

10

10

20

Average = 13.33333334

41.

Where is there an error in this code?

a)

Line 2

No need for white space

b)

Line 3

No need for ==

c)

Line 8

There is no print instruction

d)

Line 3 missing a colon ( : )

42.

What will happen when this code is run and the user types in Finham Park?

a)

The code will return:

Try again...

b)

The code will return:

You bet it is, ", name, "is the best!

c)

The code will return:

You bet it is, Finham Park is the best!

d)

Nothing there is an error on

Line 5, missing a colon ( : )

43.

What does the operator != on line 3 represent

a)

Is exactly

b)

Is an integer

c)

Is a statement

d)

Is not

44.

Which of the following is the operator used in Python to say less than or equal to

a)

==

b)

<=

c)

>=

d)

<

45.

This is code to calculate the price of tickets charged to customers. On which line of code is there an error?

a)

Line 4

b)

Line 5

c)

Line 6

d)

Line 8

46.

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?

a)

The code will eventually print:

160

b)

The code will eventually print:

80

c)

The code will eventually print:

The total cost of the tickets would be: 80

d)

The code will eventually print:

The total cost of the tickets would be: 82.5

47.

This is code to calculate the price of tickets charged to customers. On which line of code is there an error?

a)

Line 4

b)

Line 6

c)

Line 7

d)

Line 8

48.

What will happen when this code is run?

a)

The code will print:

a + 1

b)

The code will print:

15

c)

The code will print:

42

d)

The code will print:

15 42

49.

What will be displayed when this code is run?

a)

13

b)

0

c)

zero

d)

Nothing will be displayed

50.

What will be displayed when this code is run?

a)

20

b)

0

c)

zero

d)

Nothing will be displayed

51.
What are the only two numbers you can use in binary?
a)
0 and 1
b)
1 and 2
c)
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
d)
1, 2, 4, 8, 16
52.

How many bits make a byte?

a)

2

b)

4

c)

8

d)

16

53.
Convert 128 to binary
a)
10000000
b)
01111110
c)
10000001
d)
11001100
54.
Convert the Hex number B9 to binary.
a)
10111001
b)
10111000
c)
10111101
d)
10101001
55.
Convert the Hex number 1F to binary.
a)
00111111
b)
00001111
c)
00010111
d)
00011111
56.
Convert the binary number 01010101 to Hex
a)
44
b)
55
c)
66
d)
77
57.

Convert the binary number 11000011 to Hex

a)

11

b)

A2

c)

C3

d)

D4

58.
Which number system are these examples of?
2A    7F    1C
a)
Binary
b)
Denary
c)
Hexadecimal
59.
What is 1111 converted into denary?
a)
15
b)
16
60.

Which of these are hexadecimal digits?

a)

F

b)

G

c)

6

d)

0

e)

H

61.

Computers store all data using...

a)

Binary

b)

Hexadecimal

c)

Denary

d)

Octal

62.
Convert 00000011 to decimal
a)
192
b)
3
c)
2
d)
6
63.
Convert 00101010 to decimal
a)
48
b)
44
c)
42
d)
41
64.
Write 45 as a binary number 
a)
00101111
b)
00011101
c)
00101011
d)
00101101
65.
write 255 as binary
a)
11111110
b)
11111111
c)
00000000
d)
10000000
66.
Binary = 0100 1010 0011 1101
Hex = ?
a)
43AD
b)
4A3D
c)
D3A4
d)
3A4D
67.
Binary 0001
Hex = ?
Dec = ?
a)
1 ,1
b)
0, 1
c)
1, 0
d)
0, 0 
68.
Binary 0101
Hex = ?
Dec = ?
a)
1, 1
b)
A, 5
c)
5, 5
d)
5, A
69.
Binary = 1101
Hex = ?
Dec = ?
a)
D, D
b)
13, 13
c)
D, 13
d)
13, D
70.

What denary number does this binary number represent?

(a)  

71.

What denary number does this binary number represent?

(a)  

72.

What Denary number does Hex A represent?

(a)  

73.

Convert the binary nibble to a Hex digit...

(a)  

74.

What is 4 in binary? Use the conversion table for guidance.

a)

111

b)

101

c)

100

d)

1011

75.

What is 1001101 in denary. Use the conversion table for guidance.

a)

82

b)

24

c)

77

d)

11

76.

What is 46 in binary? Use the conversion table for guidance.

a)

00101110

b)

00011111

c)

01000100

d)

00110000

77.

What is 11111101 in denary? Use the conversion table for guidance.

(a)  

78.

11010111 in binary is

a)

ODD

b)

EVEN

79.

Convert the following binary number into hexadecimal:

1010 1110

a)

AB

b)

5D

c)

2F

d)

AE

80.
Convert the Hex number 1F to binary.
a)
00111111
b)
00001111
c)
00010111
d)
00011111