Quiz
True or false
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 (39)
1The “for” statement can be an infinite loop
- ATrue
- BFalse
2The statements bodies of the “for” and “while” operators might never be executed.
- ATrue
- BFalse
3The statements bodies of the “for” and “while” operators must be executed at least once
- ATrue
- BFalse
4The statements bodies of the “for” and “foreach” operators might never be executed.
- ATrue
- BFalse
5The statements bodies of the “for” and “foreach” operators must be executed at least once.
- ATrue
- BFalse
6The classes are like new data types.
- ATrue
- BFalse
7. Procedures and constructors can’t be passed any arguments.
- ATrue
- BFalse
8Functions can’t be passed any arguments.
- ATrue
- BFalse
9Functions can be passed any arguments.
- ATrue
- BFalse
10Procedures can’t be passed any arguments.
- ATrue
- BFalse
11Procedures can be passed any arguments.
- ATrue
- BFalse
12Methods can be passed any arguments.
- ATrue
- BFalse
13Methods can’t be passed any arguments.
- ATrue
- BFalse
14In the static method must be absent “this” reference, as such method doesn’t work with any object.
- ATrue
- BFalse
15In the static method allowed immediate call only other instance methods.
- ATrue
- BFalse
16Constructors can’t be passed any arguments.
- ATrue
- BFalse
17Constructors can be passed any arguments
- ATrue
- BFalse
18Default constructors can’t be passed any arguments
- ATrue
- BFalse
19Default constructors can be passed any arguments.
- ATrue
- BFalse
20A child class inherits the constructor of a parent class.
- ATrue
- BFalse
21A virtual method of a parent class must be overridden for by each derived classes.
- ATrue
- BFalse
22. A virtual method of a parent class must not be overridden for by each derived classes.
- ATrue
- BFalse
23A virtual method of a parent class has its own implementation body block.
- ATrue
- BFalse
24A virtual method of a parent class has not its own implementation body block.
- ATrue
- BFalse
25An abstract method of a parent class has its own implementation body block.
- ATrue
- BFalse
26An abstract method of a parent class has not its own implementation body block.
- ATrue
- BFalse
27An abstract method of a parent class must be overridden for by each child class.
- ATrue
- BFalse
28An abstract method of a parent class must not be overridden for by each child class.
- ATrue
- BFalse
29Classes that implement an interface are contractually required to implement the interface signature
definition and can’t alter it.- ATrue
- BFalse
30A class can support as many interfaces as necessary
- ATrue
- BFalse
31A class can support only one interface.
- ATrue
- BFalse
32A class cannot support as many interfaces as necessary.
- ATrue
- BFalse
33"Has-a" relationship must establish parent/child relationships.
- ATrue
- BFalse
343.The "has-a" relationship allows one class to define a member variable of another class and expose its
functionality (if required) to the object user indirectly.- ATrue
- BFalse
35To use Draw methods of the graphic object, we must provide an instance of the Pen class
- ATrue
- BFalse
36To use Draw methods of the graphic object, we must provide an instance of the Brush class.
- ATrue
- BFalse
37.Graphics.DrawLines, Graphisc.DrawPolygon, and Graphics.DrawRectangles accept arrays as
parameters to allow us to create more complex shapes.- ATrue
- BFalse
38To use Fill methods of the graphic object, we must provide an instance of the Brush class.
- ATrue
- BFalse
39To use Fill methods of the graphic object, we must provide an instance of the Pen class
- ATrue
- BFalse
Information
- Description
- Quiz on True or false, created by YouTube Channel on 22/01/2017.
- Author
- YouTube Channel
- Language
- English
- Views
- 22
- Rating
- No ratings yet Rate this quiz