Solution:
Sr. No. Scenarios Identification 1*5 Justification 3*5 1. Sara during the first year of her life feels pleasure that centers on the mouth. Things such as chewing, sucking, and biting are the sources of pleasure that reduces her anxiety. Oral This occurs during the first year of life and the erogenous zone during this stage is the mouth. At this stage, pleasures mainly come from mouth. According to Freud, an adult who is fixated at the early oral stage will engage in abundance of oral activities such as eating, drinking, or smoking. This person also will engage in activities that are symbolically equivalent to those oral activities such as collecting things, being a good listener etc. 2. During second year of life, Shazia feels pleasure on bowel and bladder elimination. The control she learns to exert over her bodily functions is manifested in toilet-training. Anal It starts during the second year of life, and the erogenous zone is the anus- buttocks region. It is the stage when the child has to gain control over his physiological processes so that they function in accordance with the demands of the society i.e. the child must be toilet trained. Fixation at this stage may result in physical problems. 3. Ali during the age span of 3 to 5 years feels pleasure for the genitals and coping with incestuous sexual feelings for his mother. He wants to possess his mother exclusively and get rid of his father to enable him to do so. On the other hand, Sana during 3 to 5 years of her age feels sexual attraction towards her father and hatred feelings towards her mother. Phallic This starts from the third year of life to about fifth year, and the erogenous area are the genital area. This is one of the most complicated and controversial of Freud’s stages. It is the stage of Oedipus and Electra complexes, the resolution of which has profound influence on an adult’s life. The male child experiences the Oedipus complex and the female experience Electra complex. 4. At the fifth to twelfth years of age, Ahmad feels that his sexuality is repressed into unconscious and he started focusing to identify himself with the same sex parent and interacts with same sex peers. Latency It lasts from about sixth year to about twelfth year. Here the sexual interests are displaced to substitute activities such as learning, athletics, and peer group activities. 5. When Rashid reached at the age of puberty, he feels that he reaches the physical sexual maturity and the genitals become the primary focus of pleasurable sensations, which he seeks to satisfy in the heterosexual relationships. Genital It is the final stage of development that occurs following puberty. It is the time at which the person emerges from pre genital stages as the adults as he/ she destined to become. Now the child has become a socialized adult with heterosexual interests leading to marriage and child- rearing. If, however, the experiences during the pre-genital stages cause fixation, they will manifests themselves throughout one’s adult life.CS304 Assignment 1 Solution and Discussion Fall 2020
-
-
-
-
-
-
Assignment No. 01 (Graded)
SEMESTER Fall 2021
CS304- Object Oriented Programming Total Marks: 20
Due Date:
December 08, 2021
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit if:
o The assignment is submitted after due date.
o The submitted assignment is other than .doc/.docx file.
o The submitted assignment does NOT open or file is corrupted.
o The assignment is copied (from other student or copied from handouts or internet).
Solution Uploading instructions
o For clarity and simplicity, you are required to Upload/Submit only .DOC/.DOCX file
o Copy/Paste your class diagram in your final MS Word file if you are using any drawing tool (MS Paint, MS Visio etc.). Images submitted as solution files will not be accepted.
o You can use the following website to draw the diagram: https://app.creately.com/diagram/start/dashboard
Objective
The objective of this assignment is:
o To give you the idea of practical implementation of the OOP concepts like abstraction, encapsulation, inheritance, association, generalization, specialization, and UML class construction.For any query about the assignment, contact at [email protected]
GOOD LUCK
Marks: 20Problem Statement:
Due to the increasing number of complaints regarding meat quality, Govt. Of Pakistan has decided to launch an “online meat Store” named “Meat On Wheels” so that, people can
purchase red and white meat from home. Through this way, Govt. of Pakistan not only can ensure the quality of meat but also people can be satisfied with the fact that the meat they are purchasing is healthy and Halal.
The “Meat On Wheels” store will offer both (red and white) types of meat with all different categories or portions. The user will be shown a list of Meat Products, which can be selected or deselected from the provided list. The user will need to get registered to buy Meat Products. At the end of shopping, the customer can double-check all the Products added into his Cart and verify the total amount before payment. The Store Administrator will manage Meat categories and Products and assign orders to Delivery Boys.
Draw an Object Model (Class Diagram) for the given scenario showing main objects, their attributes, functions and relationships.
Step by Step Guidance:
• Extract the main objects (entities) of above system.
• Find the necessary attributes and functions that need to be associated with each object.
• Identify the relationships among identified objects.
Submission: Construct a final comprehensive Class diagram showing all objects and their relationships along with their attributes and functions.
Important things to consider:- As happens in real world that everyone visualizes a problem in a different way so the solutions of all students may vary based upon their own thinking.
- You have to use standard UML notations for objects, classes, and their associations.
Hint:
Besides problem statement; objects, properties, and functions of a system can also be extracted from domain knowledge.
Note:
You have to use all concepts studied so far like abstraction, encapsulation, inheritance, association, generalization, and specialization wherever applicable.
Lectures Covered: This assignment covers Lecture # 1-7
Deadline: December 08, 2021 -


100% Off on Your FEE Join US! Ask Me How?


