Академический Документы
Профессиональный Документы
Культура Документы
learncbse.in
M.M.-70
CLASS : XI
TIME : 3 hrs
(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)
(2)
(2)
(1*6)
a. Literals
b. variables
c. constants
d. Keyword
e. data type
f. header files
(2)
(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)
(3)
(2)
(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%
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)
(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)
(2)
(1)
(3)
(2)
b) convert following:
(6)
I.
(A2C)16
To
(?)2
II.
(12.29)10
To
(?)2
(457)8
To
(?)2
III.
(3)
(2)
(2)
learncbse.in