The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Part 1: Writing Exercise: (10 pts) Include answers to the following questions in a comment block after your header comment block
A) Do a little discovery learning and research the basic idea of a Class. Compare and contrast a Class and a Struct (5pts) B) Read Part 2… If you were going to implement this assignment with Object Orientation … how would that change the Car? (5pts)
Part 2: Programming (40 pts) This project is more of a simulator than an input->output program. You may choose to add some input to the program though.
Specifications (20 points) Text Based Car Race! Skills:
Input/Output Arrays Loops Structs
Basic Description: You are going to create a simple car race program using the ideas of Structs and functions to make several racing cars. These cars will “compete” to get to the end of the line first. The hard part will be creating and using the Car struct… but ultimately if you can make an array of integers and loop through that array increasing each integer … you can make this work too.
Please help me, if you need the questions, it's on the attach files.
CSE 100 – Assignment #4Maximum points: 50 ptsTopics•Structs•Arrays•Loops•FunctionsUse the following Guidelines:Give identifiers semantic meaning and make them easy to read (examples numStudents, grossPay, etc).Keep identifiers to a reasonably short length.User upper case for constants. Use title case (first letter is upper case) for classes. Use lower case with uppercaseword separators for all other identifiers (variables, methods, objects).Use tabs or spaces to indent code within blocks (code surrounded by braces). This includes classes, methods, andcode associated with ifs, switches and loops. Be consistent with the number of spaces or tabs that you use toindent.Use white space to make your program more readable.Important Note:All submitted assignments must begin with the descriptive comment block. To avoid losing trivial points, make sure thiscomment header is included in every assignment you submit, and that it is updated accordingly from assignment toassignment.Note: There are 2 parts described – make sure you read all the pages