Python EXPRESSION

Quiz
•
Computers
•
University
•
Medium
Darwin Vargas
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^
**
!
*
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following expressions will result in a TypeError?
'Hello' + ' World'
5 + 6
'5' + 5
7 * 3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the following expression: 10 % 3?
1
0
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression: 2 + 3 * 4?
20
14
12
24
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the expression 3 // 2 evaluate to in Python?
1.5
1
2
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the expression not True evaluate to?
True
False
None
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of 2 ** 3 ** 2?
512
64
256
128
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - University
20 questions
Introduction to Python

Quiz
•
University
20 questions
Basic Python

Quiz
•
University
20 questions
Introduction To Python

Quiz
•
University
20 questions
CodeHS - Intro to Python - Basics and Console Interaction

Quiz
•
9th Grade - Professio...
22 questions
EXCEPTION HANDLING IN PYTHON

Quiz
•
University
20 questions
Python Basics 1

Quiz
•
University
20 questions
Python Programming Quiz

Quiz
•
10th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

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

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade