class Avoid:
def m1(self):
print('m1 in A')
class B(Avoid):
def m1(self):
print('m1 in B')
a = B()
a.m1()
Quiz 6
Quiz
•
Computers
•
University
•
Medium
Mohand Mahmoud
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
class Avoid:
def m1(self):
print('m1 in A')
class B(Avoid):
def m1(self):
print('m1 in B')
a = B()
a.m1()
m1 in A
m1 in B
m1 in A m1 in B
m1 in A m1 in A
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
methods can't return objects?
False
True
4.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
which of the following is not oop concopet?
Encapsulation
polymorphism
inherentiance
exception
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
class Home:
def init(self,name,HomeName):
self.name=name
self.HomeName=HomeName
x = Home()
x.homeName = 'Giza'
print(x.homeName)
Giza
Error
Home()
None
6.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
class Home:
def init(self,name,HomeName):
self.name=name
self.HomeName=HomeName
x = Home("Ahmed","Giza")
print(x.HomeName)
Giza
None
Error
Ahmed Giza Giza
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
2023
7
4
4\7\2023
15 questions
Py-Hackathon - Week 2 - Day 2
Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy
Quiz
•
University
10 questions
MOAC Word 2016 Lesson 1
Quiz
•
8th Grade - University
10 questions
Introduction to Python Quiz
Quiz
•
8th Grade - University
10 questions
AITT LAB QUIZ 4
Quiz
•
University
11 questions
Array
Quiz
•
University
10 questions
DS UNIT-2 TEST-3
Quiz
•
University
10 questions
COMPUTER 7 SUMMATIVE EXAM
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade