Skip to content
SmartFigureEduExam kits ₹19

GE3151 · QP 60035 · Apr/May 2022

GE 3151 Problem Solving and Python Programming question paper, April/May 2022

GE3151 exam kitRepeated questions + all papers, 1 PDF

Exam kit

Needed by the payment gateway. Not shared or used for marketing.

Secure payment by Cashfree Payments (UPI, cards, net banking). One-time payment, no subscription. The payment page may show StrangerYaar, the business that processes payments for SmartFigure.Terms · Refunds

Question Paper Code : 60035

B.E./B.Tech. DEGREE EXAMINATIONS, APRIL/MAY 2022.

First Semester

Civil Engineering

GE 3151 — PROBLEM SOLVING AND PYTHON PROGRAMMING

(Common to : All Branches)

(Regulations 2021)

Time : Three hoursMaximum : 100 marks

Answer ALL questions.

PART A — (10 × 2 = 20 marks)

  1. 1.

    Write an algorithm to find smallest among three numbers.

  2. 2.

    Which is better iteration or recursion? Justify your answer.

  3. 3.

    List any four built in data types in Python.

  4. 4.

    How do you assign a value to a tuple in Python?

  5. 5.

    What are the purposes of pass statement in Python?

  6. 6.

    What is Linear Search?

  7. 7.

    Give examples for mutable and immutable objects.

  8. 8.

    What is purpose of dictionary in Python?

  9. 9.

    List any four file operations.

  10. 10.

    Write a python program to Count Words in a sentence using spilt () function.

PART B — (5 × 16 = 80 marks)

  1. 11.
    (a)

    List out the control flow statements in Python and explain repetition type in detail with a sample program.

  2. Or
  3. (b)

    What is recursion? Write and explain a Python program to find factorial of number using recursion.

  4. 12.
    (a)

    Why do we call python as interpreted and object-oriented programming language? Also explain about Interactive Python.

  5. Or
  6. (b)

    Write and explain the python program to swap two numbers with and without temporary variables.

  7. 13.
    (a)

    What is difference between break and continue in Python? Explain with suitable examples.

  8. Or
  9. (b)

    What is string function in Python? Explain any three Python string methods with an example.

  10. 14.
    (a)

    Define Python Lists. How to add elements to the list? Explain with a suitable example program.

  11. Or
  12. (b)

    Explain bubble sort algorithm using python programming.

  13. 15.
    (a)

    Why does Python require file handling? Explain opening files in python with all modes.

  14. Or
  15. (b)

    Give a brief notes on Python Exception Handling using try, except, raise and finally statements.


Other GE3151 papers