Python Basics
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Vishal Sharma
Used 137+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following?
a = True
b = False
c = False
if a or (b and c):
print("GEEKSFORGEEKS")
else:
print("geeksforgeeks")
geeksforgeeks
GEEKSFORGEEKS
error
no output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code :
print(9//2)
4.5
4.0
error
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a standard data type?
Tuple
Class
Dictionary
List
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is the object below ?
L = [1, 23, ‘hello’, 1]
List
Tuple
Dictionary
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is Python case sensitive when dealing with identifiers?
Machine Dependent
Yes
No
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is invalid?
_a=1
__a=1
__a__=1
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In order to store values in terms of key and value we use what core data type.
Dictionary
Tuple
List
None of the above
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
15 questions
Cloud Computing Model Exam-IV PART-B
Quiz
•
Professional Development
10 questions
Name that App/Site
Quiz
•
Professional Development
10 questions
Table relationships, SQL and Pandas joins
Quiz
•
Professional Development
10 questions
CEH Pre Assessment
Quiz
•
Professional Development
10 questions
Microsoft 365 for Teachers
Quiz
•
Professional Development
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
15 questions
SEC+ Ch.8 Review Test
Quiz
•
Professional Development
11 questions
5. Echo - Query And ORM
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
