Python Quiz Techno India

Quiz
•
Computers
•
University
•
Medium
Rahul Mahato
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What datatype is the object below?
L = [1, 23, ‘hello’, 1]
list
dictionary
array
tuple
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write the output of below code:
a = True
b = False
c = True
if not a or b:
print ("a")
elif not a or not b and c:
print ("b")
elif not a or b or not b and a:
print ("c")
else:
print ("d")
a
b
c
d
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the answer to this expression, 22 % 3 is?
7
1
0
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Operators with the same precedence are evaluated in which manner?
Right to Left
Left to Right
Can’t say
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following has the highest precedence in the expression?
Exponential
Addition
Multiplication
Parentheses
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
print(t[3])
print(max(t))
print(len(t))
t[3] = 45
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is called when a function is defined inside a class?
Module
Class
Another function
Method
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Python

Quiz
•
10th Grade - University
15 questions
Coding and Debugging

Quiz
•
University
10 questions
Quiz on OOPs- Day 1 (30-01-2025)

Quiz
•
University
10 questions
V1 unit 3 and 4Quiz

Quiz
•
University
10 questions
Python Sets

Quiz
•
University
15 questions
Dictionary Python

Quiz
•
University
10 questions
Unit 2 Python

Quiz
•
University
12 questions
kotlin Quiz 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University