filmov
tv
Problem Solving and Python Programming|Anna University|Jan 2022|Questions and Answer |Part II|Tamil

Показать описание
This video explains the following:
1. Anna University Question Paper and Answers for Jan 2022
2. Link is available for all big questions
Part B Big Questions:
11. (a)(i) Draw a flow chart to accept three distinct numbers, find the greatest and print the result. (8)
(ii)Draw a flow chart to find the sum of the series
1 + 2 + 3 + 4 + 5 +....+ 100. (8)
(or)
11.(b) State the Towers of Hanoi problem. Outline a solution to the Towers of Hanoi problem with relevant diagrams. (16)
12.(a) Outline the data types supported by Python with an example. (16)
Or
12(b)Name the types of operators supported by Python and outline any two with an example. (16)
13.(a)Outline the conditional branching statements in Python with an Example. (16)
Or
13 (b)(i)Outline while loop, break statement and continue statement in Python with an example. (12)
13 b (ii) Write a Python program using function to find the sum of first ’n’ Odd numbers and print the result. (4)
14.(a)Name the operations that can be performed on a list and outline any four with an example. (16)
Or
14 (b)(i)Write separate Python programs to illustrate create, access, concatenate and delete operations in a tuple. (10)
14 b (ii)Write a Python program to create a dictionary and sort the content based on values in reverse order. (6)
15.(a)Name the different access modes for opening a file and present an outline of the same. (16)
Or
15 (b) (i) What is an exception? Elaborate exception handling in Python. (8)
15 b (ii) Write a program to concatenate the contents of two files into a single file. Get the input for two files from the user and concatenate it.(8)
1. Anna University Question Paper and Answers for Jan 2022
2. Link is available for all big questions
Part B Big Questions:
11. (a)(i) Draw a flow chart to accept three distinct numbers, find the greatest and print the result. (8)
(ii)Draw a flow chart to find the sum of the series
1 + 2 + 3 + 4 + 5 +....+ 100. (8)
(or)
11.(b) State the Towers of Hanoi problem. Outline a solution to the Towers of Hanoi problem with relevant diagrams. (16)
12.(a) Outline the data types supported by Python with an example. (16)
Or
12(b)Name the types of operators supported by Python and outline any two with an example. (16)
13.(a)Outline the conditional branching statements in Python with an Example. (16)
Or
13 (b)(i)Outline while loop, break statement and continue statement in Python with an example. (12)
13 b (ii) Write a Python program using function to find the sum of first ’n’ Odd numbers and print the result. (4)
14.(a)Name the operations that can be performed on a list and outline any four with an example. (16)
Or
14 (b)(i)Write separate Python programs to illustrate create, access, concatenate and delete operations in a tuple. (10)
14 b (ii)Write a Python program to create a dictionary and sort the content based on values in reverse order. (6)
15.(a)Name the different access modes for opening a file and present an outline of the same. (16)
Or
15 (b) (i) What is an exception? Elaborate exception handling in Python. (8)
15 b (ii) Write a program to concatenate the contents of two files into a single file. Get the input for two files from the user and concatenate it.(8)