You are on page 1of 1

XII – Computer Science Work Sheet 21.

Eduminds University of India is starting its campus in a


Answer the following. small town Parampur of Central India with its
1. Which of the following is/are advantage(s) of SQL? centre admission office in Delhi. The university has three
(a) High speed (b) Client/server language major buildings comprising of Admin building,
(c) Easy to learn (d) All of these Academic building and Research building in 5 km area
2. Which of the following is the correct order of a SQL campus.
statement? As a network expert, you need to suggest the
(a) SELECT, GROUP By, WHERE, HAVING network plan as per (i) to (v) to the authorities keeping in
(b) SELECT, WHERE, GROUP BY, HAVING mind the distances and other given parameters.
(c) SELECT, HAVING, WHERE, GROUP BY
(d) SELECT, WHERE, HAVING, GROUP BY
3. The .............. operator is used for pattern matching.
(a) BETWEEN (b) LIKE
(c) IN (d) LOOKSLIKE
4. What is default value of host? Expected wire distance between various locations
(a) host (b) localhost Research Building to Admin Building 90 m
(c) global host (d) None of these Research Building to Academic Building 80 m
5. Which method returns the next row from the result set as Academic Building to Admin Building 15 m
tuple? Delhi Admission Office to Parampur Campus 1450 km
(a) fetchone ( ) (b) fetchmany ( ) Expected number of computers to be installed at various
(c) fetchall ( ) (d) rowcount ( ) locations in the university are as follows
6. Which of the following is a collection of independent Research Building 20
computers and other hardware interconnected by Academic Building 150
communication channels? Admin Building 35
(a) Computer (b) Networking Delhi Admission Office 5
(c) Sharing (d) None of these (i) Suggest the authorities, the cable layout amongst various
7. Which of the following is an advantage of networking? buildings inside the university campus for connecting the
(a) Application sharing (b) File sharing buildings.
(c) User communication (d) All of these (ii) Suggest the most suitable place (i.e. building) to house
8. .................. network device is known as an intelligent hub. the server of this organisations with a suitable reason.
(a) Switch (b) Hub (iii) Suggest an efficient device for the following to be
(c) Router (d) Gateway installed in each of the building to connect all the computers
9. Geometric arrangement of devices on the network is called (a) Gateway (b) Modem (c) Switch
(a) topology (b) protocols (iv) Suggest the most suitable (very high speed) service to
(c) media (d) LAN provide data connectivity between admission building
10. Which of the following statement(s) is/are true about URL? located in Delhi and the campus located in Parampur form
(a) URL stands for Uniform Resource Locator. the following options:
(b) You can enter URL into address bar. ● Telephone line ● GSM
(c) Both (a) and (b) ● Fixedline dial-up connection ● Leased line
(d) It is not necessary for URL to be unique. ● Co-axial cable network ● Satellite connection.
11. What is a DBMS? Expand and explain in short. (v) University is planning to connect its campus in Delhi
12. How is char data type different from varchar data type? which is less than 100 km. Which type of network will be
13. What is a primary key? How many primary keys can be formed?
there in a table? 22. Answer the questions (i) to (v) on the basis of the following
14. Consider the following table PREPAID. Write MySQL tables SHOPPE and ACCESSORIES.
commands for the statements given below. Table : SHOPPE
S_No C_Name Model Connection Id SName Area
1. Sita Nokia Airtel S001 ABC Computeronics CP
2. Geeta Samsung Idea S002 All Infotech Media GK II
3. Ritesh LG BSNL S003 Tech Shoppe CP
4. Jayant Micromax Reliance S004 Geeks Tecno Soft Nehru Place
(i) DELETE a column name Model. S005 Hitech Tech Store Nehru Place
(ii) DELETE a customer record where connection type is Table : ACCESSORIES
BSNL. No Name Price Id
15. Write the code to create the connection in which database’s A01 Mother Board 12000 S001
name is Python, name of host, user and password can taken A02 Hard Disk 5000 S001
by user. Also, print that connection. A03 Keyboard 500 S002
16. Write the code to create a table Product in database A04 Mouse 300 S001
A05 Mother Board 13000 S002
Inventory with following fields :
A06 Keyboard 400 S003
Fields Datatype
A07 LCD 6000 S004
PID varchar(5)
T08 LCD 5500 S005
PName char(30)
T09 Mouse 350 S005
Price float
Rank varchar(2) T10 Hard Disk 4500 S003
17. Write the difference between XML AND HTML. (i) To display Name and Price of all the Accessories in
ascending order of their Price.
18. A company wants to form a network on their five computers
(ii) To display Id and SName of all Shoppe located in Nehru
to a server within the company premises. Represent star and Place.
ring topologies diagrammatically for this network. (iii) To display Minimum and Maximum Price of each Name
19. Explain the three main parts of an optical fibre cable. of Accessories.
20. What are the functions of the following devices? (iv) To display Name, Price of all Accessories and their
(i) Repeater (ii) Switch respective SName, where they are available.
(v) To display name of accessories whose price is greater
than 1000.

You might also like