11 Half Yearly Examination- 2024
Register No
Time:3.00 Hrs. COMPUTER SCIENCE Marks: 70
PART - I
I. Choose the correct answer. 15 x 1= 15
1
Which generation of computer used Transistors? a) First b) Second c) Third d) Fourth
2. 2^40 referred as a) Kilo b) Tera c)Peta d) Zetta
3 is used to connect a monitor or any displaydevice like LCD projector.
a) USB port b) Ps/2 port c) SCSI port d) VGA connector
4 Which of the following OS is a commercially licensed operating system?
a) Windows b) UBUNTU c) FEDORA d) REDHAT
5. Omitting details inessential to the task and representing only the essentialfeatures of the task is
known as a)specification b) abstraction c) composition d) decomposition
6. Aloop invariant need not be true
a) at the start of the loop b)At the start of each iteration c) at the end of
each iteration d)at the start of the algorithm
7. Which of the following operator is extraction operator in C++? a) >> b) << c) <> d)n
8 Which of the following is not a type of modifier? a) signed b) int c) long d) short
9 A loop that contains another loop inside its body.
a) Nested loop b) Inner loop c) Inline loop d) Nesting of loop
10. Which function is used to check whether the given character is an alphabet or not?
a) isalnum() b) islower() c) isalpha() d) isdigit()
11. The subscript of an array always starts with a) -1 b)0 c) 2 d) 1
12. The mechanism by which the data and functions are bound together into a single unit is known as
a) Inheritance b) Encapsulation c) Polymorphism d) Abstraction
13. The member function defined within the class behave like functions.
a) inline b) Non inline c) Outline d) Data
14. Which of the following reduces the number of comparisons in a program?
a) operator overloading b) Operations overloadin c) Function overloading d) Member overloading
15. Acomputer network security that monitors and controls incoming and outgoing traffic is
a) Cookies b) Virus c) Firewall d) Worms
Answer any 6 Questions. Question No.24 is compulsory. 6 x 2 = 12
16. What are the components of CPU?
17. What is Boolean Algebra?
18. What are the security management features available in Operating System?
19. What is an invariant?
20. What is the use of setw() format manipulator?
21. What is Strings?
22. Write the disadvantages of 0OP.
23. Write ashort note on jump statement.
24. Write the syntax for calling the member function. Give example.
I|I. Answer any 6 Questions. Question No.33 is compulsory. 6 x3 = 18
25. Write the characteristics of sixth generation.
26. Find 1's complement and 2's complement for (-135).0
27. Differentiate PROM and EPROM.
28. What is the format of the specification of an algorithm?
29. What is case analysis?
30. What is the difference between isupper() and toupper() functions?
31. What are the rules for function overloading?
32. Write a short note on Tamil Virtual Academy.
33. Given the following C++ code, answer the questions (i) and (1).
class TestMeOut
11 Computer Science -1
public;
-TestMeOut() IIFunction 1
{cout<<"Leaving the exam hall'<<endl:)
TestMeOut() IIFunction 2
{cout<<"Appearing for exam"<<endl:)
void MyWork() I/Function 3
{cout<<"Answering"<<endl;) }:
i) In Object Oriented Programming, what is Function 1 referred as and when does it get invoked /
called?
ii) In Object Oriented Programming, what is Function 2 referred as and
called? when does it get invoked /
IV. Answer all the questions.
5x 5=25
34. a) Explain the following (i) Inkjet Printer (ii) Multimedia projector (ii) Bar Code /
(OR) b) Explain the characteristics of a microprocessor. QR code Reader.
35. a) Explain the different ways of finding a file or folder? (OR)
b) Write about Binary operators used in C++.
36. a) What is an entry control loop? Explain any one of the
b)Write the output of the following entry controlled loop With suitable example.
program:
#include<iostream>
using namespace std; {
class Seminar Time=D;cout<<"Recap
of Previous Seminar
int Time; Content"<<endl;
public:
Seminar() ~Seminar()
{ cout<<"Vote of
Time=30;cout<"Seminar starts now'<<endi; thanks"<<endl:;
void Lecture()
int main()
cout<<"Lectures in the seminar on"<<endl;
Seminar s1,s2(2), s3(s2);
Seminar(int Duration) s1.Lecture();
{ return 0;
Time=Duration;cout<<"Welcome to Seminar"<<endl;)
Seminar (Seminar &D)
37. a) Explain scope of variable with example. (OR)
b) Explain the different types of inheritance.
38. a) Write the different types of cyber attacks. (OR)
b)Debug the following program:
%include(iostream.h)
#include<conio.h>
class A()
{public; A::getdatal]:
b1=a1;
int a1,a2:a3;
b2=a2;
void getdata|] a3=a3;
{a1=15;a2=13;a3=13:) ) Cout<<o1<<<2%<<O3)
class B:: public A()
{PUBLIC void main()
{B der;
voidfunc() der 1:func():}
{int b1:b2:b3;
11 Computer Science -2