0% found this document useful (0 votes)
29 views10 pages

0 Xii Revision - 2

Uploaded by

vidyuthno1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views10 pages

0 Xii Revision - 2

Uploaded by

vidyuthno1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

ADITYA VIDYASHRAM RESIDENTIAL SCHOOL

PUDUCHERRY
REVISION EXAMINATION-2 (2020-2021)
COMPUTER SCIENCE (083)

DATE: 20.11.2020 CLASS: XII-ALL


Time: 3 Hours M. Marks: 70

General Instructions:

1. This question paper contains two parts A and B. Each part is compulsory.
2. Both Part A and Part B have choices.
3. Part-A has 2 sections:
a. Section – I is short answer questions, to be answered in one word or one line.
b. Section– II has two case studies questions. Each case study has 4 case-based
sub-parts. An examinee is to attempt any 4 out of the 5 subparts.
4. Part - B is Descriptive Paper.
5. Part- B has three sections
a. Section-I is short answer questions of 2 marks each in which two question have
internal options.
b. Section-II is long answer questions of 3 marks each in which two questions
have internal options.
c. Section-III is very long answer questions of 5 marks each in which one
question has internal option.
6. All programming questions are to be answered using Python Language only

Q. Marks
No.
Part-A
SECTION - I
Select the most appropriate option out of the options given for each
question. Attempt any 15 questions from question no 1 to 21.

Central computer which is powerful than other computers in the network is


1. called as 1
a. client. b. Server. c. Hub. d. Switch
Hub is a ________device
2. 1
a. Broadcast. b. Unicast. c. Multicast d. None of the above

3. Which topology requires a multipoint connection on a single cable? 1


The device that can opreate in a place of a hub is
4. 1
a. Bridge b. Router. c. Gateway. d. Switch

Network device which connects dissimiler networks (different protogal)


5. 1
a. Hub. b. Router. c. Bridge. d. Gateway
The internet is an example of
6. 1
a. LAN. b.MAN. c. WAN. d. All of the above

7. A network having a span with in a building is called a __________ 1

Write TRUE or FALSE:


8. 1
Big networks can be of peer-to-peer types.
Expand the following:
9. 1
PPP
Data is converted in a form so as to travel over telephone lines using this
10. device 1
a) Modam. b. Hub. c. Switch. d. Router
Say true or false for the following:
11. 1
Repeater and Router precisely do the same.
Which of the following is a SQL aggregate function?
12. 1
a. Left. b. Avg. c. Join. d. Len

13. Function count () in SQL is a/an ___________function. 1

Columns can be used sorted in descending order by using the SQL keyword
14. 1
a. Asc. b. dsc. c. Deac. d.desc

15. The SQL Built-in function ________ computes the number of rows in a table. 1

Which of the following remove the data in a table?


16. 1
a. Remove. b. Drop. c. Delete. d. All of the above
Which command helps to open the database for use?
17. a. Use. b. Open c. Distinct d. create 1

The _______allows us to perform tasks related to data manipulation.


18. 1
a. DDL. b. DML. c. TCL d. None of the above
Write true or false for the following:
19. 1
UPDAGE TABLE command is used to modify the structure of the table

20. The default order of ORDER BY clause is _________________. 1


Patterns in MySQL are described using two special wild card characters such
21. 1
as ________and ______________.
Section-II
Both the Case study based questions are compulsory. Attempt any 4
sub parts from each question. Each question carries 1 mark
A departmental store MyStore is considering to maintain their
inventory using SQL to store the data. As a database administer, Abhay
has decided that :
• Name of the database - mystore

• Name of the table - STORE

• The attributes of STORE are as follows:

ItemNo - numeric
22. ItemName – character of size 20
Scode - numeric
Quantity – numeric

(a) Identify the attribute best suitable to be declared as a primary key 1


(b) Write the degree and cardinality of the table STORE. 1
(c) Insert the following data into the attributes ItemNo, ItemName and SCode
respectively in the given table STORE 1
ItemNo = 2010, ItemName = “Note Book” and Scode = 25
(d) Abhay want to remove the table STORE from the database MyStore.
Which command will he use from the following: 1
a) DELETE FROM store; b) DROP TABLE store; c) DROP DATABASE
mystore; d) DELETE store FROM mystore;
e) Now Abhay wants to display the structure of the table STORE, i.e, name of
the attributes and their respective data types that he has used in the table. 1
Write the query to display the same.
Answer the following based on Client table

23

(a) Identifytheattributebestsuitabletobedeclaredasaprimarykey 1
(b) Writethecardinalityand degree ofthetable Client. 1
(c) Insertthefollowingdataintotheattributes Cid, and City
respectivelyinthegiventable Client. 1
Cid =20, City =“Puducherry".
(d)Mani Sharma wanttoremove data from thetable Cient fromthedatabase
Product .Whichcommandwillheusefromthefollowing:
a)DELETEFROM client;
1
b)DROPTABLE client;
c)DROPDATABASE Product;
d)DELETEstoreFROM Product;
e) Which field contains only numeric values in Client table. 1
PART B

Section-I
List the parameters are used in connect() function when SQL connected
with PYTHON.
24. 2
(OR )
What is the use of fetchone() and rowcount attribute.
List logiccal operator used in SQL. Write the query for any one logical
25 2
opearor.
26 Write the difference between Char and Varchar in SQL with example. 2
27 Write the syntax and example for SELECT command in SQL. 2
Expand the following terms
28 2
a. WLL. b. ASP. c. LAN. d. HTTP
29 List any two transmission medium for wired and wireless connection. 2
30 What is the difference between 3G and 4G technology?(Any 2) 2
31 How many switching techniques are there? Explain any one. 2
Expand the following terms
32 2
a. SMTP. b. CDMA. c. FTP. d. VoIP
What is the use of DISTINCT keyword in SQL? Give example.
OR
33 2
Differentiate between Web server and web browser. Write any two popular
web browsers.
SECTION - II
Give the output of the following sql statement based on table GRADUATE:

34. 3

i) Select MIN(AVERAGE) from GRADUATE where


SUBJECT=“PHYSICS”; ii)Select SUM(STIPEND) from GRADUATE WHERE
div='II'; iii)Select AVG(STIPEND) from GRADUATE where AVERAGE>=65;
Expand the following:
a. FTP. b. HTML. c.WAN.
35. d. IP e. XML f. SMS. 3
(OR)
List advantage and drawback of Star and Bus topology(2 points)
Give the output of the following SQL queries:

36. 3

i) SELECT COUNT(DISTINCT Make) FROM CARDEN; ii) SELECT


MAX(Charges),MIN(Charges) FROM CARDEN; iii)SELECT COUNT(*),Make
FROM CARDEN order by make;
.

37. 3

i)Suggestthemostsuitableplace(i.e.School/Center)toinstallthe
serverofthisuniversitywithsuitablereason

ii)Whichdevicewillyousuggesttobeplaced/installedineachoftheseschool/
centertoefficientlyconnectallthecomputerswithintheseschool/center?

iii)Theuniversityisplanningtoconnectitsadmissioncenterintheclosestbig
city,whichismorethan350KMfromtheUniversity.Whichtypeofnetworkout
ofLAN,MAN,WANwillbeformed?Justifyyouranswer.
(OR)
Definethefollowing:
a.Primarykey b.Alternatekey c.Record.

SECTION - III
Ravya industries has setup its new center at kakadeo nagar for its
office and web based activities. The company compound has 4 buildings
as shown in the diagram below:

38 5

(i)Suggest the most suitable place (i.e. School/Center) to install the


server of this university with suitable reason

ii)Suggest an ideal layout for connecting these school/center for a


wired connectivity

(iii)Suggest the placement of following devices with suitable reason:


a ) Switch

(iv)The organization is planning to link its sale counter situated in


various parts of the same city, which type of network out of LAN, MAN
or WAN will be formed? Justify

(v) which topology is best suit for this network?


(OR)
MyPace University is setting up its academic blocks at Naya Raipur ànd
is planning to set up a network. The University has 3 academic blocks
and one Human Resource Center as shown in the diagram below:

a) Suggest the most suitable place (i.e., Block/Center) to install


the server of this University with a suitable reason.
b) Suggest an ideal layout for connecting these blocks/centers for a
wired connectivity.

c) Which device will you suggest to be placed/installed in each of these


blocks/centers to efficiently connect all the
computers within these blocks/centers.

d) Suggest the placement of a Repeater in the network


with justification.
e) The university is planning to connect its admission office in Delhi,
which is more than 1250km from university. Which type of network
out of LAN, MAN, or WAN will be formed? Justify youranswer.

Write the SQL commands for(a )to (e).

39. 5

a)Display the names of the students who have grade ‘C’ in either Game1 or
Game2 or both

b) Display the number of students getting grade ‘A’ in Cricket.

c) Display the names of the students who have the same game for both
Game1 and Game2. d) Display the game1 taken up by the students, whose
name starts with ‘A’. e) To display different classes in Sports table.
Write the SQL commands for (a) to (e) .

40. 5
a) List the names of those students who obtained DIV I sorted by NAME.
b)Display a report, listing NAME, STIPEND, SUBJECT and amount ofstipend
received in a year assuming that the STIPEND is paid every month.
c)To count the number of students who are either PHYSICS or COMPUTER
SC graduates.
d) To insert a new row in the GRADUATE table: 11,“KAJOL”, 300, “computer
sc”, 75, II
e) Write a query to display highest stipend from GRADUATE table.

Practical questions: ( 2 x 5=10)

1.
writeamenudrivenprogramtoimplementstackoperationusingalist.Eachnodecontaining
bookid,booknameandbookprice.

2. writeamenudrivenprogramtoimplementqueueoperationusingalist.

You might also like