11.9 LAB: Course Grade Write a program that reads the student information from a tab separated values (tsv) file. The program then creates a text file that records the course grades of the students. Each row of the tsv file contains the Last Name, First Name, Midterm1 score, Midterm2 score, and the Final score of a student. A sample of the student information is provided in Studentinfo.tsv. Assume the number of students is at least 1 and at most 20. The program performs the following tasks: • Read the file name of the tsv file from the user. • Open the tsv file and read the student information. • Compute the average exam score of each student. Assign a letter grade to each student based on the average exam score in the following scale: o A: 90 =< x • B: 80 =< x < 90 • C: 70 =< x < 80
Q: What is the classification of database design that accomplishes characteristics such as programme…
A: Servlets: The database should be strong enough to hold all of the important data and requirements…
Q: If the dispute is judged under the rule of reason, what might be ICANN"s defense for having a…
A: For 4th question If the dispute is judged under the rule of reason,ICANN's defence for having a…
Q: Which of the following is true? Pick one: a. b. KNN clusters data. The lack of labelled training…
A: Third option is correct answer
Q: a. Python does not directly enforce public and private member access and so will not generate an…
A: a. Python does not directly enforce public and private member access and so will not generate an…
Q: Sound is one of the most important elements of multimedia. Calculate the file size for a monaural…
A: The formula to calculate sound file size is= Sample rate × Sample size × Time × Channel Channel=1…
Q: d CTS frames as the standard DATA and ACK frames. Is there a benefit to using CTS and RTS frames…
A: Introduction Request To Transmit/Clear To Send (RTS/CTS) is a flow mechanism in which Data Terminal…
Q: Memory 12200 12201 12202 12203 12204 Content %3D AA EE FF 22 What result is produced in the…
A: To find result for the following execution instruction. a. LEA SI, [DI + BX + 5] b. LDS SI,[200]
Q: Design a flowchart. The program accepts data for an ID number of a parent, the name of the child,…
A: The flowchart is given below.
Q: CPU time is a valuable computer resource, and a smart computing system should be designed to make…
A: The solution to the given question is: The DMA module sends or receives one block of data to or from…
Q: 5.2: Time Write a program that requests the current time and a waiting time as two integers for the…
A: The above program is in C++ is given below:
Q: Explain how expansion cards may increase the processing capabilities of a microcomputer.
A: Introduction: An expansion card (also known as an expansion board, adapter card, or accessory card)…
Q: Q3) write True or False answer for the following statements. Correct the false statements a) BGP is…
A: Introduction: We need to find if the given statements are true or false: According to business…
Q: Give two examples of each of the four different types of system maintenance.
A: answer is
Q: MetaData regarded as the most significant component of a data warehouse?
A: Metadata is regarded as the most significant component of a data warehouse. The role of metadata in…
Q: Describe the reasons why an application developer might choose to run an application via UDP rather…
A: Meaning: TCP: It is a computer language that is built around connections. UDP: It is a…
Q: Describe the chart in detail. “Computer memory Unit communicating well using appropriate language.…
A: Device for Input - To get data or instructions to process, use this method. For instance, a mouse,…
Q: Can somebody tell me which development model agile software development is based on?
A: Our task: We must ascertain the approach used within the agile software development life cycle.
Q: Please explain the differences between the symmetric encryption model and the asymmetric encryption…
A: Encryption is used to safeguard data, It is the conversion of plain text to encrypted text before to…
Q: 1. What is the output of the program? 2. How does the program work?
A: Please refer to the following steps for the complete solution to the problem above.
Q: Given the following grammar {V, T, S, P}: V=S, T={a,b}, S=S, P=S→aSb|λ diagram the PDA that…
A:
Q: What influence does virtualization have on host or guest scheduling?
A: Virtualization: Virtualization is planned and carried out to run numerous working frameworks on a…
Q: What causes database transactions in distributed systems to be more difficult to complete? Why?
A: Introduction: A distributed system employs resources from several places to process data in real…
Q: This week we applied animation to slide content to our PowerPoint presentations. Why would you want…
A: PowerPoint is a very special and brilliant tool in the series of Microsoft office, which helps in…
Q: 5)To connect the corporate networks which one of the following is true? a SSL is better since…
A: Remote access to systems and apps has grown commonplace in the workplace. Employees, customers,…
Q: What is cloud computing and what is advantages and disadvantages
A: Given To know about the cloud computing and it's advantages and disadvantages.
Q: Use Java or Python programming languages to implement the Simplified AES. show the steps of your…
A: The Advanced Encryption Standard (AES), formerly known as Rijndael (Dutch pronunciation), is a…
Q: What are cloud backup solutions, exactly? Are there any websites that provide free huge storage?
A: Cloud Backup A cloud backup service backs up and keeps data and applications from a company's…
Q: What is the data integration process in a data warehouse, and why is it important?
A: Data warehouses need a process of data integration, and this question discusses how and why that…
Q: Write a program box_redux.py that prints out a box with variable height! The height shall be…
A:
Q: When it comes to computer science, should the memory of a dataflow system be associative or…
A: justification: A Dataflow's MemoryBecause dataflow machines are built to handle massive volumes of…
Q: When a process is removed by the operating system from the CPU, the information on the current…
A: Below is the complete information about the process status and the priorities for the processes.
Q: ment the complete stack functionality by using ArrayList which will contain Integer value
A: Below the java program which Implement the complete stack functionality by using ArrayList which…
Q: section .data msg db "Hello worl- section .text global _start start: mov rsi, msg mov rdx, 13
A: Below the assembly program with resolve the error and output of program.
Q: So, what exactly is the difference between active and passive vulnerability scanners when it comes…
A: Network activity is monitored by passive scanners, while active scanners are capable of simulating…
Q: Consider the impact of wireless networks in poor countries. Why are some organisations abandoning…
A: some organizations are abandoning LANs and physical cabling in favor of a wireless system…
Q: Computer Science In Matlab, write a script that calls a user defined function to evaluate the cross…
A: Matlab is a powertool tool in calculating vectors
Q: What is the data processing process?
A: Data processing is the main function of the computer system, which takes the raw data and…
Q: Write an application that throws and catches an ArithmeticException when you attempt to take the…
A: The requested Java program is coded and given in the next step by making use of the try-catch block,…
Q: Suppose we have g(n) = 2n and h(n) =n3 Below are a number of statements regarding how the functions…
A: The answer is A,D Is true.
Q: Describe the internet of things in your own words. What is the difference between these two…
A: The Internet of Things is defined by computer technology as the concept of connecting everyday…
Q: For the following NFA M. 1 start 92 From the list below, select all computations of M on the string…
A: Here, we are going to check whether given computations are correct or not for string 100.
Q: Describe a situation in which a user's complete denial of a service (i.e., the user gets no response…
A: Introduction: A Denial-of-Service (DoS) attack aims to prevent legitimate users from accessing a…
Q: I'm trying to learn CSS and it isn't easy. Can someone help me with this problem? Modify or add one…
A: In this question we have to use CSS properties to change the color of the text using COLOR NAME RGB…
Q: Please help I would like when I enter a phrase in this program where the same letter in the words…
A: Here is the approach : We just have to remove the duplicates from the encryted message . Hence…
Q: In c++ LinkedList class You will create a class “LinkedList” with the following private data…
A: The Answer start from step-2.
Q: What exactly is the difference between a webpage and a website.
A: Website: A website is a central place where many web pages are kept by a person or organization and…
Q: Problem 3: Give asymptotic estimates, using the O-notation, for the following functions: (а) 4n' +…
A:
Q: Learn about the resources and procedures that will be utilised for system development.
A: To better design, product management, and project management, software engineers use a software…
Q: Compare Bitcoin, Coinjoin, Zerocoin, and Zerocash. 1) the anonymity given 2) how practicable they…
A: Introduction: Bitcoin, Coin join, Zero coin, and Zero cash. 1) the anonymity given 2) how…
Q: What is the best course of action in Larom case?
A: What is the best course of action in Larom case?
Python PLeaseee.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- 12.12 LAB: File name change A photographer is organizing a photo collection about the national parks in the US and would like to annotate the information about each of the photos into a separate set of files. Write a program that reads the name of a text file containing a list of photo file names. The program then reads the photo file names from the text file, replaces the "_photo.jpg" portion of the file names with "_info.txt", and outputs the modified file names. Assume the unchanged portion of the photo file names contains only letters and numbers, and the text file stores one photo file name per line. If the text file is empty, the program produces no output. Ex: If the input of the program is:12.12 LAB: File name change A photographer is organizing a photo collection about the national parks in the US and would like to annotate the information about each of the photos into a separate set of files. Write a program that reads the name of a text file containing a list of photo file names. The program then reads the photo file names from the text file, replaces the "_photo.jpg" portion of the file names with "_info.txt", and outputs the modified file names. Assume the unchanged portion of the photo file names contains only letters and numbers, and the text file stores one photo file name per line. If the text file is empty, the program produces no output. Ex: If the input of the program is: ParkPhotos.txt and the contents of ParkPhotos.txt are: Acadia2003_photo.jpg AmericanSamoa1989_photo.jpg BlackCanyonoftheGunnison1983_photo.jpg CarlsbadCaverns2010_photo.jpg CraterLake1996_photo.jpg GrandCanyon1996_photo.jpg IndianaDunes1987_photo.jpg LakeClark2009_photo.jpg…8.7 LAB: File name change A photographer is organizing a photo collection about the national parks in the US and would like to annotate the information about each of the photos into a separate set of files. Write a program that reads the name of a text file containing a list of photo file names. The program then reads the photo file names from the text file, replaces the "_photo.jpg" portion of the file names with "_info.txt", and outputs the modified file names. Assume the unchanged portion of the photo file names contains only letters and numbers, and the text file stores one photo file name per line. If the text file is empty, the program produces no output. Ex: If the input of the program is: ParkPhotos.txt and the contents of ParkPhotos.txt are: Acadia2003_photo.jpg AmericanSamoa1989_photo.jpg BlackCanyonoftheGunnison1983_photo.jpg CarlsbadCaverns2010_photo.jpg CraterLake1996_photo.jpg GrandCanyon1996_photo.jpg IndianaDunes1987_photo.jpg LakeClark2009_photo.jpg…
- 3.6.5: Printing array elements separated by commas. Write a for loop to print all NUM_VALS elements of array hourlyTemp. Separate elements with a comma and space. Ex: If hourlyTemp = {90, 92, 94, 95}, print:90, 92, 94, 95 Your code's output should end with the last element, without a subsequent comma, space, or newline.task 14.1 in java Follow these steps:● Create a new java file called MyFile.java● Write code to read the content of the text file input.txt. For each line ininput.txt, write a new line in the new text file output.txt that computesthe answer to some operation on a list of numbers.● If the input.txt has the following:Min: 1,2,3,5,6Max: 1,2,3,5,6Avg: 1,2,3,5,6Your program should generate output.txt as follows:The min [1, 2, 3, 5, 6] is 1.The max of [1, 2, 3, 5, 6] is 6.The avg of [1, 2, 3, 5, 6] is 3.4.● Assume that the only operations given in the input file are min, max andavg and that a list of comma-separated integers always follows theoperation. You should define the functions min, max and avg that take ina list of integers and return the min, max or avg of the list.● Your program should handle any combination of operations and anylength of input numbers. You can assume that the list of input numbersare always valid integers and that the list is never empty.● Compile, save and run…5.23 LAB: Adjust values in a list by normalizing When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This adjustment can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by dividing all values by the largest value. The input begins with an integer indicating the number of floating-point values that follow. Output each floating-point value with two digits after the decimal point, which can be achieved as follows:print('{:.2f}'.format(your_value)) Ex: If the input is: 5 30.0 50.0 10.0 100.0 65.0 the output is: 0.30 0.50 0.10 1.00 0.65 The 5 indicates that there are five floating-point values in the list, namely 30.0, 50.0, 10.0, 100.0, and 65.0. 100.0 is the largest value in the list, so each value is divided by 100.0. Use Python, please.
- Compulsory Task 1 Follow these steps: ● Create a new java file called MyFile.java ● Write code to read the content of the text file input.txt. For each line in input.txt, write a new line in the new text file output.txt that computes the answer to some operation on a list of numbers. ● If the input.txt has the following: Min: 1,2,3,5,6 Max: 1,2,3,5,6 Avg: 1,2,3,5,6 Your program should generate output.txt as follows: The min [1, 2, 3, 5, 6] is 1. The max of [1, 2, 3, 5, 6] is 6. The avg of [1, 2, 3, 5, 6] is 3.4. ● Assume that the only operations given in the input file are min, max and avg and that a list of comma-separated integers always follows the operation. You should define the functions min, max and avg that take in a list of integers and return the min, max or avg of the list. ● Your program should handle any combination of operations and any length of input numbers. You can assume that the list of input numbers are always valid integers and that the list is never empty. ●…1) Create a array of Fahrenheit temperatures, as follows int fahr []= {0,1,2,3,4,5,6,7,8,9,10,32,33,34,35,36,37,38,39,40}; 2) create a function convert(int fahr) that converts Fahr to Cels, such as you did in class, outside of main(), above it. 3) create a loop, that prints side by side Fahrenheit temperatures from the array above (in a similar way how you printed an array in class) and Celsius temperature by calling function convert(...) in the loop to get a matching Celsius temperature for each Fahrenheit temperature that you print. Do you program in C++ compiler online. Compile it step by step, making sure your code does not have syntax errors as you add new contents.11.17 (Bucket Sort) Use Python. Show the whole code input and output when done. A bucket sort begins with a one-dimensional array of positive integers to be sorted and a two-dimensional array of integers with rows indexed from 0 to 9 and columns indexed from 0 to n – 1, where n is the number of values to be sorted. Each row of the two-dimensional array is referred to as a bucket. Write a class named BucketSort containing a function called sort that operates as follows: a) Place each value of the one-dimensional array into a row of the bucket array, based on the value’s “ones” (rightmost) digit. For example, 97 is placed in row 7, 3 is placed in row 3, and 100 is placed in row 0. This procedure is called a distribution pass. b) Loop through the bucket array row by row, and copy the values back to the original array. This procedure is called a gathering pass. The new order of the preceding values in the one-dimensional array is 100, 3 and 97. c) Repeat this process for each subsequent…
- 10.13 LAB: Thesaurus Given a set of text files containing synonyms for different words, complete the main program to output the synonyms for a specific word. Each text file contains synonyms for the word specified in the file’s name, and each row within the file lists the word’s synonyms that begin with the same letter, separated by a space. The program reads a word and a letter from the user and opens the text file associated with the input word. The program then stores the contents of the text file into a dictionary predefined in the program. Finally the program searches the dictionary and outputs all the synonyms that begin with the input letter, one synonym per line, or a message if no synonyms that begin with the input letter are found. Hints: Use the first letter of a synonym as the key when storing the synonym into the dictionary. Assume all letters are in lowercase. Ex: If the input of the program is: educate c the program opens the file educate.txt, which contains:…9.12 LAB: File name change PYTHON A photographer is organizing a photo collection about the national parks in the US and would like to annotate the information about each of the photos into a separate set of files. Write a program that reads the name of a text file containing a list of photo file names. The program then reads the photo file names from the text file, replaces the "_photo.jpg" portion of the file names with "_info.txt", and outputs the modified file names. Assume the unchanged portion of the photo file names contains only letters and numbers, and the text file stores one photo file name per line. If the text file is empty, the program produces no output. Ex: If the input of the program is: ParkPhotos.txt and the contents of ParkPhotos.txt are: Acadia2003_photo.jpg AmericanSamoa1989_photo.jpg BlackCanyonoftheGunnison1983_photo.jpg CarlsbadCaverns2010_photo.jpg CraterLake1996_photo.jpg GrandCanyon1996_photo.jpg IndianaDunes1987_photo.jpg LakeClark2009_photo.jpg…Section 1 Write a program that reads student’s IDs and exam scores (type int) for a particular exam in a course from each line of an input file (the input file is included). You need to compute the average of these scores and assign grades to each student according to the following regulation: If a student’s score is within 10 points (above or below) of the average, assign a grade of satisfactory. If a student’s score is more than 10 points above average, the grade will be outstanding. If a student’s score is more than 10 points below the average, the grade will be unsatisfactory. The output of your program should consist of a three-column table that shows each ID, score, and corresponding grade. A sample output is shown below. Section 2 Redo the previous project described in Section 1 using a struct to store each student’s data and an array of structs to store the whole class. The struct should have data members for id, score, and grade.