// THE QUESTION BANK
A little focus.
A better attempt.
Find your topic. Work through a few questions. Open the official answer when one is available.
Loading your next set of questions…
// THE QUESTION BANK
Find your topic. Work through a few questions. Open the official answer when one is available.
Loading your next set of questions…
// THE QUESTION BANK
Find your topic. Work through a few questions. Open the official answer when one is available.
YOUR SELECTION
Showing 1–12 · 15 papers
Question 1
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
Draw the flowchart to find the maximum value in a list.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 2
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
What is meant by recursion? How is it different from iteration?
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 3
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
Differentiate between expression and statement.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 4
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
Write a Python script to calculate the distance between two points (x₁, y₁) and (x₂, y₂).
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 5
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
Differentiate local and global variables.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 6
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
Write a Python function to return the square of a number.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 7
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
When is it preferable to use a dictionary instead of a list?
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 8
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
Write a Python script to extract the first three elements of a list using slicing.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 9
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
State the difference between syntax errors and runtime errors.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 10
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
Mention any two open modes used in the open() function.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 11
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
(a) (i) Explain the different forms of if statements with examples. (8 marks) (ii) Write pseudocode to insert an element into an already sorted list. Find the input and output components of this pseudocode. (8 marks) (OR) (b) (i) Evaluate the importance of functions in algorithm design with examples. (8 marks) (ii) Write pseudocode to implement the Towers of Hanoi problem. Identify the input and output components of the problem. (8 marks)
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 12
From Anna University — Problem Solving and Python Programming (GE3151), April/May 2026
(a) (i) Explain the role of the Python interpreter and interactive mode. Compare it with a compiler. (8 marks) (ii) List and describe the different data types available in Python with examples. (8 marks) (OR) (b) Analyze how Python handles expressions with mixed data types and operator precedence using examples.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Questions the exam body withdrew, and questions that need unavailable source figures, are stored with their papers and withheld here. Each served question links to its source paper.
This is self-study practice. It does not issue assessment results, certificates or profile proof. Attempts on this page reset when you leave it.