Punjab 12th Class Computer Chapter 2 Fundamentals of C ++ Language Mcqs Test Online
Questions 20
Total Marks 40
Time 20 Mins

Punjab 12th Class Computer Chapter 2 Fundamentals of C ++ Language Mcqs Test Online

Start your preparation for Punjab 12th Class Computer Chapter 2 Fundamentals of C ++ Language 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 2 Fundamentals of C ++ Language Mcqs Test Online

 

Question 1 of 20

Computer Science

1. Which of the following is a Scalar Data type?
1.
2.
3.
4.

Question 1 of 20

Question 2 of 20

2. Which escape character can be used to begin a new line in C?
1.
2.
3.
4.

Question 2 of 20

Question 3 of 20

3. Which of the following are tokens in C?
1.
2.
3.
4.

Question 3 of 20

Question 4 of 20

4. Constant may be
1.
2.
3.
4.

Question 4 of 20

Question 5 of 20

5. Numeric constants are of __________ types
1.
2.
3.
4.

Question 5 of 20

Question 6 of 20

6. You can enter control characters in a C program by means of an ___________.
1.
2.
3.
4.

Question 6 of 20

Question 7 of 20

7. Which of the following is an example of compounded assignment statement?
1.
2.
3.
4.

Question 7 of 20

Question 8 of 20

8. Which of the following symbol is used to denote a pre-processor statement?
1.
2.
3.
4.

Question 8 of 20

Question 9 of 20

9. Which symbol is used as a statement terminator in C?
1.
2.
3.
4.

Question 9 of 20

Question 10 of 20

10. Character constants should be enclosed between ____________.

1.
2.
3.
4.

Question 10 of 20

Question 11 of 20

11. What is the valid range of numbers for into type of data?
1.
2.
3.
4.

Question 11 of 20

Question 12 of 20

12. What will be the maximum size of a float variable?
1.
2.
3.
4.

Question 12 of 20

Question 13 of 20

13. __________ values do not change during program execution.
1.
2.
3.
4.

Question 13 of 20

Question 14 of 20

14. __________ should be matched to the type of variable you want to print or read.

1.
2.
3.
4.

Question 14 of 20

Question 15 of 20

15. Only the first characters of a variable are significant.
1.
2.
3.
4.

Question 15 of 20

Question 16 of 20

16. Quantities whose values do not change during the execution of the program are called _________.
1.
2.
3.
4.

Question 16 of 20

Question 17 of 20

17. A __________ is a memory location that is identified by a name to store an item of data of a particular type.
1.
2.
3.
4.

Question 17 of 20

Question 18 of 20

18. A declaration float a, b; occupies ___ of memory
1.
2.
3.
4.

Question 18 of 20

Question 19 of 20

19. Which of the following is invalid?
1.
2.
3.
4.

Question 19 of 20

Question 20 of 20

20. All the reserved words of C programs must be written in __________ letters.
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