1. Homepage
  2. Programming
  3. [2022] Introduction to Information Technology - Week 2 Lab submission

[2022] Introduction to Information Technology - Week 2 Lab submission

Engage in a Conversation
University of CanberraWeek 2 Lab submissionPythonProgramming HelpIntroduction to Information Technology

Week 2 Lab submission  
CourseNana.COM

All lab questions focus on Python 3.0 and above versions.) CourseNana.COM

  CourseNana.COM

  CourseNana.COM

In this lab activity, your tutor will demonstrate to you how to fill the (SoftwareTestCase) inside your report, which will be used to report the test cases for your challenge activities as well as your assignment. Please make sure that you have mastered this skill and ask your tutor if you have any questions.
CourseNana.COM

The following is an excellent example of writing a well-documented code, please notice the following in the code below: CourseNana.COM

1- Prologue is on the top of the code. CourseNana.COM

2- Naming convention is used. CourseNana.COM

3- Every step in the code is well-commented. CourseNana.COM

4- The code is properly indented. CourseNana.COM

  CourseNana.COM

Lab Activity 1: CourseNana.COM

ACME Booksellers has a book club that awards points to its customers based on the number of books purchased each month. The points are awarded as follows: CourseNana.COM

• If a customer purchases 0 books, he or she earns 0 points. CourseNana.COM

• If a customer purchases 2 books, he or she earns 5 points. CourseNana.COM

• If a customer purchases 4 books, he or she earns 15 points. CourseNana.COM

• If a customer purchases 6 books, he or she earns 30 points. CourseNana.COM

• If a customer purchases 8 or more books, he or she earns 60 points. CourseNana.COM

A Python program that asks the user to enter the number of books that he or she has purchased this month, then displays the number of points awarded. CourseNana.COM

  CourseNana.COM

Lab Activity 2 CourseNana.COM

Number Analysis Tool : A Python program using turtle graphics that asks the user to enter an integer. The program should display “Positive” if the number is greater than 0, “Negative” if the number is less than 0, and “Zero” if the number is equal to 0. The program should then display “Even” if the number is even, and “Odd” if the number is odd CourseNana.COM

  CourseNana.COM

Challenge Activity1: CourseNana.COM

Write a Python application program to input, calculate and output the following: CourseNana.COM

- Ask the user to input the following: CourseNana.COM

Customer's Name CourseNana.COM

Number of items the customer purchased CourseNana.COM

The item price CourseNana.COM

- Calculate using the following formulae: CourseNana.COM

Gross payment = Number of items * item price CourseNana.COM

goods and services tax (GST) = Gross payment * (10/100) CourseNana.COM

Net payment = Gross payment + GST CourseNana.COM

- Output the following: CourseNana.COM

Customer's Name CourseNana.COM

Number of items the customer purchased CourseNana.COM

The item price CourseNana.COM

Gross payment CourseNana.COM

GST CourseNana.COM

Net payment CourseNana.COM

For example, if the customer name is Tariq, and he purchased 13 items, and the item price is $14.72, then the calculation will be: CourseNana.COM

Gross payment = 14.72 * 13 = 191.36 CourseNana.COM

GST = 191.36 *(10/100) = 17.136 CourseNana.COM

Net payment = 191.36 + 17.136 = 210.496 CourseNana.COM

  CourseNana.COM

And the program output must be as follows: CourseNana.COM

  CourseNana.COM

Dear Gurpreet, CourseNana.COM

You have purchased 13 items, and the item price = $14.72 CourseNana.COM

Based on that, the Gross payment = $191.36 and the GST = $17.136 CourseNana.COM

The Net payment you have to pay = $210.496 CourseNana.COM

Please let me know if you have any question. CourseNana.COM

With best regards, CourseNana.COM

(write your name here) CourseNana.COM

  CourseNana.COM

Challenge Activity2: CourseNana.COM

Use the turtle graphics library to write programs that reproduce the design shown in Figure below: CourseNana.COM

- Your submission must be according to the (Lab Submission Instructions) CourseNana.COM

- You must do at least 3 test cases to demonstrate the robustness of your program. CourseNana.COM

- You must demonstrate the test results in your report according to (SoftwareTestCase) CourseNana.COM

  CourseNana.COM

CourseNana.COM

CourseNana.COM

CourseNana.COM

CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
University of Canberra代写,Week 2 Lab submission代写,Python代写,Programming Help代写,Introduction to Information Technology代写,University of Canberra代编,Week 2 Lab submission代编,Python代编,Programming Help代编,Introduction to Information Technology代编,University of Canberra代考,Week 2 Lab submission代考,Python代考,Programming Help代考,Introduction to Information Technology代考,University of Canberrahelp,Week 2 Lab submissionhelp,Pythonhelp,Programming Helphelp,Introduction to Information Technologyhelp,University of Canberra作业代写,Week 2 Lab submission作业代写,Python作业代写,Programming Help作业代写,Introduction to Information Technology作业代写,University of Canberra编程代写,Week 2 Lab submission编程代写,Python编程代写,Programming Help编程代写,Introduction to Information Technology编程代写,University of Canberraprogramming help,Week 2 Lab submissionprogramming help,Pythonprogramming help,Programming Helpprogramming help,Introduction to Information Technologyprogramming help,University of Canberraassignment help,Week 2 Lab submissionassignment help,Pythonassignment help,Programming Helpassignment help,Introduction to Information Technologyassignment help,University of Canberrasolution,Week 2 Lab submissionsolution,Pythonsolution,Programming Helpsolution,Introduction to Information Technologysolution,