My PPS Assignment's Gec Rajkot
*do not copy use it as reference only
PSS Laboratory manual
sem 1 pps lab manual with answer :- download
Question with answer :- Download
CO1
1 Define following
1) Operating System 2) Compiler 3) Interpreter 4) Assembler 5) Loader 6) Linker 7) Preprocessor.
2 Draw and explain the block diagram of Computer System.
3 Write the difference between Algorithm and flowchart using necessary example.
4 Define algorithm and explain different symbols used in flowchart.
5 Draw a flow chart that shows how to find root of quadratic equation ax2+bx+c.
6 Write an algorithm and draw the flow chart to find the largest of the given three
numbers – A ,B and C.
7 Write an algorithm and draw a flowchart to print first N Fibonacci numbers.
8 Write an algorithm for finding odd and even number from given two numbers.
9 Differentiate Lower Level and Higher Level Language
10 Write and explain Structure of C Program.
Assignment-2-PPS
Question with answer :- Download
CO2
1 What is a Variable? List and explain it’s types with suitable example.
2 What is C token? Describe it’s types in tabular form.
3 Enlist the rules for declaration of an Identifier in C.
4 What is Data type? Explain its types in detail.
5 What is storage class? Explain its types with example.
6 List the header files used in c Programing with their properties. Discuss the important of stdio.h header file.
7 Write a C program to convert Celsius to Fahrenheit and vice versa.
8 Write a menu driven C program for simple calculator. Also draw flowchart.
9 Write a C program to display prime number between 1 to 100.
10 Write a program to find the sum of first N odd numbers.
11 Write a C program to interchange two numbers.
12 Write a C program to find weather number is negative or positive or Zero.
13 Write a program to find out an area of a circle and rectangle.
14 Write a C program to check whether the entered character is capital, small letter, digit or any special character.
15 Write a program to read marks of 3 subjects from keyboard and your program should display average and
equivalent grade according to following table(if else ladder)
Marks Grade
100 – 80 Distinction
79 – 60 First Class
59 - 40 Second Class
< 40 Fail
Assignment-3-PPS
question with answer :- Download
CO3
1 Explain entry control loop and exit control loop with example.
2 Explain various types of loop available in C with example. Write the difference between while loop and do…while loop.
3 Write a program to select and print the largest of the three nos. using nested-if-else statement.
4 Write a program to perform addition, multiplication, subtraction and division with switch statement.
5 Explain break and continue statement with example.
6 Write a program to print the following pattern
a) 1 b) *
2 2 * *
3 3 3 * * *
4 4 4 4 * * * *
7 Write a C Program to check whether the given number is prime or not.
8 Write a C program to evaluate the square root for five numbers using the goto statement.
9 Write a program to print all Armstrong numbers in a given range. Armstrong number is equal to sum of cubes of its individual digits. For example 153 = 1^3 + 5^3 + 3^3. So, 153 is Armstrong number.
Assignment-4-PPS
question with answer :- Download
CO4
1. What is user defined function? Give example
2. Types of user defined function? Explain each one by example.
3. In user defined function, what is actual argument and formal argument?
4. Write a program to swap number using functions.
6. Write a program to calculate nCr using user defined function. nCr = n! / (r! * (n-r)!)
7. Explain call by value (pass by value) and call by reference (pass by Reference) with examples in brief.
8. What care must be taken while writing a program with recursive function?
Assignment-5-PPS
question with answer :- Download
CO5
1. What is String? How are they declared and also define the null character.
2. Describe following string functions in C-Language.
1) strcpy() 2) strcat() 3) strlen() 4) strcmp()
3. Explain getch(), getchar(), gets(), puts()
4. Write a program to reverse the input string
5. What is array? Give example and advantages of array.

0 Comments