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
26 questions
ULANGAN HARIAN PEMROGRAMAN C

Quiz
•
12th Grade
25 questions
MEDIA LITERACY

Quiz
•
12th Grade
25 questions
Sumatif Arduino V.3

Quiz
•
12th Grade
30 questions
Python Basics (Easy)

Quiz
•
9th - 12th Grade
25 questions
TIK KLS 12

Quiz
•
12th Grade
25 questions
python loop 7th

Quiz
•
7th Grade - University
30 questions
String

Quiz
•
10th Grade - University
25 questions
COMP SCI (FUNCTIONS)

Quiz
•
12th Grade
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