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 Winter 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 Winter 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/B.Tech 2019 Winter Question Papers || Gujarat Technological University


FirstRanker.com

GUJARAT TECHNOLOGICAL UNIVERSITY
SEMESTER- I & II (NEW) EXAMINATION — WINTER 2019

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

Subject Code: 3110003 Date: 07/01/2020
Subject Name: Programming for Problem Solving
Time: 10:30 AM TO 01:00 PM Total Marks: 70

Instructions:

  1. Attempt all questions.
  2. --- Content provided by FirstRanker.com ---

  3. Make suitable assumptions wherever necessary.
  4. Figures to the right indicate full marks.

MARKS

Q.1 (a) List out types of software with Examples. 03

(b) Distinguish the data types provided by C programming language. 04

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

(c) Implement a C Program to convert temperature from Fahrenheit to Celsius and vice versa. 07

Q.2 (a) Define break and continue statement with example. 03

(b) Categorize the major components of computer system and give their function. 04

(c) List all symbols used in flowchart and draw flowchart to find factorial number. 07

OR

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

(c) Construct ‘C’ program to print the following pattern using loop statement. 07

 1 22 333 4444 55555 

Q.3 (a) Explain different types of Constants. 03

(b) Define algorithm and explain different symbols used in flowchart. 04

(c) Demonstrate a C program to input an integer number and check last digit of number is even or odd. 07

OR

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

Q.3 (a) Explain getch(), getchar(), gets(). 03

(b) List out the operators used in C language and explain any three with example 04

(c) Write a program to find sum of first N odd numbers. Ex. 07

[1+3+5+7+... +N]

Q.4 (a) Show the important of stdio.h header file. 03

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

(b) Describe file management. And List the various file management functions. 04

(c) Build a function to check number is prime or not. If number is prime then function return value 1 otherwise return 0. 07

OR

Q.4 (a) Distinguish between Structure and Union. 03

(b) Develop an algorithm to print first N Fibonacci numbers. 04

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

(c) Write ‘C’ program to accept N numbers from user and store it into an array. Display Sum, Minimum and Average of the numbers 07

Q.5 (a) Write a program to illustrate the use of fputc () and fputs( ) 03

(b) Categorize User defined function’s components (elements). 04

(c) Explain the function definition, function prototype and function call with relative example. 07

OR

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

Q.5 (a) List the advantages of recursion. 03

(b) Explain for loop with example. 04

(c) Explain call by value (pass by value) and call by reference (pass by reference) with examples in brief. 07

FirstRanker.com


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


This download link is referred from the post: GTU BE/B.Tech 2019 Winter Question Papers || Gujarat Technological University