Computer Science 10th Chapter 5 Sub-Program and File Handling Questions Bank |
Computer Science 10th Chapter 5 Sub-Program and File Handling Solved MCQs, Short and Long Questions
MCQs
Select the right Answer.
1. Angle for trigonometric ratios are measured in
2. __________ is the collection of field to provide information about an entity in a file.
3. ____________ statement is not allowed in the direct mode.
4. A collection of related files is called:
5. A file is created in:
6. A function subprogram is used to calculate and return a ______ value.
7. A Iine can be draw with the following statement:
8. Another name of built-in function is:
9. BEEP function is used to sound the speaker at?
10. Function is called for executing with the reference of its:
11. GOSUB and GOTO statements are
12. How many modes are available to open data files?
13. LEFT$ (‘Pakistan"", 3) =
14. Print INT(3.5) = ?:
15. TAN(x) is equal to:
16. The answer of ABS(-4.58) is:
17. The function is used to convert ASCII codes to its character equivalent
18. The last statement of subroutine is normally:
19. The out put of PRINT MID$ (A$,7,6) then A $ =""I go to school"" is
20. The output of function FIX(—6.83) is:
21. The output of LEN(“Hello World"") is:
22. The output of print ABS(-12.45) is:
23. The statement comes before of subroutine is:
24. To read information from a file, it must be opened for:
25. Which one is a type of numeric function?
26. Which program is used to divide manageable parts of a program?
27. Which program returns a single value as output?
28. Which statement is used to disconnect the connection between the data files and BASIC program?
29. Which statement is used to write data into the data file?
Short Questions
1. Define a Subroutine?
2. Define ABS Function.
3. Define an arguments?
4. Define buffer.
5. Define Built in or Standard functions.
6. Define data fields.
7. Define file handling?
8. Define INT Function.
9. Define numeric functions
10. Define Record.
11. Define SIN Function
12. Define SQR Function.
13. Describe the advantages of writing subroutine.
14. Describe the DEF FN statement with example
15. Describe the types of Built in or Standard functions?
16. Differentiate between numeric functions and string functions.
17. Differentiate between sequential file and random file.
18. Enlist the types of numeric functions.
19. What are built-in functions?
20. What are user-defined functions?
21. What do you know about program files?
22. What do you know about user defined functions?
23. What do you mean by subprograms?
24. What do you meant by Sequential access?
25. What is a subprogram?
26. What is meant by Random access?
27. Write the purpose of INT function with Syntax and example?
28. Write the purpose of MID$ function.
29. Write the purpose of RIGHT$ function.
30. Write the purpose of RND function with Syntax and example.
31. Write the purpose of String functions?
32. Write the purpose of VAL function with Syntax and example.
33. Write the use of Random access method?
Long Questions
1. What do you know about structured programming and unstructured programming?
2. Write the advantages of writing Subroutines?
3. Explain the user-defined function and its properties?