Introductory Quiz

Quiz
•
Other
•
9th - 12th Grade
•
Hard
Grace Mutinda
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is python programming?
A type of snake found in tropical regions
A computer algorithm used for data analysis
A type of computer hardware built for high-performance computing
A programming language known for its simplicity and readability
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What data types are there in Python?
Integer, Float, String, List, Tuple, Dictionary
Number, Text, Boolean, Array, Object
Char, Decimal, Array, Dictionary, Set, File
Int, Float, Str, Bool, List, Tuple
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you import the 'math' module in Python?
import math
import module math
use math
from math import *
4.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
What is the output of the following code?
x = 10
if x > 5:
print("x is greater than 5")
elif x < 5:
print("x is less than 5")
else: print("x is equal to 5")
x is greater than 5
x is less than 5
x is equal to 5
Error
5.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
What is the purpose of indentation in Python?
It enhances readability
It is required for loops and conditional statements
It helps in structuring code blocks
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output of the following code?
print(3 * 'Hello ')
3
Hello Hello Hello
Hello
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What does the 'len()' function do in Python?
Returns the length of a string
Returns the length of a list
Returns the length of a dictionary
All of the above
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Kuis TIK C++

Quiz
•
9th - 12th Grade
8 questions
Quiz de Python

Quiz
•
12th Grade
9 questions
Bài 29. Nhận biết lỗi chương trình - Tin học 10

Quiz
•
11th Grade
10 questions
Simple Easy Basic Lua Quiz

Quiz
•
4th Grade - Professio...
9 questions
Python Logical Operators Quiz

Quiz
•
9th Grade
10 questions
vận dụng

Quiz
•
10th Grade
10 questions
Python Turtle

Quiz
•
11th Grade
15 questions
Python 03 For Loop

Quiz
•
4th - 9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade