
ООП лекция1

Quiz
•
Computers
•
University
•
Medium
СМАГУЛОВА ЛАУРА
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Баймаханова Айгуль

Quiz
•
University
10 questions
NLP-Transformers Last Quiz

Quiz
•
University
10 questions
Jenis-Jenis Aplikasi E-learning

Quiz
•
University
12 questions
C/C++ C Function

Quiz
•
University
10 questions
Lesson 3: Boolean Logic and Logic Gates

Quiz
•
University
11 questions
Quiz 5

Quiz
•
University
15 questions
Engineering ACW Semester 2 - #5 AI Part 2

Quiz
•
University
10 questions
Scrum 101: The Introduction

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University