OOP()
Quiz
•
Science
•
Professional Development
•
Practice Problem
•
Medium
habip akyol
Used 9+ times
FREE Resource
Enhance your content in a minute
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Aşağıdaki kod parçacığında hangi sınıfın hangi sınıftan türeyen bir sınıf olduğunu belirtin
public class Animal
{
public string Name { get; set; }
public int Age { get; set; }
}
public class Dog : Animal
{
public string Breed { get; set; }
}
Dog sınıfı Animal sınıftan türeyen bir sınıftır.
Animal sınıfı Dog sınıftan türeyen bir sınıftır.
Dog sınıfı Breed sınıftan türeyen bir sınıftır.
Breed sınıfı Animal sınıftan türeyen bir sınıftır.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
C# dilinde bir sınıf nasıl tanımlanır?
class MyClass { }
struct MyStruct { }
interface IMyInterface { }
Hepsi
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
OOP'nin temel prensiplerinden biri olan "Encapsulation" nedir?
Nesnelerin çok biçimliliği
Nesnelerin iç durumlarının gizlenmesi ve sadece belirli yöntemlerle erişilebilmesi
Nesnelerin birbirleriyle iletişim kurması
Nesnelerin kalıtım alması
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
C# dilinde bir sınıfın kalıtım almasını sağlamak için kullanılan anahtar kelime nedir?
:
new
base
inherit
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Bir nesnenin farklı durumlarına karşılık gelen özellikleri saklamak için hangi nesne yönelimli programlama özelliği kullanılır?
Polimorfizm
Kalıtım(Inheritance)
Encapsulation
Soyut Sınıflar
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
C# dilinde abstract bir sınıfın içindeki abstract olmayan bir metot nasıl tanımlanır?
abstract void MyMethod() { }
virtual void MyMethod() { }
void MyMethod() { abstract; }
abstract virtual void MyMethod() { }
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
"this" anahtar kelimesi neyi ifade eder?
Bir metodu diğer bir metottan çağırma
Bir sınıfın kendisini ifade etme
Bir sınıfın başka bir sınıftan türemesini engelleme
Bir sınıfın arayüzü uygulamasını sağlama
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
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
