Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ok so for my C++ class I was asked to create this: STEP 1 1. Create a UML class diagram for a class you create.

Ok so for my C++ class I was asked to create this: STEP 1 1. Create a UML class diagram for a class you create. 2. Code your class. 3. Test your class. Turn in: UML Class Diagram, C++ Code for class and test driver.

Honestly, I have just about no idea how to create this and I need some help, fast.

I know this much, that I have to do this:

image text in transcribed

I want my class/project to be a quiz for music. The way I want it to work is basically a question is asked, an answer is recieved, and if the answer is wrong, they get told its wrong until they get it right.

The information quizzed will be: On the treble cleff, the letters in order on the lines and spaces are: F(line), E(space), D(line), C(space), B(line), A(space), G(line), F(space), E(line). So for example one of the questions would be, "What is the note on the 3rd line of the treble cleff?" And the answer would be "B". The lines are counted from bottom to top.

How would I go about creating the UML for the class and coding the class itself?

Class name goes here Member variables are listed here Member functions are listed here For example, in Chapter 7, Introduction to Classes and Objects, you studied a Rectangle class that could be used in a program that works with rectangles. The class has the follow- ing member variables: length width The class also has the following member functions: set Length set width. Rectangle getLength. getWidth. length get Area width setLength0 setWidth0 getLength0 getWidth0 getArea Class name goes here Member variables are listed here Member functions are listed here For example, in Chapter 7, Introduction to Classes and Objects, you studied a Rectangle class that could be used in a program that works with rectangles. The class has the follow- ing member variables: length width The class also has the following member functions: set Length set width. Rectangle getLength. getWidth. length get Area width setLength0 setWidth0 getLength0 getWidth0 getArea

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions