AB0403: A ToDo Program Helps One to Keep Track and Monitor Important: Decision Making with Programming and Data Analytics Assignment, Singapore

University Nanyang Technological University (NTU)
Subject AB0403 Decision Making with Programming and Data Analytics

AB0403: Decision Making with Programming and Data Analytics- Python Coding Assignment

A ToDo program helps one to keep track and monitor important tasks to be completed. A typical ToDo program lists down the names of tasks to be completed and an indication of whether each task has been completed. Stephen Covey proposed a good strategy to categorize tasks in his book “The 7 habits of Highly Effective People”. Each task is to be charted in one of the four quadrants defined by urgency and importance as shown in Figure 1. For example: completing LAMS 4 is a task needs to be completed, it is important as part of the assessment in this course and it is also urgent because it will be due tomorrow. Hence this task is placed at the top left-hand corner as a pressing task to be completed.

fig.1 python programming

You are to develop a program that allows user to enter, view, and edit a ToDo list. This program reads in a text file called “todo.txt” storing all the items. Any changes or additions of items will then be stored back in the same file. Figure 2 shows a sample todo.txt. The first line contains header information describing all columns. The first column of data is the name of the task, the second column is the importance, third column for urgency, and the last column indicates if the task has been completed. Line 2 onwards will be the item listing. The first item in the listing is “AB0403 Assignment”, it is important and not urgent and yet to be completed. The last three columns come with Yes or No indication corresponds to its importance, urgency and completion.

fig.2 python programming

 

The running of the program is shown below:
1. The program will print a welcome menu showing 3 options for a user to choose from. Options include viewing, adding, and marking an item as completed. The welcome menu will continue to be printed until the user selects option 4 for the exit.

fig.3 python programming

 

Buy Custom Answer of This Assessment & Raise Your Grades

 

2. When user enters 1 for viewing Todo List, Todo listing will be shown displaying all the items from todo.txt and followed by printing the earlier welcome menu. In the Todo listing, the first item will be displayed with numeric of 1 (as this is the first item) with a colon separator and description text of “AB0403 Assignment is important and is not urgent, it has not been completed.”. Other items are displayed in a similar manner.

fig.4 python programming

 

fig.5 python programming

fig.6 python programming

fig.7 python programming

 

  1. Demonstrate understanding of data types and apply it in
    the right context.
  2. Demonstrates an understanding of coding elements.
  3. Implement the required functions in requirements.
Get Help By Expert

We can deliver the perfect assessment solutions for your python programming assignments within a few hours. If you are struggling to finish your programming assignments, then you can take data programming help from the team of our expert writers in Singapore. We work on different programming assignments of AB0403 Decision Making with Programming and Data Analytics course.

Answer

Looking for Plagiarism free Answers for your college/ university Assignments.

Ask Your Homework Today!

We have over 1000 academic writers ready and waiting to help you achieve academic success