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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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