This page requires a JavaScript-enabled browser
Instructions on how to enable your browser are contained in the help file.
Chapter 13 Sub-Program and File Handling - 2
1.
A subroutine starts at the line number:
a) DEF FN
b) END
c) GOSUB
d) RETURN
2.
RETURN statement is used to transfer control back to:
a) Statement immediately before GOSUB
b) Statement immediately after GOSUB
c) Statement named GOSUB
d) None of the above
3.
Statement END must be placed at the end of
a) Main program
b) GOSUB
c) All of the above
d) RETURN Statement
4.
A Computer file consists of :
a) None of the above
b) Related records
c) Related characters
d) Related data items
5.
A file can be organized in the following ways:
a) One way
b) Four ways
c) Three ways
d) Two ways
6.
A file is activated with one of the following statement before its use:
a) None
b) READ
c) PRINT
d) WRITE
7.
A file opened for output can be used for:
a) Read information from it
b) None of the above
c) Writer information to it
d) Both a and b
8.
To read information from a file, it must be opened for:
a) Both a and b
b) Output
c) None of the above
d) Input
9.
Matching Items: Match the correct item.......... Modules
a) Set of instructions
b) Structured programming
c) FUNCTION
d) Output
10.
Matching Items: Match the correct item.......... GOSUB
a) READ
b) RETURN
c) FUNCTION
d) Set of instructions
This is more feedback!
This is the feedback!