Python basics

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Om sinha
Used 32+ 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
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
10 questions
Python Basics

Quiz
•
4th - 7th Grade
10 questions
Programming in Java

Quiz
•
8th Grade
12 questions
Introduction to Python Programming

Quiz
•
7th - 10th Grade
12 questions
Python - Data Types and Operators

Quiz
•
7th Grade
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
20 questions
quiz dasar python

Quiz
•
1st Grade - University
10 questions
Y9 Intro to Python

Quiz
•
8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade