M.A.M.
SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
Department of Biomedical Engineering SET A
Academic Year 2023-2024 (Odd Semester)
CIA - II
GE3151- Problem Solving and Python
Sub.Code/Sub.Name : Date : .12.2023
Programming
Year/Sem. : I/I Max. Marks : 100
Answer All the Questions M.A CO BTL
Part A (10x2=20 Marks)
1. Define Recursion with an example. 2 CO3 BT1
2. Explain flow of execution of while loop with Example. 2 CO3 BT5
3. Explain relational operators. 2 CO3 BT2
4. Write a Python program to accept two numbers, find the greatest and print the 2 CO3 BT3
result.
5. Explain global and local scope. 2 CO3 BT5
6. Define aliasing in list. Give an example. 2 CO4 BT1
7. Define List mutability in Python. Give an example. 2 CO4 BT1
8. State the difference between lists and dictionary. 2 CO4 BT1
9. Define key-value pairs. 2 CO4 BT1
10. How will you slice a list in Python. 2 CO4 BT1
Part B (5x16=80 Marks) M.A CO BTL
What is difference between break and continue in python? Explain with CO3
11 i. 8 BT1
suitable examples.
What is string function in python? Explain any four python string methods CO3
ii 8 BT1
with an example.
12 Outline the conditional branching statements in python with an example. 16 CO3 BT2
13 Explain in detail about lists, list operations and list slices. 16 CO4 BT5
14 i Explain in detail about list comprehension .Give an example. 8 CO4 BT5
ii Write a Python program for a) selection sort b) insertion sort. 8 CO4 BT3
Write separate python programs to illustrate create, access, concatenate CO4
15 i 10 BT6
and delete operations in a tuple.
Write a python program to create a dictionary and sort the content based CO4
ii 6 BT6
on values in reverse order.
M.A – Mark Allotted CO-Course Outcome BTL-Bloom Taxonomy Level
BT2-
BT1-Remember BT3-Apply BT4-Analyze BT5-Evaluate BT6-Create
Understand
CO1 : Develop algorithmic solutions to simple computational problems.
CO2 : Write simple Python programs using conditionals and loops for solving problems.
CO3 : Decompose a Python program into functions.
CO4 : Represent compound data using Python lists, tuples, dictionaries etc.
CO5 : Read and write data from/to files in Python programs.
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
Part- A Part-B Part-C Total Total
CO Marks Marks Marks Marks Marks Marks Marks Marks
Allotted Scored Allotted Scored Allotted Scored Allotted Scored
CO3 10 32 42
CO4 10 48 58
Skills Part A Part B Part C Total %
HOTS(BT4,BT5,BT6) 2,5 13, 14i. 15i,ii - 33%
LOTS(BT1, BT2,BT3) 1,2,3,4,6,7,8,9,10 11i,ii, 12, 14ii - 67%
HOTS ( Higher Order Thinking Skills) , LOTS (Lower Order Thinking Skills)
Signature of the Faculty HOD
IQAC nominee PRINCIPAL
Department of Biomedical Engineering SET B
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
CIA II
Answer All the Questions M.A CO BTL
Part A (10x2=20 Marks)
1 Define Boolean Expression with example. 2 CO3 BT1
2. Define Fruitful Function. 2 CO3 BT1
3. Compare return value and composition. 2 CO3 BT5
4. Explain about string module. 2 CO3 BT5
5. Give the purpose of pass statement? 2 CO3 BT2
6. Explain List parameters with an example. 2 CO4 BT5
Let list=[‘a’,’b’,’c’,’d’,’e’,’f’] find the following
a)list [1:3]
7. 2 CO4 BT3
b) list [:4]
c) list [3:]
8. Relate string and list. 2 CO4 BT3
9. Write the syntax for list comprehension. 2 CO4 BT3
10. How python’s dictionaries store data? Give example. 2 CO4 BT1
GE3151- Problem Solving and Python
Sub.Code/Sub.Name : Date : .12.2023
Programming
Year/Sem. : I/I Max. Marks : 100
Part B (5x13=65 Marks) M.A CO BTL
Outline while loop, break statement and continue statement in python with
11 i 12 CO3 BT2
an example.
Write a python program using function to find the sum of first ‘n’ odd CO3
ii 4 BT6
numbers and print the result.
12 i Write a python program for linear search and binary search. 10 CO3 BT6
Write a Python program to sum an array of numbers and find the CO3
ii 6 BT6
exponentiation of a number.
13 Explain in detail various types of operators. 16 CO3 BT2
Define python list. How to add elements to the list? Explain with a CO4
14 16 BT1
suitable example program.
Demonstrate with code the various operations that can be performed on CO4
15 i 8 BT3
tuples.
ii Explain bubble sort algorithm using python programming. 8 CO4 BT5
M.A – Mark Allotted CO-Course Outcome BTL-Bloom Taxonomy Level
BT1-Remember BT2-Understand BT3-Apply BT4-Analyze BT5-Evaluate BT6-Create
CO1 : Develop algorithmic solutions to simple computational problems.
CO2 : Write simple Python programs using conditionals and loops for solving problems.
CO3 : Decompose a Python program into functions.
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
CO4 : Represent compound data using Python lists, tuples, dictionaries etc.
CO5 : Read and write data from/to files in Python programs.
Part- A Part-B Part-C Total Total
CO Marks Marks Marks Marks Marks Marks Marks Marks
Allotted Scored Allotted Scored Allotted Scored Allotted Scored
CO3 10 48 58
CO4 10 32 42
Skills Part A Part B Part C Total %
HOTS(BT4,BT5,BT6) 3,4,6 11ii, 12i,ii, 15ii - 39%
LOTS(BT1, BT2,BT3) 1,2,5,7,8,9,10 11i, 3, 14, 15i - 61%
HOTS ( Higher Order Thinking Skills) , LOTS (Lower Order Thinking Skills)
Signature of the Faculty HOD
IQAC nominee PRINCIPAL
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
Department of Aeronautical Engineering and AI&DS SET A
Academic Year 2023-2024 (Odd Semester)
CIA - II
GE3151- Problem Solving and Python
Sub.Code/Sub.Name : Date : .12.2023
Programming
Year/Sem. : I/I Max. Marks : 100
Answer All the Questions M.A CO BTL
Part A (10x2=20 Marks)
1. Write a Python program to accept two numbers, find the greatest and print the 2 CO3 BT3
result.
2. Explain relational operators. 2 CO3 BT2
3. Explain flow of execution of while loop with Example. 2 CO3 BT5
4. Define Recursion with an example. 2 CO3 BT1
5. Explain global and local scope. 2 CO3 BT5
6. How will you slice a list in Python. 2 CO4 BT1
7. Define List mutability in Python. Give an example. 2 CO4 BT1
8. Define aliasing in list. Give an example. 2 CO4 BT1
9. Define key-value pairs. 2 CO4 BT1
10. State the difference between lists and dictionary. 2 CO4 BT1
Part B (5x16=80 Marks) M.A CO BTL
11 Outline the conditional branching statements in python with an example. 16 CO3 BT2
What is difference between break and continue in python? Explain with CO3
12 i. 8 BT1
suitable examples.
What is string function in python? Explain any four python string methods CO3
ii 8 BT1
with an example.
13 i Write a Python program for a) selection sort b) insertion sort. 8 CO4 BT3
ii Explain in detail about list comprehension .Give an example. 8 CO4 BT5
14 Explain in detail about lists, list operations and list slices. 16 CO4 BT5
Write separate python programs to illustrate create, access, concatenate CO4
15 i 10 BT6
and delete operations in a tuple.
Write a python program to create a dictionary and sort the content based CO4
ii 6 BT6
on values in reverse order.
M.A – Mark Allotted CO-Course Outcome BTL-Bloom Taxonomy Level
BT2-
BT1-Remember BT3-Apply BT4-Analyze BT5-Evaluate BT6-Create
Understand
CO1 : Develop algorithmic solutions to simple computational problems.
CO2 : Write simple Python programs using conditionals and loops for solving problems.
CO3 : Decompose a Python program into functions.
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
CO4 : Represent compound data using Python lists, tuples, dictionaries etc.
CO5 : Read and write data from/to files in Python programs.
Part- A Part-B Part-C Total Total
CO Marks Marks Marks Marks Marks Marks Marks Marks
Allotted Scored Allotted Scored Allotted Scored Allotted Scored
CO3 10 32 42
CO4 10 48 58
Skills Part A Part B Part C Total %
HOTS(BT4,BT5,BT6) 3,5 13ii, 14, 15i,ii - 33%
LOTS(BT1, BT2,BT3) 1,2,4,6,7,8,9,10 11, 12i,ii, 13i - 67%
HOTS ( Higher Order Thinking Skills) , LOTS (Lower Order Thinking Skills)
Signature of the Faculty HOD
IQAC nominee PRINCIPAL
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
Department of Aeronautical Engineering and AI&DS SET B
CIA II
Answer All the Questions M.A CO BTL
Part A (10x2=20 Marks)
1 Compare return value and composition. 2 CO3 BT5
2. Define Boolean Expression with example. 2 CO3 BT1
3. Define Fruitful Function. 2 CO3 BT1
4. Give the purpose of pass statement? 2 CO3 BT2
5. Explain about string module. 2 CO3 BT5
Let list=[‘a’,’b’,’c’,’d’,’e’,’f’] find the following
a)list [1:3]
6. 2 CO4 BT3
b) list [:4]
c) list [3:]
7. Explain List parameters with an example. 2 CO4 BT5
8. How python’s dictionaries store data? Give example. 2 CO4 BT1
9. Relate string and list. 2 CO4 BT3
10. Write the syntax for list comprehension. 2 CO4 BT3
GE3151- Problem Solving and Python
Sub.Code/Sub.Name : Date : .12.2023
Programming
Year/Sem. : I/I Max. Marks : 100
Part B (5x13=65 Marks) M.A CO BTL
11 i Write a python program for linear search and binary search. 10 CO3 BT6
Write a Python program to sum an array of numbers and find the
ii 6 CO3 BT6
exponentiation of a number.
12 Explain in detail various types of operators. 16 CO3 BT2
Outline while loop, break statement and continue statement in python with
13. i 12 CO3 BT2
an example.
Write a python program using function to find the sum of first ‘n’ odd
ii 4 CO3 BT6
numbers and print the result.
Demonstrate with code the various operations that can be performed on
14. i 8 CO4 BT3
tuples.
ii Explain bubble sort algorithm using python programming. 8 CO4 BT5
Define python list. How to add elements to the list? Explain with a
15 16 CO4 BT1
suitable example program.
M.A – Mark Allotted CO-Course Outcome BTL-Bloom Taxonomy Level
BT1-Remember BT2-Understand BT3-Apply BT4-Analyze BT5-Evaluate BT6-Create
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
CO1 : Develop algorithmic solutions to simple computational problems.
CO2 : Write simple Python programs using conditionals and loops for solving problems.
CO3 : Decompose a Python program into functions.
CO4 : Represent compound data using Python lists, tuples, dictionaries etc.
CO5 : Read and write data from/to files in Python programs.
Part- A Part-B Part-C Total Total
CO Marks Marks Marks Marks Marks Marks Marks Marks
Allotted Scored Allotted Scored Allotted Scored Allotted Scored
CO3 10 48 58
CO4 10 32 42
Skills Part A Part B Part C Total %
HOTS(BT4,BT5,BT6) 1,5,7 11i,ii, 13ii, 14ii - 39%
LOTS(BT1, BT2,BT3) 2,3,4,6,8,9,10 12, 13i, 14i, 15 - 61%
HOTS ( Higher Order Thinking Skills) , LOTS (Lower Order Thinking Skills)
Signature of the Faculty HOD
IQAC nominee PRINCIPAL
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
Department of Mechanical and Mechatronics Engineering SET B
Academic Year 2023-2024 (Odd Semester)
CIA - II
GE3151- Problem Solving and Python
Sub.Code/Sub.Name : Date : .12.2023
Programming
Year/Sem. : I/I Max. Marks : 100
Answer All the Questions M.A CO BTL
Part A (10x2=20 Marks)
1. Explain relational operators. 2 CO3 BT2
2. Write a Python program to accept two numbers, find the greatest and print the 2 CO3 BT3
result.
3. Explain flow of execution of while loop with Example. 2 CO3 BT5
4. Define Recursion with an example. 2 CO3 BT1
5. Explain global and local scope. 2 CO3 BT5
6. How will you slice a list in Python? 2 CO4 BT1
7. Define List mutability in Python. Give an example. 2 CO4 BT1
8. State the difference between lists and dictionary. 2 CO4 BT1
9. Define key-value pairs. 2 CO4 BT1
10. Define aliasing in list. Give an example. 2 CO4 BT1
Part B (5x16=80 Marks) M.A CO BTL
What is difference between break and continue in python? Explain with CO3
11 i. 8 BT1
suitable examples.
What is string function in python? Explain any four python string methods CO3
ii 8 BT1
with an example.
12 Outline the conditional branching statements in python with an example. 16 CO3 BT2
13 i Write a Python program for a) selection sort b) insertion sort. 8 CO4 BT3
ii Explain in detail about list comprehension .Give an example. 8 CO4 BT5
Write a python program to create a dictionary and sort the content based CO4
14 i 6 BT6
on values in reverse order.
Write separate python programs to illustrate create, access, concatenate CO4
ii 10 BT6
and delete operations in a tuple.
15 Explain in detail about lists, list operations and list slices. 16 CO4 BT5
M.A – Mark Allotted CO-Course Outcome BTL-Bloom Taxonomy Level
BT2-
BT1-Remember BT3-Apply BT4-Analyze BT5-Evaluate BT6-Create
Understand
CO1 : Develop algorithmic solutions to simple computational problems.
CO2 : Write simple Python programs using conditionals and loops for solving problems.
CO3 : Decompose a Python program into functions.
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
CO4 : Represent compound data using Python lists, tuples, dictionaries etc.
CO5 : Read and write data from/to files in Python programs.
Part- A Part-B Part-C Total Total
CO Marks Marks Marks Marks Marks Marks Marks Marks
Allotted Scored Allotted Scored Allotted Scored Allotted Scored
CO3 10 32 42
CO4 10 48 58
Skills Part A Part B Part C Total %
HOTS(BT4,BT5,BT6) 3,5 13ii, 14, 15i,ii - 33%
LOTS(BT1, BT2,BT3) 1,2,4,6,7,8,9,10 11, 12i,ii, 13i - 67%
HOTS ( Higher Order Thinking Skills) , LOTS (Lower Order Thinking Skills)
Signature of the Faculty HOD
IQAC nominee PRINCIPAL
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
Department of Mechanical and Mechatronics Engineering SET A
CIA II
Answer All the Questions M.A CO BTL
Part A (10x2=20 Marks)
1 Explain about string module. 2 CO3 BT5
2. Compare return value and composition. 2 CO3 BT5
3. Define Boolean Expression with example. 2 CO3 BT1
4. Define Fruitful Function. 2 CO3 BT1
5. Give the purpose of pass statement? 2 CO3 BT2
6. Relate string and list. 2 CO4 BT3
Let list=[‘a’,’b’,’c’,’d’,’e’,’f’] find the following
a)list [1:3]
7. 2 CO4 BT3
b) list [:4]
c) list [3:]
8. Explain List parameters with an example. 2 CO4 BT5
9. How python’s dictionaries store data? Give example. 2 CO4 BT1
10. Write the syntax for list comprehension. 2 CO4 BT3
GE3151- Problem Solving and Python
Sub.Code/Sub.Name : Date : .12.2023
Programming
Year/Sem. : I/I Max. Marks : 100
Part B (5x13=65 Marks) M.A CO BTL
11 i Write a python program for linear search and binary search. 10 CO3 BT6
Write a Python program to sum an array of numbers and find the
ii 6 CO3 BT6
exponentiation of a number.
12 Explain in detail various types of operators. 16 CO3 BT2
Outline while loop, break statement and continue statement in python with
13. i 12 CO3 BT2
an example.
Write a python program using function to find the sum of first ‘n’ odd
ii 4 CO3 BT6
numbers and print the result.
Define python list. How to add elements to the list? Explain with a
14. 16 CO4 BT1
suitable example program.
15 i Explain bubble sort algorithm using python programming. 8 CO4 BT5
Demonstrate with code the various operations that can be performed on
ii 8 CO4 BT3
tuples.
M.A – Mark Allotted CO-Course Outcome BTL-Bloom Taxonomy Level
BT1-Remember BT2-Understand BT3-Apply BT4-Analyze BT5-Evaluate BT6-Create
M.A.M. SCHOOL OF ENGINEERING
Accredited by NAAC
Approved by AICTE, New Delhi; Affiliated to Anna University, Chennai
Siruganur, Trichy -621 105. www.mamse.in
CO1 : Develop algorithmic solutions to simple computational problems.
CO2 : Write simple Python programs using conditionals and loops for solving problems.
CO3 : Decompose a Python program into functions.
CO4 : Represent compound data using Python lists, tuples, dictionaries etc.
CO5 : Read and write data from/to files in Python programs.
Part- A Part-B Part-C Total Total
CO Marks Marks Marks Marks Marks Marks Marks Marks
Allotted Scored Allotted Scored Allotted Scored Allotted Scored
CO3 10 48 58
CO4 10 32 42
Skills Part A Part B Part C Total %
HOTS(BT4,BT5,BT6) 1,5,7 11i,ii, 13ii, 14ii - 39%
LOTS(BT1, BT2,BT3) 2,3,4,6,8,9,10 12, 13i, 14i, 15 - 61%
HOTS ( Higher Order Thinking Skills) , LOTS (Lower Order Thinking Skills)
Signature of the Faculty HOD
IQAC nominee PRINCIPAL