
Câu hỏi về Python

Quiz
•
Other
•
9th Grade
•
Easy
nnm nnm
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result of print(2 ** 3)?
6
8
9
23
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one is used to define a function in Python?
func
define
def
function
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the data type of x = [1, 2, 3]?
Tuple
List
Dictionary
String
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the len() function do?
Returns the memory size of an object
Returns the length of a string or collection
Returns the largest element in a string
Returns the last element of a list
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which keyword is used to exit a loop in Python?
stop
break
exit
end
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result of print("Hello" + "World")?
Hello World
HelloWorld
Hello+World
Error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct way to write a single-line comment in Python?
// This is a comment
/* This is a comment */
# This is a comment
$ This is a comment $
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Simplifying Expressions Review (Honors Algebra)

Quiz
•
9th Grade
25 questions
Python While Loops

Quiz
•
9th Grade
25 questions
Egg Review

Quiz
•
9th - 12th Grade
35 questions
Tin HK2

Quiz
•
9th - 12th Grade
25 questions
AVENGERS ENDGAME - Super Fan Quiz

Quiz
•
KG - Professional Dev...
25 questions
Sports Quiz - Cognita

Quiz
•
7th Grade - Professio...
25 questions
AP Comp Sci A MidTerm Review

Quiz
•
9th - 12th Grade
27 questions
Rotation, Revolution, Seasons

Quiz
•
KG - University
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 Other
20 questions
Brand Labels

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

Quiz
•
6th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade
17 questions
Continents and Oceans

Lesson
•
5th - 9th Grade