ICT112 Programming Fundamentals Task 2 Semester 1, 2021 Version 2 Assessment and Submission Details Marks: 30 % of the Total Assessment for the Course Due Date: 11:59pm Friday, 4th June 2021 9:00am...

1 answer below »
it's in the file


ICT112 Programming Fundamentals Task 2 Semester 1, 2021 Version 2 Assessment and Submission Details Marks: 30 % of the Total Assessment for the Course Due Date: 11:59pm Friday, 4th June 2021 9:00am Monday 14th June, 2021. Assignments are to be submitted by SafeAssign. DO NOT SUBMIT THE ASSIGNMENT TO THE COURSE CO-ORDINATOR OR TUTOR. Submit your assignment to the link under Assessment -> Task 2 on Blackboard. The submission link will be open a week before the due date. Please follow the submission instructions provided. The assignment will be marked out of a total of 100 marks and forms 30% of the total assessment for the course. ALL assignments will be checked for plagiarism and/or collusion between individuals. Refer to your Course Outline or the Course Web Site for a copy of the “Student Misconduct, Plagiarism and Collusion” guidelines. Academic Integrity Information. Note: Each student MUST be able to produce a copy of their assignment and this copy MUST be produced within 24 hours of it being requested by the Course Co-ordinator. Failure to produce the second copy of the assignment when requested may result in loss of marks or a fail grade for the assignment. ICT112 Programming Fundamentals Task 2 Requests for an extension to an assignment extension MUST be made prior to the date of submission and requests made on the day of submission or after the submission date will only be considered in exceptional circumstances. Requests should include required supporting material per Section 7.92 of https://www.usc.edu.au/about/policies-and-procedures/assessment-courses-and-coursework-programs-procedures Page 3 of 5 Assignment Requirements and Deliverables   Create a Q&A bot for ICT112 Python programming help. You will be supplied a .csv file with question answer pairs and you need to search these for a keyword based on user input - you may do this at the command-line or explore a Graphical user interface. File for this is will be uploaded on Blackboard & will feature questions and answers that are sourced from previous discord chats for ICT112. But you may assume that the file has 2 columns with the first row being the column headers “Question” “Answer”. Questions can have more than one answer (represented as multiple rows in the csv, with the question repeated), but each answer will only have one question, though answers can be repeated e.g. Question Answer what’s the assignment symbol? = what’s python’s equivalent for ->? = Help my program isn't working My general advice whenever a program just isn't doing what it should be is to litter it with print statements Help my program isn't working Try commenting out some of your calculations and put them back one at a time until you can work out what it's actually doing There is no maximum number of questions in the file, so make sure your system can handle all different number of question and answer pairs. PART A DESIGN & RATIONALE (50 marks – per rubric) · Problem Description · Pseudo code for the problem solutions - (minimum 2 versions, initial and final) · Rationale, Discussion & Assumptions, including identifying libraries used · Test plan including test cases. Submitted as a MS Word Document: · Pseudo code for your system. This should include: · what decompositions are made into Functions/Modules and or classes. · Rationale for the system’s design (decomposition) · Discussion of how the System’s test plan (i.e. how did you test your system). · Any assumptions that were made about the data and how to process it. · Any limitations on your final program – i.e. parts of the design that you couldn’t get working (this demonstrates understanding of emergent code issues). PART B: IMPLEMENTATION (50 marks – per rubric) · Code solution · Import of file · Filtering /Analysis of file contents · Output to user or file · Documentation and coding style Submitted as a single python notebook with name _py.ipynb or zip archive of .py files , containing your complete python implementation: · Your Part B MUST work on the university systems and be able to be demonstrated · Your system MUST have your name and student number included at the beginning of every file/module in the comments. Submission The completed assignment is to be submitted by SafeAssign on or before the due date. The assignment will be assessed according to the online rubric. Late submission of the assignment will result in a late submission penalties as per USC policy: Days Late Marks Deducted 1 day late 5% of the total available marks 2 days late 10% of the total available marks 3 days late 20% of the total available marks 4 days late 40% of the total available marks 5 days late 60% of the total available marks 6 days late 80% of the total available marks 7 or more days late 100% of the total available marks Assignment Return and Release of Grades Assignment grades should be available on the course web site within 10 business days after submission (15 business days after submission at the latest). Electronic feedback on the submission will be made available at this time. Where an assignment is undergoing investigation for alleged plagiarism or collusion the grade and feedback for the assignment will be withheld until the investigation has conclude. Page PagePage 3 of 5 Question,Answer What's the assignment character in python,= What's python's equivalent of ->,= How do I read in a csv file?,"I believe it's open('file.csv', 'r')" I need help with Python,https://www.youtube.com/playlist?list=PL6gx4Cwl9DGAcbMi1sH6oAMk4JHw91mC_ I need help with Python,"The Runestone Academy stuff is really helping as well. Runestone Academy is good because it's interactive, and describes everything really well. and at the end of every page there's a quiz to seal the info in your head" I need help with Python,The best way to learn is to make a program Is Runestone Academy like Data camp,"Runestone Academy is good because it's interactive, and describes everything really well. and at the end of every page there's a quiz to seal the info in your head" Does anybody know how we find the unique categories in the lab,You use the not in operator in an if statement Tips on counting the categories?,If you use range(len()) it might help the count function What is the empty string,"""""" What's mod good for,"When you have a set of elements and you want to restrict the index inside it - like the alphabet, you can mod 26 to wrap the number around!" how do i cut off my while loop so it only lasts for how ever long i want it to,Using a break statement What is a global Variable,look at https://www.w3schools.com/python/gloss_python_global_variables.asp Help my program isn't working,my general advice whenever a program just isn't doing what it shoudl be is to litter it with print statements Help my program isn't working,Try commenting out some of your calculations and put them back one a a time until you can work out what it's actually doing My global variables aren't working,Have you tried turning it off and on again (literally! A restart can clean up the memory!) I don't understand what this week is asking ,Have you tried reading the readings for this week? I'm trying to open the csv file in python but get the following message: FileNotFoundError: [Errno 2] No such file or directory: 'googleplaystore1.csv',is your code file and the csv file in the same folder? otherwise you'll need to use a directory I'm trying to open the csv file in python but get the following message: FileNotFoundError: [Errno 2] No such file or directory: 'googleplaystore1.csv',I get that error when the file isn't in the expected working directory. If I cd in the python terminal to where the file is located the program normally runs again without error... not sure if that is exactly your issue though. Best place/website to learn code?,Just depends on what you really want to learn? Code Wars is pretty good if you'd like a bit of challenge. But if you're just starting out - there are few good YouTube videos. Or go to https://www.learnpython.org/ just to start with the basic stuff. üôÇ What's pseudo code?,"Pseudocode is just writing the code in a generic form that has no language specific syntax. e.g. instead of: print(""hello welcome to the chatbot"") which is python syntax you write: greet user or output user welcome message" What's pseudo code?,It's just breaking the problem down into steps in plain English How do I install VS Code for Python,"I didn't find much information in BB regarding downloading/installing Python or VS code. However, you can use this video. You'll find in section 2 - Annyce Davis explains how to install VS code and python for windows and mac. Its a great course and you can access LinkedIn Learning through your uni email. https://www.linkedin.com/learning-login/share?forceAccount=false&redirect=https%3A%2F%2Fwww.linkedin.com%2Flearning%2Fprogramming-foundations-fundamentals-3%3Ftrk%3Dshare_ent_url%26shareId%3DqpCrW1r9QEGsOKytpK2E0A%253D%253D&account=57121273" ICT112 Programming Fundamentals Task 2 ICT112 Task 2 – Python Assignment Rubric Criteria High Distinction (85-100%) Distinction (75-84%) Credit (65-74%) Pass (50-64%) Fail 1. Presentation and organisation of report; PART A 10% Report is well structured, clear, concise and complete. The meaning is consistently clear. Use of terminology is confident and assured. The level of presentation meets the professional standards of the discipline, and there is a high level of attention to detail with content. Little/ no errors in grammar, syntax and spelling. Referencing and citations are appropriate and well-integrated. Report is mostly well structured, may have some repetition but is complete The meaning is clear. Use of terminology is extensive and largely correct. The level of presentation meets the professional standards of the discipline, and there is attention to detail with content. The grammar, syntax and spelling are near prefect. Referencing and citations are appropriate and integrated. Report is well written in places, may exhibit repetition in multiple place. Overall meaning is clear though there are minor instances of awkward or unclear expression. Use of terminology is adequate. The level of presentation mostly meets the professional standards of the discipline, and there are some lapses in attention to detail with content. The grammar, syntax and spelling are good. Some referencing and citations errors. The intended meaning can be discerned but lacks clarity and/ or instances of awkward or unclear expression. Limited use of terminology with minor inaccuracies. The level of presentation sometimes meets the professional standards of the discipline, but there are some lapses in attention to detail with content. The grammar, syntax and spelling contain errors. Some referencing and citations errors. Use of language fails to make meaning clear, many errors of grammar, syntax and spelling. The range of errors indicates a lack of editing and proof-reading. Limited use of terminology with minor inaccuracies. Elements of report are missing or incomplete, Some referencing and citations errors 2. Insightful analysis of the given problem; PART A 20% Comprehensive and insightful Client definition are clearly and comprehensively understood and reflected in the pseudocode and test plan. Assumptions show a good depth of insight
Answered 1 days AfterJun 10, 2021ICT112University of the Sunshine Coast

Answer To: ICT112 Programming Fundamentals Task 2 Semester 1, 2021 Version 2 Assessment and Submission Details...

Aditya answered on Jun 11 2021
127 Votes
# Student Name : Jordan Bhusal
# Student Number:1132603
import csv
question_dict = {} # this is a
dictionary which is used to store the question and the respective answer
def readCSV(): #this function reads the csv file and store the question and the answer in the dictionary
with open('chatbot.csv') as csv_file: # reading the csv file using csv reader
csv_reader = csv.reader(csv_file)
next(csv_reader) # skipping the first line of the csv
for data in csv_reader:
if data[0] in question_dict:
if not isinstance(question_dict[data[0]], list): # if the question is already in the dictionary then we create the value as a list and append the answer to list
question_dict[data[0]] =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here