Quiz
Untitled
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (23)
1110.Drawing begins with the ...
- Aa) System.Drawing.Pen class
- Bb) System.Drawing.Graphics class
- Cc) System.Drawing.Brush class
- Dd) System.Drawing.Image class
2109. Which properties of controls can be used to specify its location?
- Aa) Size
- Bb) Left, Right, Top, Bottom
- Cc) ForeColor and BlackColor
- Dd) Left, Right
3108. Choose the correct code to specify the size of control?
- Aa) button1.Size = new Size(10,10);
- Bb) button1.Location = Point(10,10);
- Cc) button1.Location(10,10);
- Dd) button1.Location = new Point(10,10);
4107. Choose the correct code to specify the location of control?
- Aa) button1.Size = new Size(10,10);
- Bb) button1.Location = Point(10,10);
- Cc) button1.Location(10,10);
- Dd) button1.Location = new Point(10,10);
5106. Which class is used to fill shapes?
- Aa) The Brush class
- Bb) The Pencil class
- Cc) The Pen class
- Dd) The Region class
6105. Which class is used to draw lines, curves and shapes?
- Aa) The Brush class
- Bb) The Pencil class
- Cc) The Pen class
- Dd) The Region class
7104. The .NET Framework allows to work with graphics using the ...
- Aa) System.Drawing namespace
- Bb) System.IO namespace
- Cc) System.Windows.Form namespace
- Dd) System.Data namespace
8101. "Has-a" relationship commonly includes ...
- Aa) encapsulation and composition terms
- Bb) aggregation and polymorphism terms
- Cc) polymorphism and composition terms
- Dd) aggregation and composition terms
9100. "Has-a" relationship is ...
- Aa) traditional form of code reuse in the world of OPP
- Bb) another form of code reuse in the world of OOP
- Cc) traditional form of data protection in the world of OOP
- Dd) another form of data protection in the world of OOP
1095. An interface defines …
- Aa) the method signature
- Bb) the virtual methods
- Cc) the common methods
- Dd) the abstract methods
1194. An interface is defined using...
- Aa) the capital letter “I” in the name
- Bb) the interface keyword
- Cc) the abstract keyword
- Dd) the virtual keyword
1293. Which feature is not related to an abstract class?
- Aa) it is impossible to create an instance(object) of an abstract class
- Bb) all abstract methods and properties of a basic class have not to be realized in a derived class
- Cc) the abstract class may contain both abstract and common methods/properties
- Dd) all abstract methods and properties of a basic class have to be realized in a derived class
1384. The process termed "method overriding" is …
- Aa) a way for base classes to define as own version of a method defined by its parent class
- Bb) a way for child classes to define its own version of a method defined by its derived class
- Cc) a way for parent classes to define its own version of a method defined by its child class
- Dd) a way for child classes to define its own version of a method defined by its parent class
1483. The "base" keyword refers to …
- Aa) the parent class
- Bb) the child class
- Cc) derived class
1582. Another use of the "this" keyword is to design a class using a technique termed…
- Aa) constructor definition
- Bb) constructor creation
- Cc) constructor chaining
- Dd) constructor using
1681. Which members of parent class cannot be accessed to other classes, but can be accessed to its child
classes?- Aa) all members
- Bb) public members
- Cc) private members
- Dd) protected members
1780. Which classes cannot have its child classes?
- Aa) public classes
- Bb) sealed classes
- Cc) private classes
- Dd) derived classes
1878. Which members can never be accessed from parent class?
- Aa) public members
- Bb) private members
- Cc) protected members
- Dd) private and protected
1976. What role of parent class?
- Aa) define all the common data and members for the classes that extend it
- Bb) define all the common methods for the classes that extend it
- Cc) define all the common data for the classes that extend it
- Dd) define all the common properties and functions for the classes that extend it
2075. The extending classes are formally termed...
- Aa) child classes
- Bb) parent classes
- Cc) base classes
2174. The parent class is
- Aa) a child class
- Bb) a derived class
- Cc) a base class
2272. Inheritance of OOP facilities ...
- Aa) data protection
- Bb) data hiding
- Cc) code reuse
2373. Classical inheritance is …
- Aa) a model of “is-a” relationship
- Bb) a model of a “has-a” relationship
Information
- Description
- Quiz on Untitled, created by Курмангазы Орынбасаров on 22/01/2017.
- Author
- Курмангазы Орынбасаров
- Language
- English
- Views
- 3
- Rating
- No ratings yet Rate this quiz