Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

MTA EXAM UCERTIFY CH 2 EXERCISES QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
04-05-2025
Written in
2024/2025

MTA EXAM UCERTIFY CH 2 EXERCISES QUESTIONS AND ANSWERS

Institution
MTA
Course
MTA

Content preview

MTA EXAM UCERTIFY CH 2 EXERCISES
QUESTIONS AND ANSWERS



In which namespace is the Console class found? - Correct Answers -System
namespace

In C# programs, namespaces are heavily used in two ways. What are those ways? -
Correct Answers -1) The .NET Framework classes use namespaces to organize its
various classes.
2) Declaring your own namespaces can assist controlling scope of class and method
names.

Which of the following is the correct way of using the System namespace? - Correct
Answers -using System;

You create a program that includes two classes, Book and Pages. Which of the
following concept will you use to implement an "is-a" relationship between the objects? -
Correct Answers -Inheritance

Which of the following statements is TRUE about inheritance? - Correct Answers -It
allows you to reuse code from the base class.

Which is a set of objects that share the same properties and behavior and is the
instinctive view of a "kind" of objects? - Correct Answers -Class

An object that is used to follow the definition of a class is known as what? - Correct
Answers -Instance of that class

Which Object Oriented (OO) principle is used to hide the behavior of an object from its
implementation? - Correct Answers -Encapsulation

Which of the following is the Object Oriented (OO) principle by which a class, i.e. child
class, is used to refine the behavior and properties of some other class, i.e. parent
class? - Correct Answers -Inheritance

Which Object Oriented (OO) principle is used to deal with objects without the need to
know what exact class they belong to? - Correct Answers -Polymorphism

, Dennis has just started an internship with uCertify Inc., as a developer. He develops an
application named App1 using .NET Framework 4.0. App1 contains a class named
Class1, which is stored in a namespace named BlueWell.Namespace1. Dennis wants to
create another class named Class2, and use Class1 from Class2. For this, he wants to
define an alias named Alias1, and use it in Class2.

Which of the following statements will Dennis use to define Alias1? - Correct Answers -
using Alias1 = BlueWell.Namespace1.Class1;

Ryan has just started an internship with uCertify Inc., as a developer. He is updating the
company's inventory system to use barcode and GPS technologies for improving the
package tracking. Ryan's manager asked him to use classes from the company's
existing inventory system as much as possible to save time because the older code has
been tested thoroughly. The classes are part of a Microsoft Visual Studio project called
InventorySystem; Ryan's Visual Studio project is called TrackingSystem. Ryan is having
problems because some of his classes, such as Package, Barcode, and Destination,
have names that already exist in the InventorySystem. However, both projects use the
default namespaces defined by Visual Studio .NET 2010 when the projects were
created.

Which of the following is most likely the fully qualified name of Ryan's new Package
class? - Correct Answers -InventorySystem.Package

Namespaces are used a lot in C# programming in two ways.

What are those two ways? - Correct Answers -1) The .NET Framework uses
namespaces to organize its many classes.
2) Declaring your own namespaces.

Ryan has just started an internship with uCertify Inc., as a developer. He is updating the
company's inventory system to use barcode and GPS technologies for improving the
package tracking. Ryan's manager asked him to use classes from the company's
existing inventory system as much as possible to save time because the older code has
been tested thoroughly. The classes are part of a Microsoft Visual Studio project called
InventorySystem; Ryan's Visual Studio project is called TrackingSystem. Ryan is having
problems because some of his classes, such as Package, Barcode, and Destination,
have names that already exist in the InventorySystem. However, both projects use the
default namespaces defined by Visual Studio .NET 2010 when the projects were
created.

Which of the following is the best way for Ryan to use classes from InventoryProject? -
Correct Answers -Add a reference to the other project's classes.

Ryan has just started an internship with uCertify Inc., as a developer. He is updating the
company's inventory system to use barcode and GPS technologies for improving the
package tracking. Ryan's manager asked him to use classes from the company's

Written for

Institution
MTA
Course
MTA

Document information

Uploaded on
May 4, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Gordones22 Yala university
Follow You need to be logged in order to follow users or courses
Sold
504
Member since
4 year
Number of followers
351
Documents
9499
Last sold
1 week ago

4.1

108 reviews

5
63
4
17
3
13
2
4
1
11

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions