Demo2

Demo2

University

6 Qs

quiz-placeholder

Similar activities

Quiz Módulo1

Quiz Módulo1

University

10 Qs

Perbandingan UU

Perbandingan UU

University

8 Qs

Models of Effective Instruction

Models of Effective Instruction

University - Professional Development

11 Qs

Repaso

Repaso

University

11 Qs

EDS 711 Intro Class

EDS 711 Intro Class

University

11 Qs

Pajak Bertutur 2021

Pajak Bertutur 2021

University

10 Qs

Media Pembelajaran 1

Media Pembelajaran 1

University

10 Qs

NSTP-PRE-TEST

NSTP-PRE-TEST

University

10 Qs

Demo2

Demo2

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

Jaganmohan Bondala

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Education