98-361 MTA Software Development Fundamentals | with COMPLETE SOLUTION
What is the Main method? - 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? - 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. - while loop, do-while loop, for loop and foreach loop When does the do-while loop test the condition? - At the bottom of the loop. What is the foreach loop useful for? - Iterating through elements of a collection or array. What is recursion? - A programming technique that causes a method to call itself in order to compute a result. How to you use a try-catch block? - 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? - 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? - The template from which individual obj
Written for
- Institution
- 98-361 MTA Software Development Fundamentals
- Course
- 98-361 MTA Software Development Fundamentals
Document information
- Uploaded on
- February 16, 2023
- Number of pages
- 4
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
98 361 mta software development fundamentals | with complete solution
Also available in package deal