CS101 Introduction to Computing Assignment Problem

Assignment Help Other Subject
Reference no: EM132397213

CS101 Introduction to Computing Assignment

Tasks -

1. Open the file a05b.py and follow the instructions given below:

(a) Write a function with the exact name of writeMissingEntries that takes an argument from a file named 'studentRecord.txt' line by line. Each line represents some important information and scores of a student. The first element is the roll number of the student and the second is the full name. The rest of the elements are the student's scores in quizzes. There are total three quizzes. Some students may have more quizzes than the others. For instance, in the example below, the first student has 3 quizzes while the third has only 2 (of which, the third got a 'A' which shows the student was absent). A in the score is the same as a 0. The problem is that some entries might be missing e.g. there are only two entries against Jamal Khan. So writeMissingEntries should find such missing and should write in 'logfile.log'. Some contents of 'studentRecord.txt' are:

Some contents of 'studentRecord.txt' are:

18P-0001, Ali Ahmed, 7, 4, 6

18P-0130, Hassan Jan, A, 8, 0

18P-0402, Jamal Khan, 10, 6

18P-0145, Hamza Saeed, 6,4.5, 6

Your task is to call writeMissingEntries that write those lines which has missing entries in another file named 'logfile.log'. You can solve this problem using different approaches, but basic requirement is that writeMissingEntries function should handle 'IndexError' exception in appropriate manner.

So, it should store the following information in 'logfile.log' file: [18P-0402, Jamal Khan, 10, 6]

Your function should be able to handle any number of student records passed to it.

Make sure you preserve the order of records in the file. If the order of students is changed, your tests may not pass.

2. Then, run local tests using the python run.py local.

3. If all tests succeed, submit your assignment using python run.py remote.

4. Run local tests and if they pass, submit the assignment using the submission command given on the Autograder assignment page. (Same as the previous assignment.)

5. Once the submission is successful, you may visit the Autograder front-end to view your submission history.

6. If you face any issue, please send me an email informing me of the error. We're still trying to work out the issues in this new system. So, your help will be greatly appreciated.

Attachment:- Introduction to Computing Assignment Files.rar

Reference no: EM132397213

Questions Cloud

ENGIN5304 Advanced Robotic- Assignment Problem : ENGIN5304 -Advanced Robotic Assignment Help and Solutions, Federation University Australia-Find and plot the joint trajectories which would move the origin.
Risk appetite is quantity and nature of risk : Risk appetite is the quantity and nature of risk that organizations are willing to accept as they evaluate trade-offs between "perfect security"
New technologies and for policy making and policy review : Agent Based Modeling can be used for introducing new technologies and for policy making and policy review.
Software development policies in terms of security : Outline some of the software development policies in terms of security and discuss how it could be implemented in an organization.
CS101 Introduction to Computing Assignment Problem : CS101 Introduction to Computing Assignment Help and Solution. Write a function with the exact name of writeMissingEntries
Local company called trigo has caught your attention : You work as a forensic investigator. A recent inquiry from a local company called TriGo has caught your attention.
Why is understanding hacking-exploitation-vulnerabilities : Why is understanding hacking, exploitation, vulnerabilities, and attacks critically important? What motivates hackers to attack computer networks?
What network effects are part of Zipcar strategy : Discuss the synergy between the business strategy of Zipcar and information technology. What network effects are part of Zipcar's strategy? How do they add
Describe technological instrumentalism : List the benefits associated with stakeholder engagement in governance. Describe technological instrumentalism.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd