Gujarat Technological UniversityWinter 2025 examination

GTU BE01000121 Programming for Problem Solving Winter 2025 Question Paper & PDF

B.E. · Common Engineering · Semesters 1 and 2 · 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 2:30 PM – 5: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 followings: Compilers, Interpreters, Assemblers
(b)
4 marks
Explain computer block diagram with functionalities of different components.
(c)
7 marks

List different symbols used in flowchart with their functionality. Draw flowchart to find that given number is odd or even.

Q.2

14 Marks
(a)
3 marks
Write rules to declare variables in C language.
(b)
4 marks
List and explain different primitive data types in C language.
(c)
7 marks
List and explain different operators in C language.
(c)
7 marks
Write C language program to find minimum and maximum from three numbers.

Q.3

14 Marks
(a)
3 marks
Explain switch case statement.
(b)
4 marks
Differentiate while loop and do-while loop.
(c)
7 marks

Write C language program to make sum of digits of given number. (hint: if number is 482 then sum is 4+8+2=14).

(a)
3 marks
Explain if-else statement.
(b)
4 marks
Differentiate break and continue statement with example.
(c)
7 marks
Write C language program to generate following triangle:

9 8 7 6 5 4 3 2 1 0

Q.4

14 Marks
(a)
3 marks
What is an array? Brief about 2-D array.
(b)
4 marks
Explain functions: strcpy(), strcat(), scanf(), main()
(c)
7 marks

Create structure named as Book_details with variables book_id, title, author, and price. Create array of structures with it. From the array of structure show the book details having maximum price.

(a)
3 marks
What is union? How it is different from structure.
(b)
4 marks
Discuss the parameter pass by value and parameter pass by reference with example.
(c)
7 marks

Write C language program to check whether the given string is palindrome or not without using string functions.

Q.5

14 Marks
(a)
3 marks
Explain debugging techniques.
(b)
4 marks
Briefly explain fopen() function with different operating modes.
(c)
7 marks
Write C language program to find factorial of a number using recursion.
(a)
3 marks
Explain working of pointer with an example.
(b)
4 marks
Briefly explain memory allocation functions malloc() and calloc() with an example.
(c)
7 marks
Write C language program to generate Fibonacci series using recursion.

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 (Winter 2025, 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