
Demo2

Quiz
•
Education
•
University
•
Hard
Jaganmohan Bondala
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
hi
hello
hri
naadi
meedi
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be output for the folllowing code?
class test:
def __init__(self,a):
self.a=a
def display(self):
print(self.a)
obj=test()
obj.display()
Runs normally, doesn’t display anything
Displays 0, which is the automatic default value
Error as one argument is required while creating the object
Error as display function requires additional argument
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select correct python packages from following
numpy
opencv
math
matplotlib
decimal
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the code shown below?
g = (i for i in range(5))
type(g)
class <’loop’>
class <‘iteration’>
class <’range’>
class <’generator’>
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Which of the following is a feature of DocString?
Provide a convenient way of associating documentation with Python modules, functions, classes, and methods
All functions should have a docstring
Docstrings can be accessed by the __doc__ attribute on objects
All of the mentioned
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the correct file extension for Python files?
.py
.pyt
.pyth
Similar Resources on Wayground
10 questions
Special Needs Assignment

Quiz
•
University
8 questions
Кіріктірілген функциялар

Quiz
•
1st Grade - University
10 questions
Reflective teacher

Quiz
•
University
10 questions
Квиз по Python

Quiz
•
University
10 questions
Contract Grading

Quiz
•
University
10 questions
Domain 2: Learning Environments

Quiz
•
University
11 questions
Python - Functions

Quiz
•
University
10 questions
Name That SEL Core Competency!

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 Education
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