CSC Xi
CSC Xi
2020
COMPUTER SCIENCE
Total marks : 70 Time : 3 hours
General instructions:
i) Approximately 15 minutes is allotted to read the question paper and revise the
answers.
ii) The question paper consists of 32 questions. All questions are compulsory.
iii) Marks are indicated against each question.
iv) Internal choice is given in some questions.
N.B: Check that all pages of the question paper is complete as indicated on the top left side.
3. What a microprocessor? 1
17. What does the modulus operator % do? What will be the result of 7.2%2.1?2
21. What is a structure? Declare a structure in C++ with name, roll number and
total marks as component. 2
28. Write a program in C++ using function to calculate the average of three input
values and return the average using return statement. 4
29. a. Write a program in C++ to find the maximum and minimum value in an
array.
Or 4
b. Write a program to input an array num with 10 different integer values and
search a particular value and its position in array.
30. a. Describe the differences between one dimensional array and two
dimensional array?
Or 4
b. Give the proper array declaration for the following-
i) Declare an integer array which can hold 25 values.
ii) Declare one dimensional array of four characters called letters.
31. Explain the different types of functions which is used to change the case of a
character with one example each. 4
**************************