Test vòng loại Python - HKICO

Quiz
•
Education
•
6th - 8th Grade
•
Hard
Mạnh Tuấn Đồng
Used 47+ times
FREE Resource
16 questions
Show all answers
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Musical Genres

Quiz
•
5th - 10th Grade
15 questions
Multiply Fractions and Mixed Numbers

Quiz
•
6th - 7th Grade
20 questions
Miracles Of Jesus- The Great Catch Of Fish &The Blind Beggar

Quiz
•
4th - 12th Grade
16 questions
TPA Analogi #1

Quiz
•
6th Grade
20 questions
QUIZ 3 : TOPIC 2 [MANUFACTURING COSTS:CONCEPTS & COMPONENTS]

Quiz
•
1st Grade - University
15 questions
Honesty

Quiz
•
1st - 6th Grade
18 questions
Money Week 2023

Quiz
•
6th - 8th Grade
20 questions
Adverbs of Frequency

Quiz
•
4th - 6th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Morpheme Mastery Quiz for Grade 7

Quiz
•
7th Grade