Welcome to the 10th Class Computer Science Chapter 05 MCQs Online Test. We are presenting you with top MCQ questions from the 10th Class Computer Science Chapter Subprogram and File Handling.
We want to tell you that you can find all the 10th Class Computer Science Chapter 05 MCQs online tests on our website. These online tests are great for learning and as well as for scoring maximum marks in your matriculation Exams. We are making these Class 10 Computer Science MCQs online tests for those who want full marks in their exams. Attempt all these Grade 10 Computer Science Online Multiple Choice Questions MCQs before going for the exam and it will be beneficial for you! These online tests contain all the important multiple choice questions in the important topics of the SSC Part-II Computer Science Chapter 05 Subprogram and File Handling.
10th Class Computer Science Chapter 05 MCQs with Answers
Youth For Pakistan has provided an excellent opportunity for the students of the 10th class to prepare their Computer Science Chapter 05 Subprogram and File Handling online with MCQs test.
This is a free platform for students to prepare for Computer Science Exams for Class 10 to get the best accomplishments in annual exams. 10th class Students can analyze themself by attempting this online test system as many times as they want until they find themself fully prepared. 10th Class Computer Science Chapters include Ch#1 Problem Solving, Ch#2 Data Types, Assignment and I/O Statements, Ch#3 Control Structure, Ch#4 Arrays, Ch#5 Subprogram and File Handling, Ch#6 Graphics in Basic and Ch#7 Microsoft Word.
MCQs Class 10 Computer Science with Answers
The purpose of these online MCQs tests is to help you evaluate your 10th Class Computer Science Chapter 05 MCQs. These Multiple Choice Questions (MCQs) will prepare you for your academic success in the 10th Class Exams.
What is Subprogram and File Handling?
A large program is divided into smaller, manageable parts called subprograms or modules. File Handling is a computer that can purpose a large amount of data. The process of writing and reading data into the computer system is known as file handling
Chapter No: 5 Subprogram and File Handling
1 A structured program is written in
(c) OR gate
(d) Flow Chart
2 Which type of programs are difficult to debugs?
3 The DEF statement in BASIC can be used to define a name of a
(a) built in library function
(b) Single line statement function
4 In structured or modular programming a large program is divided into smaller, manageable parts called
(a) Sub- programs
(d) Both a & b
5 How many types of subprograms in BASIC?
6 In the function ABS ( -2.2) becomes
7 General format of the function LEFT $
(a) LEFT $ (A, &, n)
(b) LEFT$( A$ )
(c) LEFT $( $, n)
8 A function is used to calculate and return
(a) 4 values
(b) 3 values
(c) 2 values
(d) 1 value
9 To extract any portion of a string in BASIC one would be
(a) MID $
(c) LEFT$ 0 1
10 A piece of data on which the function has to operate is called
(a) Data file
(b) Input data
(d) Return value
11 Built in functions are also known as
12 Instructions that are written once in the main program or independently and can be called more than one time in the main program is called
(a) Control statement
13 Output of CHR$(65)
14 Which of the following functions are written by the language developers?
(a) User defined
(c) Both a & b
15 BASIC library functions are divided into
(a) 4 types
(b) 3 types
(c) 2 types
(d) 1 types
16 Which BASIC function is used for generating numbers which are used in simulation problems?
17 Which of the following BASIC function returns the absolute value of given number or expression?
18 Which of the following BASIC function returns the integral part of real number or expression. It drops the decimal point and number to the right of it?
19 Which of the following BASIC function returns the square root of any positive no.?
20 Output of the print VAL (“240- F Johar Town”)
(c) 240-F Johar Town
21 A file is activate with one of the following statement before its use
22 Which function skips x spaces in a print statement?
23 The solution to simplify the long and complex program is?
(b) Spaghetti code
(c) Sub program
(d) IF… THEN
24 Module is a
(a) Internal directory
(b) Complex program
(c) Complete a single value
(d) Small part
25 Library functions in BASIC are
(a) Generally supplied by the computer manufacturer
(b) Developed by the programmer
(c) Supplied as part of the BASIC system
(d) In built in every computer system
26 When RETURN is encountered in a BASIC subroutine, the program returns to the statement?
(a) Immediately following GOSUB
(b) Immediately preceding GOSUB
(c) at the beginning of the subroutine
(d) at the beginning of the main program
27 Which of the following BASIC statement is used to define your own function?
(a) DEF FN
(b) USER FN
28 The output of a function INT (-5.7 ) is
29 Which of the following BASIC function is used to print or insert the blank spaces?
(a) LEFT $
(b) RIGHT $
(c) STR $
(d) SPACE $
30 Which of the following functions is used to return the trigonometric ratio called sin of angle X?
(a) ANGLE ().
(b) SINE ()
(c) COS ()
31 PRINT SQR ( 4 ) would be
32 LEFT $ (“KIPS”, 3 ) =
33 Which of the following statement must be placed at the end of the main program?
34 Which of the following consists of alphabets, digits and special characters?
35 Which of the following is a group of related characters to have a unit of information?
(b) Data Fields
36 Which of the following is a collection of fields to provide information about an entity in a file?
37 Types of files in BASIC program
38 OPEN statement
(a) Prepare a file for processing
(b) Print the file
(c) Copy the file
(d) Delete the file
39 CHR$ can get the ASCII
(a) 255 values
(b) 250 values
(c) 256 values
(d) 254 values
40 Types of file access methods in BASIC
41 The extension of program file is
42 The extension of data file is
43 Which of the following statement is used to print values of a file in file handling?
44 To read information from a file, it must be opened for
(a) Input Mode
(b) Output Mode
(c) Append Mode
(d) Both a & b
45 Which of the following is a reserved section of primary storage used for storing temporary data being written to or read from a file?
(c) Both a & b
46 In BASIC you can use a file in
(a) 5 Modes I I
(b) 4 Modes II
(c) 3 Modes 1
(d) 2 Modes
47 Which of the following mode means that the data will be added to the end of an existing file on disk?
48 Which of the following mode means that the program will eventually write data to the file?
49 Which of the following BASIC statement disconnects the connection between the data file and the BASIC program?
50 A file is activated with one of the following statement before its use