Important Programs For External Exam
Important Programs For External Exam
sample output1:
enter your hall ticket no: 17K91A0221
your college code is k9 and you are belongs to TKRCET
sample output2:
enter your hall ticket no: 17K11A0221
your college code is k9 and you are not belongs to TKRCET
UNIT – I
2_MARKS
1. What are the types of number system?
2. Define decimal number system?
3. What is Binary number system?
4. What is Octal number system?
5. What is Hexa decimal number system?
6. What is C Language?
7. What is an algorithm?
8. Describe Type casting with example?
9. Give the size of each datatype in C?
10. Give a statement on “void” datatype in C.
11. What is an operator.name 3operators?
12. What is precedence and Associativity?
13. Explain conditional operator and its syntax.
14. What are the properties of an algorithm?
15. What is the difference between compiler and Interpreter?
10_MARKS
1. Explain about the number system in detail with an example.
2. Describe about the different data types in C with an example.
3. Briefly explain about the different operators in C with an example.
OR
What are the types of operators? Explain the working of ternary Operator with example
4. What is the difference between pre increment and post increment operator and give an
example for each operator.
5. Write a c program for the following series
i) 1 + 2 + ……….. + N = n(n+1) / 2
II) 1 2 + 2 2 + ……… + N 2 = n(n+1)(2n+1) / 6
6. A) Explain about the arithmetic operator.
B) Write a C program for Addition of two numbers.
7. Explain about the selection statements in C.
8. Compare while and do while loop with an example.
9. What is the difference between break and continue? Explain.
10. What are the Computer languages?
OR
Define high level language over machine language? Explain advantages and disadvantages.
11. Explain bitwise operators of C with example?
12. Explain various decision making statements used in c? Give examples.
13. Write a C program to generate all the prime numbers between 1 and n, where n is a value supplied by the
user.
14. Explain various looping statements in C with example?
15. Explain conditional statements with examples?
16. What are the different types of control statements available „C‟?
17. Explain switch statement with its syntax and example. what is the purpose of using break in switch.
18. What is conditional operator (turnery)?Write a C program to find the maximum of three numbers using
conditional operators.
19. What are the I/O functions in c? Explain with example.
OR
Discuss in detail about formatted I/O.
20. What is an algorithm .What are properties of algorithm and give algorithm for factorial of two numbers.
21. Explain the structure of C program.
UNIT – II
2-MARKS
1)Differentiate linear and non-linear data structures.
2) Elucidate stack operations.
3) Elucidate queue operations.
4) Define an array? how to declare an array?
5) What are the applications of an array?
6) What is the use of sorting algorithms?
7) Differentiate stack and queue.
8) what is tree?
9)What is graph?
10)what is searching?
11)What is sorting?
12)What is Linked list?
13) Define a term data structure.
10-MARKS
1) Briefly discuss about data structures in C.
OR
Explain the following:
a) Linear data stricture b) Non-Linear Data a structure
2) Elaborate Binary search technique with an example.
OR
Explain the concept of Binary search along example program.
3) Elaborate linear search technique with an example.
OR
Explain the concept of linear (sequential) search along example program.
10-MARKS
17)Write a C program that reads 15 names each of up to 30 characters, stores them in an array, and uses an
array of pointers to display them in ascending (i.e., alphabetical) order.