Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Subject: CP

2 marks

1. Define algorithm
2. What are the translator used for converting high level language to low level language
3. What is data type and variable in programming language
4. Mention the difference between = and == symbols in C programming?
5. Describe the header file and its usage in C programming?
6. Differentiate between while and do while.
7. Differentiate between break and continue statement in c programming
8. Define flow chart.
9. What is the importance of keywords in C?
10. Mention the parameter passing technique used in fucntion

5 marks

1. C Program to Find ASCII Value of a Character


2. C Program to Swap Two Numbers with using and without using third variable
3. C Program to Check Whether a Number is Even or Odd
4. C Program to Find the Largest Number Among Three/two Numbers using if else and ternary
operator
5. C Program to Check Leap Year
6. C Program to Find Factorial of a Number using function
7. C Program to Display Fibonacci Sequence
8. C Program to Reverse a Number
9. C Program to Make a Simple Calculator Using switch...case
10. Write a program to find area and perimeter of rectangle using function

Long question

1. Mention the different types of decision control statements? WAP to perform the various
arithmetic operations on the two data values taking user input
2. Discuss in details about the different operators in C. Give suitable examples.

You might also like