Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

COMPUTER SCIENCE

STD – XI PRE-BOARD Marks : 70


I. Choose the appropriate answer 15x1=15
1. What is the result of 8.5%2
a. 0 b. 0.5 c.1 d. Error
2. Hertz is commonly used to measure _______________ frequencies in addition to measure
the speed of computer processes
a. wave b. digital c. radio active d. pulse rate
3. what is the Hexa Decimal Equivalent of 11112?
a. C b. D c. E d. F
4. Bjarne was a/an ____ computer scientist
a. American b. British c. Persian d. Danish
5. Identify stream insertion operator
a. << b. >> c. cout d. cin
6. Identify output
#include<iostream>
using namespace std;
int main()
{
int i=0;
while(i<=5)
i++;
cout << i;
}
a. 6 b. 1 2 3 4 5 c. 2 3 4 5 6 d. Error
7. Which of the following are valid array declarations?
a. char a[][6]={"One", "Two", "Three"}; b. char a[3][6]=["One", "Two", "Three"};
c. both a and b d. None of these
8. ___ device identifies the location when address is placed in the memory address register
a. Encoder b. Decoder c. Identifier d. Calculator
9. Declaring an inline member function having _____ is not advisable
a. loop b. switch c. goto d. all of these
10. Identify which of the following are not keywords
a. friend b. extern c. asmb d,auto
11. Identify output
#include <iostream>
using namespace std;
class c
{};
int main()
{
c ob;
cout << sizeof(ob);
}
a, 0 b. 1 c. 4 d. Error

12. Which of the following is not an invariant of the assignment m, n := m+2, n+3
a. m mod 2 b. n mod 3 c. 3xm - 2xn d. 2xm - 3 x n
13. What is the return type of function prototype add(int, int)?
a. void b. int c. char d. undefined
14. The term used to describe a programming approach based on class and object
a. procedural approacch b. user defined approach c. OOP d. PLP
15. The variables declared inside the class are known as
a. data types b. prototypes c. fields d.. attributes
II. Answer any 6. Q No 24 is compulsory. 6x2=12
16. Expand i. CPS ii. PPM
17. What is overload resolution? Give an example.
18. Can we find 1’s complement for 10010? Justify with reason
19. List the key features of operating system.
20. Distinguish algorithm and process.
21. What is a reference variable? What is it’s use?
22. Write about strlen()
23. What is a base class?
24. List the different parts of real constants in exponential form with example
III . Answer any 6. Q.No. 33 is compulsory. 6x3=18
25. Write a note on ISCII
26. Give an example for outline definition for a member function.
27. What are qualifiers? List its types.
28. What information a prototype provides to the compiler?
29. What parameters influence the characteristics of a microprocessor?
30. Write the specification of an algorithm to compute minimum of two numbers.
31. What is the difference between keyword and identifier?
32. What is operator overloading? List the operators that can be overloaded.
33. Identify output(1) and the rule(2) applied in getting the output
#include <iostream>
using namespace std;
int main()
{
int a=6;
float b=3.14;
cout << a+b;
}
IV. Answer in detail 5x5=25
34 a. Explain the different types of gates with their TT
(or)
34 b. Explain the concept of distributed operating system.
35 a. Explain the different versions of windows.
(or)
35 b. Write an algorithm and trace the step by step execution of it to compute factorial(3)
36 a. What are the types of errors in C++?
(or)
36 b. Explain any 5 built-in functions under ctype.
37 a. Write a note on basic concepts that support OOPS.
(or)
37 b. What are the restrictions on operator overloading? What operators cannot be
overloaded?
38 a. Explain the different types of inheritance in detail
(or)
38 b. What is piracy? Mention its types. How can it be prevented?

You might also like