A file named ClassData.txt contains records of several students. Each record contains student's name followed by four tests scores each score is out of 100. ClassData.txt Ali 80 89 95 75 Yusuf 77 85 89 98 Huda 74 75 72 71 Fatima 99 98 95 96 Write a Java program that reads the data from the file and calculate the average of the four test then program should print on the screen Student name with average greater than 60 ONLY.
Q: ng Files - Student Line Up ify the Student Line Up program described in Programming Challenge 1 es:…
A: Complete C++ code with explanation: #include <iostream> #include <fstream> #include…
Q: 1. In cell G2, enter a formula using the AND function that includes structured references to display…
A: given - In cell G2, enter a formula using the AND function that includes structured references to…
Q: Modify it so that it write the contents of String[] into a file named fileLoop1.txt: package…
A: Given data, Modify it so that it writes the contents of String[] into a file named fileLoop1.txt:…
Q: ples to explai
A: Introduction Python is widely used for web and software development, task automation, data analysis,…
Q: Is it feasible for you to have a deeper understanding of the metrics involved in the development of…
A: Introduction: Could you perhaps provide a more detailed summary of the metrics used throughout the…
Q: How closely related are the concepts of object-oriented programming and abstract data types? This is…
A: Agreement Disagreement: Students should recall that understanding is a key underlying element of…
Q: 1. Develop a pseudo code and flowchart to read digit (0-9) and display the integer in the word i.…
A: START INPUT n IF n == 0 PRINT "Zero" ELSE IF n == 1 PRINT "One" ELSE IF n == 2 PRINT "Two"…
Q: In your head, how do you see email? What is the most efficient technique to transfer an email? Make…
A: Introduction: Email: Email is a type of electronic mail that is used to convey information or data…
Q: Where did the term "good enough" originate in software development?
A: Software Development: The good enough principle, sometimes known as the "good enough" principle, is…
Q: An adaptive software system will be developed to function in a dynamic environment. Furthermore,…
A: The term “adaptation” in computer science: Sensor-based solutions that collect and exploit…
Q: When designing the SoS interface, how crucial is a consistent user experience? Is a unified user…
A: The adage "uniform interface" was used here as a social affair with four sub-goals: resource…
Q: If I declare a final double, what is the convention for capitalizing the identifier in Java? Give an…
A: Final is a non-access modifier applicable only to a variable, a method, or a class. When a variable…
Q: 1.) How many String objects are created when the following code executes? String namel = new…
A: For the above java code how many string object are created
Q: In GUI development, why do we prefer the event delegation paradigm and its components? Using…
A: GUI Development: A graphical user interface builder (or GUI builder), sometimes known as a GUI…
Q: A File System Web site has what benefits over an HTTP Web site? What are the distinctions between…
A:
Q: Rewrite BNF to EBNF BNF: Кеxpr> -→ + | - | → * | / | → ** → () |id
A: According to the information given:- We have to convert BNF to EBNF.
Q: Discrete event simulation is critical for four main reasons.
A: Given: Explain why continuous event simulation is important.Continuous event simulation is important…
Q: Computer science Explain how the primary key in the same relation is referenced.
A: Introduction: The primary key constraint requires that each row in the relational database…
Q: Use affine cipher to encrypt the message below. Show all your solutions. “NUMBER RULES THE…
A: The value of a and b will be taken 7 and 2, as I suppose it's not a group. Since, no programming…
Q: Algorithm analysis should be independent of specific implementations, computers and data. True False
A: ANALYSIS OF ALGORITHMS is explained below:---> An algorithm's analysis provides background…
Q: Thinking about the getEntry method for the ADT list, the order of the array-based version is and the…
A: The answer is given below.
Q: 1. Please pick one system and elaborate how you would design a model predictive control (MPC)…
A: MPL algorithm:
Q: Consider the relevance of wireless networks in developing economies today. Wireless technologies are…
A: Individuals in Developing Nations Obtain Connectivity to More of the Modern Economy: Internet…
Q: A floppy drive is no longer a standard component in microcomputers. Which device do you think will…
A: Introduction: It is a type of disc storage, as the name implies, that consists of an ultra-thin and…
Q: Table Q2(b): The customer order data of a company Country Name Thailand Order ID Order Date Order…
A: Solution is given below :
Q: Is there anything essentially lacking from software engineering's fundamentals? explain?
A: Engineering software: Software engineering is characterized as a methodical, disciplined, and…
Q: Maintaining the mouse pointer on an errant section of code for an extended period of time may result…
A: Beginning: A pointer or mouse cursor (as part of a personal computer's WIMP method of interaction)…
Q: What are some of the benefits of using SQL embedding in a 3GL?
A: Introduction: SQL is an abbreviation for Structured Query Language. It used to connect to a…
Q: keanuu Reaves is looking for a solution that will help scheduling routine maintenace for vehicles in…
A: - We need to talk about the technology that is being depicted from the case study. - The options…
Q: Justify how a related subquery is executed in a particular order
A: Introduction: Correlated sub-queries are processed in the sequence listed below:
Q: What happens if you hold the mouse cursor over a jagged line in the code editor?
A: The answer as given below:
Q: The Context Free Grammar below is given: G=( {S,a,b}, {0,1}, S, {S→0b|1a, a→0|os|1aa|ɛ, b→1|1S|Obb}…
A:
Q: An intelligent modem can dial, hang up, and answer incoming calls automatically. Who is accountable…
A: Modulator-demodulator equipment, or modems, are pieces of computer hardware that convert digital…
Q: Which layer is sometimes referred to as the syntax layer?
A: Presentation layer in OSI model refer to the syntax layer.
Q: What is the best method for circumventing WPS security?
A: Introduction Around WPS Security: WPS is one of the most extensively utilized wireless home network…
Q: How does computer programming operate? What factors should be considered before selecting a…
A: Introduction: A programming language in the context of visual programming languages is a set of…
Q: What does "programming a computer" mean? What factors should be addressed before selecting a…
A: programming language: In the case of visual programming languages, a programming language is a…
Q: Write a program to process a collection of savings account transactions (deposits or withdrawals).…
A: Pseudo code: Select option Repeat 1: Make withdrawal 2: Make deposit 3: Show balance 4: quit
Q: Verifying that data has not been tampered with in any way
A: The correct answer along with the exoplanation is given below:
Q: How may cloud storage and processing benefit our lives?
A: Introduction: Cloud computing is the process of storing and accessing data and computer resources…
Q: Which of the following relational set operator allows duplicate values in a table? Choose an answer…
A: In relational set operators, some of the operations perform union, except, intersect and update.…
Q: Specifically, how is SEH used in hidden flow control mechanisms?
A: Control Mechanisms: A method of controlling the behaviour of a process or system. Control mechanisms…
Q: In this exercise, the below numbers in the text box should be inserted into search trees. Write down…
A:
Q: To aid with code comprehension, we use a range of design techniques.
A: Design Techniques: We use a range of design methods to help us better comprehend the code. Data…
Q: Choose the correct answers: CIA TRIAD Cyberattack Integrity Confidentiality Asset Availability…
A: The answer for the given question is as follows.
Q: Which of the following is the advantage of advanced SQL sequence such that data complexity can be…
A: According to the information given:- we have to choose the correct option to satisfy the statement.
Q: 17)Write a method that tests to see whether a String begins with a capital letter, and also ends…
A: As given, we need to write a Java program having a method to check whether a String begins and ends…
Q: Why is sending an e-mail more susceptible to delays than sending a letter?
A: According to the question email delay always use for reduce the security risk to check online there…
Q: Do you feel that customer-centric firms are more lucrative as a result of the influence that service…
A: Customer Retention: In marketing, customer retention refers to the process of persuading existing…
Q: Contrast and contrast picture segmentation and edge detection. Why is edge detection crucial in…
A: Edge detection: In image processing, machine vision, and computer vision, edge detection is…
java
Step by step
Solved in 2 steps
- The names and student numbers of students are save in a text file called stnumbers.txt. Example of the content of the text file: Peterson 20570856 Johnson 12345678 Suku 87654321 Westley 12345678 Venter 87654321 Mokoena 79012400 Makubela 29813360 Botha 30489059 Bradley 30350069 Manana 30530679 Shabalala 28863496 Smith 87873909 Nilsson 30989698 Makwela 30256607 Govender 30048117 Ntumba 30598303 Ramsamy 29952239 Skosana 29982995 Jameson 30228484 Xulu 29092248 Wasserman 27469352 Bester 28615425 Babane 27154033 Maboya 29897890 Mahlangu 30031338 Majavu 30165970 Myene 30954177 Motaung 30907276 Ramaroka 30804507 Radebe 30007674 Sekake 30017416 Zwane 30038227 Shuro 30238072 Viljoen 28881389 Sithole 45688555 Write a function called displayData() to receive the array and number of elements as parameters and display the names and student numbers of the students with a heading and neatly spaced. Write a function, isValid(), which receives a number as parameter and determines whether the number…The language is C# Write a program named TestScoreList that accepts eight int values representing student test scores. Display each of the values along with a message that indicates how far it is from the average. An example of how the results should be output is as follows: Test # 0: 89 From average: 6 Test # 1: 78 From average: -5Program a python program that demonstrates reading and comparing Create a python program that demonstrates reading and comparing multiple files, processes the input files based on the business rules, and produces an output file. Needed Files 1. The timeclock.txt Download timeclock.txtfile contains the hours worked data for every employee as well as the shift they worked. The layout for the file is as follows: EMPLOYEE_NUMBER, HOURS_WORKED, SHIFTTimeclock.txt 22476, 45, 3 24987, 30, 148283, 50, 285437, 25, 3 2. The personnel.txt Download personnel.txtfile contains the names of all employees and their hourly pay rates. The layout for the file is as follows: EMPLOYEE_NUMBER, EMPLOYEE_NAME, PAY_RATEPersonnel.txt 11235, Bob Smith, 10.50 22476, John Roberts, 12.3524987, Mary Johnson, 15.9032743, Brad Carson, 11.2548283, Alice Martin, 14.2085437, Aaron James,15.15 Note: Both the timeclock.txt and payroll.txt files are pre-sorted by EMPLOYEE_NUMBER in ascending order. Business…
- PLEASE COMMENT CODE In a python program, create a new file and call it “ tracking”. Write to it four lines each contains information about an order like this: 1-00654-021 Dell charger Toronto-WEST 99-49-ZAD011-76540-022 ASUS battery Milton-EAST 34-56-CBH561-09239-026 HP HD Scarborough-NORTH 12-98-AZC451-12349-029 Mac FD North York-LAWRENCE 34-49-ZWL01Add the file two more lines: 1-34567-055 Lenovo SSD Milton-ON 34-09-MT04 1-90432-091 Lenovo battery Oakville-ON 78-KL98 Define a function that searches for a brand (e.g. Dell, ASUS, etc.). Test the function in your program.IN C++ VISUAL STUDIO Create two classes one to read data from file, and the other to write data into a file. The data can be about employees having information about employee name, id and designation. You must create a class for employee. There is a total of 3 classes in your program. In the second class, which is about file writing, you have to write data about 10 employees in file. You can get data from user. In reading class, you have to read information about a specific employee whose id is given by user. Finally write a function to show data about employees whose designation is “manager”.InvalidDateException An event management company needs to keep track of all the events they organize in the year 2017. They have the dates in which all the events that had happened in the whole year. You are the technical head of the company write a program to check whether the entered date is valid and find the count of events for each quarter for the year 2017. The program asks for dates as input. If the date is not valid it prints an error message.Strictly adhere to the Object-Oriented specifications given in the problem statement. All class names, member variable names, and function names should be the same as specified in the problem statement. The class named InvalidDateException inherits the exception class and includes a member function that returns the following message "InvalidDateException: Please enter the date again". In the Main method, obtain the number of events from the user in the console. Get the date for each event. If the date is invalid, throw…
- In javas coding please Write a program that opens the salesdat.txt file and processes it contents. The program should display the following per store: The total sales for each week. (Should print 5 values - one for each week). The average daily sales for each week. (Should print 5 values - one for each week). The total sales for all the weeks. (Should print 1 value) The average weekly sales. (Should print 1 value) The week with the highest amount in sales. (Should print 1 week #) The week with the lowest amount in sales. (Should print 1 week #) All Values (Total Sales, Average Daily Sales for Each Week, Total Sales for all Weeks, Average Weekly Sales, Highest Amount in Sales, Lowest Amount in Sales) The file contains the dollars amount of sales that a retail store made each day for a number of weeks. Each line in the file contains thirty five numbers, which are sales numbers for five weeks. The number are separated by space. Each line in the file represents a separate store.…The Apgar Medical group keeps a patient file for each doctor in the office. Each record contains the patient's first and last name, home address, and birth year. The records are sorted in ascending birth year order. Write a program so that display a count of the number of patients born each year John Hanson, 23 Elm, 1927Mary Locust, 476 Maple, 1950Susan Monroe, 512 Peachtree, 1957Carol Fortune, 2819 Locust, 1960James Fortune, 2819 Locust, 1963Lawrence Fish, 12 Elm, 1968Janice Weiss, 234 Birch, 1971Henry Garza, 199 Second, 1973Kimberly Swanson, 310 Appletree, 1980Louis Claude, 2716 Third, 1981Jill Fox, 12 Oak, 1985Opal Reynolds, 78 County Line, 1987Francis Dumas, 67 Fourth, 1992Madison Conroy, 23 Fifth, 1996Daniel Moy, 100 Sunset, 1987OBJECT ORIENTED PROGRAMMING LESSON LABORATORY EXERCISE-1 Problem: Write a program that takes position and current salary value from the user and calculate the new salary and shows it on the console according to the following table. Position Manager Salesman Human Resources Technician Headman Example: Enter your position: Manager Enter your current salary: 10000 New salary: 11000 Raise Percentage %10 %20 %15 %25 %23 Write your program using Java and copy your codes to a text file which has your name and surname. Then load it into UZEM under the provided link.
- Create a file in your project named employees.txt with the following data (you can simply create the file by hand rather than with Python code): 123 Bob Smith345 Anne Jones256 Carol Lee845 Steve Robert Anderson132 Jill Thompson From your program's main function, give the user the following options: lookup a name based on ID number, lookup an ID number based on name, and quit the program. OPTION 1: The user chooses to lookup a name based on ID number: Use a try/except and ask the user to enter an integer. If they don't enter an integer, print an error message. If they do enter an integer, call a function named lookup_employee which takes the id as a parameter. If an employee with the given id number is found, return the name. Otherwise, return the string “Employee not found” Back in main, print the return result. OPTION 2: The user chooses to lookup an ID based on name: Ask the user to enter the first and last name (don't ask for the middle name). Call a function named…Each of the following files in the Chapter.10 folder of your downloadable student files has syntax and/or logical errors. In each case, determine the problem and fix the program. After you correct the errors, save each file using the same filename preceded with Fixed. For example, DebugTen01.cs will become FixedDebugTen01 .cs. a. DebugTen01.cs b. DebugTen02.cs c. DebugTen03.cs d. DebugTen04.csA(n) _____________ is generated when a user interacts with a GUI object. a. error b. occasion c. method d. event