Gujarat Technological UniversitySummer 2023 examination

GTU 3110003 Programming for Problem Solving (PPS) Summer 2023 Question Paper & PDF

B.E. · Common Engineering · Semesters 1 and 2 · Subject code 3110003
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 10:30 AM – 1:00 PM
Questions
5 with internal choice
No solutions on this paper yetNeed them for your exam? Ask once. Papers that students ask for are solved first, and we aim to add them within 24 hours.

8 of 25 questions on this paper were also asked in other years. 2 more are types of question GTU sets again with new data. Each is marked below with the years it appeared.See all 27 repeated 3110003 questions, most asked first

Q.1

14 Marks
(a)
3 marksAsked in 4 of 7 papers

Design block diagram of computer and explain functionalities of various components of computer.

Also asked in Summer 2026 Q1b, Summer 2024 Q1a, Winter 2023 Q1c

(b)
4 marks
Write an algorithm to find maximum number for three given number.
(c)
7 marks
Write a C program to compute Fahrenheit from centigrade (f=1.8*c +32).

Q.2

14 Marks
(a)
3 marksAsked in 3 of 7 papers
Differentiate: Exit controlled Loop and Entry controlled Loop

Also asked in Summer 2026 Q3a OR, Summer 2024 Q3a

(b)
4 marks
Explain:
aswitch-case statement
bcontinue statement
(c)
7 marks
Write a C program to find factorial of a number using recursion.
(c)
7 marks

Write a C program to generate first n number of Fibonacci series using recursion.( 0 1 1 2 3 5 8…)

Q.3

14 Marks
(a)
3 marksAsked in 3 of 7 papers
Explain else… if ladder with an example.

Also asked in Summer 2025 Q3a OR, Winter 2023 Q3c OR

(b)
4 marks
List out all operators and explain any two in details.
(c)
7 marks

Write a function in the C program to return 1 if number is prime otherwise return 0.

(a)
3 marksAsked in 4 of 7 papers
Explain Type casting in C with example.

Also asked in Summer 2026 Q2b, Summer 2025 Q3a, Winter 2024 Q3b

(b)
4 marks
Explain the structure of for loop with proper example.
(c)
7 marksAsked in 5 of 7 papers
What is function? Differentiate: Call by value and Call by reference.

Also asked in Winter 2025 Q5a OR, Summer 2025 Q3c OR, Winter 2024 Q3a OR, Winter 2023 Q4b

Q.4

14 Marks
(a)
3 marks
Explain following terms:
abreak statement
bgetch() function
cgetchar() function
(b)
4 marksSame type asked in 5 of 7 papers
Write a C program to print following patterns :

Also asked in Summer 2025 Q2c OR, Winter 2024 Q2c, Summer 2024 Q3c OR, Winter 2023 Q3c

(c)
7 marks

Write a C program to copy one string to other without using string handling function.

(a)
3 marks
List any three header file with its usage.
(b)
4 marksAsked in 3 of 7 papers
Write a program to print following patterns :

1 22 333 4444

Also asked in Winter 2025 Q2c OR, Summer 2025 Q2c

(c)
7 marks

Define a structure type struct personal that would contain person name, date of joining and salary using this structure to read this information of 5 people and print the same on screen.

Q.5

14 Marks
(a)
3 marksAsked in 2 of 7 papers

What is dynamic memory allocation? Show the use of malloc() and calloc() function with their syntax.

Also asked in Winter 2025 Q5a

(b)
4 marks

What is structure? How it is different from union? Explain nested structure with example.

(c)
7 marksAsked in 2 of 7 papers
Write a C program to check whether a number is prime or not.

Also asked in Summer 2024 Q3c

(a)
3 marks
Explain following string handling functions: I. strcat() II. strcmp() III.

strlen

(b)
4 marks
What is Pointer in C and how it initializes? State its advantages.
(c)
7 marksSame type asked in 2 of 7 papers

Write a C program to check whether a three digits number is palindrome or not.

Also asked in Summer 2025 Q4c

More Programming for Problem Solving papers

Questions repeat across sessions. Working through two or three papers shows you which topics GTU asks most.

Preparing with friends?

Send this paper to your class group. Every question has its own link.

About this paper

Official Gujarat Technological University (GTU) examination paper for Programming for Problem Solving (PPS) (Summer 2023, 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.

ViewDownload PDF