New game
Download
Get Academic Plan
Share game
Quiz
Quiz

Quiz 9

Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Quiz 9

Quiz

Played 0

About this activity

c# Q's

Created by

United States

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Quiz 9
 
1

What can be used as a type of "fingerprint" for an object, due to the fact that it is unique?

2

A superclass contains all the fields and methods of its subclasses as well as its own more specific fields and methods.

3

If a base class and a derived class have methods with the same names but different parameter lists, the derived class method overrides the base class method.

4

What type of class is one from which you cannot create concrete objects, but from which you can inherit?

5

A class that is able to inherit from more than one class utilizes what C# feature?

6

When using a derived class that contains a method that overrides a parent class method, what keyword can you use to access the parent class method from within the derived class?

7

What kind of a class might be considered to be "fragile"?

8

What keyword always refers to the superclass of the class in which you use it?

9

A class's ToString() method is often a useful debugging aid.

10

What statement regarding the use of the Object class and classes in general is accurate?

11

You can assign a derived class object to an object of any of its superclass types. When you do, what type of conversion occurs from the derived class to base class?

12

What object class method returns a string that holds the name of the class, just as GetType() does?

13

System.Console is an example of a class that can't be extended. What is the reason for this?

14

System.Console is an example of a class that can't be extended. What is the reason for this?

15

Besides the new keyword, what keyword can you use when defining a derived class member that has the same name as a base class member?

16

In C#, any class you create is derived from what single built-in class?

17

What type of method has no method statements, and requires the use of an override statement for any class derived from a class that contains it?

18

When you use information hiding by selecting which properties and methods of a class to make public, you are assured that your data will be altered only by the properties and methods you choose and only in ways that you can control.

19

What is another name for a derived class in the C# programming language?

20

When a class inherits from a base class, it is known as what type of class?

21

What happens to a base class member in a derived class that is not hidden by the derived class?

22

What term is synonymous with a derived class?

23

What keyword is an alias for the System.Object class?

24

The Equals() method compares two objects and returns true if they have the same value.

25

What method can you use to return a unique hash for different objects, so long as you explicitly implement it in a derived class?

Feedback

Correct. A hash code is sometimes called a "fingerprint" for an object because it uniquely identifies the object.

Correct. Any subclass contains all the fields, properties, and methods of its superclass as well as its own more specific ones.

Correct. If a base class and a derived class have methods with the same names but different parameter lists, then the derived class method does not override the base class method; instead, it overloads the base class method.

Correct. An abstract class is one from which you cannot create concrete objects but from which you can inherit.

Correct. Multiple inheritance is the ability to inherit from more than one class.

Correct. A class’s ToString() method is often a useful debugging aid.

Correct. Because all classes inherit from the Object class, all classes inherit the Object class methods.

Correct. An implicit reference conversion occurs when a derived class object is assigned to its ancestor’s data type.

Correct. Classes that are not intended to be instantiated and that contain only static members are declared as static classes. You cannot extend static classes.

Correct. Classes that are not intended to be instantiated and that contain only static members are declared as static classes. You cannot extend static classes.

Correct. When you create a derived class that inherits an abstract method from a parent, you must use the keyword override in the method header and provide the actions, or implementation, for the inherited method within the derived class.

Correct. Every class you create in C# derives from a single class named System.Object.

Correct. An abstract method has no method statements. Any class derived from a class that contains an abstract method must override the abstract method by providing a body (an implementation) for it.

Correct. When you use information hiding, you are assured that your data will be altered only by the properties and methods you choose and only in ways that you can control.

Correct. A child class is a derived class.

Correct. A derived class or extended class is one that has inherited from a base class.

Correct. A base class member that is not hidden by the derived class is visible in the derived class.

Correct. A subclass is a derived class.

Correct. The keyword objectis an alias for the System.Object class.

Correct. The Equals() method returns true if two objects have the same memory address—that is, if one object is a reference to the other and both are literally the same object.

Correct. GetHashCode() gets a unique code for each object. It is useful in certain sorting and data management tasks.

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.