SUBJECT QUESTION PAPER COLLECTION

GE5153 – Problem Solving and Python Programming

Anna University

Common to all Subjects Common to all Subjects Regulation 2019 Semester 1
2 Question Papers
2024 Earliest Year
2024 Latest Year

📚 Previous Year Question Papers

2 question papers available. Select an examination session to view its question paper.

PDF

April / May 2024

Problem Solving and Python Programming

PDF

April / May 2024

Problem Solving and Python Programming

Historical Examination Intelligence

Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.

2Source papers
2Papers with questions
29Question occurrences
29Distinct question candidates
0Exact repeat candidates
100.0%Extraction coverage

Papers by examination year

20242

Question type candidates

Other Or Unclassified24
Definition4
Comparison1

Detected examination patterns

A+B+C2

Search historical questions

(பைத்தானில்‌ பின்வரும்‌ அச்சு அறிக்கையின்‌ வெளியீடு 2 1 என்ன? (141) L3 a= 1046 4 37/5 +3: 2 print(a) 3 | “for & while” இடையே உள்ள வேறுபாட்டை எழுதுங்கள்‌ அர... 2), Le €்‌ 4 பெரிய 3 எண்‌ வழங்க லாம்ப்டா செயல்பாட்டை எழுதவும்‌ 2 தி்‌. 5 வெளியீடு என்ன? 2 4 |=[10, 6, 7, 12, 8] L4 2௦00 print(l) 6 வெளியீடு என்ன? 2 2 (௧௮ a,b=(10//3,10%3) print(a+1,b+2) 7 வெளியீடு என்ன? 2 4 L3 $1={ i fori in range (5,20,2)} , S2 = {j for j in range (10,25)} print(S14S2) 8 | வெளியீடு என்ன? 2 இழி. க1115:2 2:5, 20௪ 5:5} d[3]=6 0[5]-2 print(d) கோப்பில்‌ எழுதும்‌ முறைகள்‌ என்ன L1 10 ஒரு எடுத்துக்காட்டுடன்‌ பிழை மற்றும்‌ விஇவிலக்கை(லம॥௦) வேறுபடுத்துக L6

0 eligible source papers

(a) (i) ஒரு பொது நோக்கக்‌ கணினிக்குத்‌ தேவையான முக்கிய கூறுகளை நேர்த்தியான ஓவியத்துடன்‌ விவரிக்கவும்‌ L1 (ii) கொடுக்கப்பட்ட எண்ணிக்கையிலான தன்னிச்சையான நீளத்தை ஒற்றை இலக்கமாகக்‌ குறைக்க, அதன்‌ இலக்கங்களை மீண்டும்‌ மீண்டும்‌ கூட்டுவதன்‌ மூலம்‌ ஓட்ட விளக்கப்படத்தை வரையவும்‌.£.ர: for an input 148, display 4 (1+4+8=13=1+3=4) L3

0 eligible source papers

(b) (i) பைத்தானில்‌ உள்ள பல்வேறு வகையான ஆபரேட்டர்களைப்‌ பட்டியலிட்டு, ஒவ்வொன்றையும்‌ அதன்‌ உதாரணத்துடன்‌ விளக்கவும்‌. L1 (ii) கொடுக்கப்பட்ட எண்ணிக்கையிலான தன்னிச்சையான நீளத்தை ஒற்றை இலக்கமாகக்‌ குறைக்க, அதன்‌ இலக்கங்களை மீண்டும்‌ மீண்டும்‌ கூட்டும்‌, ஒரு அல்காரிதம்‌ எழுதவும்‌..9: for an input 148, display 4 (14+4+8=13=1+3=4) L3

0 eligible source papers

(a) (i) ஒரு செயல்பாட்டை எவ்வாறு வரையறுப்பது. மதிப்புகளை வழங்கக்கூடிய அல்லது வழங்காத அளவுருவுடன்‌ / இல்லாமல்‌ செயல்பாடுகள்‌ எவ்வாறு பொருத்தமான உதாரணத்துடன்‌ விளக்கவும்‌ செல்கின்றன என்பதை ஒவ்வொரு சந்தர்ப்பத்திற்கும்‌ L3 xy சமதளப்பரப்பு ல்‌ x LOM MILD y ஆக ஒரு புள்ளியைப்‌ பெற்று, அதன்‌ நாற்கரத்தைக்‌ காட்டவும்‌ L6

0 eligible source papers

(b) (i) ஒரு எண்ணின்‌ காரணியை இரும்பப்‌ பெற ஒரு செயல்பாட்டை எழுதவும்‌. இந்தச்‌ செயல்பாட்டைப்‌ பயன்படுத்து பின்வரும்‌ தொடரின்‌ மதஇுப்பைக்‌ கண்டறியவும்‌ nCr = (n-r)! + (n! x rl) L3 (ii) கொடுக்கப்பட்ட வரம்பு வரை எண்களின்‌ தொடரை பின்வரும்‌ வடிவத்தில்‌ அச்சிட பைதான்‌ நிரலை எழுதவும்‌ எ.கா. வரம்பு 5 ஆக இருந்தால்‌ ஆ ௮ செ ன பெ வ்‌ ன 3 NNNNNNN WWWW Ww AAA ௪ L6

0 eligible source papers

(a) (i) ‘MAP, ‘REDUCE’ & ‘FILTER’ கட்டுமானங்களை எடுத்துக்காட்டுடன்‌ விளக்கவும்‌ LS (ii) (32,33.4,34.5,37,36.8) என செல்சியஸில்‌ ஒரு டூப்பிள்‌ வெப்பநிலையைக்‌ கவனியுங்கள்‌. இந்த டூபிளில்‌ இருந்து "map" செயல்பாட்டைப்‌ பயன்படுத்தி ஃபாரன்ஹீட்டில்‌ வெப்பறிலைகளின்‌ பட்டியலை உருவாக்கவும்‌. LZ

0 eligible source papers

(b) (i) யூனியன்‌, குறுக்குவெட்டு மற்றும்‌ வேறுபாடு செயல்பாடுகளை எடுத்துக்காட்டுடன்‌ விளக்கவும்‌. L3 (ii) அடுத்த Fibonacci எண்ணை வழங்க ஒரு செயல்பாட்டை எழுதவும்‌. இதைப்‌ பயன்படுத்தி, கொடுக்கப்பட்ட வரம்பு வரை &பைபோனச் எண்ணின்‌ பட்டியலை உருவாக்கவும்‌. எ.கா. வரம்பு 20 ஆக இருந்தால்‌, [0,1,1,2,3,5,8,13] L2

0 eligible source papers

(a) (i) கொடுக்கப்பட்ட பொருள்‌ குறியீடு செல்லுபடியாகுமா இல்லையா என்பதைச்‌ சரிபார்க்க ஒரு பைதான்‌ நிரலை எழுதவும்‌. (முதல்‌ இரண்டு எழுத்துகள்‌ எழுத்துக்களாக இருக்க வேண்டும்‌, அடுத்த 4 முழு எண்களாக இருக்க வேண்டும்‌, மொத்தமாக 6 நீளம்‌ இருக்க வேண்டும்‌. ௭.கா. 'GES153' செல்லுபடியாகும்‌ GEX929 தவறானது) ட1 (ii) ஏதேனும்‌ நான்கு சரம்‌ செயல்பாடுகளை எடுத்துக்காட்டுகளுடன்‌ எழுதவும்‌ L3

0 eligible source papers

(b) (i) அகராதிகளை உருவாக்குவதற்கான பல்வேறு வழிகள்‌ என்ன? L1 (ii) 4 பாடங்களில்‌ மதஇுப்பெண்களின்‌ இரண்டு அகராதிகளைக்‌ கவனியுங்கள்‌ F1 = {'MA':90,'PY':88,'CY':92','EN',85}, F2={'MA':91,'PY':78,'CY':62','EN',95} ஒவ்வொரு பாடத்திற்கும்‌ மொத்தமாக ஒரு அகராதியை உருவாக்கவும்‌ (14& : =181,'PY':166,..} [3

0 eligible source papers

(a) (i) கோப்பு செயல்பாடுகளை விளக்கவும்‌, கோப்புகளைத்‌ திறக்கவும்‌, மூடவும்‌, படிக்கவும்‌ மற்றும்‌ எழுதவும்‌ பல்வேறு முறைகளுடன்‌ உதாரணத்துடன்‌ எழுதவும்‌. டச்‌ (ii) 'bank.txt' என்ற உரைக்‌ கோப்பைக்‌ கவனியுங்கள்‌, அதில்‌ ஓவ்வொரு வரியிலும்‌ கணக்கு எண்‌ மற்றும்‌ தொகை இருக்கும்‌. கணக்கு எண்‌, தொகை மற்றும்‌ பரிவர்த்தனையின்‌ வகையை டெபா௫ிட்‌ அல்லது இரும்பப்‌ பெறுவதற்கு பைதான்‌ நிரலை எழுதவும்‌, அதற்கேற்ப தொகையைக்‌ கூட்டவும்‌ அல்லது கழிக்கவும்‌ மற்றும்‌ இருப்பைக்‌ காட்டவும்‌. L6

0 eligible source papers

(b) (i) வெவ்வேறு பைதான்‌ விதிவிலக்கு கையாளுதல்‌ கட்டுமானங்களை பொருத்தமான எடுத்துக்காட்டுகளுடன்‌ விளக்கவும்‌ LS (ii) "பூஜ்ஜியத்தால்‌ வகுக்க" மற்றும்‌ 'மஇப்பு பிழை' விதிவிலக்கைக்‌ கையாள பைதான்‌ நிரலை எழுதவும்‌. L6

0 eligible source papers

(142௫ 10 LS L3 REKKKKRRERERKE

0 eligible source papers

Write any two rules for naming the identifiers in python P4 1 L1

0 eligible source papers

What is the output of the following print statements in python? 2 a=15+6* ர ee (1+1) L3 print(a) +,"

0 eligible source papers

Write any two ப்ள. between for and while loop 2(1+1) 2 L4

0 eligible source papers

Write a function 1௦ 170 the: greatest of two numbers 2 3 L3 Using this function, find the greatest of 3 numbers 5 [=[10,6,7,12,8) © 2 pen & 2 4 l.pop() Tee L4 print(|) | இ 6 What is the output? 2 4 Le a,b=(10//3,10%3) print(at+1,b+2)

0 eligible source papers

What is the output? 2 4 L3 S1={ i for i in range (5,20,2)) , S2 = {j forj in range (10,25)} print(S14S2)

0 eligible source papers

What is the output? 2 3 L5 d={1:1,1.5:2, 2:3, 2.0:4, 5:5} d[3]=6 0[5]-2 print(d)

0 eligible source papers

What are the writing modes in file 2 5 L1

0 eligible source papers

Differentiate error and exception with an example 2 5 L6

0 eligible source papers

(a) (i) | Describe the organization of a General Purpose Computer with 7 1 L1 neat sketch (ii) | Draw flow chart to find the roots of quadratic equation. 6 1 L3

0 eligible source papers

(b) (i) | List the various types of operators in python and explain each 7 1 L1 with example (ii) | Write an algorithm to reduce a given number of arbitrary length to 6 1 LS a single digit, by repeatedly summing its digits. E.g: for an input 148, display 4 (1+4+8=13, 1+3=4)

0 eligible source papers

(a) (i) | With suitable programs, demonstrate how the functions are being 8 2 L3 called by passing or not passing parameter(s) which may or may not return values. (ii) | Get a point as x & y in xy plane & display its standard quadrant 5 2 L6

0 eligible source papers

(b) (i) | Write a function to return a factorial of a number. Using this 8 2 L3 function write a program to find the value of the following for the given n andr: nCr = (n-r)! + (n! x rl) (ii) | Write a Python program to print the following pattern up to a given 5 2 L6 limit . Example if the size is 5 1 1 2 ட 1 23 4 ர்‌ ட்‌ ௭ 1. 3°48 1/2. .3 122 1

0 eligible source papers

(a) (i) | Describe map, reduce and filter with example. 7 ட L3 (ii) | Consider a tuple of temperatures in Celsius as (32, 33.4, 34.5, 6 3 L2 37, 36.8). Create a list of temperatures in Fahrenheit using “map” function from this tuple.

0 eligible source papers

(b) (i) | Illustrate union, intersection and difference operations on set with 7 3] L3 example (ii) | Write a function to return next Fibonacci number. Using this 6 ©) L2 function, create a list of Fibonacci numbers up to a given limit. E.g: If the limit is 20 then the list is [0,1,1,2,3,5,8, 13]

0 eligible source papers

(a) (i) | Write a python program to check whether a given subject code is 7 4 L1 valid or not.(first two characters must be alphabet, next 4 must be integers, overall 6 in length. E.g ‘GE5153’ is valid GEX929 is invalid) (ii) | Write any four string functions with examples 6 4 L3

0 eligible source papers

(b) (i) | Write different ways in which, dictionaries are created? Describe 7 4 L1 methods that can be performed on‘dictionaries Consider two dictionaries of marks:in 4 subjects 6 4 3 (il) | 15 (a) (i) Explain the file operations, open, close, reading & writing the files with various modes with example L2 (ii) Consider a text file ‘bank.txt’, where in each line contains, account number, and amount. Write a python program to get account number, amount and type of transaction as deposit or withdrawal and accordingly add or subtract the amount, and show the balance. L6

0 eligible source papers

(b) (i) Explain different Python exception handling constructs with suitable examples [2 (ii) Write a python program to handle “divide by zero” & ‘value error’ exception. L6

0 eligible source papers

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.