PRG 410 ENTIRE COURSE | University Of Phoenix
- University of Phoenix / PRG 410
- 23 Feb 2019
- Price: $55
- Other / Other
PRG 410 ENTIRE COURSE | University Of Phoenix
PRG 410 ENTIRE COURSE
WEEK 1
PRG 410 Week 1 Individual Assignment Individual: Research
Instructions: Search the internet and locate code that uses simple inputs and outputs. Review the programming. Write a 175-word comparison of the code you found and yours. Identify the pros and cons of your approach versus the similar code. Submit your assignment using the Assignment Files tab.
PRG 410 Week 1 Individual Assignment Individual: Math Tutor Program
Instructions: Write a console-based C++ program that can be used as a math tutor for a young student. The program should display two random numbers consisting of three digits each to be added in columnar format, such as: 247 +129 ------
The program should then pause while the student works on the problem. When the student is ready to check the answer, he or she can press a key and the program will display the correct solution. Hint: it is important to line up the digits (1's, 10's, 100's, etc). Include a proper header file. Use proper coding conventions and proper comments throughout your program. Compress all your Microsoft® Visual Studio® source code files in the console application folder into a ZIP file. Submit your assignment using the Assignment Files tab.
WEEK 2
PRG 410 Week 2 Learning Team Assignment Learning Team: Theater Seating Program
Instructions: Begin working on the Learning Team Assignment for this course due in Week Five. To prepare, this week your team needs to review the requirements for the program below, and write a 1-page document that refines the program requirements and identifies all input, output, and validation rules for the program. Submit your assignment as a Word document using the Assignment Files tab.
PRG 410 Week 2 Individual Assignment Individual: FizzBuzz Program, Part 1
Instructions: Write a console-based C++ program that requests the user to input a single positive integer as input and outputs a result based on the input value: Please enter number, then press Enter key: 8 The program will then write the following output according to the following rules: 1. If the number is divisible by 3. The program will give the output "Number: # - Fizz" Please enter a number, then press Enter key: 6 Output: Number: 6 - Fizz 2. If the number is divisible by 5. The program will give the output "Number: # - Buzz" Please enter a number, then press Enter key: 10 Output: Number: 10 - Buzz 3. If the number is both divisible by 3 and 5. The program will give the output "Number: # - FizzBuzz" Please enter a number, then press the Enter Key: 30 Output: Number: 30 - FizzBuzz 3. If the number is not divisible by either 3 or 5, the program will give the output "Number: # - NoMatch" Please enter a number, then press the Enter Key: 4 Output: Number: 4 - NoMatch Expand this to accept a comma or space separated list of numbers and print the output of each number according to the rules above. (Prompt the user whether to use a space or comma when the program starts.) Example: Please enter an array of number(s): 3,10,30,4 Output: Number: 3 - Fizz, Number: 10 - Buzz, Number: 30 - FizzBuzz, Number: 4 - NoMatch Note. Use new to allocate storage (new int) for each input number) and put the input numbers into an array or list (from the ones available in the Standard Template Library). Also Note: Make sure the program handles an arbitrary number of input numbers not just the ones listed here. The numbers will not necessarily be in any specific order or be limited to 4 items, that will depend on what the user enters. Using an STL storage class will allow an arbitrary number of numbers and you do not need to worry about running out of memory. Include a proper header file. Use proper coding conventions and proper comments throughout your program. Submit a single final program having all the full functionality from the expanded section above. Compress all your Microsoft® Visual Studio® source code files in the console application folder into a ZIP file. The submitted folder must properly launch by clicking the project file at the top level and link to all the needed files. Visual Studio® must be used for this assignment. Submit your zipped assignment using the Assignment Files tab.
WEEK 3
PRG 410 Week 3 Learning Team Assignment Learning Team: Theater Seating Program
Instructions: Continue working on the Learning Team Assignment for this course due in Week Five. For this week, your team is to create a project plan that outlines the steps your team will take. As a guide, use the linked Project Plan Template. Your plan does not have to have all categories; this template is to be used as a guide. Ensure that you address all functions to be developed and used in the program due in Week Five. You can create your plan in Word or Excel®. Submit your assignment using the Assignment Files tab.
PRG 410 Week 3 Individual Assignment Individual: FizzBuzz Program, Part 2
Instructions: Modify the FizzBuzz program developed in Week Two to have the functionality noted below. Build a 10 by 10 array of values (using an appropriate STL array structure). The values in each cell will start at 1 for the first cell and end at 100 for the final cell, increasing by 1 for each element in a row. The value of the cell in each row will be 10 more than the value of the cell in the row directly above it. For example, (1,1) would have the value of 1, (1,2) would have the value of 2, (1,5) would have the value of 5, (2,1) would have the value of 11, etc. The final cell, (10, 10) would have the value of 100. Use this array to look look up values for the FizzBuzz calculation from Week 2. Create a function to do the FizzBuzz check, returning the state of the match. This should be of the format fizzBuzzTypeEnum FizzBuzz (int row, int column). The return value would be the state of the cell's number (Fizz, Buzz, FizzBuzz, or NoMatch). The enum should have the possible values as allowable entries and should be a global value usable by the entire program and any functions. Create an array of a struct to that will hold the row, column, and result value from the FizzBuzz check for each user entered value. Create another function to output the FizzBuzz value. This should have the format of void OutputFizzBuzzValue (fizzBuzzValueEnum fbVal). Use a switch statement in this function to determine which text to output using count.
Loop through user input until the user gets a FizzBuzz result from their choice or the value -1,-1 is entered. Present the results for each choice, noting the row, column, number (in the matching cell) and the state of that number (Fizz, Buzz, FizzBuzz, NoMatch) for each choice. Print the user choices and resulting values, along with the number of guesses that were made at the end of the program, but before it quits. Pause to allow the user to see this information before the program ends. Use either spaces or commas to separate user input and inform the user of which is being used by the program. Include a proper header file. Use proper coding conventions and proper comments throughout your program. Compress all your Microsoft® Visual Studio® source code files in the console application folder into a ZIP file. The submitted folder must properly launch by clicking the project file at the top level and link to all the needed files. Visual Studio® must be used for this assignment. Submit your assignment using the Assignment Files tab.
PRG 410 Week 4 Individual Assignment Individual: Research Functions
Instructions: Find a current article about passing parameters to functions. Write a 350-word paper discussing the relevance of passing parameters to functions to this week's individual assignment. Submit your assignment using the Assignment Files tab.
WEEK 4
PRG 410 Week 4 Learning Team Assignment Learning Team: Theater Seating Program
Instructions: Continue working on the Learning Team Assignment for this course due in Week Five. For this week you are to create a flowchart that documents the process flows of the program. Use the "shapes" feature in Word to insert the appropriate flowcharting symbols needed. Submit your assignment using the Assignment Files tab.
PRG 410 Week 4 Individual Assignment Individual: FizzBuzz Program, Part 3
Instructions: Modify the FizzBuzz program to properly use classes. A CFizzBuzzEntry class should hold the user entry information, along with the value in that cell and the resulting FizzBuzz enum value. A CFizzBuzzResults class should keep track of the entries using an array type from the STL and performing the output information after the program's execution. All functions in the submitted program should be member functions of these or other appropriate classes. A CArrayOfValues class will be a global accessible by the entire program and will have its own function to build the array, which is called at the start of main() to initialize the array. Use proper get and set functions for all values in the class, do not access them directly in general. For example, have a SetRow(int row) and GetCol(int col) function to use to set and get the column for a specific CFizzBuzzEntry value. Include a proper header file. Use proper coding conventions and proper comments throughout your program. Compress all your Microsoft® Visual Studio® source code files in the console application folder into a ZIP file. The submitted folder must properly launch by clicking the project file at the top level and link to all the needed files. Visual Studio® must be used for this assignment. Submit your assignment using the Assignment Files tab. Create another funciton to output the FizzBuzz value. This should have the format of void OutputFizzBuzzValue (fizzBuzzValueEnum fbVal ). Use a switch statement in this function to determine which text to output using cout.
WEEK 5
PRG 410 Week 5 Learning Team Assignment Learning Team: Theater Seating Program
Instructions: Complete the Learning Team Assignment started in Week Two. Please incorporate all feedback obtained throughout the past weeks into your final documents. Code and compile the final program you have built with your team per the instructions. To submit, zip your console application folder from the program and all other documents for this assignment; these should include the Week Two identifying the program requirements, your project plan from Week Three, and the flowchart you created in Week Four. Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions. Submit your assignment using the Assignment Files tab.
PRG 410 Week 5 Individual Assignment Individual: Simple Math OO Program
Instructions: Using Object-Oriented Programming (OOP), design a base class, Simple math, with the following derived classes within: Addition, Subtraction, Division, Multiplication. The user should have the option (e.g., switch statement, if statement, if else statement, nested statements) to choose which calculation he or she prefers to use. Once a selection is made, the user should be able to input as many calculations as he or she wishes until done, with all totals given as an output prior to exiting the program. Create an array for the numbers users input to be stored. Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions. Compress all your Microsoft® Visual Studio® source code files in the console application folder into a ZIP file.