0 Xii Revision - 2
0 Xii Revision - 2
PUDUCHERRY
REVISION EXAMINATION-2 (2020-2021)
COMPUTER SCIENCE (083)
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.
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
ItemNo - numeric
22. ItemName – character of size 20
Scode - numeric
Quantity – numeric
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
36. 3
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
39. 5
a)Display the names of the students who have grade ‘C’ in either Game1 or
Game2 or both
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.
1.
writeamenudrivenprogramtoimplementstackoperationusingalist.Eachnodecontaining
bookid,booknameandbookprice.
2. writeamenudrivenprogramtoimplementqueueoperationusingalist.