
Питон 1-50

Quiz
•
Information Technology (IT)
•
University
•
Easy
Yana Mitina
Used 8+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a variable in Python?
To store data values.
To execute Python code.
To display output on the screen.
To import external libraries.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to display "Hello, World!" in Python?
print("Hello, World!")
echo "Hello, World!"
printf("Hello, World!")
System.out.print("Hello, World!")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a sequence of characters in Python?
str
int
list
dict
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the input() function in Python?
To take user input.
To define a variable.
To iterate over a sequence.
To display output.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a list in Python?
my_list = [1, 2, 3]
my_list = {1, 2, 3}
my_list = (1, 2, 3)
my_list = <1, 2, 3>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python operator is used for addition?
+
-
*
/
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for a while loop in Python?
while x > 10:
while(x > 10)
while x < 10
repeat while x < 10
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Кәсіби ағылшын 51 - 100

Quiz
•
University
53 questions
Câu Hỏi Trắc Nghiệm Python

Quiz
•
University
49 questions
Python Programming Quiz

Quiz
•
University
50 questions
Kuis Pemrograman Python

Quiz
•
University
55 questions
Chapter 6 - Chapter 8 Python

Quiz
•
University
50 questions
Java қазақша 101 - 150

Quiz
•
University
50 questions
Quiz Pengetahuan Umum

Quiz
•
10th Grade - University
50 questions
Java қазақша 1 - 50

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade