Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have not received full mark for number 6. Please tell me what is wrong . Again for number 1, I am not getting full

image text in transcribed

image text in transcribed

I have not received full mark for number 6. Please tell me what is wrong .

image text in transcribed

image text in transcribed

Again for number 1, I am not getting full marks. What is wrong ?

QUESTION 6 The team is now considering the responsibilities for the student's CRC card for a grading system. For this system, we want to record the scores a student achieved for each of the homework assignments, and to have some scoring information. The responsibilities, again, are what the object knows and what it does. For each of the following proposed responsibilities, indicate whether this is something the object (student) knows or does, or whether this does not apply to the grading system. List of scores for the homework assignments A. Knows Running total of all the homework scores B. Does Number of assignments completed C. Does not apply Average score for assignments Number of questions on the homework assignment AddClass) DropClass() List of scores for the Knows homework assignment Running total of all the Does homework scores Number of assignments Knows completed Average score of assignments Does Number of questions on the Does not homework assignment apply Does not AddClass() apply Does not Drop class() apply QUESTION 1 Match each of the following definitions and terms. Multiple items, even though they may be the same thing, and be A. Combining Data and Behavior interchangable, are distinct because of this. B. Encapsulation A discrete thing or entity. C. Identity To focus on the essentials, and to ignore details for this particular D. Hierarchy application. E. Inheritance To hide information, which may be important to satisfy the requirements of this application, but which only this item needs F. Polymorphism. to know. G. Object An item 'contains' both its own attributes and the methods which H. Abstraction operate upon these attributes. 1. Classification Grouping items that have common attributes or methods. Building superclasses by grouping classes that have some common attributes or methods, or building subclasses to specialize or refine. Sharing methods or attributes between related classes. The same operation is implemented differently for different classes, due to differences in the details. Question 1: 1. Multiple items,even though they may be the same thing and be interchangable ,but are distinct because of Identiy. 2.Object is a dicrete thing or identity. 3. To focus on the details and to ignore details for this particular application-combining data and behaviour 4. To hide information, which may be important to satisy the requirements of this application, but which only this item needs to know is called Abstraction 5.An item contains its attributes and methods that operate upon these attributes - Encapsulation 6. Classification is grouping items that have common attributes or methods 7. The concept of Building superclass by grouping classes that have some common attributes and methods or building subclass is called Hierarchy. 8.Inheritance consists of sharing methods between related classes. 9.Polymorphism is implementing the same operation differently for different classes

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

SQL Instant Reference

Authors: Gruber, Martin Gruber

2nd Edition

0782125395, 9780782125399

More Books

Students also viewed these Databases questions