0% found this document useful (0 votes)
26 views3 pages

FOP Question Bank

The document is a question bank for a Fundamentals of Programming (FOP) course, containing both short and long questions related to the C programming language. It covers various topics such as operators, loops, data types, functions, arrays, and structures, along with programming exercises. The questions are designed to test understanding of C programming concepts and practical coding skills.

Uploaded by

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

FOP Question Bank

The document is a question bank for a Fundamentals of Programming (FOP) course, containing both short and long questions related to the C programming language. It covers various topics such as operators, loops, data types, functions, arrays, and structures, along with programming exercises. The questions are designed to test understanding of C programming concepts and practical coding skills.

Uploaded by

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

FOP QUESTION BANK-2023

Short Question
1. Explain in brief interpreter.
2. Explain conditional operator?
3. Explain relational operator.
4. Which of the following cannot be checked in Switch…..Case Statement?
Character (2) Integer (3) Float (4) enum.
5. What is type casting?
6. Give an example of loop that executes the statements inside it for at least one
time.
7. What is variable? Give the rules to create variable name.
8. What is keyword?
9. What is the difference between post and pre increment operator?
10.Explain infinite loop.
11.Explain continue statement.
12.What is difference between break and continue?
13.How to create write comment in C?
14.What is nested loop?
15.What is use of NULL in string?
16.Explain strlen() and strcat() function.
17.What is the importance of main() or What is the meaning of void main()? Is
it necessary to write void main() in every C program? Why?

Long Question
1. write a note on basic structure of C program
4. Explain Constant and variable in detail.
5. What is expression? How to evaluate expression?

JYOTI VERMA 1
FOP QUESTION BANK-2023

6. Explain if statement with all its forms in detail. OR Explain different


branching structures in C
7. Explain switch statement in detail.
8. What is loop? What is difference between entry control and exit control
loop? Explain while loop in detail.
9. Write a short note on one dimensional array.
10. Explain string array in detail.
11. Explain mathematical function in detail.
12. Explain string functions.
13. Explain operators in C with their precedence or List all the categories of
operators in c. Explain assignment and relational operator
14. Explain type conversion. Also describe the conditions in which explicit and
implicit is used
15. What is constant? How to create constant in c?what is difference between
variable and constant
16. What is a structure? Explain the parts of structure.
17. Write a note on array of structure with proper structure.
18. Which are the type of functions? Explain the elements of UDF.
19. What is an UDF? Explain the categories of UDF
20. What is chaining of UDF? Explain the recursive function.
21. What is pointer? Explain the syntax of declaring pointer. What is the use of
*, & operator.
22. Differentiate
1. = and ==
2. Pre decrement and post decrement
3. Break and continue

JYOTI VERMA 2
FOP QUESTION BANK-2023

4. If and switch
5. Array and structure
6. 1D and 2D array
Programs:
1. write a program in C to sort an array in ascending/descending
2. Write a program in C to print a given number in reverse order
3. Write a program to check given number is Armstrong number or not.
4. Write a program in C to accept a string and check whether the given
string is palindrome or not.
5. WAP to convert binary to decimal number .
6. WAP to find factorial of given number .
7. Write a program to find maximum and minimum element in array.
8. WAP to read a line and display number of words, character, and digits in
it.
9. Write a 'C' program for the following say row = 4.
1
2 2
3 33
4 444
10. WAP to read 3*3 matrix and find out of the transport of it.
11. WAP to read 2 arrays of 10 numbers. Merge them .
12. WAP to reverse a number

JYOTI VERMA 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy