wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ict quiz les go

Total questions: 80

Worksheet time: 38mins

Name
Class
Date
1.
What will the output be from the following code?
print("Hello world!")
a)
SyntaxError
b)
Hello world!
c)
"Hello world!"
d)
print(Hello world!)
2.
What will the output be from the following code?
print(3+4)
a)
3+4
b)
7
c)
SyntaxError
d)
print(3+4)
3.
print("12"*3)
What would this print?
a)
36
b)
121212
c)
24
d)
12*3
4.
What will the output be from the following code?
print("3+4")
a)
7
b)
3+4
c)
34
d)
SyntaxError
5.
What will the output be from the following code?
Print("Hello world!")
a)
NameError
b)
Hello world!
c)
"Hello world"
d)
Print(Hello world!)
6.
What will the output be from the following code?
print("Hello" + "world" + "today")
a)
Helloworldtoday
b)
Hello world today
c)
"Hello" "world" "today"
d)
SyntaxError
7.
What will the output be from the following code?
print(Hello world!)
a)
Hello world!
b)
SyntaxError
c)
Hello world
d)
print(Hello world!)
8.
What will the output be from the following code?
print(9/3)
a)
3
b)
3.0
c)
9/3
d)
SyntaxError
9.
Which function takes a users input
a)
print()
b)
int()
c)
input()
d)
def
10.
A data type consisting of numbers, letters and symbols.
a)
String
b)
Integer
c)
Float
d)
Boolean
11.
Which is the most appropriate data type for: "13th December"
a)
Float
b)
Boolean
c)
Integer
d)
String
12.
A location in memory used to store data that can be changed.
a)
Constant
b)
Value
c)
Variable
d)
Iteration
13.
What will the output be from the following code?
print(3+4)
a)
3+4
b)
7
c)
SyntaxError
d)
print(3+4)
14.
What will the output be from the following code?
print("3+4")
a)
7
b)
3+4
c)
34
d)
SyntaxError
15.
What extension must you add to the end of a file when saving?
a)
.xlsx
b)
.pptx
c)
.docx
d)
.py
16.
What does the print function do in python?
a)
It's a variable.
b)
It can input data.
c)
It displays something like a string or integer
d)
It loops the code.
17.
What symbol do you use to make a comment in Python?
a)
@
b)
¬
c)
;
d)
#
18.
What is the correct definition for a VARIABLE?
a)
a changeable value, such as a score in a computer game.
b)
a value that cannot be changed
19.
Data type that can only be true or false
a)
int
b)
string
c)
bool
d)
float
20.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
21.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
22.
What will the output be from the following code?
print(3*4+5)
a)
27
b)
17
c)
12
d)
SyntaxError
23.

Which of these is a string?

a)

42

b)

True

c)

"This one!"

d)

No, this one

24.

What will this program do?

print("Hello world")

a)

Output Hello world

b)

Error

c)

Output "Hello world

d)

Output print

25.

Which operator can be used to compare two values?

a)

=

b)

<>

c)

><

d)

==

26.

What is the correct file extension for Python files?

a)

.py

b)

.pt

c)

.pyt

d)

.pyth

27.

Which one is NOT a legal variable name?

a)

my_var

b)

myvar

c)

_myvar

d)

my-var

28.

How do you insert COMMENTS in Python code?

a)

/*this is a comment

b)

//this is a comment

c)

#this is a comment

29.

What is a correct syntax to output "Hello World" in Python?

a)

echo("Hello World")

b)

echo "Hello World"

c)

print("Hello World")

d)

PRINT("Hello World")

30.

How do you create a variable with the numeric value 5?

a)

Both are correct

b)

x=5

c)

x=int(5)

31.

If num1 = 5

num2 = 6

then what will be the output of num1*num2

a)

11

b)

6

c)

30

d)

-1

32.

What symbol do you use to make a comment in Python?

a)


@

b)

:

c)


;

d)

#

33.

Which operator checks if a value is equal to another value?

a)

+

b)

-

c)

==

d)

!=

34.

If p=25 , what is p**2?

a)

50

b)

125

c)

600

d)

625

35.

Arithmetic Operator

What is a * ?

a)

Addition

b)

Subtraction

c)

Multiplication

d)

Division

36.

The result of 10%2 will be :

a)

1

b)

5

c)

2

d)

0

37.

What will be the result of

print(5*4)

a)

20

b)

5

c)

4

d)

16

38.

What will be the result of:

print(12/5)

a)

2.1

b)

4.2

c)

0

d)

2.4

39.

What will the output be from the following code?

print(3+4)

a)

3+4

b)

7

c)

print(3+4)

d)

Syntax error

40.

Symbol used for finding the remainder after dividing

a)

+

b)

-

c)

/

d)

%

41.

What is the first thing we have to write in the code

(a)  

42.

how to create a table

a)

<td>

b)

</tc>

c)

<table>

d)

<tr>

43.

What does HTML stand for ?

a)

Hiper text markup language

b)

Hiperlink and text markup language

c)

home tool markup language

44.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h6>

c)

<h1>

d)

<heading>

45.

What is the correct HTML element for inserting a line break?

a)

<br>

b)

<break>

c)

<lb>

46.

What is the correct HTML for creating a hyperlink?

a)

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

b)

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

c)

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

47.

Which character is used to indicate an end tag?

a)

/

b)

^

c)

*

d)

<

48.

Which of these elements are all <table> elements?

a)

<table><tr><td>

b)

<table><head><tfoot>

c)

<table><tr><tt>

d)

<thead><body><tr>

49.

What is the correct HTML for inserting an image?

a)

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

b)

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

c)

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

d)

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

50.

Which HTML element defines the title of a document?

a)

<meta>

b)

<title>

c)

<head>

51.
What does HTML stand for?
a)
Hypertext Making Language
b)
Hyper Transfer Markup Language
c)
Hypertext Markup Language
d)
Hyper Transfer Making Language
52.
HTML Language uses
a)
Tabs
b)
Tags
c)
Punctuation
d)
Quotations
53.
<p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
54.
</p> is
a)
punctuation tag
b)
closing paragraph tag
c)
closing punctuation tag
d)
paragraph tag
55.

HTML stands for...

a)

Hyper Time Multiple Language

b)

Hyper Text Mark-up Language

c)

Hippo T-Rex Mascot Lemur

d)

Hipper Text Make Language

56.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

57.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

58.

What does a opening tag look like?

a)

< >

b)

</ >

c)

<< >>

d)

<

59.

What does a closing tag look like?

a)

< >

b)

<\ >

c)

</ >

d)

<< >>

60.

What should a HTML web page start with?

a)

<b>

b)

<li>

c)

<html>

d)

<start>

61.

What should a HTML web page end with?

a)

</html>

b)

<head>

c)

</end>

d)

</body>

62.

What does this tag stand for? <b>

a)

bright

b)

big

c)

beautiful

d)

bold

63.
What HTML element defines the title of the document?
a)
<title>
b)
<head>
c)
<meta>
64.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
65.
HTML uses
a)
Tabs
b)
Tags
c)
Labels
d)
Quotes
66.
Google Chrome, Mozilla Firefox and Microsoft Edge are all examples of what?
a)
Search engines
b)
Websites
c)
Web Browsers
d)
Text editors
67.
Which is the correct HTML element for inserting a line break?
a)
<b>
b)
<lb>
c)
<br>
d)
<break>
68.
What will happen to the text in blue?   <p>He named his car <i>The lightning</i>, because it was very fast.</p>
a)
the content will be displayed in italic
b)
the content will display an image
c)
the content defines text inserted into a document
69.
CSS stands for?
a)
Closed Source Style
b)
Crucial Style Sheets
c)
Cascading Style Sheets
d)
Corresponding Static Style
70.
HTML stands for?
a)
HammersTend To Mostly Lose
b)
HypoText Madeup Language
c)
HyperText Markup Langauge
71.

HTML stand for

a)

Hyperlinks and Text Markup Language

b)

Hyper Text Markup Language

c)

Home Tool Markup Language

d)

Hyper Text Markup Link

72.

Who is making the Web standards?

a)

Mozilla

b)

Microsoft

c)

World Wide Web Consortium

d)

Google

73.

HTML tag for the largest heading

a)

<h1>

b)

<h6>

c)

<head>h1<head>

d)

<heading>h6<heading>

74.

HTML tag for inserting a line break

a)

<break />

b)

<lb />

c)

<br />

d)

<linebreak />

75.

HTML tag to make a text bold

a)

<b>

b)

<bold>

c)

<textbold>

d)

<boldtext>

76.

HTML tag for creating a hyperlink

a)

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

b)

<a name=http://www.sample.com> Sample.com </a>

c)

<a url=http://www.sample.com> Sample.com </a>

d)

<a herf=http://www.sample.com> Sample </a>

77.

Which of these tags are all <table> tags?

a)

<table><tr><td>

b)

<table><tr><tt>

c)

<thead><body><tr>

d)

<table><head><tfoot>

78.

How can you make a list that lists the items with numbers? (1,2,... i,ii,.... I,II,...)

a)

<ul>

b)

<list>

c)

<li>

d)

<ol>

79.

What is the correct HTML for making a checkbox?

a)

<checkbox>

b)

<input type="check" />

c)

<input type="checkbox" />

d)

<check>

80.

HTML tag for inserting an image

a)

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

b)

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

c)

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

d)

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