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

Viva Questions

This document outlines topics related to computer fundamentals and the C programming language across 5 units. It covers definitions of key terms like computers, operating systems, algorithms and programs. It also discusses various data types, operators, control structures and their syntax in C. Further, it addresses arrays, strings, functions, recursion, structures, pointers, files and file operations in C. The document provides questions to help learn about these fundamental programming concepts in C.

Uploaded by

strikeyouareout
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 views4 pages

Viva Questions

This document outlines topics related to computer fundamentals and the C programming language across 5 units. It covers definitions of key terms like computers, operating systems, algorithms and programs. It also discusses various data types, operators, control structures and their syntax in C. Further, it addresses arrays, strings, functions, recursion, structures, pointers, files and file operations in C. The document provides questions to help learn about these fundamental programming concepts in C.

Uploaded by

strikeyouareout
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/ 4

Unit I

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

1. What is meant by Associativity of operators?


2. What is meant by Precedence of operators?
3. List out the selection control structures?
4. What is the use of ? : operator?
5. Why is meant by nested if & if else ladder?
6. Explain the working of Switch statement?
7. What is the use of default case in switch?
8. What happens if break is not used in case?
9. Define iteration?
10. How many loops are there in C language?
11. Give the differences between while & do-while statements?
12. What do you mean by nested loops?
13. Use of break, continue & goto statements?
14. Define arrays?
15. What is the difference between char array and strings?
16. How can you initialize array dynamically?
17. Applications of 1D arrays, 2Darrays?
18. Write Syntaxes for:
a. If, if-else, nested if-else, switch and ternary operator?
b. While, do while, for loop?
c. Declaring 1D array, 2D array?
d. Break, continue and goto?
19. Code for Matrix multiplication, Addition?
20. Explain String.h and its functions?
21. Use of Null character?
22. Puts(),gets() ???

Unit 3

1. Define Searching and sorting? Give their types?


2. Linear search logic, binary search logic, which is the best?
3. Difference between Bubble & Selection sort? Give logics?
4. How do you achieve modular programming in C lang?
5. What are functions?
6. Explain the terms Function prototype, function call and function definition?
7. In how many ways you can pass parameters/arguments to a function?
8. What is the difference between local and global variable?
9. What are actual & formal parameters?
10. Significance of return statement?
11. What does return type specify?
12. Meaning of void?
13. How are arrays passed to functions?
14. Differences between Call by value and Call by reference?
15. Give some examples of predefined functions?
16. Syntax of function prototyping, call & definition?
17. What is meant by divide and conquer?
18. Advantages of Functions?
Unit 4

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?

You might also like