Mt. San Jacinto College Computer Information Systems
Minimize header.

CSIS 111B: Assignments

Midterm

Midterm Assignment Requirements and Instructions

  1. After reading Lessons 1 - 6, completing all the coding examples, and assignments 1 & 2, complete the following steps:
  2. Create a new C# Console Project/Solution named Midterm.
    1. 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.
    2. Write a C# statement inside of the Main() method which displays the words "Enter first name: " on the user's screen when executed.
    3. 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.
    4. Write a C# statement inside of the Main() method which displays the words "Enter your phone number: " on the user's screen when executed.
    5. 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.
    6. Write a C# statement inside of the Main() which displays the words "Enter your email address: " on the user's screen when executed.
    7. 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.
    8. 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".
    9. 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.
  3. Save changes to the Program.cs file in Visual Studio.
  4. Use a Web browser to open the CSIS 111B course shell in Canvas.
  5. Click on the Assignments link from the Canvas menu to the left of the Home page.
  6. Click on the title for the assignment you are submitting
  7. Click on the Submit Assignment button.
  8. Use hilite.me to convert your copied Visual Studio source code into HTML.
    1. Copy your source code from Visual Studio and paste it into the Source code window on hilite.me.
    2. Select C# from the Language drop-down list.
    3. Check the Line Numbers check box.
    4. Click the Hilite! button.
    5. Copy the HTML code from the hilite.me HTML window.
  9. IMPORTANT! Click the HTML Editor link in the upper right of this assignment submission page.
  10. Paste the copied HTML code into the text submission box.
  11. Click Submit to complete the process.
  12. Check you submission by clicking the Submission Details link that appears in the Submission Completed box in the upper-right of this screen.

That's it you have completed the midterm assignment submission process.