Python Basics
Quiz
•
Computers
•
6th Grade - University
•
Hard
Sreelakshmi Sridhar
Used 16+ times
FREE Resource
Enhance your content in a minute
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!
Create a free account and access millions of resources
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
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
Bài 6: Mạng thông tin toàn cầu
Quiz
•
9th Grade
10 questions
Post Test #4 - Python Fundamental #3
Quiz
•
University
10 questions
Google Apps
Quiz
•
4th - 12th Grade
10 questions
Week 7- Technical Drafting 11 (Pre-test)
Quiz
•
11th Grade
10 questions
Phần 1-Khởi động
Quiz
•
11th Grade
11 questions
77. Data_Rep - Binary Measurements Quiz
Quiz
•
9th - 12th Grade
10 questions
Technical Terms - Internet (A-Z) - E-Commerce
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
