Python Basics
Quiz
•
Computers
•
KG - University
•
Hard
Aiswarya Mohan
Used 247+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What will be the datatype of the var in the below code snippet?
float and str
number and str
int and str
number and char
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How is a code block indicated in Python?
Bracket
Indentation
Key
None of the above
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What will be the output of the following code snippet?
[2,2,3]
(2,2,3)
(1,2,3)
Error
Answer explanation
Tuples are immutable so can't be updated with a new value.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following code snippet?
int and float
float and int
float and float
int and int
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following code snippet?
15
0
20
None of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following concepts is not a part of Python?
Pointers
Loops
Dynamic typing
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be the output of the following code snippet?
['Sunday','Monday','Tuesday','Wednesday']
['Monday','Tuesday','Wednesday']
['Sunday','Monday','Wednesday']
None of these
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
16 questions
E-Commerce
Quiz
•
University - Professi...
14 questions
Grade 1 COMPUTER MOUSE UNIT TEST 4
Quiz
•
1st Grade
10 questions
CSS9_Q3M2L1_QUIZ3
Quiz
•
9th Grade
20 questions
DPS Jorhat - Robotics Skill Assessment
Quiz
•
6th - 8th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
19 questions
Halloween Trivia
Lesson
•
3rd - 5th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
10 questions
Halloween 2nd Grade
Quiz
•
2nd - 3rd Grade
25 questions
COMPUTER JOBS Exercise #2
Quiz
•
5th Grade
11 questions
Email Etiquette
Quiz
•
7th Grade
30 questions
Quiz 3 Review
Quiz
•
12th Grade
16 questions
Internet Safety
Quiz
•
3rd - 5th Grade
