CPE 2B

Assessment
•
Maria Lorena Villena
•
Computers
•
University
•
6 plays
•
Hard
Student preview

10 questions
Show all answers
1.
FILL IN THE BLANK
1 min • 1 pt
A type that represents sequences of characters.
2.
FILL IN THE BLANK
1 min • 1 pt
A statement that assigns a value to a variable.
3.
FILL IN THE BLANK
1 min • 1 pt
A section of code that represents a command or action. The _____________ we have seen are assignments and print statements.
4.
FILL IN THE BLANK
1 min • 1 pt
The operation that divides two numbers and chops off the fraction part.
5.
FILL IN THE BLANK
1 min • 1 pt
A combination of variables, operators, and values that represents a single result value.
6.
MULTIPLE CHOICE
30 sec • 1 pt
What is the order of precedence in python?
i) Parentheses
ii) Exponential
iii) Multiplication
iv) Division
v) Addition
vi) Subtraction
7.
MULTIPLE CHOICE
30 sec • 1 pt
What is answer of this expression, 22 % 3 is?
8.
MULTIPLE CHOICE
30 sec • 1 pt
The expression Int(x) implies that the variable x is converted to integer. State whether true or false.
9.
MULTIPLE CHOICE
30 sec • 1 pt
Which is the correct operator for power(xy)?
10.
MULTIPLE CHOICE
30 sec • 1 pt
What is the output of the following?
i = 1
while True:
if i%3 == 0:
break
print(i)
i + = 1
Explore all questions with a free account
Find a similar activity
Create activity tailored to your needs using
JAVA BTECH AI&DS

•
University
SARM CO5 QUIZ

•
University
KONSEP ASAS PEMIKIRAN KOMPUTASIONAL

•
University
Audacity

•
University
Python Quiz - 2

•
University
Data Analytics Workshop

•
University
JAVA JDBC

•
University
Quiz-AIML

•
University