Programming for Problem Solving
GTU PPS Practical List
5. Write a C program to enter a distance in to kilometre and convert it in to meter, feet, inches and centimetre.
12. Write a program to read marks from keyboard and your program should display equivalent grade according to following table(if else ladder)
Marks Grade
100 – 80 Distinction
79 – 60 First Class
59 – 40 Second Class
< 40 Fail
29. Write a program to print following patterns :
i * ii * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
iii ***** **** *** ** *
30.Write a program to print following patterns :
i 1 ii 12345 12 1234 123 123 1234 12 12345 1
iii 55555 iv 1 4444 22 333 333 22 4444 1 55555
31.Write a program to print following patterns :
i AAAAA ii ABCDE BBBB ABCD CCC ABC DD AB E A
GTU PPS Practical: Your Complete Guide
If you're a student of Gujarat Technological University (GTU) preparing for your Programming for Problem Solving (PPS) course, this guide is designed to help you excel in your practicals. The term "GTU PPS practicalL" refers to essential resources, tips, and strategies to perform well in your PPS practical exams.
What is PPS in GTU?Programming for Problem Solving (PPS) is a foundational course in GTU's curriculum aimed at introducing students to the basics of programming. It typically covers topics like:
-
Introduction to C programming
-
Data types and operators
-
Control structures (if-else, loops)
-
Functions and arrays
-
Pointers and structures
Why is PPS Practical Important?The PPS practical exam tests your understanding of programming concepts and your ability to implement them. It allows you to apply theoretical knowledge in solving real-world problems using code. Excelling in practicals not only boosts your grades but also strengthens your problem-solving skills.
How to Prepare for GTU PPS Practical Exams:
-
Understand the Basics:Start by mastering the fundamental concepts of C programming. Make sure you understand syntax, logic building, and debugging.
-
Practice Regularly:Consistent practice is key. Solve previous years' practical papers and sample problems to get a feel of the exam pattern.
-
Focus on Common Programs:Prepare common C programs like:
-
Fibonacci series
-
Factorial calculation
-
Prime number check
-
Matrix operations
-
-
Debugging Skills:Learn to identify and fix errors in your code quickly. This is crucial during practical exams where time is limited.
-
Time Management:Practice writing and executing programs within a set time frame to improve your speed and efficiency.
-
Documentation and Comments:Writing clear comments in your code helps in better understanding and can impress examiners.
Useful Resources for GTU PPS Practicals:
-
GTU official syllabus and textbooks
-
Online coding platforms like HackerRank and CodeChef
-
Previous year practical exam papers
-
Study groups and coding communities
Final Tips:
-
Always start with simple programs and gradually move to complex ones.
-
Revise key concepts regularly to keep them fresh in your mind.
-
Stay calm and focused during the exam.
By following these strategies and dedicating time to consistent practice, you can excel in your GTU PPS practical exams. Good luck!