Answer Key - Set 3 - IP
Answer Key - Set 3 - IP
1 mark each for each correct differentiation mentioned above or any other relevant
point of differentiation.
2 i) Beauty Lines Fashion Inc. is a fashion company with design unit and market unit 135 1
m away from each other. The company recently connected their LANs using Ethernet
cable to share the stock related information. But after joining their LANs, they are
not able to share the information due to loss of signal in between. Which device you
suggest to be installed for a smooth communication?
Ans: Repeater
1 Mark correct answer
ii) Identify the following device: 1
Devices that are used to connect different types of networks. It performs the necessary
translation so that the connected networks can communicate properly.
Ans:Router
1 Mark correct answer
3 Predict the output of the following queries:
i) SELECT SUBSTR(‘ABCDEFG’, -5 ,3) 2
ii)SELECT left(“Jammu Region”, 5);
OR
Briefly explain the purpose of the following SQL functions:
i. SUBSTR()
ii. LEFT()
Ans: i)CDE ii) Jammu -1 mark for each correct answer.
OR
i) SUBSTR() -Returns a substring of size n starting from the specified position
(pos) of the string. If n is not specified, it returns the substring from the position
pos till end of the string
ii) LEFT()-Returns N number of characters from the left side of the string.
1 Mark for each correct answer
4 Mr.Ram is not able to identify the Domain Name and document name in the given 2
URL. Identify and write it for him.
https://www.cbse.nic.in/aboutus.htm
Ans: Domain Name- www.cbse.nic.in Document Name- aboutus.htm
1 Mark for each correct answer
5 Predict the output of the following queries: 2
i. Select power(5,2);
ii. Select mod(5,2);
Ans:i)25 ii)1
1 Mark for each correct answer
6 Anjali writes the following commands with respect to a table employee having fields, 2
empno, name, department, commission.
Command1 : Select count(*) from employee;
Command2: Select count(commission) from employee;
She gets the output as 4 for the first command but gets an output 3 for the second
command. Explain the output with justification.
Ans:
This is because the column COMMISSION contains a NULL value and the aggregate
function COUNT(*) do not take into account NULL values. Thus Command1 returns
the total number of records in the table whereas Command2 returns the total number of
non NULL values in the column COMMISSION.
2 Marks for correct answer
7 Given Table Course: 2
OR
Consider a string str , “You Grow more” stored in a column str. What will be the
output of the following queries?
i) SELECT UPPER(str);
ii) SELECT substr(str,-9,4);
iii) SELECT Right(str,4)
Ans:
(i) select mid(“AS YOU know MORE”,8,4);
(ii) select length(“AS YOU know MORE”);
(iii) select instr(“AS YOU know MORE”,”O”);
OR
(i) YOU GROW MORE
(ii) Grow
(iii) more
1 Mark for each correct answer
9 A relation Vehicles is given below : 3
a) Suggest and draw the cable layout to efficiently connect various blocks of buildings
within the Noida centre for connecting the digital devices
b) Suggest the placement of the following device with justification
i. Repeater
ii. ii. Hub/Switch
c) Which kind of network (PAN/LAN/WAN) will be formed if the Noida office is
connected to its head office in Mumbai?
d) Suggest a most suitable place(unit) to install server with justification.
Ans:
a) Suggested cable layout is Star topology. ½ mark for mentioning topology.