Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
The given text files represent a list of account numbers and associated balances. Balances change over time. If a balance is later in the file, then this implies the balance for that customer is more recent. Ask the user for a file name then display the most recent balance along with the high and low balance.
balances-0.txt
customer id balance
1 $93.83
1 $805.24
2 $866.45
4 $943.28
3 $764.12
1 $798.00
4 $395.59
5 $644.26
4 $18.31
4 $814.97
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 1 images
Knowledge Booster
Similar questions
- this code should be in python:arrow_forwardJQuery selector $("#test").hide(); This will hide following please select from choice below. O This is a paragraph. O This is a paragraph. O This is paragraph.arrow_forwardThe Pinewood Derby involves racing Derby cards down multiple lanes and calculating the average time to determine the winner. Create a program that prompts the user to enter in the number of racers that are competing. For each racer that is competing, the user should be specified to enter in four race times and the program should display the average of those times. That data should be then saved to a file. The program should drop the racers slowest time and calculate the average of the remaining times to determine a winner. Note: The most common error I see is that people drop the fastest race time, not the slowest. The program does not need to report who won; the program just needs to display the adjusted average for each racer.arrow_forward
- Using Java, create a personal directory that contains a data structure for first name, last name, email address and phone number. The data structure should be able to contain the information for an unlimited number of people (depending on system resources).• The program interface should consist of a menu that provides the user with ways to (at least):▪ Add: Get data from user and add the data to the structure.▪ View: which will view the current data in the directory ▪ Edit/Update: Edit existing data ▪ Remove: Delete an entry▪ Search: which prompts the user for search criteria (program should be smart enough to know how to tell what kind of data is being searched for. Try to make this as versatile as possible). Display the data if found. If not found add the new information to the data structure (you must provide the right input for this).The program should store the data in a file so that the program can be run whenever the user wants, even after closing.• Your program should:▪ Contain…arrow_forward# file name: w07_markus.py## Complete the following steps:# (1) Complete the following function according to its docstring.# (2) Save your file after you make changes, and then run the file by# clicking on the green Run button in Wing101. This will let you call your# modified function in the Python shell. An asterisk * on the Wing101# w07_markus.py tab indicates that modifications have NOT been saved.# (3) Test your function in the Wing101 shell by evaluating the examples from# the docstring and confirming that the correct result is displayed.# (4) Test your function using different function arguments.# (5) When you are convinced that your function is correct, submit your# modified file to MarkUs. You can find instructions on submitting a file# to MarkUs in Week *2* Perform -> Accessing Part 2 of the# Week 2 Perform (For Credit) on PCRS.# (6) Verify you have submitted the right file to MarkUs by downloading it# and checking that the…arrow_forwardHi please fix my code so that the output matches this: Course Information: Course Number: ECE287 Course Title: Digital Systems Design Course Information: Course Number: ECE387 Course Title: Embedded Systems Design Instructor Name: Mark Patterson Location: Wilson Hall 231 Class Time: WF: 2-3:30 pm main.cpp (do not change) #include "OfferedCourse.h" int main() { Course myCourse; OfferedCourse myOfferedCourse; string courseNumber, courseTitle; string oCourseNumber, oCourseTitle, instructorName, location, classTime; getline(cin, courseNumber); getline(cin, courseTitle); getline(cin, oCourseNumber); getline(cin, oCourseTitle); getline(cin, instructorName); getline(cin, location); getline(cin, classTime); myCourse.SetCourseNumber(courseNumber); myCourse.SetCourseTitle(courseTitle); myCourse.PrintInfo(); myOfferedCourse.SetCourseNumber(oCourseNumber);…arrow_forward
- Create an application named StudentsStanding.java that allows you to enter student data that consists of an ID number, first name, last name, and grade point average. Have the program accept input until ZZZ is entered for the ID number. Depending on whether the student’s grade point average is at least 2.0, output each record either to a file of students in good standing or those on academic probation. Create an application named StudentsStanding2.java that displays each record in the two files created in the StudentsStanding application. Display a heading to introduce the list produced from each file. For each record, display the ID number, first name, last name, grade point average, and the amount by which the grade point average exceeds or falls short of the 2.0 cutoff. For example, the output should be formatted as follows (note that the student info may vary):arrow_forwardprepare a flowchart please # inside data sub subarray[serial, name, amount]; # My data; data = [['01','A',4000],['02','B',8000],['03','C',10000],['04','D',12000],['05','E',16000]] serial = 0 name = 1 amount = 2 #update.... total = 0; for i in data: total = total+i[amount] print(f"The total amount is: {total}")arrow_forwardIn the following pseudocode of creating a trigger, the first UPDATE is the ____ of the trigger, and the second UPDATE is the ____ of the trigger. CREATE TRIGGER MyTrigger AFTER UPDATE OF attr ON MyTable ... WHEN ... UPDATE MyTable .... Group of answer choices Action; action Condition; action Event; action Event; conditionarrow_forward
- USE THE SIMPLE PYTHON CODE PLEASE The username code. The company can choose the specific criteria for the username. The criteria is as follows: a minimum length, a minimum number of capital letters, and a minimum number of special characters. Special charters are [$, #, ^, %, . etc]. You will turn in three .py files. The first file called main.py contains your main interface. The second file called functions.py contains all the functions your main code. The third file called parameters.py contains the parameters of the code: the special character list, the minimum length, the minimum number of special characters, the minimum number of capital letters, and the number of tries the user gets to input user name. Your code operates as follows. Display the criteria for the username. Prompt the user to input a username. If the username does not meet criteria, tell the user why and re prompt to enter in a username. Repeat until you reach the maximum number of tries allowed.arrow_forwardDesign an application for the ABC Company that will process inventory from a file called ABC_Inventory.txt (attached to this assignment). The file contains Item ID, Description and list price stored on a separate line in the file. The program should display the contents of each record and then calculate and display the average list price. it is important that this is done in Thonny for python warrow_forwardCreate an application named StudentsStanding.java that allows you to enter student data that consists of an ID number, first name, last name, and grade point average. Have the program accept input until ZZZ is entered for the ID number. Depending on whether the student’s grade point average is at least 2.0, output each record either to a file of students in good standing or those on academic probation. Create an application named StudentsStanding2.java that displays each record in the two files created in the StudentsStanding application. Display a heading to introduce the list produced from each file. For each record, display the ID number, first name, last name, grade point average, and the amount by which the grade point average exceeds or falls short of the 2.0 cutoff. For example, the output should be formatted as follows. Java languagearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY