CSIS 111B: Assignments
Assignment 2
Assignment 2 Instructions
- After reading Lesson 5 and completing the String Variable Code Example at the bottom of Lesson 5, complete the following steps:
- Create a new C# Console Project named Assignment2.
- 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.
- 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.
- 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.
- 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.
- 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".
- 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 Demonstration of How To Complete Assignment 2
Watch this video to learn step-by-step how to complete the first assignment for this class.
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 assignment submission process.