0% found this document useful (0 votes)
17 views6 pages

Computer

Easy recap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views6 pages

Computer

Easy recap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CS112425

AIM ACTIVATION EXAM


18TH MODEL PUBLIC EXAM
COMPUTER SCIENCE
Time : 3 Hrs
Marks: 70
Class: 11
PART - I
Note: i) Answer all the questions. 15 X 1 = 15
ii) Choose the most appropriate answer from the given four alternatives
and write the option code and the corresponding answer.

1. Expand POST
a)Post on Self Test b) Power on Software Test
c) Power on Self Test d) Power on Self Text
2. Which gate is called as the logical inverter?
a)AND b)OR c)NOT d) XNOR
3. What is the smallest size of data represented in a CD
a) blocks b) sectors c) pits d)tracks
4. How many levels of securities are provided by operating system to the user?
a)3 b)2 c)5 d)4
5. Which of the following is a very high speed and expensive memory?
a) Cache b)ROM c)RAM d)EPROM
6. How many times the loop is iterated? i:=6
While i ≠6
i := i+1
`a)4 b)5 c)6 d)0
7. Which of the following operator is extraction operator in C++?
a) >> (b) << (c) <> (d) ^^
8. This can be used as alternate to endl command:
a)\t b)\b c)\0 d)\n
9. A loop invariant need not be true:
a)at the end of each iteration b)at the start of the algorithm
c)at the start of the loop d)at the start of each iteration
10._____ is an example of procedural programming language
a) COBOL b) c++ c) java d) php
11. A constructor having a reference to an already existing object of its own class is
called_____ constructor.
a) copy b) default c) Parameterized d) all of the these
12. _____Operator that is not overloaded
a) ++ b) -- c) .* d) ::
13. _____ statement marks the end of the function.
a) void b) null c) return d) default.
14. Class is a ______data type.

a) bulletin b) fundamental c) derived d) User defined.

15. The process of converting cipher text to plain text is called


a) Encryption b) Decryption c) key d) proxy server

PART -II
Note: Answer any six questions. Question No.24 is compulsory. 6 x 2 =12
16. What is the function no fan ALU?
17. Write the De-Morgan’s law?
18. Define OS? Write the types?
19. Define Overloading.
20. Define an Array? What are the types?
21. What are the three different notations for representing algorithms?
22. List the search engines supported by Tamil language
23. What are keywords? Can keywords be used as identifiers?
24. What will be the result of following if num=6 initially.

(a) cout << num;


(b) cout << (num==5);
PART -III
Note: Answer any six questions. Question No.33 is compulsory. 6x3 =18

25. Write short note on impact printer.


26. Convert (98.46)10to Binary
27. Explain any three versions of windows.
28. What is case analysis?
29. Write a note on Recycle bin.
30. Write the Difference between break and continue.
31. What are the types of Errors?
32. What is TSCII?
33. Write the output of the program.
#include<iostream>
using namespace std;
int main( )
{
char colour [4][10]={"Blue","Red","Orange", "yellow"};
for (int i=0; i <4; i++)
cout << colour [i] << "\n";
}
PART -IV
Note: Answer all the questions. 5x5 =25
34. a)Discuss the various generations of computers.
(OR)
b) Explain the types of ROM.
35. a)Explain the characteristics of a microprocessor.
(OR)
b) 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. For exchanging the contents of glasses A and B, represent
the state by suitable variables, and write the specification of the algorithm.

36. a)What is scope? Explain the types of scope with example.


(OR)
b) What is an entry control loop? Explain any one of the entry-controlled loops with
suitable example.
37. a) Write the different types of cyber attacks.
(OR)
b) Explain the different types of inheritance

38. a) Debug the following program.

## include <iostream.h>
Class student
{
private
char name[20];
int rno;
public:
void acceptname[ ]
{
cout<<"\n Enter roll no and name .. "; cin>>rno>>name;
}
void displayname[ ]
{
cout<<"\n Roll no :-">>rno;
cout<<"\n Name :-">>name<<endl;
}
}
class exam :: public student
{
public:
int mark1,mark2,total;
void acceptmark()
{
cout<<"\n Enter mark1 and mark2.... "; cin>>mark1>>mark2;
}
void displaymark()
{
cout<<"\n\t\t Marks Obtained ";
cout<<"\n Subject1.. "<<mark1;
cout<<"\n Subject2 .. "<<mark2;
cout<<"\n Total .. "<<mark1+mark2;
}
}
void main()
{
Exam E1;
e1.acceptname();
e2.acceptmark();
e3.displayname();
e1.displaymark();
return 0;
}
(OR)
b) Find the output the given program.

#include<iostream>
using namespace std;
class add
{
int num1, num2, sum;
public:
add()
{
cout<<"\n Constructor without parameters.. ";
num1= 0; num2= 0; sum = 0;
}
add ( int s1, int s2 )
{
cout<<"\n Parameterized constructor... ";
num1= s1; num2=s2; sum=0;
}
add (add &a)
{
cout<<"\n Copy Constructor ... ";
num1= a.num1;
num2=a.num2;
sum = 0;
}
void getdata()
{
cout<<"\nEnter data ... ";
cin>>num1>>num2;
}
void addition()
{
sum=num1+num2;
}
void putdata()
{
cout<<"\n The numbers are..";
cout<<num1<<'\t'<<num2;
cout<<"\n The sum of the numbers are.. "<< sum;
}
};
int main()
{
add a, b (10, 20) , c(b);
a.getdata();
a.addition();
b.addition();
c.addition();
cout<<"\n Object a : ";
a.putdata();
cout<<"\n Object c.. ";
c.putdata();
return 0;
}

You might also like