Gujarat Technological UniversitySummer 2026 Examination

GTU 3110003 Programming for Problem Solving (PPS) Summer 2026 Paper Solution & PDF

B.E. · Common Engineering · Semester 1 · Subject Code: 3110003
Download Official GTU PDF
Share:
Total Marks70 MarksExternal theory exam
Passing Marks23 Marks33% minimum cutoff
Exam Duration2.5 Hours10:30 AM – 1:00 PM
Paper Structure5 QuestionsWith internal OR choices
Jump toQ1Q2Q3Q4Q5

Question 1

14 MarksMedium
(a)
What is a Flowchart? List out its symbols and purpose.
3 Marks
(b)
Explain the major components of a Computer System and their Functions.
4 Marks
(c)
Write algorithm to print Fibonacci series upto n terms
7 Marks

Question 2

14 MarksMedium
(a)
Define: Header files, Constants, and Variables.
3 Marks
(b)
What is Type Casting? State Its Types with example.
4 Marks
(c)

Define Precedence and Associativity. Draw table of it and explain how they differ with an example of each.

7 Marks
OR OPTION
(c)

‘C language supports a rich set of built-in operators.’ Explain Unary, Binary, and Ternary Operators with example.

7 Marks

Question 3

14 MarksMedium
(a)
Compare: if-else ladder Vs. Switch.
3 Marks
(b)
What is an Infinite Loop? What is Nested Loop? Give examples of both.
4 Marks
(c)
Write A C Program to print Multiplication Table.
7 Marks
OR OPTION
(a)
Compare: Entry Controlled Loop Vs. Exit Controlled Loop.
3 Marks
(b)
Define: Break, Continue, Goto, Label.
4 Marks
(c)

Write a C program to read basic Colour Codes like R, G, B and print the Colour Name (Red, Green, Blue) using Switch statement.

7 Marks

Question 4

14 MarksMedium
(a)
Difference between Library Function and User-defined Function. Give Examples.
3 Marks
(b)
Explain Recursion with advantages and disadvantages.
4 Marks
(c)
Write a C Program using Function to find Square of a number.
7 Marks
OR OPTION
(a)
What are Local and Global Variables? Give an example.
3 Marks
(b)

Describe the Classification of User-Defined Functions (UDF) based on Arguments/Return Type.

4 Marks
(c)

Write a C Program to find the Greatest Common Divisor (GCD) of two numbers using Recursion.

7 Marks

Question 5

14 MarksMedium
(a)
Explain difference between Structure AND Union.
3 Marks
(b)
Explain fopen() and its various modes (r, w, a, r+) for File Handling.
4 Marks
(c)
Write a C Program to Copy and Concatenate Strings using prebuild string functions.
7 Marks
OR OPTION
(a)

What is an Array? Mention types of arrays. 03 Page 1 of

2 Marks
(b)
Explain: malloc (), calloc (), free (), realloc ().
4 Marks
(c)

Write a C Program to Copy contents of one file to another. 07 Page 2 of

2 Marks
College Exam Groups

Studying for Programming for Problem Solving?

Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.

About this Examination Paper & Attribution

Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Programming for Problem Solving (PPS) (Summer 2026, B.E. · Common Engineering, Sem 1). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.

Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.

Download PDF