Font size
Worksheetsict quiz les go
Total questions: 80
Worksheet time: 38mins
print("Hello world!")
print(3+4)
What would this print?
print("3+4")
Print("Hello world!")
print("Hello" + "world" + "today")
print(Hello world!)
print(9/3)
print(3+4)
print("3+4")
print(3*4+5)
Which of these is a string?
42
True
"This one!"
No, this one
What will this program do?
print("Hello world")
Output Hello world
Error
Output "Hello world
Output print
Which operator can be used to compare two values?
=
<>
><
==
What is the correct file extension for Python files?
.py
.pt
.pyt
.pyth
Which one is NOT a legal variable name?
my_var
myvar
_myvar
my-var
How do you insert COMMENTS in Python code?
/*this is a comment
//this is a comment
#this is a comment
What is a correct syntax to output "Hello World" in Python?
echo("Hello World")
echo "Hello World"
print("Hello World")
PRINT("Hello World")
How do you create a variable with the numeric value 5?
Both are correct
x=5
x=int(5)
If num1 = 5
num2 = 6
then what will be the output of num1*num2
11
6
30
-1
What symbol do you use to make a comment in Python?
@
:
;
#
Which operator checks if a value is equal to another value?
+
-
==
!=
If p=25 , what is p**2?
50
125
600
625
Arithmetic Operator
What is a * ?
Addition
Subtraction
Multiplication
Division
The result of 10%2 will be :
1
5
2
0
What will be the result of
print(5*4)
20
5
4
16
What will be the result of:
print(12/5)
2.1
4.2
0
2.4
What will the output be from the following code?
print(3+4)
3+4
7
print(3+4)
Syntax error
Symbol used for finding the remainder after dividing
+
-
/
%
What is the first thing we have to write in the code
(a)
how to create a table
<td>
</tc>
<table>
<tr>
What does HTML stand for ?
Hiper text markup language
Hiperlink and text markup language
home tool markup language
Choose the correct HTML element for the largest heading:
<head>
<h6>
<h1>
<heading>
What is the correct HTML element for inserting a line break?
<br>
<break>
<lb>
What is the correct HTML for creating a hyperlink?
<a href="https://www.google.com/">Google</a>
<a> href="https://www.google.com/"Google</a>
<a href="https://www.google.com/"></a>
Which character is used to indicate an end tag?
/
^
*
<
Which of these elements are all <table> elements?
<table><tr><td>
<table><head><tfoot>
<table><tr><tt>
<thead><body><tr>
What is the correct HTML for inserting an image?
<img href="image.gif" alt="MyImage">
<image src="image.gif" alt="MyImage">
<img alt="MyImage">image.gif</img>
<img src="image.gif" alt="MyImage">
Which HTML element defines the title of a document?
<meta>
<title>
<head>
HTML stands for...
Hyper Time Multiple Language
Hyper Text Mark-up Language
Hippo T-Rex Mascot Lemur
Hipper Text Make Language
Which is the proper way to write an h1 tag
<h1>Hello</h1>
<h1>"Hello
{h1}Hello{/h1}
<h1>Hello<h1>
<p> tag is for...
Page of Text
Picture
Paragraph of text
Pineapples
What does a opening tag look like?
< >
</ >
<< >>
<
What does a closing tag look like?
< >
<\ >
</ >
<< >>
What should a HTML web page start with?
<b>
<li>
<html>
<start>
What should a HTML web page end with?
</html>
<head>
</end>
</body>
What does this tag stand for? <b>
bright
big
beautiful
bold
HTML stand for
Hyperlinks and Text Markup Language
Hyper Text Markup Language
Home Tool Markup Language
Hyper Text Markup Link
Who is making the Web standards?
Mozilla
Microsoft
World Wide Web Consortium
HTML tag for the largest heading
<h1>
<h6>
<head>h1<head>
<heading>h6<heading>
HTML tag for inserting a line break
<break />
<lb />
<br />
<linebreak />
HTML tag to make a text bold
<b>
<bold>
<textbold>
<boldtext>
HTML tag for creating a hyperlink
<a>http://www.sample.com</a>
<a name=http://www.sample.com> Sample.com </a>
<a url=http://www.sample.com> Sample.com </a>
<a herf=http://www.sample.com> Sample </a>
Which of these tags are all <table> tags?
<table><tr><td>
<table><tr><tt>
<thead><body><tr>
<table><head><tfoot>
How can you make a list that lists the items with numbers? (1,2,... i,ii,.... I,II,...)
<ul>
<list>
<li>
<ol>
What is the correct HTML for making a checkbox?
<checkbox>
<input type="check" />
<input type="checkbox" />
<check>
HTML tag for inserting an image
<img src="image.gif" alt="MyImage" />
<img href="image.gif" alt="MyImage" />
<image src="image.gif" alt="MyImage" />
<img alt="MyImage">image.gif</img>
