Class XII Holidays Home work(CS)

REVISION TEST CLASS XII
NET WORKING
01. What are Cookies?
02. Explain FOSS
03. Differentiate between Internet and Intranet.
04. Expand the following terms
(i) URL (ii) ISP (iii) DHTML (iv) CDMA
05. Differentiate between message switching and packet switching
06. Which of the following is not a Client Side script:
(i) VBScript
(ii)
JavaScript
(iii) ASP
(iv)
PHP
07. CompareanytwoSwitchingtechniques.
08. What is the purpose of using a Web Browser? Name any one commonly used Web Browser.
09. MentionanytwoadvantagesofOpenSourceSoftwareoverProprietarySoftware.
10. What is the difference between XML and HTML? Write two differences
11. Define Freeware, and Shareware.
12. What is the function of TCP/IP protocol?
13. Give the advantages and disadvantages of optical fiber and coaxial cable used in communication.
14. What do you mean by a computer virus? Also define Trojan Horses and worms?
15. Out of SMTP and POP3 which protocol is used to receive emails?
16. Rajeshwari is trying for on-line subscription to a magazine. For this she has filled in a form on the
magazine’s web site. When she clicks submit button she gets a message that she has left e-mail field empty
and she must fill it. For such checking which type of script is generally executed – client-side script or
server-side script?
17. What is firewall?
(18) To provide telemedicine facility in a hilly state, a computer network is to be setup to connect hospitals
in 6 small villages (V1, V2, . . . , V6) to the base hospital (H) in the state capital. This is shown in the
following diagram.
No village is more than 20km away from the state capital.
Imagine yourself as a computer consultant for this project and answer the following questions with
justification:
(i) Out of the following what kind of link should be provided to setup this network:
(i) Microwave link, (ii) Radio Link, (iii) Wired link?
(ii) What kind of network will be formed: LAN, MAN, or WAN?
(iii) Many times doctors at village hospital will have to consult senior doctors at the base hospital. For this
purpose, how should they contact them: using email, SMS, telephone, or video conference?
SQL
01) Distinguish between a Primary key and Candidate key with the help of suitable example of each. 1M
02) ) Explain the concept of Union between two tables, with the help of appropriate example.
1M
03)
04) consider the tables FLIGHTS&FARES. Write SQL commands for the statements (i) to (iv) and give
the outputs for SQL queries (v) & (vi).
5M
Table : FLIGHTS
FNO
SOURCE
DEST
NO_OF_F NO_OF_ST
L
OP
IC301
MUMBAI
BANGALO 3
2
RE
IC799
BANGALO KOLKATA 8
3
RE
MC101
DELHI
VARANAS 6
0
I
IC302
MUMBAI
KOCHI
1
4
AM812
LUCKNOW DELHI
4
0
MU499
DELHI
CHENNAI
3
3
Table : FARES
FNO
IC301
IC799
MC101
IC302
AM812
MU499
AIRLINES
Indian Airlines
Spice Jet
Deccan Airlines
Jet Airways
Indian Airlines
Sahara
FARE
9425
8846
4210
13894
4500
12000
TAX
5%
10%
7%
5%
6%
4%
(i) Display flight number & number of flights from Mumbai from the table flights.
(ii) Arrange the contents of the table flights in the descending order of destination.
(iii) Increase the tax by 2% for the flights starting from Delhi.
(iv) Display the flight number and fare to be paid for the flights from Mumbai to Kochi using the tables,
Flights & Fares, where the fare to be paid =fare+fare*tax/100.
(v) SELECT COUNT(DISTINCT SOURCE) FROM FLIGHTS;
(vi) SELECT FNO, NO_OF_FL, AIRLINES FROM FLIGHTS,FARES
WHERE SOURCE=’DELHI’ AND FLIGHTS.FNO=FARES.FNO
03)Write an SQL query to create the table 'Menu' with the following structure:
Field
Type
Constraint
ItemCode
Varchar(5)
Primary Key
ItemName
Varchar(20)
Unique
Category
Varchar(20)
Default ‘D2’
Price
Decimal(5,2)
price>100.00
04) Consider the table TEACHER given below. Write commands in SQL for (1) to (4) and output for (5) to
(8)
i. To display all information about teachers of PGT category.
6M
ii. To list the names of female teachers of Hindi department.
iii. To list names, departments and date of hiring of all the teachers in ascending order of date of joining
iv. To count the number of teachers in English department.
v. SELECT MAX(Hiredate) FROM Teacher;
vi. SELECT DISTINCT(category) FROM teacher;
vii. SELECT COUNT(*) FROM TEACHER WHERE Category = "PGT"
viii. SELECT AVG(Salary) FROM TEACHER group by Gender;