In this assignment, you will continue your research into different programming paradigms through the evaluation of Structured, Procedural, Functional, and Object_Oriented paradigms. You will be analyzing sequence, selection, and loop, the relational comparison operators, precedence when combining AND and OR operators, and the case structure. Instructions: Part 1: Research – Programming Paradigms In Unit 1, you researched early programming languages and object-oriented programming(OOP). For this portion of the assignment, research the three programming paradigms listed below. Describe each paradigm and how each differs from OOP. Explain which paradigm you believe to be the best for most programs. • Structured Programming • Procedural Programming • Functional Programming Part 2: Programs – Using Decision Logic Structures: 1. Design a program that asks the user to enter the length and width of two rectangles, Rectangle A and Rectangle B. Calculate the area of the two rectangles and display to the user if Rectangle A has a larger area, or if Rectangle B has the larger area, or if the two areas are equal. 2. The Acme company would like a program that they can use to quickly screen applicants’ qualifications for a job in their anvil factory. A potential employee must have a score of at least 85 on their anvil aptitude test and have a college degree in anvil engineering or have previous anvil factory experience. The CIS216 – Programming Principles Structure and Making Decisions program should enter the aptitude test score, a “Y” or “N” for the college degree, and a “Y” or “N” for previous experience. The program should then display if the applicant should be accepted or rejected based on their qualifications. Note: this program should use logic operators (AND, OR, NOT) as required to create a single conditional statement 3. Write a program that accepts a student’s numerical grade and returns the corresponding letter grade. If a grade less than zero or greater than 100 is entered, the program should display an error message. The program should also use a module to determine the appropriate grade. Letter grades are determined as follows: 0 – 59 F 60 – 69 D 70 – 79 C 80 – 89 B 90 – 100 A 4. Write a program that simulates a vending machine. The price of items in the vending range from $0.05 to $0.95. The vending machine only accepts $1.00 bills. Write a program that accepts the price of an item and calculates the correct change using the least amount of quarters, dimes, nickels, and pennies. If a price is entered that is less than $0.05 or greater than $0.95 should display an error message and the amount of change should not be calculated. 5. Write a program that asks a user to enter two numbers and one of the following letters: A, S, M, or D. If the letter A is entered, the program should add the two numbers. If an S is entered, the program should subtract the two numbers. If an M is entered, the program should multiply the two numbers. If a D is entered, the program should divide the two numbers. The program should then display the results. If the user enters any letter besides A, S, M, or D, the program should display an invalid option error message. If the user enters D and a zero for the second number, the program should display a cannot divide by zero error message. The program should use the case structure to determine the correct action to be taken given the user’s input
Timely Delivery- primewritersbay.com believes in beating the deadlines that our customers have imposed because we understand how important it is.
Customer satisfaction- Customer satisfaction. We have an outstanding customer care team that is always ready and willing to listen to you, collect your instructions and make sure that your custom writing needs are satisfied
Writing services provided by experts- Looking for expert essay writers, thesis and dissertation writers, personal statement writers, or writers to provide any other kind of custom writing service?
Enjoy Please Note-You have come to the most reliable academic writing site that will sort all assignments that that you could be having. We write essays, research papers, term papers, research proposals
ASSESSMENT 2 BRIEF Subject Code and Title MIS501 Principles of Programming Assessment Business case study Individual/Group Individual Length N/A Learning Outcomes The Subject Learning Outcomes demonstrated by successful completion of the task below include: a) Synthesise the tenets of procedural programming into the object oriented paradigm. b) Design and implement solutions using unified modelling language (UML) diagrams and coding to meet business needs. Submission Due by 11:55pm AEST/AEDT Sunday end of Module 4.2. Weighting 35% Total Marks 100 marks Assessment Task In this assessment, you are required to undertake three tasks. For each task, it is required that you implement a Python program to solve a business problem presented in the business case. Please refer to the Instructions for details on how to complete this task. Context Module 1.1 to Module 4.1 covered many expressive programming syntax and powerful Python language features. Collectively, they can be used to create sophisticated programs to solve real business problems. In each Module, we focused almost exclusively on particular language features or syntax taught in that Module. In this assessment, you have the opportunity to put them all together. In contrast with the “toy” practical exercises in each Module, you are presented with close-to-real-life business problems and you are asked to develop programs to solve these problems. Sometimes, understanding the business problems and the associated business rules is challenging in their own. The business logics sometimes need to be determined/inferred/interpreted from the business case and business rules, which then need to be implemented using a programming language. These are the challenges you will inevitably have to address in real life. Therefore, the business case and the business rules in this assessment have been deliberated designed to be convoluted and less straightforward. Understanding the case and the business problem is in itself an integral part of the assessment. In this assessment, you will demonstrate the following skills and knowledge:
Grasp business requirements, rules and logics, and be able to translate them into programming code.
Implement programs in Python to solve business problems.
Design a program and illustrate the logic through flowcharts. Instructions
Please read the case scenario and complete Task 1, 2 and 3 outlined in the attached MIS501_Assessment 2_ Business Case Study Tasks document.
All implementations must be in Python 3 (that is NOT Python 2). Programs implemented in a different language will be marked 0. Programs implemented in Python 2 will be capped at 50% of the available marks. MIS501_Assessment_2_Brief_Business Case Study_Module 4.2 Page 1 of 4
You may only use the language features and syntax taught in Module 1.1 through to Module 4.1. You MUST NOT use any other language features beyond what was taught by Module 4.1. Penalties apply.
You may implement the programs in any IDE of your choice.
All programs should be provided with adequate and meaning comments.
Follow Python Style Guide: https://www.python.org/dev/peps/pep-0008/ Referencing It is essential that you use appropriate APA style for citing and referencing research. Please see more information on referencing here https://library.torrens.edu.au/academicskills/apa/tool Submission Instructions Submit the following four files for this assessment in MIS501: Principles of Programming. o task1.py. o task2.py. o task3.py. o task3.docx. DO NOT zip these files into one file, submit individual files. The Learning Facilitator will provide feedback via the Grade Centre in the LMS portal. Feedback can be viewed in My Grades. Academic Integrity Declaration I declare that except where I have referenced, the work I am submitting for this assessment task is my own work. I have read and am aware of Torrens University Australia Academic Integrity Policy and Procedure viewable online at http://www.torrens.edu.au/policies-and-forms I am aware that I need to keep a copy of all submitted material and their drafts, and I will do so accordingly.
MIS501 Principles of Programming Assessment 2 – Business Case Study Case Scenario COMP101 Foundations of Computer Systems is a first-year introductory subject in both the Bachelor of Information Technology and Diploma of Information Technology course at ABC University. The Subject Coordinator of COMP101 has engaged you to help her to code a few Python programs as handy tools to solve a number of problems at hand. Task 1 – Determine Interim Grade Letter (30%) In this task, you will write a Python program to help the Subject Coordinator of COMP101 to calculate an interim grade letter for a student given their assessments results. COMP101 Foundations of Computer Systems has three assessments with the following weightings. Assessment Number Assessment Type Assessment Weighting 1 Lab exercise 20% 2 Report 40% 3 Final examination 40% Each assessment has been marked out of 100 and the mark for each assessment may be a decimal number with at most two decimal points (e.g., 68, or 68.5, or 68.45). The final mark for COMP101 is the weighted sum of all three assessments, rounded up to the nearest integer. For example, Student A received 75.67/100, 45.8/100, 32/100 for Assessment 1, 2 and 3 respectively. Their final mark for COMP101 is 47 (46.254 rounded up to the nearest integer). 75.67 × 20% + 45.8 × 40% + 32 × 40% = 46.254 For simplicity, in this Task, we will use a bracket that consists of three numbers to denote the marks of a student’s three assignments in order. For example, (75.67, 45.8, 32) denote a student who received 75.67/100 for the first assessment, 45.8/100 for the second, and 32/100 for the third. The final mark is used to determine the interim grade letter for a student. The Assessment Policy and Procedures of ABC University stipulates the following rules for determining the interim grade letter. The range in the Final mark column includes the numbers on both ends. Final mark Interim grade letter Description 85 – 100 HD High Distinction 75 – 84 D Distinction 65 – 74 C Credit 50 – 64 P Pass 45 – 49 F or SE or SA Fail or Supplementary Assessment or Supplementary Exam 0 – 44 F or AF Fail or Absent Fail Students whose final mark is between 0 and 44 (inclusive) may be awarded an F (Fail) or an AF (Absent Fail). If two or more assessments are awarded zero and the final mark is between 0 and 44 (inclusive), the student will be awarded an AF (Absent Fail), otherwise they are awarded an F (Fail). For example, students with (0, 100, 0) should be awarded an AF because their final mark is 40, and two assessments are marked zero. However, students with (100, 50, 0) should be awarded an F because although their final mark is 40, they only have one assessment awarded zero. Students who have marginally failed, that is, their final mark is between 45 – 49 (inclusive), may be awarded an F (Fail) or Supplementary Exam (SE) or Supplementary Assessment (SA). If a student’s final mark is between 45 – 49, they will receive an F (Fail) unless they satisfy all the following conditions: o Their final mark is between 45 – 49 (inclusive). o They do not have any assessment marked zero. o They only failed (i.e., less than 50) one assessment. Students whose final mark is between 45 – 49 will receive an SE or SA if they satisfy all the conditions above. If the assessment they failed is Assessment 1 or Assessment 2, they will receive an SA and they will be given an opportunity to attempt a supplementary assessment. If the assessment they failed is Assessment 3, they will receive an SE and they will be given an opportunity to sit a supplementary exam. For example, students with (40, 100, 0) will receive an F (Fail) because although their final mark is 48 (i.e., between 45 – 49), they have one assessment marked zero (Assessment 3). Students with (10, 100, 10) will equally be awarded an F (Fail) because although their final mark is 46 (i.e., between 45 – 49), they have failed more than one assessment (Assessment 1 and Assessment 3). Students with (50, 50, 40) will be awarded an SE because their final mark is 46 (i.e., between 45 – 49) and satisfy all the three conditions above. The only failed assessment is Assessment 3, and they will be given an opportunity to sit a supplementary exam. The Subject Coordinator has asked you to develop a Python program that can calculate the interim grade letter for a student given the marks for all the assessments based on the business rules described above. Your program should allow the Subject Coordinator to type in a student’s assessment marks separated by a comma. Your program will then output the correct interim grade letter for that student. In this task, you do not need to allow the Subject Coordinator to type in the assessment marks for another student. Your program can terminate after it have calculated and output the interim grade letter for the first student. Here are some sample inputs and outputs the Subject Coordinator expected to see when she runs your program. All the green lines are your program outputs, all the red lines are users’ input. Sample input and output 1: Enter a student’s assessment marks (separated by comma): 40,100,0 F Sample input and output 2: Enter a student’s assessment marks (separated by comma): 90,100,100 HD Sample input and output 3: Enter a student’s assessment marks (separated by comma): 50,50,40 SE Implement your program in a Python script file and name it task1.py. You need to submit this file as part of the Assessment 2 submission. Task 2 – Finalising grades and class performance statistics (40%) This task is built upon Task 1. You may want to make a copy of task1.py, and name it task2.py, and you may want to use the logic you implemented for Task 1. DO NOT override task1.py. A couple of weeks after the Release of Grade date, all supplementary assessments and exams have been finalised. All the interim grade letters now need to be converted to a final grade letter, that is, the grade letter that appear on students’ transcript. For HD (High distinction), D (Distinction), C (Credit), P (Pass) and F (Fail), they will not be converted as they themselves are final grade letters. For SA and SE, they will be converted to either a SP (Supplementary Pass) or F (Fail). If the student who have been awarded an SA or SE, passed the supplementary assessment or supplementary exam (that is, they achieved no less than 50/100), their grade letter will be converted to SP (Supplementary Pass), otherwise it will be converted to F (Fail). For AF (Absent Fail), it will be converted to F (Fail). Each final grade letter carries some grade point value as detailed in the table below. Final grade letter Grade point value HD 4.0 D 3.0 C 2.0 P 1.0 SP 0.5 F 0 The Subject Coordinator would like you to implement a Python program that helps her to read in all students’ marks and generate some high-level statistic about the class performance. Input In contrast with Task 1, the program in Task 2 will prompt to the Subject Coordinator (the user) and allow her type in all students’ assessment marks. This is achieved by repeatedly asking the Subject Coordinator to type in students’ three assessment marks until she types in the letter “N”. For example, Enter a student’s assessment marks (separated by comma), type in letter N to finish: 40,100,0 Enter a student’s assessment marks (separated by comma), type in letter N to finish: 90,100,100 Enter a student’s assessment marks (separated by comma), type in letter N to finish: N (input finishes) The Subject Coordinator (the user) may type in as many students’ assessment marks as she wishes. Each line of input represents a student’s three assessment marks. The only way she signals to the program that she has done with inputting is to type in a letter N. Your program should use an appropriate data structure to store students’ marks. As you read in students’ assessment marks, if your program detects that the student would have been given an SE or SA, your program should then ask for their supplementary assessment or supplementary exam mark. For example, Enter a student’s assessment marks (separated by comma), type in letter N to finish: 40,100,0 Enter a student’s assessment marks (separated by comma), type in letter N to finish: 50,50,40 What is this student’s supplementary exam mark: 67 Enter a student’s assessment marks (separated by comma), type in letter N to finish: 90,100,100 Enter a student’s assessment marks (separated by comma), type in letter N to finish: N (input finishes) Output After input finishes, your program will then output the following class performance statistics: o Number of students: This number shows the total number of students that the user typed in. o Student pass rate: The percentage of students who received a final grade letter of HD, D, C, P or SP, that is,
???? + #?? + #?? + #?? + #????
??????????????
HD represents the number of students who received HD. #student represents the total number of students. Rounded to two decimal points.
o Student pass rate (adjusted): The percentage of students who received a final grade letter of HD, D, C, P or SP. This percentage excludes students who received an AF from the total number of students, that is,
???? + #?? + #?? + #?? + #????
?????????????? – #???? Rounded to two decimal points.
o Average mark for Assessment 1: the average mark for Assessment 1 with two decimal points. o Average mark for Assessment 2: the average mark for Assessment 2 with two decimal points. o Average mark for Assessment 3: the average mark for Assessment 3 with two decimal points. o Average final mark: the average mark for final mark with two decimal points. o Average grade point: the average grade point for all students in COMP101 with one decimal point. o Number of HDs: the number of students who received a final grade letter HD. o Number of Ds: the number of students who received a final grade letter D. o Number of Cs: the number of students who received a final grade letter C. o Number of Ps: the number of students who received a final grade letter P. o Number of SPs: the number of students who received a final grade letter SP. o Number of Fs: the number of students who received a final grade letter F. For example, Enter a student’s assessment marks (separated by comma), type in letter N to finish: 40,100,0 Enter a student’s assessment marks (separated by comma), type in letter N to finish: 50,50,40 What is this student’s supplementary exam mark: 67 Enter a student’s assessment marks (separated by comma), type in letter N to finish: 90,100,100 Enter a student’s assessment marks (separated by comma), type in letter N to finish: N Number of students: 3 Student pass rate: 66.67% Student pass rate (adjusted): 66.67% Average mark for Assessment 1: 60.00 Average mark for Assessment 2: 83.33 Average mark for Assessment 3: 46.67 Average final mark: 64.00 Average grade point: 1.5 Number of HDs: 1 Number of Ds: 0 Number of Cs: 0 Number of Ps: 0 Number of SPs: 1 Number of Fs: 1 Implement your program in a Python script file and name it task2.py. You need to submit this file as part of the Assessment 2 submission. Task 3 – Naïve similarity detector (30%) This task is independent of the first two tasks. You can create a new file and name it task3.py. The Subject Coordinator of COMP101 has now asked you to implement a naïve similarity detector that she can use to identify collusion between students in their assessments. Your program will read in two assessment submissions (two strings) in turn and output a similarity score for them. You can assume that the input submissions have been “cleaned” with all punctuations removed. Each submission is a sequence of words separated by a space. For example, “COMP101 is an interesting subject and it has been easy” “COMP101 and COMP301 have always been interesting and easy” The similarity of two submissions is defined as the ratio between the number of common words in both submissions and the number of unique words in both submissions. For example, “COMP101 is an interesting subject and it has been easy” “COMP101 and COMP301 have always been interesting and easy” The common words between these two submissions are COMP101, and, interesting, been, easy. A total of 5 common words. The unique words in both submissions are COMP101, and, interesting, been, easy, is, an, subject, it, has, COMP301, have, always. A total of 13 common words. The similarity of both submissions is 5/13 = 38.46%. You are required to draw a flowchart diagram illustrating the logic of this program. You should use a professional drawing software, e.g. http://draw.io. Copy and paste your flowchart diagram in a MSWord document, and name it task3.docx. Implement a Python program that takes in two submissions (strings) and output the similarity between them with two decimal points. For example: Enter the first submission: COMP101 is an interesting subject and it has been easy Enter the second submission: COMP101 and COMP301 have always been interesting and easy The similarity score between the two is: 38.46%. You should ignore the letter cases, that is, “Interesting” and “interesting” should be treated as the same word. You do not need to lemmatise the words, that is, the words “going”, “go”, “went”, “gone” are treated as different words. You must not use the set structure in this or any other tasks. 0 marks will be awarded to the implementation if you used the set structure. Implement your program in a Python script file and name it task3.py. You need to submit this file as part of the Assessment 2 submission
Customer satisfaction- Customer satisfaction. We have an outstanding customer care team that is always ready and willing to listen to you, collect your instructions and make sure that your custom writing needs are satisfied
Writing services provided by experts- Looking for expert essay writers, thesis and dissertation writers, personal statement writers, or writers to provide any other kind of custom writing service?
Enjoy Please Note-You have come to the most reliable academic writing site that will sort all assignments that that you could be having. We write essays, research papers, term papers, research proposals. Synthesise the tenets of procedural programming into the object oriented paradigm
For this project, you create a column chart to illustrate April–September revenue for Classic Gardens and Landscapes. You also build a pie chart sheet to graph the proportion that each category contributes to total revenue.
This image appears when a project instruction has changed to accommodate an update to Microsoft 365 Apps. If the instruction does not match your version of Office, try using the alternate instruction instead.
OPEN THECLASSICGARDENS-03.XLSX START FILE. IF THE WORKBOOK OPENS INPROTECTED VIEW, CLICK THE ENABLE EDITING BUTTON SO YOU CAN MODIFY IT. THE FILE WILL BE RENAMED AUTOMATICALLY TO INCLUDE YOUR NAME. CHANGE THE PROJECT FILE NAME IF DIRECTED TO DO SO BY YOUR INSTRUCTOR, AND SAVE IT.
NOTE: If group titles are not visible on your Ribbon in Excel for Mac, click the Excel menu and select Preferences to open the Excel Preferences dialog box. Click the View button and check the Group Titles check box under In Ribbon, Show. Close the Excel Preferences dialog box.
CREATE A CLUSTERED COLUMN CHART OBJECT FOR CELLS A4:G9.
MOVE THE CHART OBJECT SO THAT ITS TOP-LEFT CORNER IS AT CELL A12. SIZE THE BOTTOM OF THE CHART TO REACH CELL H30.
EDIT THE CHART TITLE TO DISPLAYCGL MAJOR SALES REVENUEAND PRESS RETURN. ON THE SECOND LINE, TYPESECOND AND THIRD QUARTERS.
APPLY CHART STYLE 14 TO THE CHART.
FORMAT THE FIRST LINE AND THE SECOND LINE OF THE CHART TITLE TO A FONT SIZE OF 20 PT.
APPLY A 1 PT BLACK, TEXT 1 (SECOND COLUMN) OUTLINE TO THE CHART AREA.
VERIFY THAT THE CHART IS STILL SELECTED. IN THE HIGHLIGHTED RANGE IN THE WORKSHEET, DRAG THE RESIZE POINTER TO REMOVE THEDESIGN CONSULTINGDATA SERIES FROM THE CHART (FIGURE 3-71).Figure 3-71 Resize the chart by dragging the resize pointer
CREATE A3-D PIECHART SHEET FOR CELLS A4:A9 AND CELLS H4:H9. MOVE THE CHART TO ITS OWN SHEET NAMEDREVENUE BREAKDOWN. HINT: USE THE MOVE CHART BUTTON [CHART DESIGNTAB,LOCATIONGROUP].
EDIT THE CHART TITLE TO DISPLAYREVENUE BY CATEGORY. CHANGE THE FONT SIZE TO 32.
SELECT THE LEGEND AND CHANGE THE FONT SIZE TO 12.
APPLY THE WOVEN MAT TEXTURE FILL (FIRST ROW, FOURTH COLUMN) TO THEPATIO AND FURNITURESLICE.
Select the pie shape and add data labels to display in the center of each slice.
DISPLAY THEFORMAT DATA LABELSTASK PANE, CHOOSE THE ACCOUNTING FORMAT [LABEL OPTIONSBUTTON,NUMBERGROUP], AND SET 0 DECIMAL PLACES.
CHANGE THE DATA LABEL FONT SIZE TO 14 PT AND APPLY BOLD [HOMETAB,FONTGROUP].
DESELECT THE CHART.
SAVE AND CLOSE THE WORKBOOK (FIGURE 3-72).Figure 3-72 Excel 3-4 completed worksheet and chart
Original and non-plagiarized custom papers. Our writers develop their writing from scratch unless you request them to rewrite, edit or proofread your paper.
Timely Delivery. capitalessaywriting.com believes in beating the deadlines that our customers have imposed because we understand how important it is.
Customer satisfaction. Customer satisfaction. We have an outstanding customer care team that is always ready and willing to listen to you, collect your instructions and make sure that your custom writing needs are satisfied
Privacy and safety. It’s secure to place an order at capitalessaywriting.com We won’t reveal your private information to anyone else.
Writing services provided by experts. Looking for expert essay writers, thesis and dissertation writers, personal statement writers, or writers to provide any other kind of custom writing service?
Enjoy our bonus services. You can make a free inquiry before placing and your order and paying this way, you know just how much you will pay. CREATE A CLUSTERED COLUMN CHART OBJECT FOR CELLS A4:G9.
Premium papers. We provide the highest quality papers in the writing industry. Our company only employs specialized professional writers who take pride in satisfying the needs of our huge client base by offering them premium writing services.