a) Write pseudocode to set up a text file to store records like this, with one record
Question:
a) Write pseudocode to set up a text file to store records like this, with one record on every line.
b) Write pseudocode to append a record.
c) Write pseudocode to find and delete a record.
d) Write pseudocode to output all the records.
Transcribed Image Text:
TYPE TstudentRecord DECLARE name STRING DECLARE address : STRING DECLARE ClassName : STRING ENDTYPE
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 100% (3 reviews)
a Open the text file for writing Create a student record type Declare variables for name address and ...View the full answer
Answered By
Churchil Mino
I have been a tutor for 2 years and have experience working with students of all ages and abilities. I am comfortable working with students one-on-one or in small groups, and am able to adapt my teaching style to meet the needs of each individual. I am patient and supportive, and my goal is to help my students succeed.
I have a strong background in math and science, and have tutored students in these subjects at all levels, from elementary school to college. I have also helped students prepare for standardized tests such as the SAT and ACT. In addition to academic tutoring, I have also worked as a swim coach and a camp counselor, and have experience working with children with special needs.
0.00
0 Reviews
10+ Question Solved
Related Book For
Cambridge International AS & A Level Computer Science
ISBN: 9781510457591
1st Edition
Authors: David Watson, Helen Williams
Question Posted:
Students also viewed these Computer science questions
-
Gary Farmer had the following Section 1231 gains and losses during the 2016 tax year: Sold land acquired on December 3, 2005, at a cost of $24,000, for $37,000 on January 5, 2016. The cost of selling...
-
A file has r=20,000 STUDENT records of fixed-length. Each record has the following fields: NAME (30 bytes), SSN (9 bytes), ADDRESS (40 bytes), PHONE (9 bytes), BIRTHDATE (8 bytes), SEX (1 byte),...
-
Find a, b, c and d if (a) (b) (c) (d) a b b-c 3 1 2 2
-
Rice and Flower were partners sharing profit and loss equally. Statement of Financial Position as at 31 December 2020. Non current Assets Premises Machinery Vehicles Fittings Current Assets Inventory...
-
How much does a sleeping bag cost? Lets say you want a sleeping bag that should keep you warm in temperatures from 20F to 45F. A random sample of prices ($) for sleeping bags in this temperature...
-
Dancing Waters produces fountains. The company analyzes only variances that differ by more than 5 percent from the standard cost. The controller computed the following direct labor efficiency...
-
Bolt Industries is facing increased competition and wants to borrow $10 million in cash to protect against future revenue shortfalls. Currently, long-term AA rates are 10%. Given its credit rating,...
-
In Problems 5-15 and 5-16, three different forecasts were developed for the demand for fertilizer. These three forecasts are a 3-year moving average, a weighted moving average, and a trend line....
-
Explain the issues that an auditor may need to deal with in the cash accounts, especially if the company has foreign bank accounts for international transactions. Also, would a schedule of interbank...
-
Dion is an engineer with Tesla Motors who helps to design electric motors. It has always been his dream to start his own business, but as he has gotten older, he has not gotten around to it. He is...
-
Explain, using diagrams, the process of reversing a queue using a stack.
-
Data is stored in the array NameList [1:10]. This data is to be sorted using a bubble sort: a) A special case is when NameList is already in order. The algorithm above is applied to this special...
-
Use a significance level of = 0.05 and use the given information for the following: a. State a conclusion about the null hypothesis. (Reject H0 or fail to reject H0.) b. Without using technical...
-
3. At the Tall Ships Exhibition, there were ships with 3 masts and ships with 4 masts. Mark counted a total of 30 masts on the 8 ships that he saw. How many of these eight ships had 4 masts and how...
-
The A.T.A. Carnet: Question 74 options: Is generally issued by the chambers of commerce in the participating countries All of these answers are suitable Is a critical component of all RMD packages...
-
Marketing Objectives . Set marketing plan objectives for Lee's business . Identify at least two S.M.A.R.T. goals (i.e., specific, measurable, achievable, realistic (and relevant to the mission), and...
-
Samsung electronics analyzing qualitative compalint data case study by Jack Boepple Question 1: What is the problem that needs to be solved? Question 2: Why is it a problem? (highlight the pain)...
-
(a) (6 marks) Caitlin is planning on going to Germany in 2023 and estimates she will need $8,000. If she invests $6,000 into a savings account that earns 8% p.a compounded monthly for a period of 6...
-
Why would a fusion reactor produce less radioactive waste than a fission reactor?
-
How does health insurance risk differ from other types of insurance risk (e.g., automobile or homeowners insurance)? What is the difference between cost sharing and cost shifting? Is retiree health...
-
Consider the following recursive mergesort algorithm (another classic divide and conquer algorithm). Mergesort was first described by John Von Neumann in 1945. The basic idea is to divide an unsorted...
-
Matrix multiplication plays an important role in a number of applications. Two matrices can only be multiplied if the number of columns of the first matrix is equal to the number of rows in the...
-
Consider the following portions of two different programs running at the same time on four processors in a symmetric multicore processor (SMP). Assume that before this code is run, both x and y are...
-
Homer Simpson borrows $175,000 from the First Bank of Springfield to buy a home. Federal law regulates the terms of the mortgage that must be disclosed in writing in clear, readily understandable...
-
What ethical role do auditing firms play in the financial world? your answer should be between 200-300 words.
-
The total expected warranty costs for units sold from October through December, based on the 4% failure rate and the average repair cost of $50 per unit, is $230,000. The estimated liability for...
Study smarter with the SolutionInn App