Python basics

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Om sinha
Used 33+ times
FREE Resource
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
Similar Resources on Wayground
14 questions
Пайтон. 7 клас. Алгоритми

Quiz
•
7th Grade
15 questions
Test 1 Python (2024-2025)

Quiz
•
6th - 8th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
python quiz

Quiz
•
6th Grade - Professio...
11 questions
Basic C++ Programming

Quiz
•
6th - 7th Grade
12 questions
C++

Quiz
•
7th Grade
10 questions
Introducing Python

Quiz
•
7th Grade
10 questions
Python dla bardzo początkujących

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
14 questions
Computer Hardware

Quiz
•
7th Grade
10 questions
Networking Devices and Their Functions

Interactive video
•
5th - 8th Grade