Home › AKTU PYQ › Python Programming › PYQ Questions › Unit 2

Python Programming Unit 2 – Program Flow Control: AKTU previous year questions

32 AKTU questions from Unit 2 (Program Flow Control) asked in 2020–2026, tagged by marks, year and topic. In short: about 14 marks of every paper come from this unit; the most asked topic is For Loops (14 times); 7 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.

Unit 2 previous year questions

  • Differentiate between for loop using range and while loop in Python. (2 marks, 2026, For Loops)
  • What is a while loop in Python? (2 marks, 2026, While Loops)
  • Describe loop manipulation statements: pass, continue, break. Write a program to print prime numbers between 1 to 50 using for loop. (7 marks, 2026, Loop Manipulation)
  • What are conditional statements in Python? Explain if, else, and elif with examples. (7 marks, 2026, Conditional Statements)
  • Discuss for loops with strings and lists. Write a program to sum elements of a list. (7 marks, 2026, For Loops)
  • Write a Python program to check whether a number is positive, negative, or zero using conditional blocks. (7 marks, 2026, Conditional Statements)
  • Write a Python program using conditional statements and loops to print the multiplication table of a number. (7 marks, 2026, Conditional Statements)
  • Explain the use of if, else, and elif. Write a Python program to check the given number is even or odd using if and else statement. (2 marks, 2025, Conditional Statements)
  • Differentiate between for loop and while loop with syntax and examples. (2 marks, 2025, For Loops)
  • What are break, continue, and pass statements? Give code examples. (7 marks, 2025, Loop Manipulation)
  • Discuss the use of nested loops in Python. Write a program to print a right-angled triangle of stars. (7 marks, 2025, For Loops)
  • Explain the why loops are needed and the types of loops in python. Discuss break and continue with example. (7 marks, 2025, Loop Manipulation)

Most asked Unit 2 topics

  • For Loops – asked 14 times
  • Conditional Statements – asked 8 times
  • Loop Manipulation – asked 8 times

Unit 2 question pattern

  • 2-mark questions: 10 asked in 2020–2026
  • 7-mark questions: 9 asked in 2020–2026
  • 10-mark questions: 4 asked in 2020–2026
  • About 14 marks from Unit 2 in every paper
  • 7 questions were asked again in a later year

Unit 2 questions year by year

  • 2026: 7 Unit 2 questions asked (39 marks across that year's papers)
  • 2025: 5 Unit 2 questions asked (25 marks across that year's papers)
  • 2024: 2 Unit 2 questions asked (9 marks across that year's papers)
  • 2023: 5 Unit 2 questions asked (15 marks across that year's papers)
  • 2022: 7 Unit 2 questions asked (25.5 marks across that year's papers)
  • 2021: 3 Unit 2 questions asked (14 marks across that year's papers)
  • 2020: 3 Unit 2 questions asked (30 marks across that year's papers)