
Test vòng loại Python - HKICO
Authored by Mạnh Tuấn Đồng
Education
6th - 8th Grade
16 Questions
Used 54+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Python language was developed in what year?
1985
1820
1991
2001
1979
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is a statement in programming?
Expresses an action to be carried out
Always returns results like expressions
Rules controlling how components in a program are combined
An instruction to perform a task, usually one word
None of the above
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following code?
var = "James" 2 * 3
print(var)
James
JamesJamesJamesJamesJamesJames
JamesJamesJamesJamesJames
Error: invalid syntax
None of the above
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following code?
str = "pynative"
print (str[1:3])
py
yn
pyn
yna
pn
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What output will the console show, if 15 and 30 are entered by the user?
num1 = input(“Enter your first number”)
num2 = input(“Enter your second number”)
print (num1 + num2)
Syntax error
The concatenation of the two numbers 1530
The sum of the two numbers 45
Compiler error
None of the above
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which one will display when this code is run?
for I in range(10):
print(i)
None of the above
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following code?
var= "James Bond"
print(var[2::-1])
Jam
dno
maJ
dnoB semaJ
Bon
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
BECAUSE or SO
Quiz
•
7th Grade
13 questions
Computer Health and Safety Quiz
Quiz
•
7th - 9th Grade
20 questions
Ordinal Number
Quiz
•
3rd Grade - University
11 questions
An Uncomfortable Bed
Quiz
•
5th - 8th Grade
20 questions
REVISION CHAPTER 8 & 9
Quiz
•
3rd Grade - University
12 questions
name of accounts
Quiz
•
1st - 10th Grade
20 questions
Demokratie
Quiz
•
2nd - 12th Grade
15 questions
ചാന്ദ്രദിന ക്വിസ്
Quiz
•
5th - 7th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade