41 2nd PUC Comp Science SV Exam-1-1
41 2nd PUC Comp Science SV Exam-1-1
2) c) Switching algebra 1
4) a) A is true, R is false 1
7) b) Public 1
8) d) Hierarchical Inheritance 1
9) c) Invalid indirection 1
10) a) ORACLE 1
11) b) UPDATE 1
17) Record 1
18) Tree 1
1
[ Any two characteristics of OOPs] 2
28) 1+1
Question
PART-C Section IV (Answer any four questions
questions.. Each carries three marks.
marks ) Marks
Number
[Any three features, each one feature carries one mark]
Universal Serial Bus Port gives a single, standardized
standardized,, easy to use way (Plug
and Play interface) to connect a variety of peripherals to computer system.
29) These devices include Printer, Scanner, Digital camera etc. 3
It is plug and play device
It supports
pports a data speed of 12 mbps.
It supports up to 127 devices.
2
30) A B F= A+B 1+2
0 0 0
0 1 1
1 0 1
1 1 1
[Any three application. Each carries one mark]
Reverse a word/string
UNDO mechanism in text editor
To solve tower of Hanoi
Expression evaluation and syntax parsing
31) Rearranging rail road cars. 03
Backtracking
Conversion of decimal number to binary
Conversion of infix expression into prefix and postfix
Quick Sort
Runtime Memory Management
An array of pointers means that it is a collection of address.
Example:
int *iptr[3];
int i=10, j=20, k=30;
32) 1+2
iptr[0]=&i; //*iptr[0]=10
iptr[1]=&j; //*iptr[1]=20
iptr[2]=&k; //*iptr[2]=30
3
34) [Any three component. Each one carries one mark] 3
Entity: An entity can be any object, place, person or class. It is represented using
rectangles.
Employee
E-commerce is the trade of goods and services with the help of telecommunication
and computers.
[Any two technologies and services]
EDI
email
EFT
35) 1+2
electronic forms
EBT
Bulletin boards
Digital cash
Electronic banking / Net Banking
Bar coding, imaging, voice recognition
< HTML>
<HEAD>
<TITLE> </TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
36) 3
<HTML> : This tag marks the beginning of HTML document
</HTML>: This tag marks the end of HTML document
<HEAD> </HEAD>: These tags define beginning and end of header section.
<TITLE>: This displays title in the title bar of the HTML document.
4
37) some operation. 5
Insertion: the process of adding a new element into the given collection of
data elements.
Deletion: the process of removing an existing data element from the given
collection of data elements.
Searching: the process of finding the location of data element in the given
collection of data elements./to find the element and its position
Sorting: the process of arrangement of data elements in ascending or
descending order.
Step 1: If FRONT= NULL then
PRINT “Queue is Empty..” //underflow
EXIT 1 mark
Step 2: Item = Queue[FRONT] 1 mark
Step 3: If FRONT=REAR Then
38) FRONT=NULL 5
REAR=NULL 2 mark
Else
FRONT=FRONT+1
[End of If]
Step 4: Return 1 marks
[ Each one application carries one mark]
CAD/CAM Software
Computer Graphic Applications
39) Object Oriented Database 5
Real time systems
AI and expert systems
User Interface Design
Friend function is a non-member function which can access to both private and
protected member of a class.
[Any four characteristics]
It is a non-member function which can access to both private and protected member
of a class.
1. The function is declared with keyword friend. But while defining friend
function it defined as normal function i.e without keyword friend or ::
(scope resolution) operator. It does not use either keyword or ::
operator.
40) 2. A class may have any number of friend functions and a function may be friend 1+4
to any number of classes.
3. It can be declared or placed anywhere in the class i.e. private, public or
protected.
4. A friend function cannot be called using the object of that class.
5. It can be invoked like a normal function.
6. The parameter of friend function must be an object of the class to which it is
friend.
7. Unlike member function, it cannot access the class members directly,
but it can access through the object of the class to which it is a friend.
A constructor without arguments or zero arguments is called default constructors.
It is also known as “zero argument” constructor. The default constructors are useful
when the objects are needs to be created without having to type initial values.
[Any Two Features]
41) 1+2+1+1
Features of default constructor are:
1. It is declared and defined with no arguments.
2. It is automatically called for every object created of that class.
3. All the objects of the class are initialized to same set of values by the default
5
constructor.
4. It is not possible to initialize different objects with different values using
default constructor.
5. It simply allocates memory to data members of objects.
Syntax:
class class_name
{
private :
Data members
public :
class_name()
{
Constructor function body
}
};
Inheritance is the capability of one class to inherit properties from another class.
Multiple Inheritance: If a class is derived from more than one base class, it is
known as multiple inheritance.
Derived Class
Vehicle
42) 1+2+2
Multilevel Inheritance: The classes can also be derived from the classes that
are already derived. This type of inheritance is called multilevel inheritance.
6
Manual Data Processing Electronic Data Processing
Volume of data which can be processed Volume of data which can be processed
is limited is very large
It requires large quantity of papers Less amount of papers are used
43) 5
Speed and accuracy is limited Speed and accuracy is high
Question
PART-E Section VI (Answer any two questions. Each carries five marks. ) Marks
Number
A’B’ 1 1 1 1
A’B 1 1
AB 1 1
45) 2+2+1
AB’ 1
7
written as outside class definition. The function prototype declaration is written
inside the class definition. The definition of member function is similar to normal
function. But a member function has a ‘identity label’ in the header. This label tells
the compiler which class the function belongs to. The scope of the member function
is limited to the class mentioned in the header. Scope resolution operator :: is used to
define the member function outside the class definition.
ANY 2 POINTS 2 marks
Example:
// (Any suitable relevant programming example) . 3 marks
[Optional]
Characteristics of Member function outside class definition
Type and number of arguments in member function must be same as type
and number of data declared in class definition.
The symbol :: is known as scope resolution operator. Usage of :: along with
class name is the header of function definition. The scope resolution operator
identifies the function as a member of particular class.
Several classes can use same function name. Membership label will resolve
their scope.
Member function can access private and protected data of a class. A non –
member function cannot.