Professional Documents
Culture Documents
MARKING SCHEME
SECTION - A
1 (a.) More than one functions having same name but multiple definitions is termed as Function Overloading. 2
Each of them have different signatures which includes:
1. No. of Parameters 2. Data type of parameters 3. Sequence of parameters
Eg.
void function1( )
void function1(int x, float y)
void function1(float x, int y)
1 mark for correct definition
1 mark for example
(b.) iostream.h , ctype.h 1
½ marks for each header file
(c.) int C, R;} ; // Semicolon 2
cout<<P.C << P.R <<endl; // cascading operator
Screen Point1 = { 5,3 } ; // Curly bracket
Point1.C+ = 2; // accessing
½ mark for each error
(d.) What will be the output of the following program: 2
1
1 mark for NewSport()
1 mark for correct logic for assigning valued=s to Fees.
(d.) (i) Name the base class and derived class of the class WORLD. 4
3
{ fin.read((char*)&S,sizeof(Sports));
if(strcmp (S.Event, "Athelitics")==0)
{
fout.write((char*)&S, sizeof(Sports));
flag =1;
}
}
}
if(flag)
cout << " \n The data has been copied";
else
cout<< "\n Sorry, the data not found in Sports.dat ";
fout.close();
fin.close();
}
½ mark each for opening the files
½ mark each for correct use of read and write function
1 mark for correct comparison
SECTION - B
5. (a.) Alternate Key: Candidate key not selected as Primary Key. 1
Foreign Key: Key which is primary in one table if it exist in other table it is called Foreign in that table.
OR Key whose underlying value depends on the field where it is primary .
(b.) What is the degree and cardinality of the following table? 1
Degree – 3
Cardinality – 2
½ mark for each answer
(c.) (i) Select TEACHERNAME, PERIODS from SCHOOL where PERIODS<25; 6
(ii)Select TEACHERNAME, SCHOOL.CODE, DESIGNATION from SCHOOL , ADMIN where
SCHOOL.CODE=ADMIN.CODE and GENDER=”MALE”;
(iii)SELECT count(*) from SCHOOL group by SUBJECT;
(iv)SELECT CODE, TEACHERNAME, SUBJECT from SCHOOL where DOJ>’01-Jan-1999’;
(v) 10 English
16 Physics
15 Maths
5 Chemistry
4
6. (a.) (X’.Y) + (X.Y’)= (X’+X).(X’+Y’).(Y+X).(Y+Y’) // Distributive law 2
= 1. (X’+Y’).(Y+X).1
=(X’+Y’).(X+Y)= R.H.S
(b.) Draw the Logic Circuit for the following Boolean Expression: 2
F = (A’.B)+(A.B)+(B’.C)
(c.) Write the equivalent Product of Sum form of the function G(U,V,W) for the following Truth Table 1
representation of F.
(d.) F(X,Y,Z,W)=W+𝑋̅𝑍̅+𝑋̅𝑌 + 𝑋𝑌̅𝑍 3
7. (a.) Internet Message Access Protocol. Protocol for accessing e-mail from local server. 1
(b.) (i) WLL – Wireless in Local Loop (ii.) CDMA - Code Division Multiple Access 1
(c.) http – Hyper Text Transfer Protocol – is a set of rules for transferring hypertext ( ie. Text, video, graphic 1
etc.) on World Wide Web.
ftp – File Transfer Protocol – transfers files from one system to another across internet
(d.) In electronic communication bandwidth is the width of the range of frequencies that an electronic 1
signal uses on a given transmission medium.
Bps(Bytes per second)
(e.) (i.) Cable Layout 4
Building
2 Building
Building 3
1
Building Building
4 5
(ii. ) Building3. According to the 80:20 rule, building having more number of computers should be
selected for installing server.
(iii.) Switch
(iv.) Fibre Optics
(f.) A computer virus is a computer program that can replicate itself and spread from one computer to 1
another. Trojan horse is virtually a harmless program in itself, but at backend these programs perform
some malicious activities like upload some security files and information from the computer.
(g.) It is a layer of glass surrounding the center fiber of glass inside a fibre – optic cable. It reflects light back 1
to the core.
*************
5