Your Mindset Right now
Intermediate Python

Quiz
•
Computers
•
University
•
Medium
Valai Ganesh
Used 14+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable named bike and assign the value Kawasaki H2R to it
bike= Kawasaki H2R
"bike" = Kawasaki
H2R bike= "Kawasaki H2R"
"KawasakiH2R"= bike
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable named x and assign the value of integer 50 to it
x="50"
x: 50
"x"=50
x=50
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Display the sum of 5 + 10, using two variables: x and y
x=y y = 10
print(x +y)
x=5 y = x
print(x +y)
x=10 y =5
print(x +y)
x=5 y =10
print(x +y)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the illegal variable name
2my-first_name = "John"
my-firstname = "John"
__my-first_name = "John"
my2-first_name = "John"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is used to print the length of a string
len()
length()
type.legth()
fulllength()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can we use to get the first character of a string txt= "Banana"
x=txt(0)
x=txt(1)
x=txt[0]
x=txt[1]
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
JAVA Quiz

Quiz
•
University
20 questions
Python Functions and File Operations Quiz

Quiz
•
University
15 questions
Quiz4

Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
15 questions
Examen Final Python

Quiz
•
University
10 questions
Python - Functions

Quiz
•
University
20 questions
JAVA Basics Quiz

Quiz
•
University
15 questions
Python-loops, branches, functions

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade