Beruflich Dokumente
Kultur Dokumente
ID NAME
1 Rajesh
2 Anil
3 Vishakha
E_ID E_NAME
A1 RKD
A2 MMK
b)
CREATE TABLE STUDENT
(Stu_name VARCHAR2(25),
F_Name VARCHAR2(25),
Age Number(3));
c)Queries:
i) SELECT * FROM EMPLOYEE
WHERE Department=’SALES’;
Hide Answer
Q6
a) Explain Demorgan’s Law.
b) Develop the Boolean expression for the circuit below.
F(P,Q,R,S)=Σ(0,3,5,6,7,11,12,15)
d) Given the truth table of a function F(x, y, z). Write the s-o-p expression and canonical form from the
following truth table:
x y z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
[2+1+2+3=8]
Marks:8
Answer:
a) According to Demorgan’s law
(X+Y)’=X’.Y’
b) X= (((AB’C)’ + B)’’).B.(A+C’)’
c)
=m1 + m2+ m3
=S(1,2,3)
Hide Answer
Q7
a) Extramarks has setup its new R&D centre in NOIDA. The company compound has 4
buildings:
A-BLOCK TO B -BLOCK 40 M
B-BLOCK TO C –BLOCK 70 M
C-BLOCK TO D –BLOCK 30 M
BLOCK-A 20
BLOCK-B 80
BLOCK-C 12
BLOCK-D 20
a1) Suggest a cable layout of connection between the blocks.
a2) Suggest the most suitable place to house the server of the organization with
reason.
a4) Which types of network will be suitable if the BLOCKS are to be connected to
extension offices in various parts of the city.
d) What is APRANET?
Marks:10
Answer:
a)
a1)
c) The structure or the layout of the networks in which the computer are connected refers to topology. In a
topology the workstations are connected to the network. It provides interconnection communication in
the network.
There are various types of topologies:
i) Star Topology
ii) Ring Topology
iii) Bus Topology
iv) Tree Topology
v) Mesh Topology
e) A Web Browser is a program that computer runs to communicate with Web servers on the Internet, which
enables it to download and display the Web pages that you request.
Model paper 2
a) What are SQL comments? How are they implemented?
b) Create a TABLE Employee with the following details -
emp_name VARCHAR2(25)
emp_code NUMBER(5)
Department VARCHAR2(25)
c) Write SQL commands:
STUDENT
b)
CREATE TABLE EMPLOYEE
(emp_name VARCHAR2(25),
emp_code Number(5)
Department VARCHAR2(25));
c) Queries:
i) SELECT * FROM STUDENT
WHERE STREAM=’CS’;
Hide Answer
Q6
a) What is Associative property? Make the truth table.
b) Write the equivalent expression for the following logical circuit:
b)
WX’+Y’Z
Hide Answer
Q7
a) CDMA and GSM stands for?
b) New Era School has set up a new communication system network. It has 4 blocks as
shown below :
A-BLOCK TO B-BLOCK 60 M
B-BLOCK TO C–BLOCK 160 M
C-BLOCK TO D–BLOCK 30 M
BLOCK-A 30
BLOCK-B 60
BLOCK-C 135
BLOCK-D 15
Marks:10
Answer:
a) i) CDMA-Code Division Multiple Access ii) Global System for Mobile Communication
b)
b1)
b2) Since Block-C contains maximum numbers of computers so the most suitable place to house the
server would be C-Block.
b3)
1) The cable distance between A and C blocks and that between B and C is quite large thus the repeaters
should be needed along their path to avoid the loss of signals.
b4) The most economic way is to use the Radio Waves Transmission.
c) Baud rate is used to measure the modulation rate i.e. the number of discrete signaling
events per second.
d) E-mail stands for Electronic Mail. It is a network address provided by a portal offering e-mail services. This
address is same as our postal address. E-mail address is used to send or receive the mails. The format of
an e-mail address is “username@hostname”
Example:
amit@extramarks.com
e) (i) To transfer a file from your computer to your home directory on the host system is called uploading a
file. FTP software is used for it.
(ii) The WWW(world wide web) is a set of protocols that allow you to access any document on the internet
througj a naming system based on the WWW.
Hide Answer
MODEL PAPER 3
a) What is UPDATE command? Explain.
b) Expand DDL and DML.
c) Write SQL commands:
DOCTOR
ID NAME DEPT SEX SHIFT EXPERIENCE
1 VIBHA AGGARWAL GYN F MOR 12
2 VISHAL GOYAL ENT M MOR 10
3 PRANAV BANSAL ENT M EVE 09
4 MOHINI GUPTA ORT F EVE 09
5 ROHINI GARG ORT F EVE 12
6 ASTHA SINGHAL ENT F MOR 14
7 RICHA GUPTA GYN F EVE 10
8 MRIDUL BANSAL SKIN M MOR 05
i) To show all the records from GYN DEPT.
ii) To show the record of all doctors visiting in morning shift.
iii) To show all the records of male doctors.
iv) To show the records of female gynaecologists.
v) To show the records of doctors having more than 12 years of
experience.
[2+1+5 = 8]
Marks:8
Answer:
a) UPDATE command is used to change a value in the table. It is used to update the
rows in a table. We can also use ‘where’ clause with UPDATE command.
Syntax:
UPDATE table_name
SET column=value1
[WHERE column=value]
Example:
UPDATE EMPLOYEE
SET BASIC= BASIC +1200
WHERE DEPT=’SALES’
b)
DDL- Data Definition Language.
DML- Data Manipulation Language.
c)Queries:
i) SELECT * FROM DOCTOR
WHERE DEPT=’GYN’;
Hide Answer
Q5
a) State and algebraically verify Absorption Laws.
b) Write the equivalent Boolean Expression for the following Logic Circuit.
d) Write the Product of Sum form of the function H(U,V,W), truth table representation
of H is as follows:
U V W H
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
[2+2+3+1=8]
Marks:8
Answer:
a) According to Absorption Law: (i) X+(X.Y)= X and (ii) X(X+Y)=X
Proof of X.(X+Y) = X
X Y (X+Y) X(X+Y)
0 0 0 0
0 1 1 0
1 0 1 1
1 1 1 1
X+X.Y = X
L.H.S = X+X.Y
= X.1+X.Y
= X.(1+Y)
= X.1
= X
= R.H.S
X+X’.Y = X+Y
L.H.S. = X+X’.Y
= (X+X’).(X+Y)
= 1.(X+Y)
= X+Y
= R.H.S
b) F(U,V)=U’.V+U.V’
= AB + (AC)' + 0 + AB'CC
= AB + (AC)' + AB'.C
Hide Answer
Q6
a) Expand WWW and TCP/IP
b) Extramarks.com is setting up the network between its different departments. There
are 4 departments SOFTWARE, HARDWARE, DEVELOPMENT, VIRTUAL_TEACHING.
Distance between different departments is as follows: 4 blocks
DEVELOPMENT TO VIRTUEL-TEACHING 40 M
BLOCK-DEVELOPMENT 135
BLOCK-VIRTUAL TEACHING 15
c) What is a Hub?
d) What is firewall?
Marks:10
Answer:
a) i) WWW-World Wide Web
b1)
b2) Since DEVELOPMENT CENTER contains maximum numbers of computers so the most suitable place to
house the server would be DEVELOPMENT CENTER.
b3)
1) The repeaters should be needed between HARDWARE CENTER and DEVELOPMENT CENTER and between
SOFTWARE CENTER and DEVELOPMENT CENTER to avoid the loss of signals.
c) A Hub is a physical device that connects multiple user stations. A hub establishes a network while
maintaining the logical bus or ring configuration of the LAN.
d) A firewall is a computer system or group of system that is designed to prevent unauthorized access to or
from a private network Firewalls can be implemented in both hardware and software, or a combination
of both.
e) MODEM stands for Modulation-Demodulation. It converts digital signals into analog signals and vice versa.
Hide Answer
MODEL PAPER 4
a) Explain WHERE clause.
b) Write SQL commands:
EMPLOYEE
ID NAME DEPT SEX SHIFT EXPERIENCE SALARY
1 RICHA AGGARWAL SALES F MOR 12 150000
2 DEEPAK GOYAL IT M MOR 10 140000
3 AJAY BANSAL IT M EVE 09 120000
4 RENU GUPTA MRKTG F EVE 09 125000
5 SHRISTI GARG MRKTG F EVE 12 154000
6 ASTHA SINGHAL PROD F MOR 14 160000
7 RACHNA GUPTA IT F EVE 10 150000
8 MRIDUL BANSAL SALES M MOR 05 100000
9 PRATEEK GOYAL SALES M MOR 10 123000
i) To show all the records from SALES DEPT.
ii) To show the record of all employees coming in morning shift.
iii) To show All the records of Female Employees.
iv) To show the records of female employees getting salary more than 150000.
v) To show the records of employees having more than 12 years of experience.
vi) To find the number of employees getting salary more than 130000
[2+6=8]
Marks:8
Answer:
a) The WHERE clause is an optional clause. It is followed by the FROM clause. WHERE
clause filters rows and specifies the query. WHERE clause helps to make a query only
for the selected rows.
Example: SELECT * FROM EMPLOYEE
WHERE DEPT=’SALES’
In the example the result will display all the records from employee table where
Department is sales.
b) Queries:
i) SELECT * FROM EMPLOYEE
WHERE DEPT=’SALES’;
Hide Answer
Q6
a) What is a truth table? Make a truth table for (A’+B)’.
b) Write the equivalent boolean expression for the following Logic Circuit :
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 0
[2+2+2+2=8]
Marks:8
Answer:
a) A Truth Table is a table that represents the logical operation of the logical variable. Since a variable can
have the value either 0 or 1, the truth table is used to contain all possible inputs.
A B A’ (A’+B) (A’+B)’
0 0 1 1 0
0 1 1 1 0
1 0 0 0 1
1 1 0 1 0
c) (XY)' + X' + XY
= X' + XY + Y'
= X' + 1
=1
d)
Hide Answer
Q7
a) Expand HTTP and TCP/IP
b) University of Extramarks is setting up the network among its different wings. There
are 4 wings:
Wing A : JOURNALISM
Wing B : DRAMATICS
Wing C : MULTIMEDIA
Wing D : SCIENCE
Distance between various wings:
A to B 50 M
B to C 130 M
C to D 65 M
A to D 180 M
B to D 155 M
A to C 80 M
WING C 135
WING D 15
b4) Extramarks is planning to link its wings (in Mumbai) to the Development Center
located in DELHI. Suggest an economic way to connect it.
e) Name the device used to convert digital signals into analog signals and vice versa.
Marks:8
Answer:
a) i) HTTP-Hyper Text Transfer Protocol
b2) Since MULTIMEDIA i.e Wing C has the maximum numbers of computers so the
most suitable place to house the server would be MULTIMEDIA Wing.
b3)
1) The repeaters should be needed between Wing A & Wing C and between Wing B &
Wing C to avoid the loss of signals.
b4) The most economic way is to use the Radio Waves Transmission.
e) MODEM is used to convert digital signals into analog signals and vice versa.
MODEL PAPER 5
a) (i) Differentiate between Candidate Key and Alternate Key in context of RDBMS.
(ii) Discuss INSERT statement.
[2+2+4 = 8]
Marks:8
Answer:
a) (i) Any attribute that uniquely identify a row in a table is candidate key for the table. We
select one of the candidate key as Primary key. All candidate keys which are not chosen
as primary key are Alternate keys.
(ii) The INSERT Statement is used to add one or more rows to a table. It has two
formats to add the rows to the table:
1) Rows can be inserted specifying the values.
2) Rows can also be inserted using the query specification.
Format:
1) INSERT INTO table-1 [(column-list)] VALUES (value-list) 2) INSERT
INTO table-1 [(column-list)] (query-specification)
b)
CREATE TABLE WORKER
(worker_name VARCHAR2(25),
worker_code Number(5)
wages_rate NUMBER(2));
c) Queries:
i) SELECT * FROM TEACHER
WHERE SUBJECT=’MATH’;
Hide Answer
Q4
a) What is Associative property? Make the truth table.
[2+1+2+1+2=8]
Marks:8
Answer:
a)
0 0 0 0 0 0 0
0 0 1 1 0 1 1
0 1 0 1 1 1 1
0 1 1 1 1 1 1
1 0 0 0 1 1 1
1 0 1 1 1 1 1
1 1 0 1 1 1 1
1 1 1 1 1 1 1
0 0 0 0 0 0 0
0 0 1 0 0 0 0
0 1 0 0 0 0 0
0 1 1 1 0 0 0
1 0 0 0 1 0 0
1 0 1 0 0 0 0
1 1 0 0 1 0 0
1 1 1 1 1 1 1
c) Minterm is the product (using AND operator) of n variables in a series x 1,x2,x3,x4----xn Whereas Maxterm is
the sum (using OR operator) of n variables in a series x 1,x2,x3,x4----xn
= X + X.Y
= X.(1 + Y)
= X.1 = X = R.H.S
e) (i) P + Q'R
= (P + Q') . (P + R)
X Y X’ Y’ X’.Y’ X+X’.Y’
0 0 1 1 1 1
0 1 1 0 0 0
1 0 0 1 0 1
1 1 0 0 0 1
Hide Answer
Q5
a) What are cookies and discuss its uses.
b) What is the difference between XML and HTML ? Write two
differences.
c) New Era School has set up a new communication system network. It has 4 blocks as
shown:
A-BLCOK TO B -BLOCK 60 M
C-BLCOK TO D –BLOCK 30 M
BLOCK-A 30
BLOCK-B 60
BLOCK-C 135
BLOCK-D 15
(i) PPP
(ii) GSM
(iii) SMTP
(iv) GPRs
Marks:10
Answer:
a) Cookies are messages that a web server transmits to a web browser so that the web
server can keep track of the user's activity on a specific web site.
The main purpose of cookies is to identify users and possibly prepare customized web
pages for them.
(ii) It is a language used to design the layout of a document and to specify the
hyperlinks.
c1)
c2) Since Block-C contains maximum numbers of computers so the most suitable
place to house the server would be C-Block.
c3)
1) The cable distance between A and C blocks and that between B and C is quite large
thus the repeaters should be needed along their path to avoid the loss of signals.
Hide Answer
Q PAPER 2015
(a) Observe the following table carefully and write the names of the most appropriate columns,
which can be considered as (i) candidate keys and (ii) primary key:
(b) Consider the following DEPT and EMPLOYEE tables. Write SQL queries
for (i) to (iv) and find outputs for SQL queries (v) to (viii).
Note: DOJ refers to date of joining and DOB refers to date of Birth of
employees.
To display Eno, Name, Gender from the table EMPLOYEE in ascending order of Eno.
To display the Name of all the MALE employees from the table EMPLOYEE.
To display the Eno and Name of those employees from the table EMPLOYEE who
are born between ‘1987-07-01’ and ‘1991-12-01’.
To count and display FEMALE employees who have joined after ‘1986-01-01’.
SELECT COUNT(*), DCODE FROM EMPLOYEE GROUP BY DCODE HAVING
COUNT(*)>1;
SELECT DISTINCT DEPARTMENT FROM DEPT;
SELECT NAME, DEPARTMENT FROM EMPLOYEE E, DEPT D WHERE
E.DCODE=D.DCODE AND ENO<1003;
SELECT MAX(DOJ), MIN(DOB) FROM EMPLOYEE;
Answer
(a) (i) Candidate- Item
(ii) Primary Key- Code
(b)
(i) SELECT ENO, NAME, GENDER FROM EMPLOYEE
ORDER BY ENO ASC;
(ii)SELECT NAME FROM EMPLOYEE
WHERE GENDER=’MALE’;
(iii) SELECT ENO, NAME FROM EMPLOYEE
WHERE DOB BETWEEN ‘1987-01-01’ AND ‘1991-12-01’;
(iv) SELECT COUNT(*) FROM EMPLOYEE
WHERE GENDER =’FEMALE’ AND DOJ > ’1986-01-01’;
(v)
COUNT(*) DCODE
2 D01
2 D05
(vi)
DEPARTMENT
INFRASTRUCTURE
MARKETING
MEDIA
FINANCE
HUMAN RESOURCE
(vii)
NAME DEPARTMENT
George K INFRASTRUCTURE
(viii)
MAX(DOJ) MIN(DOB)
2014-06-09 1985-10-19
6
(a) Verify the following using Boolean Laws:
U’ + V = U’V’ + U’.V + U.V
(b) Draw the Logic Circuit for the following Boolean Expression:
(X’ + Y).Z + W’
(c) Derive a Canonical POS expression for a Boolean function F, represented by
the following truth table:
(d) Reduce the following Boolean Expression to its simplest form using K-Map:
F(X,Y, Z, W)= ∑(0,1,4,5,6,7,8,9,11,15)
[2+2+1+3=8]
Answer
(a)
U’ + V = U’V’ + U’.V + U.V
R.H.S.
= U’V’ + U’.V + U.V
= U’(V’+V) + U.V [V’+V=1]
= U’ + U.V
= (U’+U)(U’+V) [U’+U=1]
= (U’+V) Verified
(b)
(c) Truth table:
Quard1: X’Y
Quard2: Y’Z’
Pair1: XZW
F= X’Y+Y’Z’+XZW
7
(a) Illustrate the layout for connecting 5 computers in a Bus and a Star topology
of Networks.
(b) What kind of data gets stored in cookies and how is it useful?
(c) Differentiate between packet switching over message switching.
(d) Out of the following, which is the fastest (i) wired and (ii) wireless medium of
communication?
Infrared, Coaxial Cable, Ethernet Cable, Microwave, Optical Fiber.
(e) What is Trojan Horse?
(f) Out of the following, which all comes under cyber crime?
(i) Stealing away a brand new hard disk from a showroom.
(ii) Getting in someone’s social networking account without his consent and
posting on his behalf.
(iii) Secretly copying data from server of an organization and selling it to the
other organization.
(iv) Looking at online activities of a friends blog.
(g) Xcelencia Edu Services Ltd. Is an educational organization. It is planning to set
up its India campus at Hyderabad with its head office at Delhi. The Hyderabad
campus has 4 main buildings- ADMIN, SCIENCE, BUSINESS and ARTS. You as a
network expert have to suggest at the nest network related solutions for their
problem raised in (i) to (iv), keeping in mind the distances between the buildings
and other given parameters.
Shortest distance between various buildings:
ADMIN to SCIENCE 65 m
ADMIN to ARTS 60 m
SCIENCE to BUSINESS 75 m
SCIENCE to ARTS 60 m
BUSINESS to ARTS 50 m
SCIENCE 85
BUSINESS 40
ARTS 12
(i) Suggest the most appropriate location of the server inside the HYDERABAD
campus (out of the 4 buildings), to get the best connectivity for maximum
number of computers. Justify your answer.
(ii) Suggest and draw the cable layout to efficiently connect various building
within the HYDERABAD campus for connecting the computers.
(iii) Which hardware device will you suggest to be procured by the company to
be installed to protect and control the internet uses within the campus?
(iv) Which of the following will you suggest to establish the online face-to-face
communication between the people in the Admin Office of HYDRABAD
campus and DELHI Head Office?
(i) E-mail
(ii) Text Chat
(iii) Video Conferencing
(iv) Cable TV
[1+1+1+1+1+1+1+1+1+1=10]
Answer
(a) Bus topology-In bus topology devices are connected to a single cable called
"backbone".
If the backbone is broken, the entire segment fails.
Star Topology: The star topology consists of a central connection point - like a
hub or switch. In star topology if a cable fails, only one node will be brought
down rest will work.
In star topology the failure of the center node or server results in the entire
network failure.
(b)Cookies store the list of files/information viewed on the Web browser. The
cookies file is generated by the site browse by the user and it is accessed and
processed by the computer's browser software. The cookies file is stored in
browser's folder or subfolder.
ii. The data packets are stored on the disk in message switching whereas in
packet switching, all the packets of fixed size are stored in main memory.
(g)
(i) Admin building will be the most appropriate location for the server because it
has the maximum number of computers.
(ii)Star topology or Ring topology will be best suitable layout.
Note:
Answer the questions (b) and (c) on the basis of the following tables STORE and ITEM
Table: STORE
SNo SName Area
Table: ITEM
IName
Hard Disk
LCD
Mother Board
(ii)
Area Count
CP 2
GK II 1
Nehru Place 2
(iii)
Count
3
(iv)
IName Price
Keyboard 25
Motherbaord 650
Key Board 20
Hard Disk 225
Hide Answer
Q6
(a)
Na Name the law shown below and verify it using a truth table.
A+B.C = (A+B).(A+C)
(b) Obtain the Boolean Expression for the logic circuit shown below:
(c) Write the Sum of Product form of the function F(P,Q,R) for the following truth table
representation of F:
P Q R F
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
(d) Obtain the minimal form for the following Boolean expression using
Karnaugh’s Map.
[2+2+1+3=8]
Marks:8
Answer:
(a) According to the Distributive Law :
1. First Law
A(B+C)= (A.B+A.C)
2. Second Law
A+B.C= (A+B).(A+C)
Therefore the equation A+B.C = (A+B).(A+C) indicates second distributive law.
Hence verified.
(b)
Boolean expression for the given logic circuit will be:
(X’+Y)+(Z’+W)
(c) The Sum of Product form will be:
P’Q’R’ + P’QR+PQR’+PQR
(d) Karnaugh’s Map for the equation given below-
F(A,B,C,D)= ∑ (1, 4, 5, 9, 11, 12, 13, 15)
Hide Answer
Q7
(a) Write one characteristics each of 2G and 3G Mobile Technologies.
Block Computers
Human Resource 25
Finance 120
Conference 90
(i) What will the most appropriate block, where TTC should plan to install their
server?
(ii) Draw a block to cable layout to connect all the buildings in the most
appropriate manner for efficient communication.
(iii) What will be the best possible connectivity out of the following, you will
suggest to connect the new setup of offices in Bangalore with its
London based office.
Satellite Link
Infrared
Ethernet Cable
(iv) Which of the following device will be suggested by you to connect each
computer in each of the buildings?
Switch
Modem
Gateway
(f) Write names of any two popular Open Source Software, which are used as operating
system.
[1+1+1+1+1+1+1+1+1+1=10]
Marks:10
Answer:
(a) Characteristic of 2G Mobile Technologies-
• 2G Mobile technology allows the dial–up data calls digitally, so that the
network’s switching station receives actual ones and zeroes rather than the
screech of an analog modem.
Characteristic of 3G Mobile Technology-
• 3G mobile communication technology is a broadband, packet-based
transmission of media files at data rates up to 2Mbps, offering a consistent
set of services to mobile computer and phone users no matter where they
are located in the world.
(b) The video conferencing is a two-way videophone conversation (where participants are
visible to each other) among multiple participants at a time where as, chatting is an
online textual talk in real time.
(c)
• GPRS- General Packet Radio Service
CDMA- Code Division Multiple Access
(d) PAN (Private Area Network) will be formed, when we connect two mobiles using
Bluetooth.
(e)
(i) Finance is the most appropriate block, where TTC should plan to install their server
(ii)
(f) The two popular Open Source Softwares used as operating system are-
• Linux
• OpenSolaris
Hide Answer
Q PAPER 2013
(a) Verify the following using Boolean Laws:
X+Z = X+X’.Z + Y.Z
(b) Obtain the Boolean Expression for the logic circuit shown below:
(c) Write the sum of the product form of the function F(A,B,C) for the following truth
table representation of F.
A B C F
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
(d) Obtain the minimal form for the following Boolean expression using Karnaugh’s
map.
F(U,V,W,Z) = ∑(0, 1, 2, 3, 6, 7, 8, 9, 10, 13, 15)
[2+2+1+3 = 8]
Marks:8
Answer:
(a). X + Z = X + X’. Z + Y . Z
= (X + X’) (X + Z) + Y . Z
=X+Z+Y.Z
= X + Z(1+Y)
= X + Z [Hence verified]
(b) F = (P’.Q) + (Q+R’)
(c) F = A’.B.C’ + A’.B.C + A.B’.C’ + ABC
(d) F(U,V,W,Z)= ∑(0, 1, 2, 3, 6, 7, 8, 9, 10, 13, 15)
Quard 1: U’V’
Quard 2: U’W
Quard 3: V’W’
Pair 1: V’WZ’
Pair 2: UVZ
Hide Answer
Q7
(a) Write the two advantages of using an optical fibre cable over an Ethernet cable to
connect the two service stations, which are 200 m away from each other.
From To Distance
Administrative Block Finance Block 60
Administrative Block Faculty Recording Block 120
Finance Block Faculty Recording Block 70
Block Computers
Administrative
30
Block
Finance Block 20
Faculty
Recording 100
Block
(i) Suggest the most appropriate block, where RCI should plan to install the server.
(ii) Suggest the most appropriate block to block cable layout to connect all the three
blocks for efficient communication.
(iii) Which type of network, out of the following, is formed by connecting the
computers of these three blocks?
. LAN
. MAN
. WAN
(iv) Which wireless channel, out of the following, should be opted by RCI to connect to
students from all over the world?
. Infrared
. Microwave
. Satellite
(d) Write the two advantages of using open source software over proprietary software.
(e) Which of the following crime(s) does not come under cybercrime?
(i) Copying some important data from a computer without taking permission from the
owner of the data.
(ii) Stealing keyboard and mouse from a shop.
(iii) Getting into unknown person’s social networking account and start messaging on
his behalf. [1+1+4+1+1 = 8]
Marks:8
Answer:
(a). The advantages of using the fibre optic cables over the Ethernet
cables are as follows:
1. The fibre optic cables have the faster data transmission rates
over the Ethernet cables whereas an Ethernet uses either a bus or
star topology and supports the data transfer rates of up to 10
Mbps.
2. The fibre optic cables are immune to the electrical
and magnetic interference because the information travelling
through them travels on a modulated light beam.
HTTP FTP
Q PAPER 12
a) Give a suitable example of a table with sample data and illustrate Primary and Alternate
Keys in it.
Consider the following tables CARDEN and CUSTOMER and answer (b) and (c) parts of this
question:
Table: CARDEN
Ccode CarName Make Color Capacity Charges
501 A-star Suzuki RED 3 14
503 Indigo Tata SILVER 3 12
502 Innova Toyota WHITE 7 15
509 SX4 Suzuki SILVER 4 14
510 C Class Mercedes RED 4 35
Table: CUSTOMER
Marks:8
Answer:
Alternate Key – We can define more than one primary key in a table.
All these keys are collectively known as candidate keys. Out of
which one who is selected as the primary key but those who are
not selected are known as secondary keys or alternative keys.
(c)
Hide Answer
Q6
a) Verify the following using truth table:
(i) X.X’=0
(ii) X+1=1
b) Write the equivalent Boolean expression for the following Logic Circuit:
c) Write the SOP form of a Boolean function F, which is represented in a truth table as
follows:
X Y Z F
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
[2+2+1+3 =8]
Marks:8
The AND operator results in 1 only when all the inputs will be 1.
X X’ X.X’
0 1 0
1 0 0
X 1 X+1
0 1 1
1 1 1
F = UV’ + U’W’
d) F(A,B,C,D) = ∑(2,3,4,5,6,7,8,10,11)
Hide Answer
Q7
Number of Computers
Building “GREEN” 32
Building “RED” 150
Building “BLUE” 45
Head Office 10
(i) Suggest the most suitable place (i.e. building) to house the server of this organization.
Also give a reason to justify your suggested location.
(ii) Suggest a cable layout of connections between the buildings inside the campus.
Marks:10
Answer:
The four computers can be connected with each other using Star
Topology of network. In which one computer would be the central
node which will work as a server. The other three computers
would be connected to the central node called server. The
communication between each node will take place through the
server.
(e)
(e1) Building “RED” is the most suitable place for the server as it
contains maximum numbers of computers.
(e2) We can use any of the following topology to design the layout:
Bus Topology: In bus topology all the nodes are connected in a linear
fashion with a single continuous cable.
(e3) Switch- Every Building will need 1 switch, to send signals to all
the workstations connected to it.
(e4)
(i) Optical Fiber can be used for a high speed link.
(g) Proprietary
softwares are softwares that are exclusive property of
their developers or publishers, and they cannot be copied or
distributed without complying with their licensing agreements.
Hide Answer
Q PAPER 11
a) What do you understand by Selection & Projection operations in relational algebra?
Consider the following tables EMPLOYEE and SALGRADE and answer (b) and (c) parts of this
questions:
Table : EMPLOYEE
(b)
(i)
COUNT SGRADE
2 S03
2 S02
1 S01
Hide Answer
Q6
a) Verify the following using Truth Table:
X + Y . Z = (X+Y).(X+Z)
b) Write the equivalent Boolean expression for the following Logic Circuit:
c) Write the SOP form of a Boolean function F, which is represented in a truth table as
follows:
U V W F
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
(d)
Q7
a) In Networking , what is WAN ? How is it different from
LAN?
i) Javascript
ii) ASP
iii) vbscript
iv) JSP
e) Great Studies University is setting up its Academic schools at Sunder Nagar and
planning to set up a network. The university has 3 academic schools and one
administration center as shown in the diagram below:
Law School 25
Technology school 50
Admin Center 125
Business School 35
(i)Suggest the most suitable place (i.e. Schools/Center) to install the server of this
university with a suitable reason.
(ii) Suggest an ideal layout for connecting these schools/center for a wired
connectivity.
(iv) The university is planning to connect its admission office in the closest big city,
which is more than 350 km from the university. Which type of network out of LAN,
MAN or WAN will be formed? Justify your answer.
f) Compare Open Source Software and Proprietary Software.
(c) Web 2.0 refers to a new generation of applications that are social in
nature. They allow for collaboration, information exchange, and are user-
oriented. Facebook and MySpace are prime examples of Web 2.0 sites.
(e)
The connection between admission office to the closest big city will be
through WAN. It is span over a larger distance so dedicated lines are not
possible. Here connections are made using radio waves or satellites.
Table: STOCK
Dcode Dname
101 Reliable Stationers
103 Classic Plastics
102 Clear Deals
b1) Write SQL commands for the following statements: (4)
i) To display details of all the Items in the Stock table in ascending order of StockDate.
ii) To display ItemNo and Item name of those items from Stock table whose UnitPrice
is more than Rupees 10.
iii) To display the details of those items whose dealer code(Dcode) is 102 or Quantity
in Stock(Qty) is more than 100 from the table Stock.
iv) To display Minimum UnitPrice of items for each dealer individually as per Dcode
from the table Store.
Marks:8
Answer:
Table: Dept
ii) SELECT ItemNo, Item FROM STOCK WHERE UnitPrice > 10;
4400
iii) ITEM DNAME
01-JAN-09
Hide Answer
Q6
a) Verify the following algebraically. (2)
c) Write the SOP from a Boolean function G which is represented in a truth table as
follows: (1)
P Q R G
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 1
Marks:8
Answer:
a) RHS=(X’+Y’).(X+Y)
= X’.X+X’.Y+X.Y’+Y’.Y
= 0+X’.Y+X.Y+0
=X’.Y+X.Y’
=LHS (Verified)
b) (U’+V).(V’+W)
P’QR’+P’QR+PQ’R+PQR’+PQR
d) KMAP
F(A,B,C,D)=A’B+BD+A’CD
Hide Answer
Q7
a) What was the role of APARENT in Computer
Networking? (1)
i) mbps
ii) kbps
iii) sbps
iv) gbps
Main Building 15
Resource Building 25
Training Building 250
Accounts Building 10
e1) Suggest a cable layout of connections between the buildings.
e2) Suggest the most suitable place (i.e., building) to house the server for this NGO. Also,
provide a suitable reason for your suggestion.
i) Repeater
i) Hub/Switch
e4) The NGO is planning to connect its international office suitable in Delhi. Which, out of
the following wired communication link, will you suggest for very high speed
connectivity?
f1) FTP
f2) FSF
Marks:10
Answer:
b) (iii)sbps
d) Firewall
ii) Every Building will need 1 hub/Switch, to send singles to all the
workstations connected to it.
g) Web Browser:
i) Internet Explorer
Q PAPER 9
(a) What is the purpose of a key in a table? Give an example of a key in a
table. [2]
b) Consider the following table DRESS and MATERIAL. Write SQL commands for the
statements (i) to (iv) and give outputs for SQL queries (v) to
(viii). [ 6]
Table: DRESS
DCODE DESCRIPTION PRICE MCODE LAUNCHADATE
Table : MATERIAL
MCODE TYPE
M001 TERELENE
M002 COTTON
M004 POLYESTER
M003 SILK
(i) To display DCODE and DESCRIPTION of each dress in ascending order of DCODE.
(ii) To display the details of all the dresses which have LAUNCHDATE in between 05-
DEC-07 and 20-JUN-08 (inclusive of both the dates).
(iii) To display the average PRICE of all the dresses which are made up
of material with MCODE as M003.
(iv) To display materialwise highest and lowest price of dresses from DRESS table.
(Display MCODE of each dress along with highest and lowest price)
(v) SELECT SUM(PRICE) FROM DRESS WHERE MCODE = ‘M001’;
(vi) SELECT DESCRIPTION, TYPE FROM DRESS, MATERIAL WHERE DRESS.DCODE=
MATERIAL.MCODE AND DRESS.PRICE>=1250;
(vii) SELECT MAX(MCODE) FROM MATERIAL;
(viii) SELECT COUNT(DISTINCT PRICE) FROM DRESS;
Marks:8
Answer: (a) In a relation, rows are distinct from one another, and their difference is
expressed in terms of their attributes. Keys serve this purpose.
There are many keys in a table. They are :
Primary key
Candidate key
Alternate key
Foreign key
Primary key : A primary key is a set of one or more attributes that can uniquely identify
tuples within a relation. Every relation does have a primary key. The primary key is non-
redundant, i.e., it does not have duplicate values in the same relation.
b(i) SELECT DCODE, DESCRIPTION FROM DRESS ORDER BY DCODE ASC;
(ii) SELECT * FROM DRESS WHERE LAUNCHDATE BETWEEN ’05-DEC-07’ AND ‘20-JUN-
08’;
(iii) SELECT AVG(PRICE) FROM DRESS WHERE MCODE=’ M003’;
(iv). SELECT MCODE, MAX(PRICE), MIN(PRICE) FROM DRESS GROUP BY MCODE
(v). SUM(PRICE)
2700
(vi) DESCRIPTION TYPE
FORMAL SHIRT TERELENE
INFORMAL SHIRT COTTON
PENCIL SKIRT SILK
FORMAL PANT TERELENE
INFORMAL PANT COTTON
(vii) M004
(viii) 7
Hide Answer
Q6
(a) State and verify absorption law using truth table. [2]
(b) Write the equivalent Boolean Expression for the following Logic Circuit: [2
]
c) Write the POS from of a Boolean function G, which is represented in a truth table as
follows: [1]
U V W G
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
(b) The equivalent Boolean expression for the following logic circuit is:
P Q+P R
(c) To obtain the POS form of function G, add a new column to the truth table:
By multiplying the maxterms for 0’s, we get the desired product of sums expression, that
is:
Now, pairing 1’s to form oct, quad , we get the following figure:
Hide Answer
Q7
a) What is the difference between LAN and WAN? [ 1]
(d) Name two switching techniques used to transfer data between two terminals (computers). [1]
(e) Eduminds University of India is starting its first campus in a small town Parampur of Central India with its center
admission office in Delhi. The University has 3 major buildings comprising of Admin Building, Academic Building and
Research Building in the 5 KM area Campus.
As a network expert, you need to suggest the network plan as per (E1) to (E4) to the
authorities keeping in mind the distances and other given parameters.
Admin Building 35
(E1) Suggest to the authorities, the cable layout amongst various buildings inside the
university campus for connecting the buildings. [1]
E2) Suggest the most suitable place (i.e. building) to house the server of this organization, with a suitable
reason. [1 ]
(E3) Suggest an efficient device from the following to be installed in each of the buildings to connect all the
computers: [1]
(i) GATEWAY
(ii) MODEM
(iii) SWITCH
(E4) Suggest the most suitable (very high speed) service to provide data connectivity between Admission Building
located in Delhi and campus located in Parampur from the following options: [ 1]
Telephone line
GSM
Leased line
Satellite connection
Marks:8
Answer:
(a) There are two basic types of network, LAN and WAN.
LAN stands for Local Area Network, while WAN stands for Wide Area Network.
Local Area Networks are smaller networks, usually within an office base. Connections
between the workstations are physical with cables and all the office resources are
shared and distributed between the network workstations.
WAN or Wide Area Networks, are broader geographic networks, like one city to another. They
are more of a collection of interconnected LAN networks.
The main difference between LAN and WAN is in their data transfer rate. LANs are faster, with
10Gbit data transfer rates.
(c) A protocol is a set of rules that end points in a telecommunication connection use when they
communicate. Protocols exist at several levels in a telecommunication connection. For example,
there are protocols for the data interchange at the hardware device level and protocols for data
interchange at the application program level. File Transfer Protocol (FTP) is used to copy a file
from/to a remotely located computer.
(d) The two types of switching techniques used to transfer data between two terminals are:
Circuit Switching: This method involves the physical interconnection of two devices. A good
example of circuit switching involves the public phone network.
Packet Switching: Packet Switching techniques switch packets of data between destinations.
Traditionally, this applied to X.25 techniques, but this also applies to TCP/IP and IPX/SPX routers.
Proprietary Frame Relay switches can switch voice signals.
(E1)
(E2) The most suitable place to house the server of this organization is Academic
Building, as this location has maximum number of computers installed. This will reduce
the network traffic, as most of the traffic will be local and also decrease the cost.
(E3) SWITCH
(E4) Satellite connection is required to provide data connectivity between Admission Building
located in Delhi and Parampur because they are very far located from each other.
Hide Answer
Q PAPER 08
(a) Differentiate between candidate key and primary key in context of RDBMS. [2]
(b) Consider the following tables Product and Client. Write SQL commands for the statement (i) to (iv) and
give output for SQL queries (v) to (viii). [6]
TABLE: PRODUCT
P_ID Product Name Manufacturer Price
TP01 Talcum powder LAK 40
FW05 Face wash ABC 45
BS01 Bath soap ABC 55
SH06 Shampoo XYZ 120
FW12 Face wash XYZ 95
TABLE: CLIENT
C_ID Client Name City P_ID
01 Cosmetic shop Delhi FW05
06 Total health Mumbai BS01
12 Live life Delhi SH06
15 Pretty women Delhi FW12
16 Dreams Bangalore TP01
Consider if a customer does not want to share his contact number, then
contact number will be null. Since, primary key has a constraint of non-null
values, contact number cannot be used as primary key(even though it
satisfies uniqueness criteria). Customer Id can be used as primary key as it
satisfies uniqueness as well as non-null criteria.
(b) (i) Select * from Client
Where City=”Delhi”;
Q6
(a) State and verify De Morgan’s law in Boolean Algebra. [2]
(b) Draw a logical circuit diagram for the following Boolean Expression.
X’. ( Y’ + Z) [1]
(c) Convert the following Boolean expression into its equivalent Canonical sum
of products form. [2]
(X’+ Y + Z’). (X’+ Y + Z) . (X’+ Y’ + Z’)
(d) Reduce the following Boolean expression using K-Map. [3]
F(A, B, C, D) = ( 0,2,3,4,6,7,8,10,12)
Marks:8
Answer:
a) According to Demorgan’s law
1) The complement of the sum is equal to the product of the complement.
2) The complement of the product is equal to the sum of the complement.
(a+b)’=a’.b’
(a.b)’=a’+b’
(a+b) + (a’ . b’) = 1
(a+b) + (a’ . b’) =(a+(a’.b’)) + (b +(a’.b’)) distributivity
=(a+a’).(a+b’)+(b+a’).(b+b’) distributivity
=1.(a+b’)+(a’+b).1 inverse axiom + commutative
=a+b’+a’+b unit property
=a+a’+b+b’ commutativity
=1+1 inverse axiom
=1 unit axiom
ab + (a’ + b’) = 1
ab + (a’ + b’) = ((a’ + b’) + a)((a’ + b’) + b) commutativity + distributivity
= (a + (a’ + b’))((a’ + b’) +b) commutativity
= ((a + a’) + b’)(a’ + (b + b’)) associativity + commutativity
= (1 + b’)(a’ + 1) inverse axiom
= 11 unit property
=1 unit axiom
(c) Conversion of the Boolean expression into its equivalent Canonical SOP form with the help of a truth table:
(X’+ Y + Z’). (X’+ Y + Z) . (X’+ Y’ + Z’)
X Y Z MINTERM MAXTERM
0 0 0 X’.Y’.Z’
0 0 1 X’. Y’. Z
0 1 0 X’.Y.Z’
0 1 1 X’.Y.Z
1 0 0 X’+Y+Z
1 0 1 X’+Y+Z’
1 1 0 X’+Y’+Z
1 1 1 X’+Y’+Z’
POS FORM=( X’+Y+Z’). (X’+Y+Z) . (X’+Y’+Z). (X’+Y’+Z’)
SOP FPRM=( X’.Y’.Z’) + (X’. Y’. Z) + (X’.Y.Z’) + (X’.Y.Z)
Hide Answer
Q7
(a) What is a hub? [1]
(b) Expand the following terms with respect to networking: [2]
i) MODEM
ii) WLL
iii) FTP
iv) TCP/IP
In the continuation of the above, the company experts have planned to install the
following number of computers in each of their offices:
Back Office 79
Development Unit 90
Corporate Unit 51
(i) Suggest the kind of network required (out of LAN, MAN, WAN) for connecting each of
the following office units:
Research Lab and Back Office
(ii) Which one of the following device will you suggest for connecting all the computers
with in each of their office units?
Switch/Hub
Modem
Telephone
(iii) Which of the following communication medium, you will suggest to be procured by
the company for connecting their local office units in Pondicherry for very effective
(High Speed) communication?
Telephone cable
Optical fibre
Ethernet cable
(iv) Suggest a cable/wiring layout for connecting the company’s local office units located
in Pondicherry. Also, suggest an effective method/ technology for connecting the
company’s office unit located in Mumbai.
Marks:8
Answer:
(a) Hub is a common connection point for devices in a network. Hubs are commonly used
to connect segments of a LAN. A hub contains multiple ports. When a packet arrives at
one port, it is copied to the other ports so that all segments of the LAN can see all
packets.
(b) MODEM: Modulator Demodulator
WLL: Wireless in Local Loop
FTP: File Transfer Protocol
TCP/IP: Transmission Control Protocol/Internet Protocol
(c) Coaxial is an electrical conductor, i.e., copper wire, surrounded by an insulating layer,
polyethylene or polypropylene or nylon, which is then surrounded by another
electrical conductor, i.e. stainless steel braid or copper braid, or aluminum foil,
then surrounded by more insulators such as vinyl.
Optical cable is glass strands. It requires an optical emitter for the sender end
and an optical receiver for the receiving end. It is noted for extremely low
transmission losses and virtually no interference between strands.
(d) (i) For connecting:
Research lab and back office LAN can be used, as the distance
between them is very small, i.e., 110 meters.
For research lab and development unit, MAN can be used as the
distance between them is 16 Km, which implies that they are in the same
city.
(ii) To connect all the computers within each of the office units, switch/hub should
be used.
(iii) To connect their local office units in Pondicherry for very effective (High Speed)
communication, the company should prefer optical fibres as they are lighter
and cheaper than copper lines. Also, they do not experience any electrical
interference. In addition, optical fibres offer greater bandwidth and lesser
signal loss as compared to other communication mediums.
(iv)
Hide Answer
Q PAPER 7
(a) Differentiate between primary key and alternate key. [2]
(b) Consider the following tables. Write SQL commands for the [6]
statements (i) to (iv) and give outputs for SQL queries (v) to (viii)
TABLE : SENDER
TABLE : RECIPIENT
RecID SenderID RecName RecAddress RecCity
KO05 ND01 R Bajpayee 5, Central Avenue Kolkata
ND08 MU02 S Mahajan 116, A Vihar New Delhi
MU19 ND01 H Singh 2A, Andheri East Mumbai
MU32 MU15 P K Swamy B5, CS Terminus Mumbai
ND48 ND50 S Tripathi 13, B1 D, Mayur Vihar New Delhi
(b)
(i) SELECT SenderName FROM SENDER WHERE SenderCity=”Mumbai”;
(iv) SELECT COUNT (*) “No Of Recipients”, RecCity FROM RECIPIENT GROUPBY
RecCity;
(vi)
A.SenderName B.RecName
H Sinha PK Swamy
H Jha
(vii)
RecName RecAddress
S Mahajan 116, A Vihar
S Tripathi 13, B1 D, Mayur Vihar
(viii)
RecID RecName
ND08 S Mahajan
ND48 S Tripathi
Hide Answer
Q6
(a) State Distributive Law and verify the same using truth table. [2]
(b) Write the equivalent Canonical Sum of Product Expression for the following
Product of Sum Expression [2]
F(X, Y, Z) = ∏ (1, 3, 6, 7)
(c) Write the equivalent Boolean expression for the following Logic
Circuit. [2]
0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 1 0 0 0 0
0 1 1 1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 1 1 0 1 1 1
1 1 0 1 1 0 1 1
1 1 1 1 1 1 1 1
(c) W X’ + Y’ Z’
Hide Answer
Q7
(a) What is the significance of Cyber Law? [1]
(b) Expand the following terms with respect to Networking: [2]
(i) CDMA
(ii) FTP
(iii)WLL
(iv)HTML
(c) Which of the following units measures the speed with which data can be
transmitted from one node to another node of a network ? Also, give the expansion of
the suggested unit. [1]
(i) Mbps
(ii) KMph
(iii) MGps
In continuation of the above, the company experts have planned to install the
following number of computers in each of their offices :
Back Office 100
Front Office 20
Work Office 50
East Office 50
West Office 50
South Office 50
(i) Suggest network type (out of LAN, MAN, WAN) for connecting each of the following
set of their offices :
(ii) Which device will you suggest to be procured by the company for connecting the
computers with in each of their offices out of the following devices ?
• Switch/ Hub
• Modem
• Telephone
(iii) Which of the following communication media, you will suggest to be procured by
the company for connecting their local offices in New Delhi for very effective and fast
communication ?
• Telephone cable
• Optical Fibre
• Ethernet Cable
(iv) Suggest a cable/wiring layout for connecting the company’s local offices located in
New Delhi. Also, suggest an effective method/technology for connecting the
company’s regional offices- “East Office”, “West Office”, “South Office” with offices
located in New Delhi.
Marks:8
Answer:
(a) Cyber law forms the basis of an agreement between two parties, making transactions using
cyber technologies. Like any other law, cyber law is enforced over all activities performed, in
which computer plays vital role.
(b)
(i) CDMA- Code Division Multiple Access
(ii) WLL – Wireless in Local Loop
(iii) FTP – File Transfer Protocol
(iv) HTML- Hyper Text Markup Language
(c)
(i) Mega Bits Per Second
(d)
(i) LAN and MAN
(ii) Switch / Hub
(iii) Optical fibre
(iv)The layout is:
Q PAPER 6
a) What is an alternate key? [2]
(b) Study the following tables DOCTOR and SALARY and write SQL
commands for the questions (i) to (iv) and give outputs for SQL
queries (v) to (vi): [6]
TABLE: DOCTOR
ID NAME DEPT SEX EXPERIENCE
101 John ENT M 12
104 Smith ORTHOPEDIC M 5
107 George CARDIOLOGY M 10
114 Lara SKIN F 3
109 K George MEDICINE F 9
105 Johnson ORTHOPEDIC M 10
117 Lucy ENT F 3
111 Bill MEDICINE F 12
130 Morphy ORTHOPEDIC M 15
TABLE: SALARY
ID BASIC ALLOWANCE CONSULTATION
101 12000 1000 300
104 23000 2300 500
107 32000 4000 500
114 12000 5200 100
109 42000 1700 200
105 18900 1690 300
130 21700 2600 300
(i) Display NAME of all the doctors who are in “MEDICINE” having more than 10 years experience from the
table DOCTOR.
(ii) Display the average salary of all doctors working in “ENT” department using the tables DOCTOR and
SALARY. Salary = BASIC + ALLOWANCE
(iii) Display the minimum ALLOWANCE of female doctors.
(iv) Display the highest consultation fee among all male doctors.
(v) SELECT count(*) from DOCTOR where SEX = “F”
(vi) SELECT NAME, DEPT, BASIC from DOCTOR, SALARY where DEPT = “ENT” and DOCTOR.ID = SALARY.ID
Marks:8
Answer:
(a) Out of the multiple candidate keys, only one candidate key acts as primary key in a
relation and the remaining candidate key is/are called alternate key.
Hide Answer
Q6
(a) State and verify distributive law. [2]
(b) Write the equivalent expression for the following Logical Circuit: [2]
Marks:8
View Answer
Q7
(a) Differentiate between Internet and Intranet. [1]
Number of Computers
Wing A 150
Wing A 10
Wing A 5
Wing A 50
(i) Suggest a suitable topology for networking the computer of all wings. [1]
(ii) Name the wing where the server to be installed. Justify your answer. [1]
(iii) Suggest the placement of hub/switch in the network. [1]
(iv) Mention an economic technology to provide internet accessibility to all wings. [1]
Marks:8
Answer:
(a) Internet is a vast international network that is the most preferred WAN across the
Globe by joining computer networks together with telephone lines to form a backbone.
Intranet is a network that exists exclusively within an organization and that is based on
internet technology.
(b) (i) Code Division Multiple Access.
(ii) Uniform resource Locator
(iii) Hyper text Transfer protocol.
(iv) Wide Area Network.
(c) Fault isolation in star topology is easier than bus topology as defective node can be
easily isolated from the network by removing its connection from the center but in
bus topology, a faulty node must be rectified at the point where the node is
connected to the network.
(d) (i) Star Topology can be used to network the computer of all wings.
(ii) The server should be installed in Wing A, as Wing A has maximum
number of computer and installing the server in this wing will help to
reduce the network traffic.
(iii) Hub/ switch will be required in all the wings.
(iv) The economic way to provide internet accessibility to all wings is to
use the proxy server at wing A and connect to the internet through
a dial-up network.
Hide Answer
Q PAPER 5
(a) What do you understand by the terms primary key and degree of a relation in relational database? [2]
(b) Consider the following tables EMPLOYEES and EMPSALARY. Write SQL commands for the
statements (i) to (iv) and give outputs for SQL queries (v) to (viii). [6]
EMPLOYEES
EMPID FIRSTNAME LASTNAME ADDRESS CITY
010 George Smith 83 First Street Howard
105 Mary Jones 842 Vine Ave. Losantiville
152 Sam Tones 33 Elm St. Paris
215 Sarah Ackerman 440 U.S. 110 Upton
244 Manila Sengupta 24 Friends Street New Delhi
300 Robert Samuel 9 Fifth Cross Washington
335 Henry Williams 12 Moore Street Boston
400 Rachel Lee 121 Harrison St. New York
441 Peter Thompson 11 Red Road Paris
EMPSALARY
EMPID SALARY BENEFITS DESIGNATION
010 75000 15000 Manager
105 65000 15000 Manager
152 80000 25000 Director
215 75000 12500 Manager
244 50000 12000 Clerk
300 45000 10000 Clerk
335 40000 10000 Clerk
400 32000 7500 Salesman
Marks:8
Answer:
(a) A primary key is used to uniquely identify each row in a table. A primary key can consist
of one or more fields on a table. When multiple fields are used as a primary
key, they are called a composite key. A primary key can never be NULL.
E.g.,
CREATE TABLE Customer
(SID integer PRIMARY KEY,
Last_Name varchar(30),
First_Name varchar(30));
Hide Answer
Q6
(a) State and verify associative law in Boolean algebra. [2]
(b) Write the equivalent Boolean expression for the following logic circuit: [2]
(b) Write the SOP form of Boolean function F, which is represented by the following truth table: [1]
A B C D
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 1
0 1 1 0
1 0 1 1
1 1 1 1
X+X.Y = X
L.H.S = X+X.Y
= X.1+X.Y
= X.(1+Y)
= X.1
=X
= R.H.S
X+X’.Y = X+Y
L.H.S. = X+X’.Y
= (X+X’).(X+Y)
= 1.(X+Y)
= X+Y
= R.H.S
(b) The equivalent Boolean expression for the given logic circuit is:
(X + Y’)(X’+ Y)(X’+ Y’)
(c) K-Map:
F= AC + C’A’B + A’
Hide Answer
Q7
(a) What is the difference between message switching technique and packet switching
technique? [1]
(b) Expand the following terminologies: [2]
(i) TCP/IP
(ii) XML
(iii) CDMA
(iv) WLL
(c) Write two applications of Cyber Law. [1]
(d) The Great Brain Organisation has set up its new branch at
Srinagar for its office and web based activities. It has 4 wings
of buildings as shown in the diagram:
Wing X to Wing Z 50 m
Wing Z to Wing Y 70 m
Wing Y to Wing X 125 m
Wing Y to Wing U 80 m
Wing X to Wing U 175 m
Wing Z to Wing U 90 m
Number of Computers
Wing X 50
Wing Z 30
Wing Y 150
Wing U 15
(ii) Suggest the most suitable place (i.e., wing) to house the
server of this organisation with a suitable reason, with
justification. [1]
(c) Cyber law describes the legal issues related to the use of inter-networked
information technology. Some leading topics include intellectual property,
privacy, freedom of expression and jurisdiction.
(d)
(i) Star Topology can be used to network the computer of all wings.
(ii) The server should be installed in Wing Y, as Wing Y has maximum number of
computers and installing the server in this wing will help to reduce the network
traffic.
(iii) A switch/hub can be used to connect the computers.
(iv) The economic way to provide Internet accessibility to all wings is to use
the proxy server at wing Y and connect to the Internet through a dial-up
network.