You are on page 1of 2

CBSE Board 2016

1. (a) Vidya College has three departments that are to be connected into a network. Which of the following 2
communication medium (out of the given options), should be used by the college for connecting their
departments for very effective High Speed communication?
Coaxial Cable
Optical Fiber
Ethernet Cable
Also name the type of network (out of PAN/LAN/WAN) formed.
Ans Ethernet Cable is suitable for Vidya College network because it higher in speed that Coaxial Cable and cheaper
than Optical Fiber. And LAN network setup for college will be easier to maintain and manage.
(b) State reason why star topology requires more cable than bus topology. 2
Ans Star topology generally requires more cable than bus topology because each network devices are connected to
central hub/switch by using separate network cables whereas in bus topology network devices are connected
by a single cable.
(c) Seema needs a network device that should regenerate the signal over the same network before the signal 2
becomes too weak or corrupted.
Amit need a network device to connect two different networks together that work upon different
networking models so that the two networks can communicate properly.
Name the devices that should be used by Seema and Amit.
Ans Seema needs Repeater network device and Amit require Gateway network device
(d) How domain name related to an IP address? 2
Ans There is a system which assigns name to some computers (web server) working on internet and maintain a
database of these names and corresponding IP address. These names are called Domain Names. Hence in
reality IP address is masked by domain name for person to remember the name of the computer.
(e) How is firewall useful in ensuring network security? 2
Ans A firewall is a hardware device or software that is installed to monitor the data entering the computer or
network or leaving it. A firewall permits only that data to enter or leave a computer or network for which
permissions have been granted by the computer/network administrator.
2. (a) Identify the odd one out of the following Java statements. State reason for your choice. 1
(i) for
(ii) do while
(iii) switch
(iv) while
Ans switch is odd one because it is used for condition whereas others are used for iteration.
(b) Write the purpose of parseInt() method. 1
Ans Purpose of parseInt() is to convert string type number in integer type.
(c) Identify invalid variable names out of the following. State reason if invalid. 1
(i) for
(ii) .salary
(iii) salary12
(iv) product
Ans Following are the Invalid variables
for this is key word
.salary only _ (underscore) and $ (dollar) special symbol is valid for variable name.
(d) What is the difference between statement (i) and (ii) 1
(i) t=2
(ii) if(t= =2)
d=3;
Ans In statement (i) value 2 is assigned to a variable t
In statement (ii) statement id comparing whether the value of variable t is equal to 2 or not
(e) Write HTML tag to do the following: 2
(i) Inserting a horizontal line in a web page.
(ii) Inserting a line break

Solve IP Board Paper 2015 cbsecsnip.in Page 1 of 5


Ans (i) <HR>
(ii) <BR>
(f) What does 'XML' stand for? How is the purpose of HTML different from XML? 2
Ans XML stand for eXtensible Markup Language. XML is different from HTML in the sense that HTML describes how
to display and format the data, text and images in the browser whereas XML is used to describe the data.
(g) Rewrite the following code using if else if statement: 2
switch(depcode)
{
case 1:
allowance = 4000;
break;
case 2:
allowance = 3200;
break;
default:
allowance = 1000;
}
Ans if(depcode==1)
allowance = 4000;
else if(depcode==2)
allowance = 3200;
else
allowance = 1000;
3. (a) What is the meaning of Open Source in the term Open Source Database Management System? 1
Ans The meaning of Open Source in the term of Open source Database Management System is that this
particular database management system software is released under an open-source license so it is
customizable. It requires no cost or payment for its usage.
(b) In a table 'Employee', a column 'Occupation' contains many duplicate values. Which keyword would you use 1
if you wish to list only different values?
Ans DISTINCT keyword.
(c) How is ALTER TABLE statement different from UPDATE statement? 1
Ans ALTER TABLE statement changes/modify the structure/definition of the table and due to this reason it comes
under DDL whereas UPDATE statement changes/update the data/record of the table only for which this
statement is under DML.
(d) Charvi wants to delete the records where the 'FirstName' is "Rama" in the 'Emp' Table. She has entered the 1
following SQL statement. An error is being displayed. Rewrite the correct statement.
DELETE 'Rama' FirstName FROM Emp;
Ans DELETE FROM Emp WHERE FirstName LIKE Rama;
(e) (i) Name 2 Group (Aggregate) function of SQL 2
(ii) Consider the table
Table : Company
CompanyCode Donations
C101 13000
C102 NULL
C104 7000
C105 4000

What output will be displayed by the following SQL Statement?


SELECT AVG(Donations) FROM Company;
Ans (i) Name of 2 Group (Aggregate) function of SQL are - SUM() and AVG()
(ii) 6000.00
(f) 2
Ans

Solve IP Board Paper 2015 cbsecsnip.in Page 2 of 5

You might also like