Python Programming Unit 2 Notes AKTU (BCC302)
AKTU · BTECH · Semester 3, 4 · Python Programming · Unit 2 · Notes
AKTU Python Programming (BCC302) Unit 2 notes for B.Tech Semester 3/4 – Program Flow Control. Topics: Conditional Statements, For Loops, While Loops, Loop…
A preview is available. Sign in or check access options in the reader for the complete resource.
Unit 2: Program Flow Control – AKTU syllabus topics
- Conditional Statements: if, else, elif
- For Loops: For Loop using Range, Iterating Strings, Lists, Dictionaries
- While Loops
- Loop Manipulation: pass, continue, break, else
Most asked AKTU PYQ questions from Unit 2
- Q2a. What are break, continue, and pass statements? Give code examples. (7 marks, 2024-25)
- Q2c. Explain the continue, break, and pass statements with a suitable example. (5 marks, 2022-23)
- Q2c. Explain the use of break and continue with a suitable example. (4 marks, 2021-22)
- Q1d. Discuss the purpose of the break and continue statement in loops. (2 marks, 2022-23)
- Q2d. Explain all the Conditional statement in Python using small code example. (10 marks, 2019-20)
- Q2b. What are conditional statements in Python? Explain if, else, and elif with examples. (7 marks, 2025-26)
- Qb. Explain the why loops are needed and the types of loops in python. Discuss break and continue with example. (7 marks, 2024-25)
- Q5b. What is short circuit evaluation? What is printed by the following Python program? a = 0 b = 2 c = 3 x = c or a print(x) (10 marks, 2020-21)
- Q4b. Explain the purpose and working of loops. Discuss Break and continue with example. Write a Python program to convert time from 12 hour to 24-hour format. (10 marks, 2019-20)
- Q7a. Discuss and differentiate Iterators & Recursion. Write a program for Recursive Fibonacci series. (10 marks, 2019-20)
AKTU paper codes: BCC302, BCC402, BCC302H, BCC402H, KNC302, KNC402
Other Python Programming units
Python Programming previous year papers
More Python Programming resources
More versions of this resource
Browse all notes · Semester 3 notes