Gujarat Technological UniversitySummer 2026 examination

GTU BE01000121 Programming for Problem Solving Summer 2026 Question Paper & PDF

B.E. · Common Engineering · Semester 1 · Subject code BE01000121GTU also lists this paper as BE01R00121
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.

Q.1

14 Marks
(a)
3 marks
Define
1)Compiler
2)Algorithm
3)Hardware
(b)
4 marks
Explain basic structure of C Program with suitable example
(c)
7 marks

Draw basic block diagram of computer system and explain functions of its components

Q.2

14 Marks
(a)
3 marks
Explain implicit type conversion and explicit type conversion in C language
(b)
4 marks
Explain fundamental data types in C language with suitable examples
(c)
7 marks

List out types of operators. Explain relational operators and logical operators with examples

(c)
7 marks

Write an algorithm and Draw flowchart to check whether given number is Positive, Negative or Zero

Q.3

14 Marks
(a)
3 marks
Explain break and continue statements
(b)
4 marks
Explain the switch statement with suitable example
(c)
7 marks
Write a C program to find out sum of first and last digit of a given number
(a)
3 marks
Differentiate entry control loop and exit control loop
(b)
4 marks
What is user defined function? Explain function prototype with suitable example
(c)
7 marks
Write a C program to find factorial of a number using recursion

Q.4

14 Marks
(a)
3 marks

Define array. Explain declaration and initialization of one dimensional array with example

(b)
4 marks
Explain different string handling functions in C language with examples
(c)
7 marks

Write a C program to find out the Maximum and Minimum number from array of given 10 Numbers

(a)
3 marks
Explain declaration and initialization of pointer variables with example
(b)
4 marks
Differentiate structure and union
(c)
7 marks

Define a structure named “personal” that would contain person name, date of joining and salary. Use this structure to read this information of 5 people and print the same on screen

Q.5

14 Marks
(a)
3 marks
What is File? Explain different file related operations
(b)
4 marks
Discuss various debugging techniques
(c)
7 marks
Explain various file related functions with suitable examples
(a)
3 marks
Explain unit testing with its advantages and disadvantages
(b)
4 marks
Explain following dynamic memory allocation functions :
1)malloc()
2)calloc()
3)free
4)realloc()
(c)
7 marks
Write a C program to write a string in file

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 (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.

ViewDownload PDF