Samplepaper 6
Samplepaper 6
Class – XI
Subject – Computer Sience
MM 70 TIME 3hrs
Note All the questions are compulsory.
Q5 Differentiate between the logical errors and runtime errors with one example
each? (2)
Q6 Write down the steps to be followed while running a program. (2)
Q10 Draw the symbol used in the flow chart to read the values? (1)
Q11 What is the difference between the ‘a’ and “a”? (1)
Q13 What will be the result of the following two expressions if i=10 initially?
1)++i<=1
2)i++<=10 (2)
cout<<”X=”;X
cin>>x;>>y;
cout<<”Enter a number”;
cin>>x;
-------------------------------------------------------------------------------------------------------
Q16 Define operators and its types? (4)
Q21 Write a program to compare two strings without using functions. (3)
Q25 Write a program to input square matrix and interchange rows to column and
column to rows. (4)
Q26 How many times “hello” will be printed in the following code fragment:
for (i=0; i<5; i++)
for (j=0; j<4; j++)
cout<< “hello”; (2)
Q27 Explain procedural programming and modular programming (3)
-------------------------------------------------------------------------------------------------------