Page 1
No. of Printed Pages : 8
5972
!5972ComputerScience! £vÄ Gs
Register Number
PART - III
PoÛ AÔ¯À / COMPUTER SCIENCE
( uªÌ ©ØÖ® B[Q» ÁÈ / Tamil & English Version )
Põ» AÍÄ : 3.00 ©o ÷|µ® ] [ ö©õzu ©v¨ö£sPÒ : 70
Time Allowed : 3.00 Hours ] [ Maximum Marks : 70
AÔÄøµPÒ : (1) AøÚzx ÂÚõUPЮ \›¯õP £vÁõQ EÒÍuõ GߣuøÚ \›£õºzxU
öPõÒÍÄ®. Aa_¨£vÂÀ SøÓ°¸¨¤ß, AøÓU PsPõo¨£õÍ›h®
EhÚi¯õPz öu›ÂUPÄ®.
(2) }»® AÀ»x P¸¨¦ ø©°øÚ ©mk÷© GÊxÁuØS®,
Ai÷PõikÁuØS® £¯ß£kzu ÷Ásk®. £h[PÒ ÁøµÁuØS
ö£ß]À £¯ß£kzuÄ®.
Instructions : (1) Check the question paper for fairness of printing. If there is any lack of fairness,
inform the Hall Supervisor immediately.
(2) Use Blue or Black ink to write and underline and pencil to draw diagrams.
£Sv & I / PART - I
SÔ¨¦ : (i) AøÚzx ÂÚõUPÐUS® Âøh¯ÎUPÄ®. 15x1=15
(ii) öPõkUP¨£mkÒÍ ©õØÖ ÂøhPÎÀ ªPÄ® Hئøh¯ Âøhø¯z
÷uº¢öukzxU SÔ±mkhß Âøh°øÚ²® ÷\ºzx GÊuÄ®.
Note : (i) Answer all the questions.
(ii) Choose the most appropriate answer from the given four alternatives
and write the option code and the corresponding answer.
Page 2
5972 2
1. ¤ßÁ¸® Gx uÛzußø©¯õÚ öuõh›¯À £Sv BS® ?
(A) Áøµ¯øÓ (B) xøn {µÀPÒ
(C) öuõSvPÒ (D) ö\¯ØTÖ
Which of the following is a distinct Syntactic block ?
(a) Definition (b) Subroutines
(c) Modules (d) Function
2. ¤ßÁ¸® G¢u ö\¯ØTÖ uµÄ ÁøP°À C¸¢x uPÁÀPøÍ «möhkUS® ?
(A) Recursive (B) Constructors (C) Nested (D) Selectors
Which of the following will retrieve information from the data type ?
(a) Recursive (b) Constructors (c) Nested (d) Selectors
3. ©õÔ°ß ö£¯øµ ö£õ¸Ðhß ÷©¨¤[ ö\´ÁuØPõÚ Ch® __________ GÚ
AøÇUP¨£k®.
(A) ¤ønzuÀ (B) Áøµö¯Àø» (C) Namespaces (D) ÷©¨¤[
Containers for mapping names of variables to object is called :
(a) Binding (b) Scope (c) Namespaces (d) Mapping
4. G¢u ö\õÀ ö£ºæ¯ Pou÷©øu A¦ áõL£º •P©x C¤ß&I •\õ AÀ
öPÍÁõ›ìª ö£¯›À C¸¢x Á¢ux ?
(A) Algorithm (B) Flow chart (C) Syntax (D) Flow
The word comes from the name of a Persian mathematician Abu Jafar Mohammed
ibn-i Musa al Khowarizmi is called :
(a) Algorithm (b) Flow chart (c) Syntax (d) Flow
5. G¢u ö\¯ØSÔ J¨¥k ö\¯ØSÔ GßÖ AøÇUP¨£kQÓx ?
(A) u¸UP ö\¯ØSÔ (B) PnURk ö\¯ØSÔ
(C) ©v¨¤¸zuÀ ö\¯ØSÔ (D) öuõhº¦øh¯ ö\¯ØSÔ
Which Operator is also called as Comparative Operator ?
(a) Logical Operator (b) Arithmetic Operator
(c) Assignment Operator (d) Relational Operator
6. elif Gߣx __________ ß _¸UP©õS®.
(A) else if (B) nested if (C) if...elif (D) if...else
‘elif’ can be considered to be short form of __________.
(a) else if (b) nested if (c) if...elif (d) if...else
Page 3
3 5972
7. G¢u ö\¯ØTÖ ö£¯›À»õ ö\¯ØTÖ GßÖ AøÇUP¨£kQÓx ?
(A) uØ_ÇØ] (B) »õ®hõ (C) Áøµ¯øÓ (D) EÒÎøn¢u
Which function is called as anonymous un-named function ?
(a) Recursion (b) Lambda (c) Define (d) Built-in
8. ¤ßÁ¸® SÔ²¸UPõÚ öÁαk GßÚ ?
str1=“Chennai Schools”
str1[7]=“–”
(A) Type Error (B) Chennai–Schools
(C) Chennai (D) Chenna–School
What will be the output of the following code ?
str1=“Chennai Schools”
str1[7]=“–”
(a) Type Error (b) Chennai–Schools
(c) Chennai (d) Chenna–School
9. If List=[17, 23, 41, 10] GÛÀ List.append(32) &ß öÁαk :
(A) [10, 17, 23, 32, 41] (B) [32, 17, 23, 41, 10]
(C) [41, 32, 23, 17, 10] (D) [17, 23, 41, 10, 32]
If List=[17, 23, 41, 10] then, List.append(32) will result :
(a) [10, 17, 23, 32, 41] (b) [32, 17, 23, 41, 10]
(c) [41, 32, 23, 17, 10] (d) [17, 23, 41, 10, 32]
10. ¤ßÁ¸® ÁÈ•øÓPÎÀ Gx AȨ¤¯õP¨ £¯ß£kQÓx ?
(A) ___rem___( ) (B) ___init___( ) (C) ___del___( ) (D) ___dest___( )
Which of the following method is used as destructor ?
(a) ___rem___( ) (b) ___init___( ) (c) ___del___( ) (d) ___dest___( )
11. J¸ tuple Gߣx :
(A) Attribute (B) Table (C) Field (D) Row
A tuple is also known as :
(a) Attribute (b) Table (c) Field (d) Row
Page 4
5972 4
12. J¸ uµÄzuÍzvÀ EÒÍ uµøÁ Á›ø\¯õUP® ö\´¯ £¯ß£k® Clause :
(A) GROUP BY (B) SORT BY (C) SELECT (D) ORDER BY
The clause used to sort data in a database.
(a) GROUP BY (b) SORT BY (c) SELECT (d) ORDER BY
13. CRLF Gߣuß Â›ÁõUP® :
(A) Control Router and Line Feed
(B) Control Return and Line Feed
(C) Carriage Return and Line Feed
(D) Carriage Return and Form Feed
The expansion of CRLF is :
(a) Control Router and Line Feed
(b) Control Return and Line Feed
(c) Carriage Return and Line Feed
(d) Carriage Return and Form Feed
14. ø£zuõß ©ØÖ® C++ {µÀPøÍ Cøh•P¨£kzxÁuØPõÚ Pmhø©¨¦ :
(A) Cython (B) Ctypes (C) Boost (D) SWIG
A Framework for interfacing Python and C++ is :
(a) Cython (b) Ctypes (c) Boost (d) SWIG
15. SQLite G¢u uµÄzuÍ Aø©¨ø£a \õº¢ux ?
(A) £i{ø» uµÄzuÍ®
(B) JØøÓU ÷Põ¨¦ uµÄzuÍ®
(C) ö£õ¸Ò÷|õUS uµÄzuÍ®
(D) EÓÄ{ø» uµÄzuÍ®
SQLite falls under which database system ?
(a) Hierarchical Database System
(b) Flat File Database System
(c) Object Oriented Database System
(d) Relational Database System
Page 5
5 5972
£Sv & II / PART - II
SÔ¨¦ : H÷uÝ® BÖ ÂÚõUPÐUS Âøh¯ÎUPÄ®. ÂÚõ Gs 24 &US
Pmhõ¯©õP Âøh¯ÎUPÄ®. 6x2=12
Note : Answer any six questions. Question number 24 is compulsory.
16. uµÄ A¸Á©õUP ÁøP GßÓõÀ GßÚ ?
What is Abstract Data Type ?
17. ÷©¨¤[ GßÓõÀ GßÚ ?
What is Mapping ?
18. ÷uhÀ GßÓõÀ GßÚ ? Auß ÁøPPøÍ GÊxP.
What is Searching ? Write its types.
19. ø£zuõß {µ¼øÚ ÷\õvUP GzuøÚ ÁøP •øÓø©PÒ EÒÍÚ ?
What are the different modes that can be used to test Python Program ?
20. J¸ Tuple &I n GsoUøP EÖ¨¦PÐhß E¸ÁõUSÁuØPõÚ öuõh›¯ø»
GÊxP.
Write the syntax of creating a tuple with ‘n’ number of elements.
21. Unique ©ØÖ® Primary key Pmk¨£õkPøÍ ÷ÁÖ£kzxP.
Differentiate unique constraint and primary key constraint.
22. CSV ÷Põ¨¦ GßÓõÀ GßÚ ?
What is CSV file ?
23. uµÄ Põm]¨£kzxuÀ – Áøµ¯ÖUPÄ®.
Define Data Visualization.
24. getopt.getopt ÁÈ•øÓ°ß öuõh›¯ø» GÊxP.
Write the syntax of getopt.getopt method.
Page 6
5972 6
£Sv & III / PART - III
SÔ¨¦ : H÷uÝ® BÖ ÂÚõUPÐUS Âøh¯ÎUPÄ®. ÂÚõ Gs 33 &US
Psi¨£õP Âøh¯ÎUPÄ®. 6x3=18
Note : Answer any six questions. Question number 33 is Compulsory.
25. ö|Ô•øÓ°ß £s¤¯À¦PøÍ £mi¯¼kP.
List the characteristics of an Algorithm.
26. break ©ØÖ® continue TØÖPÎß ÷ÁÖ£õk ¯õx ?
List the difference between break and continue statements.
27. EÒÍø© ©õÔPÐUPõÚ Âv•øÓPøÍ GÊxP.
Write the rules of local variable.
28. sys.argv GßÓõÀ GßÚ ?
What is sys.argv ?
29. where xøn{ø»UTØÔß £¯ß GßÚ ? where TØøÓ¨ £¯ß£kzv J¸
ø£zuõß TØøÓ GÊuÄ®.
What is the use of ‘where clause’ ? Give a Python statement using the where
clause.
30. uµÄ Põm]¨£kzu¼ß H÷uÝ® ‰ßÖ £¯ß£õkPøÍ GÊuÄ®.
Write any three uses of data visualization.
31. Pou ö\¯ØSÔPÒ £ØÔ SÔ¨¦ ÁøµP. GkzxUPõmk u¸P.
Write short notes on Arithmetic Operator with example.
32. DISTINCT ]Ó¨¦a ö\õÀø» £¯ß£kzv J¸ SQL TØÔøÚ GÊxP.
Write a SQL statement using DISTINCT keyword.
Page 7
7 5972
33. ¤ßÁ¸® öÁαmøh¨ ö£Ó {µø» GÊxP.
A
A B
A B C
A B C D
A B C D E
Write a program to get the following output :
A
A B
A B C
A B C D
A B C D E
£Sv & IV / PART - IV
SÔ¨¦ : AøÚzx ÂÚõUPÐUS® Âøh¯ÎUPÄ®. 5x5=25
Note : Answer all the questions.
34. (A) (i) ö\¯¾¸¦PÒ GßÓõÀ GßÚ ?
(ii) uµÄÁøP CÀ»õu Aͦ¸UPÒ, uµÄ ÁøP²hß Ti¯ Aͦ¸UPÒ
£ØÔ SÔ¨¦ GÊxP.
AÀ»x
(B) LEGB Âvø¯ GkzxUPõmkhß ÂÍUSP.
(a) (i) What are called Parameters ?
(ii) Write a note on : Parameter without type and Parameter with type.
OR
(b) Explain LEGB rule with example.
35. (A) SªÈ Á›ø\¯õUP ö|Ô•øÓø¯ GkzxUPõmkhß ÂÍUSP.
AÀ»x
(B) ©õnÁº AmhÁøn°À ¤ßÁ¸® SQL TØÖPøÍ Pmhø©UPÄ®.
(i) SELECT TØÖ GROUP BY Clause £¯ß£kzv
(ii) SELECT TØÖ ORDER BY Clause £¯ß£kzv
(a) Explain Bubble Sort Algorithm with example.
OR
(b) Construct the following SQL statements in the student table.
(i) SELECT statement using GROUP BY Clause
(ii) SELECT statement using ORDER BY Clause
Page 8
5972 8
36. (A) input( ) ©ØÖ® output( ) ö\¯ØTÖPøÍ GkzxUPõmkhß ÂÍUSP.
AÀ»x
(B) ¤ßÁ¸® ö\¯ØTÖPÎß £¯ß£õmøh ÂÍUSP.
(i) plt.xlabel
(ii) plt.ylabel
(iii) plt.title
(iv) plt.legend( )
(v) plt.show( )
(a) Explain input( ) and output( ) functions with example.
OR
(b) Explain the purpose of the following functions :
(i) plt.xlabel
(ii) plt.ylabel
(iii) plt.title
(iv) plt.legend( )
(v) plt.show( )
37. (A) for ©hUøP¨ £ØÔ ›ÁõP Âøh¯ÎUPÄ®.
AÀ»x
(B) GUöéÀ ©ØÖ® CSV ÷Põ¨¤øÚ ÷ÁÖ£kzxP.
(a) Write a detail note on for loop.
OR
(b) Differentiate Excel file and CSV file.
38. (A) ø£zuõÛ¾ÒÍ £À÷ÁÖ set ö\¯À£õkPøÍ ö£õ¸zu©õÚ GkzxUPõmkhß
ÂÍUSP.
AÀ»x
(B) ¤ßÁ¸® PmhøÍ JÆöÁõßøÓ²® ÂÍUPÄ®.
Python <filename.py>−<i> <C++ filename without cpp extension>
(a) Explain the different set operations supported by Python with suitable
example.
OR
(b) Explain each word of the following command.
Python <filename.py>−<i> <C++ filename without cpp extension>
-o0o-