1 / 3

PRG 218 Week 1 Individual Assignment Coding: Hello, World//tutorfortune.com

PRG 218 Week 1 Individual Assignment Coding: Hello, World//tutorfortune.com<br><br><br>Click on below link to buy<br>https://tutorfortune.com/products/prg-218-week-1-individual-assignment-coding-hello-world<br><br><br>Instructions: <<The Grading Rubric for this assignment is available. Please feel free to use it as a check list for the assignment.>> PURPOSE: To gain hands-on experience composing, linking, compiling and running C programs. DELIVERABLES: 4 C programs which are firstprog.cpp, semiprob.cpp, runprob.cpp, and logicprob.cpp. MEANS: Use the document "Introduction to Programming and the Translation Process", find the script for each required program and key it into the selected IDE selected. <--PLEASE REVIEW ALL OPTION--> IDE OPTION 1: Installation and use of Microsoft Visual Studio on personal devices as the Integrated Development Environment (IDE) on a Windows-Based device is required. (Not Graded but good experience for those pursuing Microsoft credentials)<br>IDE OPTION 2: Use of and International Standards Organization (ISO) compliant Integrated Development Environment (IDE) requiring now installation on personal devices. (NOTE: All labs in this course can be run from any end-user device -Laptop, Notebook, Tablet, SmartPhone-- by using the FREE Access IDE available at http://cpp.sh/)<br>GENERAL Resources: <br>u2022tBuild Your First C App: Install<br>u2022tBuild Your First C App: Introduction<br>u2022tGetting Started in Visual Studio on the Microsoftu00ae Developer Network website<br>u2022tIntroduction to Programming and the Translation Process of Starting Out with C from Control Structures Through Objects<br>u2022tDebugging in Visual Studio on the Microsoftu00ae Developer Network Website This is a two-part assignment.<br>u2022tPart 1: Download and install Microsoftu00ae Visual Studiou00ae Community 2017, an integrated development environment (IDE) used to create C/C programs. Use the linked tutorial, Build Your First C App: Install, if you need help with installation.<br>u2022tPart 2: Code, test, and execute a simple C program using the linked tutorial, Build Your First C App: Introduction, to ensure your IDE is set up correctly. OPTION 1 IDE CHOICE Part 1: Read the following sections of the article, "Build Your First C App: Install," on the Microsoftu00ae Visual Studiou00ae website, explaining how to download and install the correct version of Microsoftu00ae Visual Studiou00ae Community 2017. Note: You must install the workload Desktop Development with C to be able to compile and run C programs for this course. After you have installed the software, follow these instructions to complete your ID configuration:<br>1.tLaunch Microsoftu00ae Visual Studiou00ae Community 2017.<br>2.tFrom the main menu bar, choose Tools > Options > Debugging > Symbols.<br>3.tOn the dialog that appears, turn on the checkbox next to Microsoft Symbol Servers.<br>4.tClick OK. Note: It may be helpful to read the article "Getting Started in Visual Studio" on the Microsoftu00ae Developer Network website. Part 2: Read through the lab materials, and complete the following labs in the "Introduction to Programming and the Translation Process" document:<br>u2022tLab 1.1, "Opening, Compiling, and Running Your First Program"<br>u2022tLab 1.2, "Compiling a Program With a Syntax Error"<br>u2022tLab 1.3, "Running a Program with a Run Time Error"<br>Individual Oct 30, 2017 11:59 PM 12<br>u2022tLab 1.4, "Working with Logic Errors" IDE OPTION 1: Note: Instead of opening existing files, you are required to type the C source code yourself for each C program as noted in the lab materials. Also, you will create a project each week for each C program you write. Create a new project in Microsoftu00ae Visual Studiou00ae as follows: <br>1.tLaunch Microsoftu00ae Visual Studiou00ae.<br>2.tFrom the main menu, choose File > New > Project.<br>3.tOn the left of the New File dialog that appears, choose Visual C .<br>4.tOn the right of the New File dialog, choose Win32 Console Application.<br>5.tNear the bottom of the dialog, in the Name field, type firstprog.<br>6.tNote the value in the Location field. You may leave this as the default value or change it by clicking the Browse button. However, it is important that you remember the value for this field, because this value indicates the folder in which Visual Studiou00ae will place your C source files. You need to know this folder because after you finish creating your source code files, you will need to navigate here using Windowsu00ae Explorer and zip the CPP files together in order to submit them.<br>7.tClick the OK button.<br>8.tOn the dialog that appears, click the Finish button.<br>9.tA .cpp (C source code) file will appear in the editing window. This file contains some standard C code. You will be editing (replacing) this code to create each C program. Complete the labs in the "Introduction to Programming and the Translation Process" document as follows:<br>u2022tRead the lab instructions, and type the C code indicated in the lab instructions. The first C file you will create will be called firstprog.cpp. Hint: Be sure to leave the line #include "stdafx.h"in the program if using IDE Option 1-Microsoft Visual Studio or an error will take place. Also, be sure to insert your name where indicated in the comments for each program.<br>u2022tTo run the program, choose Debug > Start Without Debugging from the main menu, and choose Yes on the dialog that appears asking if you would like to build the program.<br>u2022tIf your program contains no errors, a Windows console (small black window with the header C:\Windows\system32\cmd.exe and white text) will appear. For example, for firstprog.cpp, the following text will appear on your console: "Now is the time for all good men/To come to the aid of their party/Press any key to continue..." To dismiss the console, you select it and click any key, or click the x that appears in the upper right corner of the console.<br>u2022tIf your program contains errors, a description of the errors will appear at the bottom of the screen. Read the error descriptions, follow the suggestions for fixing them (if any), and repeat the steps above until your program runs without errors. Hint: If you need help debugging your program, try the following:<br>u2022tRead the Microsoftu00ae article "Debugging in Visual Studio."<br>u2022tTurn on line numbers to help you match error descriptions with specific lines of code. To do so, choose Tools > Options > Text Editor > All Languages from the main menu, and turn on the check box next to Line Numbers on the dialog that appears, then click OK.<br>u2022tFor additional help, post a question describing your problem in this week's discussion board. After you complete all four labs, you will have created four different C programs: firstprog.cpp, semiprob.cpp, runprob.cpp, and logicprob.cpp. These program files will be located beneath the directory specified in the Location field. Note: If you have forgotten the location, you can find it by clicking File > New > Project. Zip the four CPP source files into a single ZIP file named PRG218_Week1_YourName.zip. Submit your ZIP file using the Assignment Files tab.<br>IDE OPTION 2: Using your Browser go to http://cpp.sh/, key each of the 4 Lab Programs individually, run them and when they are correct<br>and include Comment Lines with your name in them, submit them using the Assignment Tab of our New Classroom portal. The file names should include PRG218_WK1_YourName. ZIP files may be used to encapsulated all four program files if you find this technique convenient.<br><br><br>Click on below link to buy<br>https://tutorfortune.com/products/prg-218-week-1-individual-assignment-coding-hello-world<br>

ceram
Download Presentation

PRG 218 Week 1 Individual Assignment Coding: Hello, World//tutorfortune.com

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


More Related