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% (4 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...
-
Jack Shellenkamp owns and manages a computer repair service, which had the following trial balance on December 31, 2007 (the end of its fiscal year). Summarized transactions for January 2008 were as...
-
What was the firm's times-interest-earned ratio for 2018 ? a. 4 b. 3 c. 5 d. 6 Sales revenues for 2018 were \(\$ 800,000\), gross profit was \(\$ 320,000\), and net income was \(\$ 36,000\). The...
-
Kate Drew has been hand-painting wooden Christmas ornaments for several years. Recently, she has hired some friends to help her increase the volume of her business. In checking the quality of the...
-
(1 point) Bob makes his first $1,100 deposit into an IRA earning 6.5% compounded annually on the day he turns 28 and his last $1,100 deposit on the day he turns 41 (14 equal deposits in all). With no...
-
Explain what is law and support your answer with relevant law. (5 marks) Discuss what is meant by the statement that "English law is part of the sources of Malaysian law" and explain its application...
-
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...
-
Sweetwater Water Testing Service was established on June 16, 2014. Sweetwater uses field equipment and field supplies (chemicals and other supplies) to analyze water for unsafe contaminants in...
-
Part E Let V = -6.0 +8.5 and 1 V = 4.5 + 4.4 . Determine the magnitude of V1+V2. Express your answer using two significant figures. |1+V2|= Submit Request Answer Part F Determine the direction of...
-
Larkspur Express reports the following costs and expenses in June 2022 for its delivery service. Indirect materials used $8,110 Drivers' salaries $20,160 Depreciation on delivery equipment 14,020...
-
On January 1, 2025, Sunland Company leased equipment to Carla Vista Corporation. The following information pertains to this lease. 1. The term of the non-cancelable lease is 6 years. At the end of...
-
4. Prepare the following entries: A. Co X made a Sale to an affiliate (Z) for goods $50,000 at a cost of $32,000. Co Z received the inventory. Co Z did not sell the inventory at the end of the...
-
tes On January 1, 2024, Rick's Pawn Shop leased a truck from Corey Motors for a six-year period with an option to extend the lease for three years. Rick's had no significant economic incentive as of...
-
A summary of the time tickets for the current month follows: Job No. Amount Job No. Amount 100...............$ 3,500.........Indirect.........$ 9,100...
-
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...
-
You purchased a an apartment building and have your first renter. Your terms for the apartments are: Rent is $2,400 a month, Pay up front a $600 deposit, and 1st and last month's rent. So the renter...
-
COMPANY NAME: VEJA SHOES 3. A detailed description of the company's: Sustainable manufacturing processes. This can be an existing strategy or one that is in the process of implementation....
-
What level of measurement does this scale represent? (1) less than $10,000 (2) $10,001 to $25,000 (3) $25,001 to $40,000 (4) greater than $40,000 a.Interval b.Nominal c.Ordinal d.Ratio
Study smarter with the SolutionInn App