#### 11th Public Official Model Question 2019

11th Standard

Reg.No. :
•
•
•
•
•
•

Computer Science

Time : 02:30:00 Hrs
Total Marks : 70
15 x 1 = 15
1. 4 bits =................

(a)

Bit

(b)

Byte

(c)

Nibble

(d)

Word

2. How many memory locations ate identified by a processor with 8 bits address bus at a time?

(a)

28

(b)

1024

(c)

256

(d)

8000

3. Android is a ________

(a)

Mobile Operating system

(b)

Open Source

(c)

(d)

All the above

4. 'My Computer' icon present in windows version.

(a)

XP

(b)

7

(c)

8

(d)

10

5. Ensuring the input-output relation is

(a)

the responsibility of the algorithm ana the right of the' user.

(b)

the responsibility of the user and the right of the algorithm.

(c)

the responsibility of the algorithm but not the right of the user.

(d)

the responsibility of both the user and the algorithm.

6. If Fibonacci number is defined recursively as$f(n)=\begin{cases} 0n=0 \\ 1n=1 \\ f(n-1)+f(n-2)otherwise \end{cases}$to evaluate F(4), how many times F() is applied?

(a)

3

(b)

4

(c)

8

(d)

9

7. Which of the following is not a modifier?

(a)

Signe

(b)

long

(c)

Short

(d)

int

8. How many times the following loop with execute? for (int i=0; i<10; i++)

(a)

0

(b)

10

(c)

9

(d)

11

9. How many main() function allowed in a C++ program?

(a)

2

(b)

3

(c)

many

(d)

only one

10. Which of the following cannot be a structure member?

(a)

Another structure

(b)

Function

(c)

Array

(d)

variable of double datatype

11. Which of the following supports the transitive nature of data?

(a)

Inheritance

(b)

Encapsulation

(c)

Polymorphism

(d)

Abstraction

12. Which of the following input can not be accepted by cin object?

(a)

integer

(b)

character

(c)

string with space

(d)

string without space

13. Which of the following statement is true or false?
(iii) Constructor argument should also be passed while creating an object
(iv) Overloaded operators can have default arguments

(a)

i-false, ii-false, iii-true, iv-true

(b)

i-true, ii-false, iii-true, iv-false

(c)

i-false, ii-true, iii-true, iv-false

(d)

i-true, ii-false, iii-false, iv-true

14. The inner class is also known as

(a)

container class

(b)

nested class

(c)

enclosing class

(d)

inline class

15. Which of the following coding systems specially designed for Indian languages?

(a)

ASCII

(b)

TSCII

(c)

ISCII

(d)

EBCDIC

16. 6 x 2 = 12
17. What are the components of a CPU?

18. Draw the block diagram of a microprocessor based system.

19. What is the multi-user Operating system?

20. How do we refine a statement?

21. What is the relationship between loop invariant, loop condition and the input-output recursively?

22. Determine which of the following are valid constant? And specify their type.
(i) 0.5
(ii) ‘Name’
(iii) ‘\t’
(iv) 27,822

23. Write a note on?
(i) isupper() (ii) toupper'() (iii) strupn()

24. Differentiate structure and class though both are user defined data type.

25. What is Malware?

26. 6 x 3 = 18
27. Write a short note on XNOR gate

28. How is virtual memory is implemented?

29. How is state represented in algorithms?

30. Describe alternative statement.

31. Write a short program to print following series:
(a) 1 4 7 10...... 40

32. Write a C++ program to accept and print your name?

33. What do you mean by modularization and software reuse?

35. Explain the uses of private, protected and public inheritance.

36. 5 x 5 = 25
37. Explain any two input and output devices.

38. Explain the types of ROM.

39. Explain the methods followed while copying files and folders to removable disk.

40. Exchange the contents: Given two glasses marked A and B. Glass A is full of apple drink and glass B is full of grape drink. Write the specification for exchanging the contents of glasses A and B, and write a sequence of assignments to satisfy the specification.

41. Write a program to find sum of the series
S = 1 + x + x2 +..... + xn

42. Explain scope of variable with example.

44. What is containership write a C++ program to illustrate the containership

45. Write the output of the following program
include < iostream >
using namespace std;
class Seminar
{
int Time;
public:
Seminar()
{
Time=30;cout << "Seminar starts now"< }
void Lecture()
{
cout << "Lectures in the seminar on"< }
Seminar(int Duration)
{
Time=Duration;cout << "Welcome to Seminar "< }
Seminar(Seminar &D)
{
Time=D.Time;cout << "Recap of Previous Seminar Content "< }
~Seminar()
{
cout << "Vote of thanks"< }
};
int main()
{
Seminar s1,s2(2),s3(s2);
s1.Lecture();
return 0;
}

46. Answer the questions (i) to (iv) on the following
code:
class Dolls
{
char DCode[5];
protected :
float Price;
void CalcPrice (float);
public:
Dolls ();
void DInput ( ) ;
void DShow ( ); .
};
class SoftDolls : public Dolls
}
char SDName[20];
float Weight;
public:
SoftDolls ( ) ;
void SDInput ( ) ;
void SDShow ( ) ;
};
class ElectronicDolls : public Dolls
}
char EDName [20];
char BatteryType[10];
int Batteries ;
public: .
Electronic Dolls ( );
void EDInput ( ) ;
void EDShow ( ) ;
};
(i) Which type of Inheritance is shown in the above example?
(ii) How many bytes will be rreqiured by an object of the class ElectronicDolls?
(iii) Write name of all the data memebrs accessible from member functions of the class softDolls.
(iv) Write name of all the member functions accessible by· an object of the class ElectronicDolls.