python q1

Quiz
•
Computers
•
12th Grade
•
Hard

rancho labs
Used 3+ times
FREE Resource
28 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
What is the result of the following expression?
x = 5
y = 2
z = x % y
print(z)
2.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following is a data type in Python? Select multiple answers.
int
words
string
decimals
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a core data type in Python programming?
a) Tuples
b) Lists
c) Class
d) Dictionary
4.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
Find output of this code-
age=15
if age < 18:
print("Cannot vote")
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Mention the other name for Iterative statements.
Loops
Algorithm
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
i = 1
while True:
if i%7 == 0:
break
print(i)
i += 1
123456
1234567
error
none
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Name the two types of loops.
For,While
While,if
For,if
if,if else
Create a free account and access millions of resources
Similar Resources on Wayground
27 questions
python string

Quiz
•
9th - 12th Grade
25 questions
หน่วยที่ 2 การแก้ปัญหาด้วยภาษาไพธอน ม.2

Quiz
•
12th Grade
30 questions
QUIZZ TIK

Quiz
•
10th Grade - University
29 questions
Python Y10

Quiz
•
4th - 12th Grade
23 questions
Latihan Hardware - Software - Brainware

Quiz
•
9th - 12th Grade
23 questions
Robotics II Test 1

Quiz
•
12th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
28 questions
Python Functions Review Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade