Punjab 12th Class Computer Chapter 6 Functions Mcqs Test Online
Questions 20
Total Marks 40
Time 20 Mins

Punjab 12th Class Computer Chapter 6 Functions Mcqs Test Online

Start your preparation for Punjab 12th Class Computer Chapter 6 Functions Mcqs Test Online. This online test contains 20 MCQs and you have 20 Minutes to complete it. The total marks for this test are 40. This test is valid for students of All Punjab Boards (Lahore, Gujranwala, Multan, etc.) following the PCTB Syllabus. Read the questions carefully and select the correct option below to see your result.

Punjab 12th Class Computer Chapter 6 Functions Mcqs Test Online

 

Question 1 of 20

Computer Science

1. Function declaration is very similar to declaration of ____________ before they are.
1.
2.
3.
4.

Question 1 of 20

Question 2 of 20

2. The function _________ is always executed first.
1.
2.
3.
4.

Question 2 of 20

Question 3 of 20

3. Function declaration also known as:
1.
2.
3.
4.

Question 3 of 20

Question 4 of 20

4. Just like variables, function declaration tells compiler the ____________ of the function.
1.
2.
3.
4.

Question 4 of 20

Question 5 of 20

5. These functions are also known as C library functions.
1.
2.
3.
4.

Question 5 of 20

Question 6 of 20

6. What does “void” do before the function name?
1.
2.
3.
4.

Question 6 of 20

Question 7 of 20

7. Functions are written only _________ but may be referenced at several points in a program.
1.
2.
3.
4.

Question 7 of 20

Question 8 of 20

8. The brackets followed by function name tell the compiler that you are referring to a function and not to a __________.
1.
2.
3.
4.

Question 8 of 20

Question 9 of 20

9. __________ is a predefined function of C language.
1.
2.
3.
4.

Question 9 of 20

Question 10 of 20

10. The body of the function, the statements that do the work, follow the function _________.
1.
2.
3.
4.

Question 10 of 20

Question 11 of 20

11. Variables defined in a function are not known outside the __________.
1.
2.
3.
4.

Question 11 of 20

Question 12 of 20

12. Using of variable declared in user defined function in the function main() the compiler will give an _________ message.
1.
2.
3.
4.

Question 12 of 20

Question 13 of 20

13. The body of the function is enclosed within.
1.
2.
3.
4.

Question 13 of 20

Question 14 of 20

14. C programs are made more flexible through the use of

1.
2.
3.
4.

Question 14 of 20

Question 15 of 20

15. All C programs must have a function called.
1.
2.
3.
4.

Question 15 of 20

Question 16 of 20

16. The function definition is the _________ itself.
1.
2.
3.
4.

Question 16 of 20

Question 17 of 20

17. Function declaration does not end with __________.
1.
2.
3.
4.

Question 17 of 20

Question 18 of 20

18. Functions are _________ of one another.
1.
2.
3.
4.

Question 18 of 20

Question 19 of 20

19. ____________ is a program unit or module that is designed to perform some particular task.
1.
2.
3.
4.

Question 19 of 20

Question 20 of 20

20. How many values the “return” statement can return?
1.
2.
3.
4.

Question 20 of 20


 

Guide for Punjab Board Students

Students of BISE Lahore, Gujranwala, Multan, and other Punjab boards must follow the SLO based pattern.

Top Scoring Tips for Punjab:

  • Textbook Reading: The paper is 100% derived from PCTB books. Do not rely only on keybooks.
  • Objective Paper (20%): Practice these online MCQs repeatedly as they are taken from 5-Year Past Papers.
  • Bubble Sheet: Ensure you know how to fill the OMR sheet correctly.

Prepare Subjective:
Read Short Questions
Test By Class
Test By Subject

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button