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
16 questions
Python: Data Types and Variable Declarations

Quiz
•
6th Grade
16 questions
Year 9 Python Programming Quiz

Quiz
•
8th Grade
13 questions
Test

Quiz
•
7th Grade
10 questions
Computer Software

Quiz
•
7th - 8th Grade
20 questions
Python Basics

Quiz
•
7th Grade
19 questions
Java Basic 1 - Quiz

Quiz
•
8th Grade - University
10 questions
Y9 Intro to Python

Quiz
•
8th Grade
18 questions
Python ծրագրավորման լեզու

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade