PST C Questions
PST C Questions
5. Explain vonn- neuman concept with block diagram (input devices, output devices, storage devices,
processor like cpu, Alu, cu and memory like primary and secondary etc ).
15. Write abbreviation for ALU, CPU, CU, RAM, ROM, SRAM, DRAM, PROM, EPROM,EEPROM.
20. Explain the computer languages (Assembly level, high level and machine level languages ) and
write its merits and demerits.
9. Explain different data types of C programming language. With an example of each datatype.
10. Write the syntax and example of variable declaration and initialization.
12. Explain the use of printf and scanf functions with an example.
13. What are control strings? Write any four control strings with an example.
14. How to create single and multi-line comments in the C program? Give an example.
24. What is the difference between post-increment and pre-increment? Give an example?
26. Name the different types of type conversions, and explain with an example. 9. Explain the
bitwise operator, with example.
27. What are special operators? What is the use of special operators?
3. What is the difference between the if-else ladder and switch statement?
9. Explain the working of the switch statement with a suitable programming example.
10. Explain the different looping statements with the programming example
11. Explain different jump statements (break and continue) with suitable programming examples.
12. Explain the working if-else ladder statement with a programming example
13. Write three different programs to find the sum of natural numbers using for loop, while loop,
and do-while loop.
16. What are the entry control loop and explain with an example program.
17. What are the exit control loop and explain with an example program.
25. Explain, with an example, the difference between character and string.
2. What is the difference between the actual parameter and formal parameter?
9. With example, the program explains local variables and global variables.
10. With example, the programs explain actual parameters and formal parameters.
11. Explain the working of functions with no arguments and no return values with a programming
example.
12. Explain the working of functions with arguments and no return values with a programming
example.
13. Explain functions working with arguments and return values with programming examples.
21. What is the deference between structure definition and structure declaration?
22. With example explain, how to store the value into structure members.
24. Write a program, which create a structure to store the details of 10 employees.
25. Write a program using structure to store and print the details of library books, which include
Book number, Book name, Author name, Publisher name.
26. Write a program with the structure, to store and print the customer details.