0% found this document useful (0 votes)
52 views7 pages

FPL - All Units - QB

Gggggh

Uploaded by

pranav.morale24
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)
52 views7 pages

FPL - All Units - QB

Gggggh

Uploaded by

pranav.morale24
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/ 7

Sub- FPL QUESTION BANK

Sub- FPL QUESTION BANK

Unit No.1- INTRODUCTION TO

PROGRAM PLANNING AND C PROGRAMMING

1) Write History and importance C language


2) What are Tokens, Keywords and Identifiers, Constants, Variables, Data types
in C programming? Write with examples of each.
3) Write a C Program for addition of Two Numbers.
4) State and write syntax for declaration of variables.
5) Define Symbolic Constants, declaring a Variable as Constant.
6) Write with example for declaring a Variable as Volatile.
7) Write a Program to find Square and Cube of Given Number.
8) Explain Flowchart with Suitable Example.
9) Write a Program to fine the Given Number is Even or Odd.
10) Write Flowchart and Algorithm to find Area of Triangle.
11) Write a Program to generate Fibonacci Series for Given Number.
12) Write difference between program and algorithm.
13) What are preprocessor directives?
14) Write note on storage classes in C?
15) Classify various data types in C?

College Talk Website

College Talk App

Join WhatsApp Group


Unit No.2-Operators and Expressions

1. What is operator? Describe various types of operators supported by C?

2. Explain various Arithmetic operators used in C with necessary program.

3. Explain various Relational operators used in C with necessary program.

4. Describe size of operator in C. Give sample program.

5. Describe the Conditional operator in C. Give suitable example.

6. What are Bitwise operators? List them all along with example.

7. Explain different types of operators used in C .

8. Explain Logical operators, state its types and give relevant example.

9. Write a note on Arithmetic expressions.

10. What is meant by operator precedence? Explain.

11. What is meant by Associativity?

12. What is meant by left to right and right to left associativity? explain with example.

13. List any five commonly used mathematical functions.

14. State various trigonometric functions supported by C. 15. Classify operators based on no. of

operands with examples.

College Talk Website

College Talk App

Join WhatsApp Group


Unit No.3- CONTROL FLOW IN C

1. Classify various control structures in C?

2. Write a program to check whether number is even or odd.

3. What are if-else statements? Explain with example.

4. What is nested- if statement? Explain with a program.

5. What are switch statements? Explain with syntax.

6. Explain the working of switch statements.

7. Write the program to demonstrate the use of weekday number to calculate the weekday name.

8. What are the advantages of switch statements?

9. What are the disadvantages of switch statements?

10. Explain the continue statement with example.

11. Differentiate between Break and continue statements in C programming.

12. Explain for loop statements with syntax and program code.
13. Explain while loop statements with syntax and program code.

14. What is Dangling else problem. Explain how to solve this problem.

College Talk Website

College Talk App

Join WhatsApp Group

Unit No. 4- Arrays and Strings

1) What is an array? What are the classifications of array?

2) Draw and explain general structure of an array?

3) Consider the word PROGRAMMING. Give its indexing. what are the numbers at index 4, 7
and 10?

4) Explain declaration of 1-D array?

5) What is 1-D array initialization? Explain types of initializations with its example.

6) What are 2D arrays? Explain with figure.

7) What are different ways of 2D array declaration? Explain with example.

8) Write a program to find the largest element in an array of integers

9) What are strings in C? Explain how to declare and initialize strings. Write
a program to compare two strings using strcmp ().

10) Enlist all the string functions. explain them with example.

11) Explain how strings are read in C?

12) Explain the strlen() function used in C. Also give suitable program

College Talk Website

College Talk App

Join WhatsApp Group

Unit No. 5- USER DEFINED FUNCTIONS

1) What is User Defined function in C?


2) What is the need / Advantage of user defined functions?
3) What is a multi-function program? Explain its structure.
4) Explain 3 elements of user defined functions?
5) What are two different types of functions? explain.
6) What are Recursive functions? Explain with example.
7) Explain four different types of User defined functions based on Arguments and return value. Explain
each with example
8) Explain two methods of passing the arguments to a function?
9) What is structure? Explain with syntax and example.
10) Explain how user defined functions are declared.
11) Explain how structure can be accessed?
12) How is structure initialized? Give example.
13) Explain the concept of referencing structure members with help of example.

College Talk Website

College Talk App

Join WhatsApp Group

You might also like