Recent Question/Assignment

Deakin University
SIT111 Introduction to Computer Science
Unit Assessment Handbook
Gang Li
Trimester 1, 2015
School of Information Technology
Deakin University, Australia

CONTENTS
0 Assessment Overview 1
0.1 General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
0.1.1 Where to Get Help? . . . . . . . . . . . . . . . . . . . . . . . . . . 1
0.1.2 Where to Submit? . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
0.1.3 Important Dates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
0.1.4 Assignment Results . . . . . . . . . . . . . . . . . . . . . . . . . . 2
0.2 General Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1 Queensland Baby Name project 5
1.1 Task Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 What to Submit? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Project Portfolio Presentation 9
2.1 Task Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.1 Code Style: Pep 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 What to Submit? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2.1 Help on Portfolio . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2 Help on Submission . . . . . . . . . . . . . . . . . . . . . . . . . . 12
i


CHAPTER
ZERO

ASSESSMENT OVERVIEW
Contents

0.1 General Information . . . . . . . . . . . . . . . . . . . . . . . . . 1
0.1.1 Where to Get Help? . . . . . . . . . . . . . . . . . . . . . . . . 1
0.1.2 Where to Submit? . . . . . . . . . . . . . . . . . . . . . . . . . 2
0.1.3 Important Dates . . . . . . . . . . . . . . . . . . . . . . . . . . 2
0.1.4 Assignment Results . . . . . . . . . . . . . . . . . . . . . . . . 2
0.2 General Requirements . . . . . . . . . . . . . . . . . . . . . . . 2

0.1 General Information
The SIT111 2015 assessment consists of 4 components as detailed below:
Table 0.1: SIT111 Assessment Plan
Components Percentage Submission Methods Working Mode
Assignment 1 12.5% Soft Copy to CloudDeakin Individual
Assignment 2 12.5% Created in and Submitted to CloudDeakin Individual
Practicals 25% Practical Attendance and CloudDeakin Quizzes Individual
Final Examination 50% Exam Individual
0.1.1 Where to Get Help?
Students are encouraged to discuss the unit related assessment in CloudDeakin unit [home page] ? [Collaboration] ? [Student Discussion].
1
0.2. GENERAL REQUIREMENTS ?[SIT111]?

0.1.2 Where to Submit?
Assignments 1 and 2 should be submitted to CloudDeakin. You can find the corresponding submission box by following the [home page]? [Assessment] ? [Assignments (Dropbox)] link.
0.1.3 Important Dates
Please be aware of the following important dates:
Assignment 1 Due Date CloudDeakin Submission, 23:59pm, 24/05/2015 (Week 10 Sunday)
Assignment 2 Due Date CloudDeakin Submission, 23:59pm, 31/05/2015 (Week 11 Sunday)
0.1.4 Assignment Results
• The marking report is expected to be released within 14 days of the due date;
• The marking report will be released to CloudDeakin.
• Within 3 days after the result is released, any students who wish to challenge their mark must contact or approach me during contact hours and bring with them a copy of their assignment and their mark breakdown. Off-campus students can email me for this issue.
0.2 General Requirements
Students are required to familiarize themselves with Faculty regulations regarding plagiarism. Information regarding plagiarism and how to reference is provided in CloudDeakin in the Unit Guide.
Student information and assessment related forms can be found from this URL: http://www.deakin.edu.au/sebe/students/
1. Any text or code adapted from any source must be clearly labeled and referenced. You should clearly indicate the start and end of any such text/code.
2. All assignments must be submitted as required by their corresponding assignment requirements. Assignments will not be accepted through any other manner without prior approval. Students should note that this means that email and paper based submissions will ordinarily be rejected.
3. Penalties for late submissions are indicated in the Unit Guide in CloudDeakin. Close of submissions on the due date and each day thereafter for penalties will occur at 11 : 59pm local time. Students outside of Victoria, Australia, should note that the local time zone is UTC + 10, and in Daylight Saving Dates, it will be UTC + 11.

R127 (2015-04-26 03:56:27Z) 2 Last changed by: Gang Li ?[SIT111]? 0.2. GENERAL REQUIREMENTS

4. Information regarding assignment extensions is provided in the Unit Guide in CloudDeakin. Students must not assume an extension will be granted. Late penalties still apply in the case of a failed application for extension, hence until an extension is granted students should submit any work completed before the assignment is due. Note that extensions cannot be granted for system outages or encumbrances.

R127 (2015-04-26 03:56:27Z) 3 Last changed by: Gang Li


ASSIGNMENT
ONE

QUEENSLAND BABY NAME PROJECT
Contents

1.1 Task Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 What to Submit? . . . . . . . . . . . . . . . . . . . . . . . . . . 7

This assignment contributes 12.5% of your final SIT111 mark. It must be completed individually, and submitted to CloudDeakin before the due date: 11:59pm, 24/05/2015 (Week 10 Sunday).
1.1 Task Description
This assignment focus on the design, implementation and testing of Python programs with knowledge on input, output, file manipulate and use of basic data structures.
You are required to work on data set “Top 100 baby name” (2010 - 2014) published by
Queensland Government (http://data.qld.gov.au/dataset/2010-top-100-baby-names). The data set includes baby names for both boys and girls and counts of the baby names for each year.
We provide a compressed file SIT111A1.zip which contains all the data sets and some references for you to work on this assignment. The directory tree of files contained in SIT111A1.zip is as follows:
/ data......................................................folder for data sets babyQld2010.csv babyQld2011.csv babyQld2012.csv babyQld2013.csv babyQld2014.csv
output..............................................folder for sample output babyQldAll.csv printBoynameOutput.txt
5
1.1. TASK DESCRIPTION ?[SIT111]?
printBoynameTPL.py..........................template for printBoyname.py writeCSVTPL.py...................................template for writeCSV.py
There are 5 CSV files, corresponding to 2010-2014 data sets, respectively. You are required to write two Python programs to complete two tasks as described in the following subsections. The sample outputs of these two programs are provided in the output folder, and two Python templates (writeCSVTPL.py, printBoynameTPL.py) are provided to help you with program structure. Feel free to work on the templates, and revise the code wherever you need.
Task 1: writeCSV.py
The original data file for each year contains information on boy names and counts, girl
names and counts for that year, with the csv file in the following format: Boy names , Count of boynames , Girl names , Count of girl names
This kind of data organization is not clear, sometimes can lead to confusion. In this task, you are required to write a Python program writeCSV.py to read in those data files, extract the baby names and counts, and output a single file babyQldAll.csv with

In this task, you are required to write a Python program printBoyname.py with the following functions:
1. to accept a year as input from user console;
2. to read data from the babyQldAll.csv file that was generated in your task 1 ;
3. to process the data and generate the output for all BOY names and their corresponding counts, with the names in the list are in the alphabetical order. Each line printed on screen should be in the following format:

R127 (2015-04-26 03:56:27Z) 6 Last changed by: Gang Li

use the name in the list to access the corresponding count values in the dictionary.
1.2 What to Submit?
To be completed individually. This assignment has to be submitted to CloudDeakin
By the due date, you are required to submit the following file to the corresponding Assignments (Dropbox) in CloudDeakin.
1. Python program source file writeCSV.py
2. Python program source file printBoyname.py

R127 (2015-04-26 03:56:27Z) 7 Last changed by: Gang Li


ASSIGNMENT
TWO

PROJECT PORTFOLIO PRESENTATION
This assignment contributes 12.5% of your final SIT111 mark. It must be completed individually, and submitted to CloudDeakin before the due date: 11:59pm, 31/05/2015 (Week 11 Sunday).
2.1 Task Description
CloudDeakin Portfolio is a personal portfolio tool for storing, organising, reflecting on and sharing items that represent your learning. You may create and include documents, graphics, audio files, videos, presentations, unit work, etc. that demonstrate your development or mastery in a certain area.
Presentations provide a polished, professional medium to demonstrate your learning and accomplishments, and they let you compile Portfolio items into a web project to showcase your achievements. Your presentations can have multiple pages and use different themes and layouts. In this assignment, you are required to prepare a Portfolio
Presentation for your completed Assignment 1 within the CloudDeakin portfolio area. You are also required to incorporate the reflection on the implementation and or feedback from classes for inclusion in the course portfolio.
Typically, your presentation have the following pages or artifacts with the specific requirements.
General Information This area or page within your presentation should introduce your assignment 1 project. The information that you provide here should be not contain technical jargon and should be appropriate for a nontechnical audience. The content for this area should be a mixture of text, images, or even videos or audio annotations.
Implementations This page(s) within your presentation should describe the implementation of your assignment 1 project, with detailed description on:
Data Structure The data structure to represent the provided data set
9
2.1. TASK DESCRIPTION ?[SIT111]?

Algorithm The algorithm in writeCSV.py to manipulate the provided data set and the algorithm printBoyname.py to generate the required results
You should use natural language to describe those implementations, and also include
Python the source code. However, those source codes should be reformatted using the Pep 8 code style, which is described in 2.1.1.
Demonstrations This page or area of your presentation should use appropriate media assets to demonstrate the functions of the developed assignment 1 work. The demonstration can be implemented as screen casting video, or as a set of screen dump photos with descriptions.
Discussions This page of your presentation should contain your thoughts, ideas, opinions, and conclusions about the project you have implemented and presented. Think about the significance of more sophisticated computer science techniques and how it will impact society, business, communities etc. This is also an important part of the presentation as it reflects your understanding of the technology and context it will be used.
As Portfolio Presentation is an electronic document, you are not bound to a physical A4 page, instead you are creating an on-screen document. As such you should not limit yourself to text and graphics, as you will also be able to make use of multimedia and live context within your presentations. You should also consider other media assets, such as
audio, video and web links within your presentation.
2.1.1 Code Style: Pep 8
Pep 8 is the de-facto code style guide for Python (https://www.python.org/dev/peps/ pep-0008/). Skim the style guide to gain basic understanding what is required. Conforming your Python code to PEP 8 is generally a good idea and helps make code more consistent when working on projects with other developers.
In your presentation, if the source code is to be included, you are required to revise your code so that it meets at least the following major PEP 8 guidelines:
Comment Please follow the following style for Python comments:
1. To explain the functionality of a group of statements, apply block comments before the statements. Indent the comments to the same level as the code.
2. Write documentation strings (i.e. docstring) for your function.
Code Lay-out Please follow the following style for Python code layout:
1. Blank lines: Surround top-level function and class definition with two blank lines. Use blank lines in functions, sparingly, to indicate logical sections.
2. Indentation: Use four white spaces instead of tab for indentation.
White spaces in expressions and statements Please follow the following style for Python while spaces:

R127 (2015-04-26 03:56:27Z) 10 Last changed by: Gang Li ?[SIT111]? 2.2. WHAT TO SUBMIT?

1. Surround binary operators with a single space on either side.
2. If operators with different priorities are used, consider add whitespace around the operators with the lowest priority(ies). However, never use more than one

stick to it for consistency. Only use the other one when a string contains single or double quote characters.
Naming Conventions Make sure the naming of your variable follow consistent style: e.g.
lowercase, lower case with underscores, or mixedCase.

This presentation will be create using the Portfolia area of CloudDeakin. To access the Portfolio you must be logged into CloudDeakin. The Portfolio link can be accessed through the navigation menu.
2.2 What to Submit?
The submission of this Portfolio Presentation will be done through the assignment submission area of CloudDeakin.
2.2.1 Help on Portfolio
To assist you in creating your portfolio presentations for your assignment, the following videos provide a demonstration on how to use the portfolio tool.
Portfolio video How to upload artefacts to build my portfolio
Portfolio video How to create my folio/ presentations
Portfolio video Check it out further

R127 (2015-04-26 03:56:27Z) 11 Last changed by: Gang Li
2.2. WHAT TO SUBMIT? ?[SIT111]?

2.2.2 Help on Submission
You can find the help information on submission from the following URLs:
1. http://www.deakin.edu.au/learning/cloud-learning/clouddeakin/guides/eportfolio/ my-items#presentations
2. http://www.deakin.edu.au/students/clouddeakin/help-guides/assessment/assignments
Please make sure that upon the choice of “Add a File”, you use the option of “submit items from your Portfolio”

R127 (2015-04-26 03:56:27Z) 12 Last changed by: Gang Li

Looking for answers ?