Question 1
Write an algorithm and draw the flowchart to calculate sum of digits of a given number N.
Write an algorithm and draw the flowchart to calculate sum of digits of a given number N.
A B C D E F G H I J
Write a C program that takes three coefficients (a, b and c) of a quadratic equation ; (a.x2 + b.x + c) as input and compute all possible roots and print them with appropriate messages.
Write a C program which takes marks (between 0 to 100) of a student for N subjects. It should print grade of a student based on Percentage of Student's marks . "A" for >=85%, "B" between >=70% and <85%, "C" between >=50% and <70%, "PASS" between >=35% and <50%, "FAIL", if any one subject marks are <35.
What is function? How Call by value and Call by reference passes the argument in function.
Write a C program ,that reads a statement from user and prints the frequency of each of the distinct character from a-z.
Define Union. Describe how to declare, initialize and access members of Union with a programming example.
Write a C program which takes two NxN matrices and performs matrix multiplication.
Explain need of Dynamic Memory allocation. Compare malloc(), calloc() and realloc() functions.
Write a C program to find the sum and mean of all elements in an array using pointer.
Write a C program to read ID and marks of n number of students from user and store them in a file.
Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.
Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Programming for Problem Solving (PPS) (Winter 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.