Python basics
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
Om sinha
Used 33+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to display output on the console in Python?
input()
print()
display()
output()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you get user input in Python?
get()
input()
user_input()
read()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to assign a value to a variable in Python?
==
<=
=
-=
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression: 5 + 3 * 2?
10
11
16
13
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^
//
%
**
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator is used to perform a logical AND operation in Python?
&
&&
|
and
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following expression: 10 > 5 and 3 < 2?
True
False
Error
None
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Review Komputer Mid SMP (1)
Quiz
•
8th Grade
15 questions
ข้อมูลและการประมวลผลข้อมูล
Quiz
•
7th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
20 questions
DPS Jorhat - Robotics Skill Assessment
Quiz
•
6th - 8th Grade
10 questions
Collaborating Online Respectfully - Quiz 2
Quiz
•
7th Grade
10 questions
Pretest Pengolahan Data Dasar
Quiz
•
7th Grade
20 questions
PENILAIAN HARIAN SISTEM KOMPUTER
Quiz
•
8th Grade
10 questions
Informatika
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
