Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part of lab lesson 2 Lab Lesson 2 has three parts. The entire lab lesson will be worth 100 points. Bonus points for lab lesson
Part of lab lesson 2 Lab Lesson 2 has three parts. The entire lab lesson will be worth 100 points. Bonus points for lab lesson 2 There are also 10 bonus points. To earn the bonus points you have to complete the Participation Activities and Challenge Activities for zyBooks/zyLabs unit 3 (Gaddis Chapter 2). These have to be completed by the due date for lab lesson 2. For example, if you complete 89% of the activities you will get 8 points (there is no rounding). There are bonus points for units of zyBooks/zyLabs that map to Gaddis chapters1 through 7 In zyBooks the participation and challenge activities for unit 2 add up to 237 points. This will adjust to 10 points total for the bonus points on the grade in eLearning. Lab lesson 2 part 3 is worth 35 points For Part 3 you will have 25 points if you successfully enter the program and run the program tests. An additional 10 points will be based orn the style and formatting of your C++ code. Style points The 10 points for coding style will be based on the following guidelines: Comments at the start of your programming with a brief description of the purpose of the program. Comments throughout your program Proper formatting of your code (follow the guidelines in the Gaddis text book, or those used by your CS 1336 professor) If you have any variables they must have meaningful names. Development in zyBooks For lab lesson 2 (all parts) you will be entering your programs directly into zyBooks/zyLabs. If you want to use an Integrated Development Environment (IDE) such as Visual Studio, Code: Blocks or Eclipse you can do so, but you will have to cut and paste the code into zyBooks/zyLabs You will need to use Develop mode and Submit mode as you did in lab lesson 1. General overview Your program will consist of a number of cout statements to output two shapes. A rectangle (10x10) and a triangle (with a base of 11 characters). The output must look exactly as follows eeea@eeeee Your output must have the same syntax and spacing as above. Do not include any extra spaces after the output lines Failure to follow the requirements for lab lessons can result in deductions to your points, even if you pass the validation tests. Logic errors, where you are not actually implementing the correct behavior, can result in reductions even if the test cases happen to return valid answers. This will be true for this and all future lab lessons. Summary of tests There are three tests. The first test will make sure the first shape has been output correctly. The second test will make sure the 2nd shape is output correctly. The third test will make sure the entire output is correct-the first shape, the spacing between the shapes, and the second shape. You will get yellow highlighted text when you run the tests if your output is not what is expected. This can be because you are not getting the correct result. It could also be because your formatting does not match what is required. The checking that zyBooks does is very exacting and you must match it exactly. More information about what the yellow highlighting means can be found in course 'How to use zyBooks"- especially section "1.4 zyLab basics' Finally, do not include a system("pause")statement in your program. This will cause your verification steps to fail Note: that the system("pause") command runs the pause command on the computer where the program is running. The pause command is a Windows command. Your program will be run on a server in the cloud. The cloud server may be running a different operating system (such as Linux)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started