init yöntemi ne için kullanılır?

Python Sınıflarına İlişkin Quiz

Quiz
•
Computers
•
1st Grade
•
Hard
Mevlüt Can Adıyaman
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Sınıfın özelliklerini belirtmek için
Sınıfı tanımlamak için
Sınıfın nesnesini başlatmak için
Sınıfı silmek için
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Aşağıdaki ifadelerden hangisi bir sınıfın nesnesini oluşturur?
obj = MyClass()
obj = new MyClass()
obj = MyClass.create()
obj = MyClass.new()
3.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
Python'da bir sınıf (class) nasıl tanımlanır?
class MyClass:
define MyClass:
class = MyClass:
MyClass = class:
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Bir sınıfta yer alan metodu nasıl çağırırsınız?
self.method()
object.method()
object.method(self)
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
eq yöntemi ne için kullanılır?
İki nesnenin eşit olup olmadığını karşılaştırmak için
İki nesnenin tipini kontrol etmek için
İki nesnenin içeriğini yazdırmak için
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Aşağıdakilerden hangisi doğru bir init yöntemi (Yapıcı Metod) tanımıdır?
def __init__(self):
def init(self):
def init():
def init(self, name):
7.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Aşağıdakilerden hangisi doğru bir sınıf özelliği tanımıdır?
self.name = "John"
name = "John"
this.name = "John"
self.name == "John"
8.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
self parametresi ne işe yarar?
Sınıfın kendisine referans verir.
Sınıfın diğer özelliklerine erişimi sağlar.
Sınıfın diğer metodlarına erişimi sağlar.
Yukarıdakilerin hepsi
Similar Resources on Quizizz
10 questions
Python Pro 2 year 7 lesson begin

Quiz
•
1st Grade
12 questions
Python

Quiz
•
1st - 2nd Grade
12 questions
NFL FACTS

Quiz
•
KG - University
11 questions
Lego Spike Education

Quiz
•
1st Grade
5 questions
JS6 va javascript

Quiz
•
1st - 5th Grade
10 questions
Start_M5Y7

Quiz
•
1st Grade
7 questions
ООП-опп

Quiz
•
1st Grade
5 questions
HQ функции algorithm

Quiz
•
KG - 3rd Grade
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
20 questions
Telling Time to the Hour and Half hour

Quiz
•
1st Grade
15 questions
Disney Trivia

Quiz
•
KG - 5th Grade
15 questions
spelling

Quiz
•
1st - 2nd Grade
12 questions
Pixar Movies!

Quiz
•
KG - 5th Grade
15 questions
goods and services

Quiz
•
1st Grade
15 questions
Addition and Subtraction

Quiz
•
1st Grade
20 questions
Summer

Quiz
•
KG - University