Hindusthan College of Engineering and Technology
(An Autonomous Institution, Affiliated to Anna University, Chennai)
Valley Campus, Pollachi Highway, Coimbatore – 641032
OFFICE OF CONTROLLER OF EXAMINATION
QUESTION BANK AY- 2022 – 23 (ODD SEMESTER)
B.E. AGRI, CHEM, FT, AERO, AUTO, CIVIL, MECH, MECT, ECE, BME
YEAR: I SEM: I
COURSE CODE AND NAME: 22IT1151 / PYTHON PROGRAMMING AND PRACTICES
Name of the course handling faculty members: Ms Athira S,Ms Vinu MS ,Mr Karthik S
Ms Priyadharshini P R (AP/IT),Dr. Amudha R ,Mr. Ravikumar M(AP/CSE)
Syllabus
ALGORITHMIC PROBLEM SOLVING
Algorithms, building blocks of algorithms (statements, state, control flow, functions), notation
Unit-I
(pseudo code, flow chart, programming language), algorithmic problem solving, simple
strategies for developing algorithms (iteration, recursion).
PART A (2 Marks)
Marks BTL COs
1. Define Algorithm. 2 U CO1
2. What are the properties of algorithm? 2 U CO1
3. What are the building block of algorithm? 2 R CO1
4. Define sequence, iteration and selection control structures? 2 U CO1
5. Define Flowchart 2 R CO1
6. Write the Characteristics of Pseudo code. 2 U CO1
7. Write some rules for drawing a flowchart. 2 A CO1
8. What are the advantages of using a flowchart 2 A CO1
9. Disadvantages/Limitation of using flowchart 2 R CO1
10. What is Pseudo code? 2 U CO1
11. What are the rules for writing pseudo code? 2 A CO1
12. Write any two advantages of pseudo code. 2 A CO1
13. Differentiate Algorithm and Pseudo code 2 U CO1
14. What is the difference between algorithm and flowchart 2 R CO1
15. What is recursion? Give an example. 2 AP CO1
16. Mention any four High level languages 2 U CO1
17. Compare Iteration and Recursion 2 A CO1
18. Write down the steps for algorithmic problem solving methodology. 2 U CO1
19. What are the steps for developing an algorithm? 2 R CO1
20. Write an algorithm and flow to print squares of a number 2 AP CO1
PART B(14 Marks) Marks BTL COs
1. What is an Algorithm? Explain the building blocks of an algorithm. 14 U CO1
2. What is flowchart? Explain drawing Flow Chart in detail 14 U CO1
1
, 3. Explain two simple strategies for developing algorithms 14 U CO1
4. Explain algorithmic problem solving methodology with neat diagram. 14 R CO1
What is Programming Language? Explain various Programming
5. 14 R CO1
Languages used in computer.
What is Pseudocode? Explain How to write Pseudocode with example
6. 14 A CO1
program.
Write an Algorithm, Pseudocode and Draw an algorithm to print ‘n' 14
7. U CO1
natural numbers
Write an algorithm and pseudo code to find the minimum number in a 14
8. U CO1
list.
Draw a flow chart and write a pseudo code to check whether a given 14
9. AP CO1
number is PRIME or NOT.
Write an algorithm, flow chart and pseudocode for cutoff mark 14
10. AP CO1
calculation.
PART C( 10 Marks) Marks BTL COs
1. Briefly describe iteration and recursion with an example 10 U CO1
Draw a flow chart and write a pseudo code to check whether a given A
2. 10 CO1
number is prime or not
3. Draw a flowchart to calculate average of three numbers. 10 AP CO1
Write an algorithm and draw the flow chart to check whether the given
4. 10 AP CO1
number is +ve ,-ve or zero
5. What is Pseudo code? Give detailed description with an example. 10 U CO1
Syllabus
DATA, STATEMENTS, CONTROL FLOW
Unit- Data Types, Operators and precedence of operators, expressions, statements, comments; Conditionals:
II Boolean values and operators, conditional (if), alternative (if -else), chained conditional (if –elif-else);
Iteration: state, while, for, break, continue, pass;
PART A (2 Marks)
Marks BTL COs
CO2
1 State about logical operators available in python with example. 2 AP
2 What are different Membership Operators in python? 2 U CO2
3 What is the order in which operations are evaluated? 2 A CO2
What do you mean by an operand and an operator? Illustrate your CO2
4 2 R
answer with relevant example.
5 Illustrate the use of * and + operators in string with example. 2 AP
CO2
6 Define statement and what are its types? 2 R CO2
7 What is the symbol for comment? Give an example. 2 U CO2
8 Define Expression. 2 U CO2
9 Give the features of python dictionaries 2 R CO2
10 Difference between break and continue. 2 R CO2
2
(An Autonomous Institution, Affiliated to Anna University, Chennai)
Valley Campus, Pollachi Highway, Coimbatore – 641032
OFFICE OF CONTROLLER OF EXAMINATION
QUESTION BANK AY- 2022 – 23 (ODD SEMESTER)
B.E. AGRI, CHEM, FT, AERO, AUTO, CIVIL, MECH, MECT, ECE, BME
YEAR: I SEM: I
COURSE CODE AND NAME: 22IT1151 / PYTHON PROGRAMMING AND PRACTICES
Name of the course handling faculty members: Ms Athira S,Ms Vinu MS ,Mr Karthik S
Ms Priyadharshini P R (AP/IT),Dr. Amudha R ,Mr. Ravikumar M(AP/CSE)
Syllabus
ALGORITHMIC PROBLEM SOLVING
Algorithms, building blocks of algorithms (statements, state, control flow, functions), notation
Unit-I
(pseudo code, flow chart, programming language), algorithmic problem solving, simple
strategies for developing algorithms (iteration, recursion).
PART A (2 Marks)
Marks BTL COs
1. Define Algorithm. 2 U CO1
2. What are the properties of algorithm? 2 U CO1
3. What are the building block of algorithm? 2 R CO1
4. Define sequence, iteration and selection control structures? 2 U CO1
5. Define Flowchart 2 R CO1
6. Write the Characteristics of Pseudo code. 2 U CO1
7. Write some rules for drawing a flowchart. 2 A CO1
8. What are the advantages of using a flowchart 2 A CO1
9. Disadvantages/Limitation of using flowchart 2 R CO1
10. What is Pseudo code? 2 U CO1
11. What are the rules for writing pseudo code? 2 A CO1
12. Write any two advantages of pseudo code. 2 A CO1
13. Differentiate Algorithm and Pseudo code 2 U CO1
14. What is the difference between algorithm and flowchart 2 R CO1
15. What is recursion? Give an example. 2 AP CO1
16. Mention any four High level languages 2 U CO1
17. Compare Iteration and Recursion 2 A CO1
18. Write down the steps for algorithmic problem solving methodology. 2 U CO1
19. What are the steps for developing an algorithm? 2 R CO1
20. Write an algorithm and flow to print squares of a number 2 AP CO1
PART B(14 Marks) Marks BTL COs
1. What is an Algorithm? Explain the building blocks of an algorithm. 14 U CO1
2. What is flowchart? Explain drawing Flow Chart in detail 14 U CO1
1
, 3. Explain two simple strategies for developing algorithms 14 U CO1
4. Explain algorithmic problem solving methodology with neat diagram. 14 R CO1
What is Programming Language? Explain various Programming
5. 14 R CO1
Languages used in computer.
What is Pseudocode? Explain How to write Pseudocode with example
6. 14 A CO1
program.
Write an Algorithm, Pseudocode and Draw an algorithm to print ‘n' 14
7. U CO1
natural numbers
Write an algorithm and pseudo code to find the minimum number in a 14
8. U CO1
list.
Draw a flow chart and write a pseudo code to check whether a given 14
9. AP CO1
number is PRIME or NOT.
Write an algorithm, flow chart and pseudocode for cutoff mark 14
10. AP CO1
calculation.
PART C( 10 Marks) Marks BTL COs
1. Briefly describe iteration and recursion with an example 10 U CO1
Draw a flow chart and write a pseudo code to check whether a given A
2. 10 CO1
number is prime or not
3. Draw a flowchart to calculate average of three numbers. 10 AP CO1
Write an algorithm and draw the flow chart to check whether the given
4. 10 AP CO1
number is +ve ,-ve or zero
5. What is Pseudo code? Give detailed description with an example. 10 U CO1
Syllabus
DATA, STATEMENTS, CONTROL FLOW
Unit- Data Types, Operators and precedence of operators, expressions, statements, comments; Conditionals:
II Boolean values and operators, conditional (if), alternative (if -else), chained conditional (if –elif-else);
Iteration: state, while, for, break, continue, pass;
PART A (2 Marks)
Marks BTL COs
CO2
1 State about logical operators available in python with example. 2 AP
2 What are different Membership Operators in python? 2 U CO2
3 What is the order in which operations are evaluated? 2 A CO2
What do you mean by an operand and an operator? Illustrate your CO2
4 2 R
answer with relevant example.
5 Illustrate the use of * and + operators in string with example. 2 AP
CO2
6 Define statement and what are its types? 2 R CO2
7 What is the symbol for comment? Give an example. 2 U CO2
8 Define Expression. 2 U CO2
9 Give the features of python dictionaries 2 R CO2
10 Difference between break and continue. 2 R CO2
2