Title: Module 06 Assignments Lesson 01
Course: Advance C# > Section: Module 06

Homework Assignments for the Module

Complete the following assignments on or before following class period.  Click on the links to complete the assignments:

1. This Module, we will be working with a different book. Imagine that you are a software developer for the Northwind Corporation. As part of your job, you develop computer programs to solve business problems. Examples of the work you do include analyzing customer orders to determine applicable discounts, updating stock information for thousands of items in a company’s inventory, and writing interactive reports that allow users to sort and filter data. It is important for you to make sure your programs are designed exactly according to specifications. You also need to ensure that all computations are accurate and complete. The programs that you write need to be robust, and they should be able to display error messages but continue processing.
2. Read the first chapter Understanding Computer Programming
A computer program is a set of precise instructions to complete a task. In this section, you’ll learn how to write algorithms and computer programs to solve a given problem. In addition to writing your first computer program using the C# programming language, THE BOTTOM LINE you’ll also learn about the basic structure of computer programs and how to compile, execute, provide input to, and generate output from a program.
3. The first assignment is write the code for the flowchart in Figure 1-4.
4. From Lesson 1 pages 15 and 16, create the TestSwitch method which accepts two operands (op1 and op2) and an operator (opr). Test the method by passing the values 10,20 and '+'.
5. Complete the FOREACH loop practice on page 22.
6. Complete the Recursive method practice on page 23. Answer the question: recursive solution has two distinct parts, what are these 2 parts.
7. Create a try-catch block to test for division by 0;
int x = 0;
int y = 5;
int z;
z = y/x;
8. After you complete the exercises, zip the completed assignments and email via Canvas to the instructor. Subject Module xx Your Name.  Answer these questions in the subject body:
1. Which exercise(s) were completed? Any problems running the exercises?
2. What was the most difficult concept in this assignment?
3. How long did it take to complete this assignment?