HelpDesk

HBTU KANPUR · PYQ LIBRARY

Programming and Problem Solving PYQs

10 previous-year questions for Programming and Problem Solving. Use Practice Mode to filter by unit, topic, academic year or examination and open the available solutions.

A college student revising from notebooks with chai by their side

Available question papers

Topics in the question bank

Sample previous-year questions

2025-2026 · mid sem · 3 marks

Introduction to Computational Thinking and Problem Solving

Solve the following: (i) (219.5)10=()2(219.5)_{10} = ( )_2 (ii) (A12B)16=()8(A12B)_{16} = ( )_8 (iii) (1100110101) Gray code =()2(1100110101) \text{ Gray code } = ( )_2
Open the full question bank and solutions →

2025-2026 · mid sem · 3 marks

Introduction to Computational Thinking and Problem Solving

Explain how microcomputers differ from minicomputers in terms of architecture and user handling.
Open the full question bank and solutions →

2025-2026 · mid sem · 3 marks

Introduction to Computational Thinking and Problem Solving

Construct the truth table for the Boolean expression Y=A⋅(B+C)‾Y = \overline{A \cdot (B + C)}
Open the full question bank and solutions →

2023-2024 · mid sem · 3 marks

Introduction to Computational Thinking and Problem Solving

Write an algorithm to check whether the entered number is palindrome or not. Draw a neat and clean flowchart for the same.
Open the full question bank and solutions →

2023-2024 · mid sem · 3 marks

C Programming Language

Find the Output and justify your answer- a) ```c int a = 3, b = 4; int result = (a << 2); printf ("%d", result); ``` b) ```c char a = '\0310'; printf ("%d", a); ``` c) ```c signed char chr = 130; printf ("%d", chr); ```
Open the full question bank and solutions →

Imported solutions may contain errors. Check calculations against your notes and official syllabus.