Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Easy way to learn python programming

Rating
-
Sold
-
Pages
9
Uploaded on
26-03-2023
Written in
2022/2023

Providing by standard notes questions with answers in our documents

Institution
Course

Content preview

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

Written for

Course

Document information

Uploaded on
March 26, 2023
Number of pages
9
Written in
2022/2023
Type
Class notes
Professor(s)
Mr.prabu
Contains
All classes

Subjects

$51.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
hajanb005

Get to know the seller

Seller avatar
hajanb005 Education course and techniques
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions