1-What is Python?
Python-1st

Quiz
•
Computers
•
University
•
Easy
Anwar Nasr Eldeen
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a) A snake
b) A programming language
c) A type of food
d) A country
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2-What is the syntax to print "Hello, World!" in Python?
a) print("Hello, World!")
b) println("Hello, World!")
c) printf("Hello, World!")
d) System.out.println("Hello, World!")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3-How do you declare a variable in Python?
a) var x = 5
b) x = 5
c) int x = 5
d) let x = 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4-What is the correct way to write a comment in Python?
a) // This is a comment
b) /* This is a comment */
c) # This is a comment
d) <!-- This is a comment -->
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5-Which of the following is NOT a data type in Python?
a) int
b) float
c) string
d) boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6-How do you check the length of a string in Python?
a) length(string_variable)
b) strlen(string_variable)
c) len(string_variable)
d) count(string_variable)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7-What is the output of the following code?
x = 5
y = 2
print(x % y)
a) 2
b) 2.5
c) 3
d) 0
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
PSP Week3

Quiz
•
University
10 questions
python quiz

Quiz
•
6th Grade - Professio...
15 questions
Python2

Quiz
•
8th Grade - University
15 questions
Python introduction

Quiz
•
University
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
13 questions
Python Reflect

Quiz
•
8th Grade - University
10 questions
Basic python

Quiz
•
University
7 questions
Python Basics Day 2

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade