|
||
|
MODEL PAPER - III
XI - COMPUTER SCIENCE ( 083)
|
|
Time: 3 Hours
|
|
Max Marks: 70
|
Instructions
: All questions are compulsory
Use
C++ Language
|
1
|
a
|
How
many Megabytes make 1 Gigabyte.
|
1
|
|
b
|
Convert ( FACE )16 to Binary.
|
1
|
|
c
|
Give
examples of at least two mostly used Antivirus Software.
|
1
|
|
d
|
What
do you understand by “desktop”
|
1
|
|
e
|
What
is meant by the terms multiprogramming and Multitasking .
|
2
|
|
f
|
Why
is primary memory termed as “destructive write” memory but “non-destructive
read “ memory.
|
2
|
|
g
|
Expand (a) TFT
(b) USB (c) DOS
(d) ISCII
|
2
|
2
|
a
|
Which
looping structure would you preferably use in programming
for
loop (or) while loop. Justify.
|
2
|
|
b
|
Correct
the following code :
int
main()
{
cout<”enter variable:”
cin>>var;
sqrs=var*var
cout<<”the square is :
“<<sqrs;
|
2
|
|
c
|
What
will be the output produced by the following code segment
( Assume all headers and variables are
declared )
i=10;
for(;i<=50;)
{
j=i/2;
cout<<i<<j;
i+=10;
}
|
2
|
|
d
|
Write
a C++ programme to check for a leap year.
|
2
|
|
e
|
Write
a C++ programme to find the factorial of a number.
|
2
|
3
|
a
|
What
is the output of the code for ( Assume all header files are included )
(a)
s=0 (b) s=1
void
main()
{
int i,s;
if (i=s)
cout<<"true"<<i;
else
cout<<"false"<<i;
}
|
2
|
|
b
|
Why
to include iostream.h library header file.
|
2
|
|
c
|
An
unsigned int can be twice as large as the signed int. Explain how.
|
2
|
|
d
|
How
do you correct the following code ?
main()
{
int i=j=k=0;
}
|
2
|
4
|
a
|
Write
a programme to perform linear search using arrays.
|
3
|
|
b
|
Write
a programme using function overloading to find the area of a square and a
rectangle.
|
4
|
|
c
|
Details
of 50 clients of an investment company are stored in an array of structures.
Details include customer name, code,
date of sharing, number of years, interest rate, and total amount. Write
a program to calculate compound interest for these clients.
|
4
|
5
|
a
|
What
are the different types of program Maintenance.
|
2
|
|
b
|
Differentiate
between “Reliability” and “Robustness” in the context of – Characteristics of a
Good Program in Programming Methodology.
|
2
|
|
c
|
Is
“Debugging” dependant on “Testing” in Problem solving methodology. Justify.
|
2
|
|
d
|
Why
are Logical Errors harder to locate ?
|
2
|
|
e
|
How
is echo printing different from pretty printing ?
|
2
|
6
|
a
|
What
is the difference between ‘a’ and “a”.
|
2
|
|
b
|
In
how many ways can a variable be declared in C++.
|
2
|
|
c
|
What
is the header file for the commands
(a) cls (b) setw
|
2
|
|
d
|
Write
a program to count the number of words present in a line.
|
3
|
7
|
a
|
The
roll numbers, marks in English, computers and maths out of 100 for 50
students
( i.e need not read them )
Write
a function in C++ , using structures, to calculate the following :
(i)
No. of students passed with distinction.
(ii)
Details of top two scorers.
(iii)
Number of students failed.
For
distinction , a students needs to score at least 75% and minimum passing
marks are 40%
|
4
|
|
b
|
Write
a C++ programme to find the largest element in the array.
|
4
|
|
c
|
Write
a C++ programme to find the sum of diagnal elements in a 2 dimensional matrix
of order 3 x 3.
|
4
|
No comments:
Post a Comment