Encapsulation
Abstraction and Overriding
Inheritance
Polymorphism
OOP in General
100

Main reason for encapsulation

S______

what is security?
100

The keyword used in programming to add abstraction

what is Abstract?

100

Keyword used for inheritance in coding C#

What is colon?
100

Meaning of the term "Polymorphism"

what is having multiple shapes?


100

The blueprint of an object

What is class?

200

Determines the accessibility of classes, methods, and other members within a program.

what are access modifiers?
200

The keyword used for PERMISSION to override a method

what is Virtual?

200

Phrase to show the hierarchy of characteristic

What is "is a"?

200

Using class types, the higher the level the ___________

What is less specific?

200

The pillar of OOP to use for data encryption

What is encapsulation?

300

Give 3 possible keywords for encapsulation when writing code in C#

What is private, protected, public, internal, protected internal, or private protected

300

The keyword used to change the output of an existing method in C#

What is Override?

300

Phrase to show the that a class contains or uses another class

what is "has a"?

300

Allows programmers to avoid conditional statements

What is Polymorphism?

300

The only class that cannot be instantiated

What is abstract class?

400

Members with this access modifier are accessible from any other code in the same assembly or in another assembly that references it

What is public?

400

One of the important of abstraction


M______

What is modularity?

400

Methods that create objects from a class which has the same name as the class

What is constructor?

400

The bugged code in this source:

Animal Fox = new Fox(string color);
Fox.Run();
Console.Write("Fox' color is " + Fox.color);

What is string color?

400
Pillar of OOP that deals with Specification and Generalization

What is inheritance?

500

Members with this access modifier are accessible only from within the same class or struct. They cannot be accessed from outside the containing class

What is private?

500

One of the importance of abstraction

I________ H__________

What is information hiding?

500
3 parts of an inheritance coding in C#

Base class (superclass), child class (subclass), colon

500

The bugged code in this source:

Animal Pig= new Pig("Oinky");
Pig.Sleep();
Console.WriteLine("Pig's name is " + Pig.name);

What is No Error?

500

The line number of Polymorphism:

1    public Animal(string name, int age):base(name){
2         this.name=name;  
3         public override void Walk(){}   }
4    public static void main(String [] args){
5        Animal Oinky = new Pig();
6        private void Polymorph();
7    }

What is 5?