Viva Questions
Viva Questions
1. Define a Computer?
2. What are the various parts of a computer?
3. Give some examples of Input & Output devices?
4. Define Operating System?
5. List out the various phases in program Execution Environment?
6. What is the role of compiler, Assembler & Interpreter?
7. Define a Program?
8. Define Algorithm & Flowchart?
9. Define object code, executable code?
10. Differentiate High Level Languages & Low Level Languages?
11. List out the features of Structured Programming Language?
12. What are the features of C programming Language?
13. Define Tokens?
14. What is the difference between variable and consonant?
15. How many keywords are there in C language?
16. List out the data types in C language?
17. List out the operators in C language?
18. List down arithmetic Operators, Logical Operators, relational Operators, Bitwise , Conditional &
Increement Decreement operators?
19. Difference between = & ==
20. What is the use of ++ and – operators?
21. What is meant by syntax error & Logical error?
22. Header files?
Unit 2
Unit 3
1. Define recursion?
2. Difference between recursion & iteration?
3. Define structure?
4. Difference between array and structures?
5. How do you declare the structure variable?
6. How to access members of a structure variable?
7. Nested Structure?
8. What is the use of Struct keyword?
9. . operator, → operator other names?
10. How to pass structure to a function?
11. Syntax of structure definition?
12. Difference by array of structure and array in structures?
13. What is Self referential structure?
14. Define Linked List ?
15. Define array of structures?
Unit V
1. Define pointer?
2. Uses of pointers?
3. Explain Pointer Arithmatic?
4. Define Null Pointer, Void Pointer, Pointer to Pointer?
5. How to represent 1D array using pointers?
6. How to represent 2D array using pointers?
7. What are pointer operators?
8. Tell about Dereferencing & indirection operators?
9. What do you mean by array of pointers?
10. What is meant by pointer to a structure?
11. Define File?
12. In how many ways u can access files?
13. Keyword FILE?
14. List the various File Manipulation Operations?
15. What is meant by EOF character?
16. What does feof(),fscanf(),fprint(),fseek(),fclose(),fopen() do?
17. What is the use of file pointer?
18. What does fopen return if file doesnot open?
19. What are the various modes of opening a file? Discuss?
20. What are records in files?