www.Padasalai.Net www.TrbTnpsc.
com
XI
Reg.No
Padasalai’s Centum Special Question Paper
COMPUTER SCIENCE - FULL PORTION EXAM - 1
Time : 3.00 hours Max. Marks : 70
PART – I
Note : i) Answer all the questions 15x1=15
ii) Choose the most appropriate from the given four alternatives and write the option
et
code and corresponding answer
1. Which generation of computer used ULSI?
a. Third b. Fourth c. Fifth d. Sixth
.N
2. (10100110)2=.........?16
a. A5 b. B5 c. A6 d. B6
3. What is the capacity of 12 cm diameter DVD with single sided and single layer?
i
a. 4.7 GB b. 5.5 GB c. 7.8 GB d. 2.2 GB
la
4. Which of the following is a single user operating system?
a. MS-DOS b. Unix c. Linux
sa d. Windows
5. To rename a folder click ............. button
a. F2 b. F3 c. F10 d. F4
6. Before assignment x,y=40,20
After assignment x,y=x+5,y-5
da
What is the value of x,y?
a. 45,15 b. 45,25 c. 20,30 d. 35,25
7. Which of the following is a valid string literal?
Pa
(a) ‘A’ (b) ‘Welcome’ (c) 1232 (d) “1232”
8. How many times the following loop will execute?
for(int i=1;i<10;i++)
a. 11 b. 9 c. 0 d. 10
w.
9. int x=10;
int main( )
{
int x=100;
ww
cout<<::x;
}
the output for the above snippet is………..
a. 100 b. x c. ::x d. 10
10. The identifiable entity with some characteristics and behaviour is ……………….
(a) class (b) object (c) structure (d) member
11. How many access specifies declared inside class definition?
a. 3 b. 2 c. 4 d. 1
12. Which one of the following C++ operator can be overloaded?
a. + b. ?: c. : : d. size of
13. Which one of the following is Harass through online?
a. cyber terrorism b. scam c. cyber stalking d. fraud
14. Which of the following is the first Tamil programming language?
Knidly Send Me Question & Answer Keys to Us: padasalai.net@gmail.com
www.Padasalai.Net www.TrbTnpsc.com
a. kamban b. Azhagi c. Tamil open office d. Ezhil
15. Which visibility mode should be used when you want the features of the base class to be
available to the derived class but not to the classes that are derived from the derived class?
(a) Private (b) Public (c) Protected (d) All of these
PART – II
Note : Answer any six questions : Q.No 24 is compulsory 6x2=12
16. What is the function of an ALU?
17. Define the types of RAM.
18. Differentiate Save and Save As option?
19. Why is function an abstraction?
20. What is meant by a token? Name the token available in C++.
21. Write about strlen( ) function.
22. How to access array elements?
23. List the operators that cannot be overloaded.
et
24. Write a while loop that displays numbers 5,10,15,......50.
PART – III
.N
Note : Answer any six questions : Q.No 33 is compulsory 6x3=18
25. Write the truth table and draw logic symbol of XOR gate.
26. Write a note on Multiprocessing.
i
27. What is case analysis?
la
28. Write about the input/ output operators in C++.
29. Write the syntax and purpose of switch statement.
30. Write the disadvantages of OOP.
sa
31. What are the characteristics of constructor?
32. What is meant by Computer ethics?
33. Write about strcat( ) , strupr( ), strlwr( ) functions.
da
PART – IV
Note : Answer all the questions: 5x5=25
34. Explain any 5 input devices. (OR)
Add the following using 2’s complement:
Pa
a) -18 + -25 b) -63 + -14
35. Explain the different ways of finding a file or folder. (OR)
Write about binary operators used in C++.
36. What are the difference between if-else and switch. (OR)
w.
Explain call by value method with suitable example.
37. What are the restrictions on operator overloading. (OR)
What are the various crimes happening using computer?
ww
38. Debug the errors in the following C++ program to get the given output:
Output
3
4
5
#include<iostream.h>
Class A
{
Private
Int a;
Public;
Int a2;
Void getdata{}
{
a1=3; a2=5,a3=5;
Knidly Send Me Question & Answer Keys to Us: padasalai.net@gmail.com
www.Padasalai.Net www.TrbTnpsc.com
}
Protected
Int a3;
}
Class B : : public A()
{
Public:
Void func()
{
Int b1,b2,b3;
Getdata{};
b1=a1;
b2=a2;
a3=b3;
cout>>b1>>b2>>b3;
et
}
};
.N
Void main [ ]
{
B der;
i
d.func();
la
}
(OR)
Write the output of the following C++ program:
#include<iostream.h>
sa
#include<conio.h>
Class product
da
{
Private:
Int x,y;
Public:
Pa
Product()
{
x=0;
y=0;
w.
cout<<”\n constructor of class product…”;
}
~ product()
ww
{
Cout<<”\n Destructor of class product…”;
}
Void getdata()
{
x=5;
y=10;
}
Void display()
{
Cout<<”\n the two integers are….”<<x<<”\t”<<y;
Cout<<”\n the product of the integers are….”<<x*y;
}
};
Void main()
Knidly Send Me Question & Answer Keys to Us: padasalai.net@gmail.com
www.Padasalai.Net www.TrbTnpsc.com
{
Product p; p. getdata(); p.display(); }
et
i .N
la
sa
da
Pa
w.
ww
Knidly Send Me Question & Answer Keys to Us: padasalai.net@gmail.com