• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

98-361 MTA Software Development Fundamentals exam with accurate solutions

Document preview thumbnail
Preview 2 out of 5 pages

98-361 MTA Software Development Fundamentals exam with accurate solutions

Content preview

98-361 MTA Software |! |! |!




Development Fundamentals exam |! |! |!




with accurate solutions |! |!




What is the Main method? - Correct answer ✔It serves as the entry point to a
|! |! |! |! |! |! |! |! |! |! |! |! |! |! |!




program. When runtime executes a program, it always starts at the Main
|! |! |! |! |! |! |! |! |! |! |! |! |!




method.



What does the Switch statement do? - Correct answer ✔It works like CASE,
|! |! |! |! |! |! |! |! |! |! |! |! |!




and allows for different options to run different code, which uncomplicates
|! |! |! |! |! |! |! |! |! |! |!




having to combine several if statements.
|! |! |! |! |!




Name the 4 C# control structures. - Correct answer ✔while loop, do-while
|! |! |! |! |! |! |! |! |! |! |! |!




loop, for loop and foreach loop
|! |! |! |! |!




When does the do-while loop test the condition? - Correct answer ✔At the
|! |! |! |! |! |! |! |! |! |! |! |! |!




bottom of the loop. |! |! |!




What is the foreach loop useful for? - Correct answer ✔Iterating through
|! |! |! |! |! |! |! |! |! |! |! |!




elements of a collection or array. |! |! |! |! |!




What is recursion? - Correct answer ✔A programming technique that causes
|! |! |! |! |! |! |! |! |! |! |!




a method to call itself in order to compute a result.
|! |! |! |! |! |! |! |! |! |!

, How to you use a try-catch block? - Correct answer ✔Put the code that could
|! |! |! |! |! |! |! |! |! |! |! |! |! |! |!




throw an exception in the try section, and place the code that catches
|! |! |! |! |! |! |! |! |! |! |! |! |!




exceptions in the catch section. |! |! |! |!




What is the finally block used for? - Correct answer ✔It is always executed
|! |! |! |! |! |! |! |! |! |! |! |! |! |!




regardless of whether an exception has been thrown, so you can put clean up
|! |! |! |! |! |! |! |! |! |! |! |! |! |!




code here such as disconnections.
|! |! |! |!




What is a Class? - Correct answer ✔The template from which individual
|! |! |! |! |! |! |! |! |! |! |! |!




objects are created. |! |!




What is a delegate? - Correct answer ✔A special type that is used to
|! |! |! |! |! |! |! |! |! |! |! |! |! |!




encapsulate a method with a specific signature. |! |! |! |! |! |!




Properties are often referred to as "_____" fields because they can include
|! |! |! |! |! |! |! |! |! |! |! |!




code for checking data consistency or validity. - Correct answer ✔Smart
|! |! |! |! |! |! |! |! |! |!




A property has two _________ - Correct answer ✔Accessors, get and set
|! |! |! |! |! |! |! |! |! |! |!




Properties are often assigned with a ______ access modifier - Correct answer
|! |! |! |! |! |! |! |! |! |! |! |!




✔Public



The usual programming pattern is that all the data fields of a class should be
|! |! |! |! |! |! |! |! |! |! |! |! |! |! |!




declared private, - Correct answer ✔and that access to these private fields
|! |! |! |! |! |! |! |! |! |! |! |!




should be via public properties that check the data values for validity
|! |! |! |! |! |! |! |! |! |! |!

Document information

Uploaded on
July 11, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

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

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.
Ruiz
3.2
(15)
Sold
105
Followers
3
Items
14196
Last sold
1 month ago



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