Class Named Numbers and Integer Variables Assignment
Order ID:89JHGSJE83839 Style:APA/MLA/Harvard/Chicago Pages:5-10 Instructions:
Class Named Numbers and Integer Variables Assignment
Create A Class Named Numbers Whose Main Method Holds Two Integer Variables.
Chapter 6
1. a. Create a class named Numbers whose Main() method holds two integer variables.
Assign values to the variables. Within the class, create two methods, Sum( ) and
Difference( ), that compute the sum of and difference between the values of the two variables, respectively. Each method should perform the computation and display the results. In turn, call each of the two methods from Main( ), passing the values of the two integer variables. Save the program as Numbers.cs.
b. Add a method named Product() to the Numbers class. This method should compute
the multiplication product of two integers, but not display the answer. Instead, it should return the answer to the calling Main( ) method, which displays the answer.
Save the program as Numbers2.cs. (Note: For All code only use only the code that is necessary not all the extra items that Visual Studio adds.)
5. Create a class named Square. In the Main( ) method, declare an integer and prompt the
user for a value. Display the value of the integer, then pass it to a method that accepts the
value as a reference parameter and prints its square (the number times itself). In Main( ) , print the value again, proving that the original argument to the method was
altered. Save the program as Square.cs.
Chapter 8
1. Create a class named Game that contains a string with the name of the Game and an integer that holds the maximum number of players. Include properties with get and set accessors for each field. Also, include a ToString( ) Game method that overrides the Object class’s ToString( ) method and returns a string that contains the name of the class (using
GetType() ), the name of the Game, and the number of players. Create a child class named GameWithTimeLimit that includes an integer time limit in minutes and a property that contains get and set accessors for the field. Write a program that instantiates an object of each class and demonstrates all the methods. Save the file as GameDemo.cs.
Class Named Numbers and Integer Variables Assignment
RUBRIC
Excellent Quality
95-100%
Introduction 45-41 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Literature Support
91-84 points
The background and significance of the problem and a clear statement of the research purpose is provided. The search history is mentioned.
Methodology
58-53 points
Content is well-organized with headings for each slide and bulleted lists to group related material as needed. Use of font, color, graphics, effects, etc. to enhance readability and presentation content is excellent. Length requirements of 10 slides/pages or less is met.
Average Score
50-85%
40-38 points
More depth/detail for the background and significance is needed, or the research detail is not clear. No search history information is provided.
83-76 points
Review of relevant theoretical literature is evident, but there is little integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are included. Summary of information presented is included. Conclusion may not contain a biblical integration.
52-49 points
Content is somewhat organized, but no structure is apparent. The use of font, color, graphics, effects, etc. is occasionally detracting to the presentation content. Length requirements may not be met.
Poor Quality
0-45%
37-1 points
The background and/or significance are missing. No search history information is provided.
75-1 points
Review of relevant theoretical literature is evident, but there is no integration of studies into concepts related to problem. Review is partially focused and organized. Supporting and opposing research are not included in the summary of information presented. Conclusion does not contain a biblical integration.
48-1 points
There is no clear or logical organizational structure. No logical sequence is apparent. The use of font, color, graphics, effects etc. is often detracting to the presentation content. Length requirements may not be met
You Can Also Place the Order at www.collegepaper.us/orders/ordernow or www.crucialessay.com/orders/ordernow Class Named Numbers and Integer Variables Assignment
Class Named Numbers and Integer Variables Assignment