
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
35 questions
CMU Review Units 1-4: Part 1 of 2

Quiz
•
9th Grade
25 questions
NBA Quiz

Quiz
•
KG - Professional Dev...
25 questions
Workplace Readiness Skills

Quiz
•
6th - 12th Grade
25 questions
DBZ Quiz

Quiz
•
KG - Professional Dev...
30 questions
Внеурочка для 9 класса

Quiz
•
9th Grade
27 questions
Python1

Quiz
•
9th - 12th Grade
26 questions
Python Basics Quiz

Quiz
•
9th Grade
33 questions
file 3

Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade