Write a python code that creates objects

Assignment Help Other Subject
Reference no: EM133696241

Software Development Fundamentals

Assessment Details

Part A
In this part, students will be required to use what they had learned in the lecture to create the program. Each shape mentioned below will be represented as a function. Students are not required to use class in this assessment. Students are not allowed to use any predefined libraries or module for this part. Students will be awarded zero marks for using predefined libraries or imports. Students must put the comment on the vital functions, example if statement or the loop.
Write python code for calculating area for:
Circle
Triangle
Rectangle
Square
Pyramid
Cone
Rhombus
The purpose of this assessment is to access students' abilities to apply their knowledge in the program. Students need to submit a document with the code and screenshots of the result. Students need to include the value for the input in the document.

Assessment 2: Introduction

Write a python code that creates objects and classes with their member functions for Vistaflyer, an Australian airlines loyalty program. You are asked to write an inheritance hierarchy discount system that benefits Vistaflyer members program to calculate their profit. A brief about Vistaflyer is that it is useful for those who fly on Australian Airlines (its partners like Virgin Singapore and Air New Zealand) frequently. Vistaflyer miles can be earned through credit cards, flying and bonus miles promotions. The miles can be redeemed for award flights in all categories. It has three types of memberships namely Basic, Elite Silver and Elite Gold. When registered for the first time, all the customers get instant access to the basic membership level of Vistaflyer.
In 2020, Australia airlines offers a flat 10%, 20% and 30% discount to its Basic, Elite silver and Elite Gold members respectively for all services provided. Customers without membership receive no discounts.

The students must implement basic OOPs concepts such as Inheritance, Polymorphism and Encapsulation. You can make your own assumptions, not necessarily the same values which are provided above.

You need to do the following tasks:
Write the python classes with suggested data members and functions.
Write the base and derived classes for implementing inheritance in the program.
Implement polymorphism and encapsulation to check for accessibility of data members and different form of the data member.
Write the main logic that takes input from the user members with their bookings.
Write the code to display the output.
Advanced topic: Create a windows form, by considering the same scenario, where you need to create a layout which will describe the Welcome Page with some submit buttons and a few different controls. You are free to use any basic controls from the toolbox to design this layout.

Code related guidelines: Your python console-based application should include the following:
The code should have a consistent, professional, and well-organized appearance.
Choose meaningful identifiers names.
The developed system takes inputs and handles the error in a friendly manner.
Your code must adhere to OOPS concepts with implementation guidelines including modularity, reusability, extensibility, maintainability, and adaptability.

Reference no: EM133696241

Questions Cloud

Practice experience for health information technology : Write down in a journal about what they learned in an orientation about a professional practice experience for health information technology?
Do you think social media is a big part of marketing plan : Do you think Social Media is a big part of the marketing plan for companies today, and what form of social media outlets would you use and why?
Explain legal forms of organization used by small businesses : Explain the common legal forms of organization used by small businesses. Exhibit 8-1 Forms of Legal Organization for Small Businesses.
Which diagnostic studies be obtained to further understand : Which diagnostic studies should be obtained to further understand the risk of recurrent unprovoked seizures?
Write a python code that creates objects : Write a python code that creates objects and classes with their member functions for Vistaflyer, an Australian airlines loyalty program
Environmental merit of electric vehicles : Environmental merit of electric vehicles. What evidence is being brought to bear on the claim/s? What is the quality of the evidence and what sources are used?
How would your training address nursing advocacy : What content would you include in training? What resources are available to address post-trafficking victims? How would your training address nursing advocacy?
Discuss the attraction of a home-based business : Discuss the attraction of a home-based business when economy is good and when it is poor. Do you feel that home-based businesses increase in either situation.
What is a tort from a legal perspective : Hot Coffee - The Documentary - What is a "tort" from a legal perspective? Why did Mrs. Stella Leibeck sue McDonald's?

Reviews

Write a Review

Other Subject Questions & Answers

  Identify individual behaviors that seem to be problematic

Bob is a very intelligent, 25-year-old member of a religious organization based on Buddhism. Bob's working for this organization has caused considerable.

  What kind of business organization

If you had the resources (money) to start your own business, what kind of business would you start and what kind of business organization

  Create your own work journal of leadership lessons learned

To create an effective healthcare organization, there must be effective leaders. To be the most effective leader you can be, you must continually be observing and learning new leadership skills and techniques. One way to observe and learn is to ke..

  How concepts of territoriality and natural surveillance help

Describe how the concepts of territoriality and natural surveillance can help determine design techniques and guidelines to help deter crime.

  Why neuro-linguistic programming is a significant

Recognizing deception by verbal and nonverbal means can be a significant benefit for the investigator - subject who is undergoing interrogation

  State personal philosophy about the profession of nursing

Nursing, client, wellness, and environment are defined according the personal attitudes, behaviors, beliefs and values of the professional nurse.

  Describe Sufism and How was Sufism initially thought of

Describe Sufism. How was Sufism initially thought of, and how did attitudes change? How did al-Ghazali change the perception of Sufism

  What are sources of pediatric primary care in united states

What are the sources of pediatric primary care in the United States? Are these sources sufficient for providing health-care services to the pediatric population

  Discuss the occupational organizations

Discuss the occupational organizations (governmental and/or non-governmental) that might be involved when investigating the workplace injury.

  How development of atlantic world influence kingdoms

How did development of "Atlantic World" influence kingdoms and colonies which were part of it? Choose three examples and discuss.

  Describe the differences between a live and dead vaccine

Describe the differences between a live and dead vaccine. What are the risks associated with both vaccines? What does herd immunity mean? Research the Centers for Diseases Control and Prevention (CDC) website for vaccine-preventable diseases and id..

  What issues do you think are most crucial for mike

What issues do you think are most crucial for Mike to address in order to remain on parole? What additional services can you provide to Mike

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd