Gujarat Technological UniversitySummer 2024 examination

GTU 3110003 Programming for Problem Solving (PPS) Summer 2024 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 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.

10 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
Draw neat Block Diagram illustrating the Anatomy of a Computer System.

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

(b)
4 marks
Illustrate an Algorithm to check whether the given year is leap year or not.
(c)
7 marks

Define Flow chart, List the rules for designing a Flow chart and Rephrase the merits and demerits of flow chart.

Q.2

14 Marks
(a)
3 marks
List the rules to assign a name to an Identifier (Variable)
(b)
4 marksAsked in 2 of 7 papers

Illustrate the basic structure of a C Programs and highlight usual sections of main function.

Also asked in Winter 2024 Q2a

(c)
7 marks

Construct a C program which receives number of days as input and converts them in to Year, Months and Days,

(c)
7 marks

Construct a C program to swap the values of two integers with use of only two variables.

Q.3

14 Marks
(a)
3 marksAsked in 3 of 7 papers
Contrast the Entry Control loop and Exit Control loop.

Also asked in Summer 2026 Q3a OR, Summer 2023 Q2a

(b)
4 marksAsked in 2 of 7 papers

Construct a C program to find the largest number amongst three integers entered.

Also asked in Winter 2025 Q3b

(c)
7 marksAsked in 2 of 7 papers
Construct a C program to check if entered integer is a prime number or note.

Also asked in Summer 2023 Q5c

(a)
3 marks
Debug the following codes and show the output for this:

For ( i=0 ; i<=50 ; i++ ); { printf( “\n %d” , i ) }

  • consider header files and declaration of variable is done.
(b)
4 marksAsked in 2 of 7 papers
Explain nested if-else statement with suitable example.

Also asked in Winter 2025 Q3a OR

(c)
7 marksSame type asked in 5 of 7 papers

Construct a C program to print following pattern 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15…..

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

Q.4

14 Marks
(a)
3 marksAsked in 2 of 7 papers
List the types of Array.

Also asked in Winter 2025 Q4a

(b)
4 marksAsked in 2 of 7 papers
Summarize the methods for initialization of One-Dimensional array.

Also asked in Winter 2025 Q4b

(c)
7 marksSame type asked in 3 of 7 papers
Construct a C program to multiply 3X3 matrix.

Also asked in Winter 2025 Q4c OR, Winter 2024 Q4c OR

(a)
3 marks
List the application of gets getchar and puts functions.
(b)
4 marks

Summarize the method for Declaration, initialization and Printing on screen of a String.

(c)
7 marks
Define a Structures which contains details of a Cricketer:
  • Name of Player:
  • Team name:
  • Total run scored:
  • Batting average:

Q.5

14 Marks
(a)
3 marks
Write True / False against following statements:
1)Pointer is a variable which holds address of location where value of other variable is stored.
2)Pointer holds the address in form of float or integer.
3)The address of a variable can be stored in two or more pointers.
(b)
4 marksAsked in 2 of 7 papers
List the categories of User Defined Functions and Discuss any one of these.

Also asked in Summer 2026 Q4b OR

(c)
7 marks

Construct a C program which used a user define function that receives an integer and returns square and cube of it and prints in main function.

(a)
3 marks
What are the arithmetic operators that are permitted on pointers?
(b)
4 marksAsked in 4 of 7 papers

Show the use of Malloc, Calloc, Free and Realloc in context of Dynamic memory allocation.

Also asked in Summer 2026 Q5b OR, Summer 2025 Q4b OR, Winter 2023 Q5b OR

(c)
7 marks
List and discuss file handling functions used in C.

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 2024, 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