Quiz 3.3

Quiz 3.3

Professional Development

8 Qs

quiz-placeholder

Similar activities

Python

Python

University - Professional Development

10 Qs

BoostHours Python 09/04

BoostHours Python 09/04

Professional Development

10 Qs

Introduction to programming

Introduction to programming

Professional Development

10 Qs

Python OOPS Concepts

Python OOPS Concepts

Professional Development

12 Qs

01 Python (Print & Input)

01 Python (Print & Input)

Professional Development

10 Qs

Getting Started with Java Quiz

Getting Started with Java Quiz

10th Grade - Professional Development

10 Qs

Phyton  Review Lesson 1-10

Phyton Review Lesson 1-10

12th Grade - Professional Development

5 Qs

[PYTHON] modulo_4

[PYTHON] modulo_4

Professional Development

11 Qs

Quiz 3.3

Quiz 3.3

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Mohand Mahmoud

FREE Resource

8 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

i=2

print(i)

print(i+1)

print(++i);


2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

class hh:

def init(self,x):

self.x=x print(10)

h=hh(11)

h=hh(9)

print(h.x)

What is the output of this code?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

class Human:

def init(self,x,y,z):

self.x=x

self.y=y

self.z=z

print(x)

print(y)

print(z)

h=Human(10,5,8)

print(h.x)

print(h.y)

print(h.z)

What is the output of this code?

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

class Avoid:

def m1(self):

print('m1 in A')

class B(Avoid):

def m1(self):

print('m1 in B')

a = B()

a.m1()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

methods can't return objects?

False

True

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

class Student:

def init(self,name):

self.name=name

stu =Student('ali')

print(stu.name)

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

class Home:

def init(self,name,HomeName):

self.name=name

self.HomeName=HomeName

x = Home()

x.homeName = 'Giza'

print(x.homeName)

8.

FILL IN THE BLANK QUESTION

1 min • 1 pt

class Home:

def init(self,name,HomeName):

self.name=name

self.HomeName=HomeName

x = Home("Ahmed","Giza")

print(x.HomeName)G