Complete Python Scripting for Automation - Arithmetic and Assignment Operators
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an arithmetic operator in Python?
Modulo
Assignment
Subtraction
Addition
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python 3, what is the result of the expression 8 / 4?
4.0
4
2.0
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 3 ** 2 in Python?
6
9
8
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the modulo operator (%) return?
Difference
Quotient
Remainder
Product
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 7 // 2 in Python?
3.5
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what does the expression -9 // 2 evaluate to?
-3
-5
-4.5
-4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct use of the assignment operator?
x == 2
x => 2
x = 2
x += 2
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Data Science and Machine Learning (Theory and Projects) A to Z - String in Python: String Escape Sequences
Interactive video
•
University
8 questions
R Programming for Statistics and Data Science - If, Else, Else If Statements in R
Interactive video
•
University
8 questions
PySpark and AWS: Master Big Data with PySpark and AWS - Spark Streaming RDD Transformations
Interactive video
•
University
8 questions
React JS Masterclass - Go From Zero To Job Ready - Conditional Templates / 014
Interactive video
•
University
8 questions
Java Programming for Complete Beginners - Java 16 - Step 22 - Programming Tips: JShell - Shortcuts, Multiple Lines, and
Interactive video
•
University
6 questions
Feel Special With Personalized Online Shopping
Interactive video
•
University
6 questions
Snowflake - Build and Architect Data Pipelines Using AWS - Section Overview - Snowflake with Python, Spark, and Airflow
Interactive video
•
University
6 questions
Complete SAS Programming Guide - Learn SAS and Become a Data Ninja - Automatic Variables
Interactive video
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University