
ООП лекция1
Authored by СМАГУЛОВА ЛАУРА
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Конструктор дегеніміз не?
Объектіні жоятын әдіс
Кластың атрибуттарын өзгерту әдісі
Объектіні құрған кезде шақырылатын әдіс
Класс туралы ақпаратты шығаратын әдіс
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Объектіні инициалдау үшін қандай әдіс қолданылады?
__init__
__del__
set_coords
get_coords
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Класс әдістеріне әрқашан қандай параметр беріледі?
self
cls
obj
data
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
__del__ әдісі не істейді?
Объектіні инициализациялайды
Объект туралы ақпаратты шығарады
Объектіні жасайды
Объектіні жояды
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Келесі кодта қай әдіс нүктенің координаттарын қайтарады?
сlass Point:
color = 'red'
circle = 2
def set_coords(self, x, y):
self.x = x
self.y = y
def get_coords(self):
return (self.x, self.y)
print(pt.get_coords())
get_coords
set_coords
__init__
__del__
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
set_coords әдісі шақырылғанда не болады?
сlass Point:
color = 'red'
circle = 2
def set_coords(self, x, y):
self.x = x
self.y = y
def get_coords(self):
return (self.x, self.y)
print(pt.get_coords())
Объектінің координаталары орнатылады
Нүктенің координаталарын қайтарады
Класс туралы ақпарат шығарылады
Жаңа объекті жасалады
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Point класындағы 'red' мәні бар атрибут қайсы?
сlass Point:
color = 'red'
circle = 2
def set_coords(self, x, y):
self.x = x
self.y = y
def get_coords(self):
return (self.x, self.y)
color
circle
self.x=color
y=color
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
7-面向对象编程、类与对象
Quiz
•
University
10 questions
DS UNIT-2 TEST-3
Quiz
•
University
15 questions
Exception handling -oracle plsql
Quiz
•
University
15 questions
DBMS
Quiz
•
University
10 questions
CSF Week 2
Quiz
•
University
15 questions
GIS Unit III
Quiz
•
University
10 questions
Introduction to Git and Github
Quiz
•
University
18 questions
Job roles in IT technical support and management
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University