Mt. San Jacinto College Computer Information Systems
Minimize header.

CSIS 111B: Assignments

Assignment 2

  1. After reading Lesson 5 and completing the String Variable Code Example at the bottom of Lesson 5, complete the following steps:
  2. Create a new C# Console Project named Assignment2.
    1. Write a C# statement inside of the Main() method of your Assignment2 program.cs file which displays the words "Enter first name: " on the user's screen when executed.
    2. Write a C# statement inside of the Main() method of your Assignment2 program.cs file which assigns the user input from the keyboard to a string variable named "firstName" when executed.
    3. Write a C# statement inside of the Main() method of your Assignment2 program.cs file which displays the words "Enter last name: " on the user's screen when executed.
    4. Write a C# statement inside of the Main() method of your Assignment2 program.cs file which assigns the user input from the keyboard to a string variable named "lastName" when executed.
    5. Write a C# statement inside of the Main() method of your Assignment2 program.cs file which concatenates the text "Hello " along with the values of the firstName and lastName variables and displays the results to the screen. Output should look something like "Hello Bill Bennett".
    6. 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 and close Visual Studio.
  4. Locate the Assignment2 solution folder in your Documents folder. Zip the entire solution folder.
  5. In Canvas (msjc.instructure.com) click on the Assignments link in the course menu.
  6. On the Assignments page under the heading Upcoming Assignments, locate the Assignment 2 link and click on it.
  7. On the Assignment 2 page, click on the Submit Assignment button.
  8. On the File Upload tab that appears at the bottom of the screen, click on the Choose File button.
  9. In the Open dialog box that appears, locate and select your zipped Assignment2 folder.
  10. Click the Open button at the bottom of the screen.
  11. Check to verify the correct file name is displaying to the right of the Choose File button, if it is correct, click on the big red Submit Assignment button.
  12. The Submission confirmation screen should display your submission date and time, submission details link, and file name link for downloading the file you submitted.

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