READING RECORD
Specific Objectives: At the end of this lesson a student will be able to:
- Student will be able to solve problems.
- Be able to ask questions according to lecture.
- Be able to improve our mind ability.
Introduction:
- (READING RECORD)
The complete opposite operation of the PUT statement would be to retrieve or get data contained in a data file. BASIC has a built-in function to handle this situation also. It is called GET and has a form identical to the PUT statement. The form of the GET statement is as follows:
GET#[buffer ],record Number, record Variable
When using the GET statement,any record can be directly accessed by specifying the record’s number or location file number. This is what makes random files much more powerful than sequential files. We can create random files but at this stage it is beyond the scope of the book.
Presentation (Method of teaching):
Firstly, introduce our self-secondly to motivate students and then implement our lecture planning (theoretical works with book references).
Tool: white board, computer.
Contents | Key points | Time allocation |
Computer Software
ü Reading Record ü Exercise
|
GET#[buffer ],record Number, record Variable
Mcqs,True False,Short Question Answer |
15minutes
20 minutes |
Activity/Feedback:
Question Answering
Assignment:
What is Reading record and its GET statement?
Reference:
- Text book of computer science (10th)
Leave a Reply