
GirlsWhoML Workshop 0
Quiz
•
Computers
•
University
•
Medium
NOOR NABEELAK
Used 3+ times
FREE Resource
Enhance your content
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid variable name in Python?
2name
_name
l-name
my name
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the following code?
x = 5
y = "5"
print(x + y)
10
55
error
5+5
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What happens when you assign x = y = z = 10 in Python?
x gets 10, but y and z remain None
x, y, and z all get 10
x gets 10, but y and z remain uninitialized
Syntax error
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of type(10.0)
float
int
double
str
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct way to convert a string "25" to an integer?
float("25")
list("25")
str("25")
int("25")
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many times will the following loop execute?
for i in range(1, 5):
print(i)
2
3
4
5
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What keyword is used to skip an iteration in a loop?
continue
pass
skip
break
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
20 questions
Quiz 1: Steps in Problem Solving
Quiz
•
University
17 questions
Grade 4 Computer Science Quiz
Quiz
•
4th Grade - University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
20 questions
Algoritma Remedial RPL
Quiz
•
University
15 questions
Chapter 8 - Memory Management Strategies
Quiz
•
University
20 questions
IT Essential UIUX Chapter 03 (Typography)
Quiz
•
University
15 questions
Web Development Revision 1
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University