Python-Expressions#1

Quiz
•
Computers
•
12th Grade - University
•
Hard
Rafeeque PC
Used 67+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a proper arithmetic expression in Python?
10 (15 + 6)
(10 * 2) (4 + 8)
5 * (6 - 2)
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following are valid assignment statements in which only variable k has already assigned a value?
n = k + 1
n = n + 1
n + k = 10
n + 1 = 1
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following expression evaluates to ?
2 + 9 * ((3 * 12) - 8) / 10
27
27.2
28
30.8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expression in Python
2 * 3 ** 2
18
36
12
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expression in Python?
24 // 4 // 4
1
2
24
1.5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following arithmetic expression in Python ?
2 ** 2 ** 3
256
48
64
512
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expression in Python?
2 + int(4.5)
6
6.5
7
Error
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Python Operators

Quiz
•
12th Grade
13 questions
Intro to IF statements

Quiz
•
KG - University
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
10 questions
PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

Quiz
•
University
15 questions
Python

Quiz
•
University
14 questions
Understanding Python Basics

Quiz
•
8th Grade - University
15 questions
Python - Chpt 1 - Review

Quiz
•
9th - 12th Grade
13 questions
Init Me 3.1-1

Quiz
•
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
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University