0% found this document useful (0 votes)
14 views2 pages

Cs 2nd Unit Answer Key

Uploaded by

atharvpatilinfo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Cs 2nd Unit Answer Key

Uploaded by

atharvpatilinfo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

XI COMPUTER SCIENCE PAPER-I (Answer Key)

Q,1 (A)

1. (a)%
2. ( c )if-else
3. (b) continue
4. (a)int
5. (c) setw
6. (d)do-while
7. (b)continue
8. (d)binary

(B)

1(a). Array- It is a collection of elements of homogeneous data types.

(b) Functions- To make large programs manageable programmers modularize them into small
modules or subprograms known as functions

(c ) Recursion- When a function calls itself within its body then it is known as Recursion.

2. (a) #include<conio.h>

(b)#include<stdlib.h>

(c) #include<math.h>

3. 3 differences

1. syntax

2. example

3. diff. according to condition

4. page no.65,66

5. page no. 68

6. page no. 76

7. Define-

(a) String- A group of characters enclosed in double quotes.

(b) Function overloading- A function is said to be overloaded when it is declared more than once in
the program.
(c) Traversing- Visiting each and every element of the array exactly once.

8. page no. 43,44

9. page no. 44

10.page no. 73

11.Define-(a)pointer-

(b)Global variables-variables which are declared outside main function.(

(c ) Constants- The numbers whose value can not be changed throughout execution of the program.

12.page no. 44,45

13.(b) variables- The placeholders in which the values can be stored and that can be changed.

14.page no. 68,69

15. page no. 70

(B) 4 marks q.

1. page no. 49

2. page no. 52

3. Function prototype- When a function is declared along with its data type and argument list before
mian function

Function call- When any function is called from main function

Function def-When a function is defined with its body in the program.

4.page no. 82

5. page no. 84

6. page no. 74

7. page no. 78

You might also like