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
Create a free account and access millions of resources
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?
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Science
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
