Вы находитесь на странице: 1из 2

QUARTERLY EXAMINATION, 2013 14

learncbse.in
M.M.-70

SUBJECT: COMPUTER SCIENCE

CLASS : XI

TIME : 3 hrs

Q1. a. What is meant by free formatting?

(1)

b. Logical errors can usually be detected by the compiler. Do you agree with
the Statement? Justify?

(1)

c. Mention the steps that you would follow while writing a program.

(2)

d. Differentiate if-else and else if.

(2)

e. Explain variable declaration & initialization.

(2)

Q2. Explain following terms:

(1*6)

a. Literals

b. variables

c. constants

d. Keyword

e. data type

f. header files

Q3. a. Write a program for convert the hours into seconds.

(2)

b. What is wrong with the following statements?

(2)

1. const int y;

2. char ch=A;

3. long float x;

4. cin>>a>>\n;

c. Evaluate the following, where a, b, c are integers and d, f are floating point
numbers.
The value of a=8, b=4 and d=2.5

(2)

(i) f = a * b + a/b
(ii) c = d+a + b % a
d. Differentiate procedural & modular programming.

(2)

e Explain any three basic concepts of OOP programming.

(3)

f. Explain the term escape sequence.

(2)

g. Explain any two types of errors.

(2)

Q4. a. Write a program for find out the total salary (basic +commission) according to
the sales
Sales amount
Basic
Commission %
0-45000

15000

45001-150000

15000

5%

150001-300000

15000

7%

More then 300000

15000

9%

(6)

learncbse.in

learncbse.in(3)

Q5. Write a program for find out the number is even or odd using switch case.
Q6. a. Convert following:

Q7.

(1100110)2 To ( ?)8

(2)

b. Differentiate Logical AND & Logical OR operator ?

(2)

c Write a program for find out the bigger number from three numbers.

(3)

d.. What is the difference between the fundamental and derived data types?

(2)

e. Write a program for check the eligibility of candidate where age criteria is
18 to 25 years

(2)

a) How is a compiler different from interpreter?

(2)

b) Name any one Super Computer developed by India.

(1)

c) What is an Operating System? What are its functions ?

(3)

Q8 . a) Write a program for calculate area of calculate area of triangle using


Heros formula.

(2)

b) convert following:

(6)

I.

(A2C)16

To

(?)2

II.

(12.29)10

To

(?)2

(457)8

To

(?)2

III.

c) Write short notes on the representation of characters in memory.

(3)

d) Write short notes on ISCII & UNICODE.

(2)

e) Differentiate Static & Dynamic RAM.

(2)

learncbse.in

Вам также может понравиться