
GirlsWhoML Workshop 0

Quiz
•
Computers
•
University
•
Medium
NOOR NABEELAK
Used 3+ times
FREE Resource
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
Similar Resources on Wayground
19 questions
DSA Quest 1.0

Quiz
•
University
25 questions
DSA - Q1

Quiz
•
University
18 questions
Java Programming Quiz

Quiz
•
University
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
15 questions
Round 1 (Tech Utsav)

Quiz
•
University
15 questions
Round 2 Debug-The-Code

Quiz
•
University
18 questions
Array_to be discussF3

Quiz
•
University
15 questions
JavaScript

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Computers
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University