Python Basics

Quiz
•
Computers
•
Professional Development
•
Hard
Vishal Sharma
Used 137+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Network+ Quiz 1

Quiz
•
Professional Development
10 questions
Python Basics: Dictionaries and Strings

Quiz
•
University - Professi...
10 questions
Scope Management

Quiz
•
University - Professi...
12 questions
FORMATIF INFORMATIKA

Quiz
•
Professional Development
10 questions
CEH Pre Assessment

Quiz
•
Professional Development
15 questions
AIML-Basic

Quiz
•
Professional Development
10 questions
CompTIA Security+ 11-20

Quiz
•
Professional Development
15 questions
lastpy

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development