April / May 2025
PROBLEM SOLVING AND PYTHON PROGRAMMING
Anna University
1 question papers available. Select an examination session to view its question paper.
PROBLEM SOLVING AND PYTHON PROGRAMMING
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
Distinguish between low-level language and high-level language. 02 C O l L2
0 eligible source papersWhat are the properties of an algorithm? 02 C O l L l
0 eligible source papersDifferentiate Break and Continue statement 02 C 0 2 L S
0 eligible source papersList the membership operators 02 C 0 2 L l
0 eligible source papersDefine recursive function 02 C O S L2
0 eligible source papersWrite a program that multiplies two numbers using the lambda 02 C O S L4
0 eligible source papersCreate a tuple variable storying only one value 02 C 0 4 LS
0 eligible source papersMention the different w a y s you can create a list 02 C 0 4 L2
0 eligible source papersExplain Logical Error 02 0 0 5 LS What is the mode to open a binary file for performing both reading 10 02 0 0 5 L S and writing operation?
0 eligible source papers(a) (i) Write an algorithm to print the factorial of an given number 08 C O l L2
0 eligible source papers(a) (ii) Write a short note on Arithmetic Operators 05 C O l L l
0 eligible source papers(b) (i) Draw a flowchart to print factorial of a given number 08 C O l L2 Briefly explain the architecture of a modern computer with a neat
0 eligible source papers(b) (ii) 05 C O l L l diagram (P.T Write a program to find whether the given number is an 1 2 ( a ) (i) 13 C 0 2 L 3 Armstrong number [OR] Write a program to find whether the given number is a palindrome 1 2 ( b ) (i) 13 C 0 2 L 3 numbers Write a program to print the sum of the series - 1 / 1 ^ + 1/2^ + ... + 1 3 ( a ) (i) 13 C 0 3 L 3 1/n2 [OR] 1 3 ( b ) (ii) Write a program to find the transpose of matrix using function. 13 C 0 3 L 3 1 4 ( a ) (i) With suitable example programs explain any six list methods 13 C 0 4 L2 [OR] With suitable example programs explain filter(), map() and 1 4 ( b ) (i) 13 C 0 4 L2 reduceQ functions Write a program that prompts the user to enter a number. If the 1 5 ( a ) (i) 10 C 0 5 L4 number is positive or zero print it, otherwise raise an exception 1 5 ( a ) (ii) What are modules? How do you use them in your programs? 03 C 0 5 L2 [OR] 1 5 ( b ) (i) Write a program to copy the contents of one file to another 10 C O S L4 1 5 ( b ) (ii) Write a short note on finally block 03 C O S L2
0 eligible source papers(i) 15 C 0 4 L6 number. Print an appropriate m e s s a g e if the number is not present in the list.
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.