WT students.txt contains the register numbers of students enrolled for Web Technologies. WT_marks.txt file contains the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
"WT students.txt" contains the register numbers of students enrolled for Web Technologies. "WT_marks.txt" file contains the marks scored by them in the CAT examination in the same order as that of register numbers stored in WT students.txt. Write a PHP script to to check if a student has scored >=35 marks, If yes append "Passed" else append "Retest" to the end of the corresponding register number in WT students.txt. Sample input data WT_students.txt 18vcd8032 19jhg9867 WT marks.txt 45 30 Sample output data WT students.txt 18vcd8032 Passed 19jhg9867 Retest ***** "WT students.txt" contains the register numbers of students enrolled for Web Technologies. "WT_marks.txt" file contains the marks scored by them in the CAT examination in the same order as that of register numbers stored in WT students.txt. Write a PHP script to to check if a student has scored >=35 marks, If yes append "Passed" else append "Retest" to the end of the corresponding register number in WT students.txt. Sample input data WT_students.txt 18vcd8032 19jhg9867 WT marks.txt 45 30 Sample output data WT students.txt 18vcd8032 Passed 19jhg9867 Retest *****
Expert Answer:
Related Book For
Data Analysis and Decision Making
ISBN: 978-0538476126
4th edition
Authors: Christian Albright, Wayne Winston, Christopher Zappe
Posted Date:
Students also viewed these computer engineering questions
-
a. Write a PHP script for storing username and password in cookies for 15 minutes. b. Write a PHP code to concatenate two strings character by character. e.g : IMRAN + KHAN = IKMHRAANN
-
Write a PHP script that computes the total cost of the ordered light bulbs from Exercise 9.9 after adding 6.2 percent sales tax. The program must inform the buyer of exactly what was ordered, in a...
-
Write a shell script that produces a file of sequential numbers by reading the last number in the file, adding 1 to it, and then appending it to the file. Run one instance of the script in the...
-
1. Conduct a SWOT analysis for HHI's proposed electronic commerce Web site. You can use the information in the case narrative, your personal knowledge of the retail hardware industry, and information...
-
The following relationships appear in the screen capture.
-
Pion Radiation Therapy a neutral pion (0) has a mass of 264 times the electron mass and decays with a lifetime of 8.4 x 10-17 s to two photons. Such pions are used in the radiation treatment of some...
-
You are given these quotes by the bank: You can sell Canadian dollars (C$) to the bank for $.70 You can buy Canadian dollars from the bank for $.73. The bank is willing to buy dollars for 0.9 euros...
-
The center of gravity G of a 3.5-lb unbalanced tracking wheel is located at a distance r = 0.9 in. from its geometric center B. The radius of the wheel is R = 3 in. and its centroidal radius of...
-
a. Determine whether the Mean Value Theorem applies to the function f(x)=-7+x2 on the interval [-1.2]. b. If so, find the point(s) that are guaranteed to exist by the Mean Value Theorem. a. Choose...
-
Richard Gibbs began a business called Richard's Shoe Repair. 1. Create T accounts for Cash; Supplies; Richard Gibbs, Capital; and Utilities Expense. Identify the following transactions by letter and...
-
What steps are involved in settling a purchase made in Britain with a credit card issued by a US bank? Why do you think the spread between buying and sell rates used in credit-card payments is...
-
Betram Chemicals Company processes a number of chemical compounds used in producing industrial cleaning products. One compound is decomposed into two chemicals: anderine and dofinol. The cost of...
-
1.We have 4 ways to recruit operators for out factory: on line internet, head hunters, ads in trade journals, and on-line company intranet.HR has discovered on-line internet ads reach 300 people per...
-
If Current liabilities Rs . 4 0 , 0 0 0 ; Current assets Rs . 1 , 0 0 , 0 0 0 ; Inventory Rs . 2 0 , 0 0 0 . Find the Quick ratio ? ?
-
Herman Melville\'s Bartleby , the Scrivener is as much about the narrator as it is about the title character himself. As he attempts to learn more and more about Bartleby, he discovers that Bartleby...
-
The New York City Council is ready to vote on two bills that authorize the construction of new roads in Manhattan and Brooklyn. If the two boroughs join forces, they can pass both bills, but neither...
-
Ingrum Corporation produces and sells two products. In the most recent month, Product R38T had sales of $20,000 and variable expenses of $7,400. Product X08S had sales of $39,000 and variable...
-
The Adjusted Trial Balance columns of a 10-column work sheet for Webber Co. follow. Complete the work sheet by extending the account balances into the appropriate financial statement columns and by...
-
Statistician Frank J. Anscombe created a data set to illustrate the importance of doing more than just examining the standard regression output. These data are provided in the file P10_64.xlsx. a....
-
The game of Chuck-a-Luck is played as follows: You pick a number between 1 and 6 and toss three dice. If your number does not appear, you lose $1. If your number appears x times, you win $x. On the...
-
In the drug testing, assume there are three possible test results: positive, negative, and inconclusive. For a drug user, the probabilities of these outcomes are 0.65, 0.06, and 0.29. For a nonuser,...
-
Parks Canada prepared the following budget for one of its national parks for 2006: The fees were based on an average of 50,000 vehicle-admission days (vehicles multiplied by number of days in park)...
-
The L. Ming Company has had great difficulty controlling costs in Singapore during the past three years. Last month a standard cost and flexible-budget system was installed. Results for a department...
-
Cost-behaviour analysis for the four activity centres in the Billing Department of Great Lakes Power Company is as follows: 1. Develop flexible budget formulas for each of the four activity centres....
Study smarter with the SolutionInn App