FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download GTU BE/B.Tech 2019 Summer 1st And 2nd Sem (New And SPFU) 3110003 Programming For Problem Solving Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Summer 1st And 2nd Sem (New And SPFU) 3110003 Programming For Problem Solving Previous Question Paper

This post was last modified on 20 February 2020

This download link is referred from the post: GTU BE 2019 Summer Question Papers || Gujarat Technological University


EnrolmentNo.

Firstranker's choice

GUJARAT TECHNOLOGICAL UNIVERSITY FirstRanker.com

--- Content provided by FirstRanker.com ---

BE - SEMESTER-I & II (NEW) EXAMINATION - SUMMER-2019

Subject Code: 3110003 Date: 10/06/2019

Subject Name: Programming for Problem Solving

Time: 10:30 AM TO 01:00 PM Total Marks: 70

Instructions:

--- Content provided by FirstRanker.com ---

  1. Attempt all questions.
  2. Make suitable assumptions wherever necessary.
  3. Figures to the right indicate full marks.
  1. (a) Write flowchart or algorithm to find area of a triangle. 04
    (b) Write a program to reverse a given number. 03

    --- Content provided by FirstRanker.com ---

    (c) Explain various looping control structures with suitable example. 07
  2. (a) What are header files? Name at least 3 with its usage. 04
    (b) Write a program to find 1+1/2+1/3+1/4+...+1/n. 03
    (c) What is a string? Explain at least 4 built-in string functions with example. 07
    OR

    --- Content provided by FirstRanker.com ---

    (c) What is an array? Explain one dimensional and two dimensional array declarations and initialization with suitable example.
  3. (a) What is formatted output? Using printf() statement explain it. 04
    (b) Write a program to check whether entered character is vowel or not? 03
    (c) Write a program to print all Armstrong numbers in a given range. Armstrong number is equal to sum of cubes of its individual digits. For example 153 = 13 + 53 + 33. So, 153 is Armstrong number. 07
    OR

    --- Content provided by FirstRanker.com ---

    (a) Why it is necessary to give the size of an array in array declaration? 04
    (b) Explain break and continue with suitable example. 03
    (c) Write a program to display transpose of given 3*3 matrix. 07
  4. (a) What is pointer? Which arithmetic operations are not valid on pointers? 04
    (b) Explain array of pointers with suitable example. 03

    --- Content provided by FirstRanker.com ---

    (c) Write a program to calculate nCr using user defined function. nCr=n! / (r! * (n-r)!) 07
    OR
    (a) What is pointer? Which arithmetic operations are valid on pointers? 04
    (b) What is pointer to, pointer? Write suitable example to demonstrate the concept. 03
    (c) What is recursive function? Explain with suitable example. 07
  5. --- Content provided by FirstRanker.com ---

  6. (a) What care must be taken while writing a program with recursive function? 04
    (b) Explain how structure variable is initialized with suitable example. 03
    (c) What are command line arguments? Explain with suitable example. 07
    OR
    (a) In user defined function, what is actual argument and formal argument? 04

    --- Content provided by FirstRanker.com ---

    (b) Explain with suitable example structure variable and pointer to structure variable. 03
    (c) What is dynamic memory allocation? Explain important functions associated with it. 07


--- Content provided by FirstRanker.com ---

This download link is referred from the post: GTU BE 2019 Summer Question Papers || Gujarat Technological University