
Python Basics
Authored by Sreelakshmi Sridhar
Computers
6th Grade - University
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the Data Type which is not present in Python Language
Integer
Boolean
Number
Float
String
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What letter will be printed on the screen after running this code:
x = 'Python Programming'
l =x[-4:-1]
Error
ming
Prog
min
ing
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The string data type is an immutable data type
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
word = "amazing"
For the given string if we execute word[2:5] , what would the result be?
amaz
mazi
azi
azin
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For strings, the + operator represents
Concatenation
Addition
Appending
Recantation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following statement?
print(3 * "Hello")
Error
3Hello
Hello3
HelloHelloHellow
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello world!\nHello world!")
Hello world! Hello world!
Hello world!
Hello world!
SyntaxError
Hello world!
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
HTML & Google Site Seatwork
Quiz
•
12th Grade
15 questions
1.1 Computer Systems Essential Knowledge
Quiz
•
9th - 12th Grade
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
13 questions
Контрольная Программирование 8 класс
Quiz
•
8th Grade
10 questions
สอบย่อย ครั้งที่ 1 (BC.2/2)
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade