
Python quiz 1

Quiz
•
Other, Other
•
Professional Development
•
Medium
V Analysts
Used 10+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the Variables and constants in the expression a = b + 5
a is a variable, b and 5 are constants
a and b are variables, 5 is a constant
a is a constant, b and 5 are variables
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is a valid variable assignment operation?
5 = Alpha
Alpha = 5
Alpha = @5
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Beta = “True”. What is the type of data assigned to the Beta variable?
Boolean
String
int
decimal
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The weight of a person which is 50.50 should be saved as what type of variable?
String
int
float
boolean
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the // operator do
Float division
integer division
gives remainder
none of the above
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the below options will give you the remainder of a division?
%%
%
/
*
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You can perform mathematical operations on a string.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
WCS 1105-3 - Knowledge Assessment

Quiz
•
Professional Development
15 questions
Bridging the Generational Gap

Quiz
•
Professional Development
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
6 questions
Python String

Quiz
•
Professional Development
6 questions
Kuliah Umum Promkes Poltekes

Quiz
•
Professional Development
10 questions
Introducción a Variables y Tipos en Python

Quiz
•
Professional Development
10 questions
Snakes

Quiz
•
3rd Grade - Professio...
8 questions
EVE Online

Quiz
•
7th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade