Punjab 12th Class Computer Chapter 5 Arrays and Strings Mcqs Test Online

Total Question
20 Questions
Total Marks
40 Marks
Total Time
20 Minuts
Test Help For ::

12th Computer Class Test
Entry Test MCQs
Computer Admission Test
Competitive Exams
All Punjab Boards Annual Exams




Test Name



Ch.5 Arrays and Strings

Subject



Computer (12th Class)

Test Type



MCQs


Punjab 12th Class Computer Chapter 5 Arrays and Strings Mcqs Test Online

Punjab 12th Class Computer Chapter 5 Arrays and Strings Mcqs Test Online

 

Question 1 of 20

Computer Science

1. If the number of values supplied are greater than the actual number of items then compiler will give an _________ message.
1.
2.
3.
4.

Question 1 of 20

Question 2 of 20

2. There are many problems in which the data being processed can be naturally organized as a ___________.
1.
2.
3.
4.

Question 2 of 20

Question 3 of 20

3. If the matrix has the same number of rows and columns it is called a:
1.
2.
3.
4.

Question 3 of 20

Question 4 of 20

4. In C language, a comment begins with the _________ slash.

1.
2.
3.
4.

Question 4 of 20

Question 5 of 20

5. If the marks of ten students are to be processed in a program we might use an array to ________ them.
1.
2.
3.
4.

Question 5 of 20

Question 6 of 20

6. What is the length of following array “int a[] = {4, 20, 45, 24, 56}”.
1.
2.
3.
4.

Question 6 of 20

Question 7 of 20

7. __________ is a sequence of characters used fo storing and processing words, names, addresses etc.
1.
2.
3.
4.

Question 7 of 20

Question 8 of 20

8. { } is known as
1.
2.
3.
4.

Question 8 of 20

Question 9 of 20

9. A _________ array requires two separate subscript values to access an element.
1.
2.
3.
4.

Question 9 of 20

Question 10 of 20

10. If the size of the array is not supplied, the compiler will _________ the number of items in the initialization list.
1.
2.
3.
4.

Question 10 of 20

Question 11 of 20

11. To refer to an individual element of the array, we use ________.
1.
2.
3.
4.

Question 11 of 20

Question 12 of 20

12. C language uses the library function __________ to read a string from the keyboard and store it in a string variable.
1.
2.
3.
4.

Question 12 of 20

Question 13 of 20

13. The old fashioned comment style is useful for __________ comments.
1.
2.
3.
4.

Question 13 of 20

Question 14 of 20

14. Simple data types present _________ values.
1.
2.
3.
4.

Question 14 of 20

Question 15 of 20

15. The basic idea behind and exchange sort algorithm is to continually _________ adjacent pairs of array elements.
1.
2.
3.
4.

Question 15 of 20

Question 16 of 20

16. You refer to the individual item in an array by using an integer that is known as __________.

1.
2.
3.
4.

Question 16 of 20

Question 17 of 20

17. An ________ can store several data items of the same type.
1.
2.
3.
4.

Question 17 of 20

Question 18 of 20

18. In C all the array elements are number starting at __________.
1.
2.
3.
4.

Question 18 of 20

Question 19 of 20

19. The assignment statement marks[4] = 83; stores the value in the ________ location of the array.
1.
2.
3.
4.

Question 19 of 20

Question 20 of 20

20. The last array element will have subscript one less than the _________ of the array.
1.
2.
3.
4.

Question 20 of 20


 

Test By Subject
Test By Topics
You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.

Other Related test

Leave a Reply

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

Back to top button
error: