CSIS 111B: Assignments
Midterm
Midterm Assignment Requirements and Instructions
- After reading Lessons 1 - 6, completing all the coding examples, and assignments 1 & 2, complete the following steps:
- Create a new C# Console Project/Solution named Midterm.
- Inside of the Main() method of your Midterm project's Program.cs file, Declare a three element string array named "userProperties" for storing the values that will be input by the user.
- Write a C# statement inside of the Main() method which displays the words "Enter first name: " on the user's screen when executed.
- Write a C# statement inside of the Main() method which assigns the user input from the keyboard to the first element in the userProperties array.
- Write a C# statement inside of the Main() method which displays the words "Enter your phone number: " on the user's screen when executed.
- Write a C# statement inside of the Main() method which assigns the user input from the keyboard to the second element in the userProperties array when executed.
- Write a C# statement inside of the Main() which displays the words "Enter your email address: " on the user's screen when executed.
- Write a C# statement inside of the Main() which assigns the user input from the keyboard to the third element in the userProperties array when executed.
- Write a C# statement inside of the Main() which concatenates the text "Hello " along with the value of the first element in the userProperties array, and the text " , your phone number is " along with the value of the second element in the userProperties array, and the text ", and your email address is " along with the value for the third element in the userProperties array, and displays the results to the screen. Output should look something like "Hello Bill, your phone numbers is 123-456-7890, and your email address is bbennett@msjc.edu".
- Be sure to run your program to verify that it executes without error(s). If there are errors, you better fix them if you want full credit for the assignment.
- Save changes to the Program.cs file in Visual Studio.
- Use a Web browser to open the CSIS 111B course shell in Canvas.
- Click on the Assignments link from the Canvas menu to the left of the Home page.
- Click on the title for the assignment you are submitting
- Click on the Submit Assignment button.
- Use hilite.me to convert your copied Visual Studio source code into HTML.
- Copy your source code from Visual Studio and paste it into the Source code window on hilite.me.
- Select C# from the Language drop-down list.
- Check the Line Numbers check box.
- Click the Hilite! button.
- Copy the HTML code from the hilite.me HTML window.
- IMPORTANT! Click the HTML Editor link in the upper right of this assignment submission page.
- Paste the copied HTML code into the text submission box.
- Click Submit to complete the process.
- Check you submission by clicking the Submission Details link that appears in the Submission Completed box in the upper-right of this screen.
Video Instructions for Completing the Midterm Assignment
How To Post Your Source Code In Canvas
Watch this video to learn how to correctly copy and paster your source code into Canvas.
That's it you have completed the midterm assignment submission process.