0% found this document useful (0 votes)
16 views2 pages

Question Bank - PPS

PPS QUESTION BANK

Uploaded by

jignasha.patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Question Bank - PPS

PPS QUESTION BANK

Uploaded by

jignasha.patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

VIDHYADEEP UNIVERSITY

VIDHYADEEP INSTITUTE OF ENGINEERING


AND TECHNOLOGY
Vidhyadeep Campus, Anita (Kim), Ta. Olpad, Dist. Surat

Subject Name: Programming for Problem Solving Code: 002304101 SEM: 1st

Question Bank

1. List Out types of software with Examples.


2. Explain problem solving techniques in detail.
3. Name the major component of computer system and give their function.
4. What is Hardware?
5. Write an algorithm to check whether given number is prime or not.
6. Write an algorithm to calculate area of circle.
7. Explain different categories of operators available in C programming with their
precedence and associativity.
8. Explain type conversion and type casting with example.
9. Distinguish the data types provided by C programming language.
10. Explain different types of constants.
11. What are header files? Name at least 3 with its usage.
12. Explain fopen () and its mode with example.
13. Explain getch (), getchar (), gets (), puts ().
14. What is formatted output? Using printf () statement explain it.
15. Explain nested if-else statement with flowchart.
16. Write a program to accept start number and end number from the user and print
all the number in the range.
17. Write a program to take input as a number and reverse it by using while loop.
(with flowchart)
18. State any four differences between while loop and do-while loop.
19. Which are the not looping structures?
a) For loop
b) While loop
c) If…else
d) Do…while loop
20. How many time the following code prints the string “hello”
for(i=1;i<=50;i++)
printf(“Hello”);
a) 1
PREPARED BY: PROF. COMPUTER ENGINEERING

AVANI.H.PARMAR 1 DEPARTMENT
VIDHYADEEP UNIVERSITY

VIDHYADEEP INSTITUTE OF ENGINEERING


AND TECHNOLOGY
Vidhyadeep Campus, Anita (Kim), Ta. Olpad, Dist. Surat

b) 0
c) 50
d) None of them
21. Write a program to print following pattern
****
***
**
*
22. Write a program to display transpose of given 3*3 matrixes.
23. What is an array? Explain one dimensional and two Dimensional array declarations
and initialization with suitable example.
24. Demonstrate declaration and initialization of two dimensional array with suitable
example.
25. Explain following string manipulation function.
strcat ( ), strcpy( ) ,strcmp( ) and strlen().
26. What do you mean by recursive function? What care must be taken while writing a
program with recursive function?
27. Explain any four inbuilt string functions.

Subject Coordinator H.O.D. (COMP)

PREPARED BY: PROF. COMPUTER ENGINEERING

AVANI.H.PARMAR 2 DEPARTMENT

You might also like