首页 > > 详细

辅导 ITP122 Introduction to Programming辅导 留学生Python程序

ASSESSMENT 2 BRIEF

Subject Code and Title

ITP122 Introduction to Programming

Assessment

Intermediate Programming Tasks

Individual/Group

Group

Length

source code and comments

Learning Outcomes

The Subject Learning Outcomes demonstrated by successful completion of the task below include:

b) Select appropriate programming development tools and

methodologies to meet the software requirements.

c)    Apply coding, debugging and testing skills in software

development using a suitable IDE (integrated development environment) platform.

d)   Validate and verify computer programs to meet the software requirements.

Submission

Due by 11:55pm AEST/AEDT Sunday end of Module 8.

Weighting

45%

Total Marks

100 marks

Assessment Task

Write  programs  using the  knowledge of decision  logics and  loops from  Modules  2  to 8. You are expected to submit the accompanying documentation (comments) for your written codes.

Please refer to the Instructions for details on how to complete this task.

Context

Programming  practices  help  understand  how  computers  handle  standard  tasks  based  on  written instructions.  In  addition to  seeking  an  understanding  of  programming  principles,  how  computers handle repetitive tasks also demands hands-on practice and a curious mind. In this assessment, you will consolidate programming knowledge from Modules 2-8 by hands-on coding and compiling of code in a standard IDE environment.

In Assessment 1, you applied and explained the variables, expressions, basic and intermediate conditionals followed by other miscellaneous coding activities. Assessment 2 requires you to apply knowledge of intermediated and loops. This marks the setting up of a launching pad towards building confidence in your own ability to breakdown problems and design solutions.

Instructions

A suggested workflow is outlined below to complete the assessment task.

1. Attempt all learning activities in each module

The programming tasks for Assessment 2 covers foundational materials from the first eight modules. Thus, it is crucial that you read through the content and learning resources, attend sessions and complete all learning activities. Completing the learning activities in each module will assist you in completing Assessment 2 as similar tasks will be implemented and assessed.

2. Write programming codes for tasks provided below.

Assessment 2 requires you to complete the following:

•    Programming tasks based on Modules 2-8.

o You will be using variables, expressions, basic and intermediate conditionals, and  loops, to solve programming tasks using selected development environment given the task requirements.

Validating code; altering, finishing, and extending

•     Explain your program using sufficient comments (note your grading will be heavily focused on your comments).

Task 1: Coding for simple loops

1.    Complete the following programming exercises using python programming language:

•    Print first 10 even numbers using for loop (e.g., 2, 4, 6,  , 16, 18, 20)

•    Print first 10 odd numbers using while loop (e.g., 1, 3, 5,  , 15, 17, 19)

•    Print sum of first 10 numbers using for loop

(e.g., print the sum of 1+ 2 + 3 + … + 8 + 9 + 10).

2.    Write a python program that ask for an integer input from the user and prints its multiplications on the screen. The program should follow these steps:

Print on the screen, prompting for an input number from the user (e.g., ‘Enter an integer value’) Print the multiplication tables of a given number for 10 times

An example of the program output when a user enters 5:

5 x 1 = 5

5 x 2 = 10

5 x 3 = 15

5 x 4 = 20

5 x 5 = 25

5 x 6 = 30

5 x 7 = 35

5 x 8 = 40

5 x 9 = 45

5 x 10 = 50

Task 2: Coding for different types of loops

3.    Convert the following for loops into the equivalent while loop:

a)

Run the program. Include a screenshot of the output on the screen in your zip file.

b)

Run the program. Include a screenshot of the output on the screen in your zip file.

Task 3: Interpretation of loop codes

a)    b=10

While (b<10)

Print (“Hello”)

b+=1

Explain the code with comments and write down the expected output

b)   i=1

while i<3:

print(i)

i=i+1

else:

print(0)

Explain the code with comments and write down the expected output.

Task 4: Loop programming for a simple case project

You are hired as a software coder for Movies4Us Pty Ltd located in Melbourne, Australia. Your task is to develop a software program that issues 200 movie tickets. Your software program is to print

“welcome to Movie4Us” to the first 200 users but write “there is no more ticket” to the 201th user. The software also needs to display how many tickets are available to each customer.

For example, if Tim is 50th  user to buy the movie ticket, your software program should display “You are the 50th  user. The number of remaining tickets is now 150”. Prepare software code with

sufficient comments to explain the progress.

Compile your answers into a zipfolder

•    Make sure you have written your student ID and name as title comment in each code file.

•    Create a folder for each programming task, including any code and data files to compile and check the code.

•    Make a zipfolder of your four programming tasks folders.

•    Export the zipfolder as your final work and rename it to match this format: ITP122_LastnameFirstname_A2.zip.

Crediting Sources of Acquired Code

As  many  online  programming   resources   provide  solutions  to  programming  tasks   along  with documentation,  if  any  such  source  code  is  acquired  (reference  works,  documentation,  help  and tutorial sites, etc), it must be preceded by a code comment that lists the original site/creator and followed by a comment that declares the end of the acquired code. Acquisitions should be kept to a few lines or less and solve single problems (i.e., changing the range of a randomly generated number, handling unexpected types of input data and so forth).

Submission Instructions

Your submission should contain the zip archive of your project. Submit your assessment via the Assessment 2 linkin the main navigation menu in the ITP122 Introduction to Programming

Blackboard portal. Label the file using the following naming convention:

ITP122_LastnameFirstname_A2.zip

Your Learning Facilitator will provide feedback via the Grade Centre in the LMS portal. Grade Centre Feedback can be viewed in My Grades.

Note: It is critical that you attend or watch class streams and work along. Keep track of Blackboard announcements/emails and reach out to your Learning Facilitator with questions or issues well

before the final due date.

Please note that ad-hoc university tech support for external apps and platforms is not available.

Before you submit your assessment, please ensure you have read and understood the conditions outlined in the Academic Integrity Code Handbook. If you are unsure about anything in the

Handbook, please reach out to your Learning Facilitator.

Academic Integrity

All students are responsible for ensuring that all work submitted is their own and is appropriately   referenced and academically written according to theAcademic Writing Guide. Students also need to have read and be aware of the Torrens University Australia Academic Integrity Policy and

Procedure and subsequent penalties for academic misconduct. These areviewable online.

Students also must keep a copy of all submitted material and any assessment drafts.

Special Consideration

To apply for special consideration for a modification to an assessment or exam due to unexpected or extenuating circumstances, please consult theAssessment Policy for Higher Education Coursework and ELICOSand, if applicable to your circumstance, submit a completedApplication for Assessment Special Consideration Formto your Learning Facilitator.


联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!