The document covers 9 chapters on C programming concepts including generations of computers and programming languages, programming logic with flowcharts, variables and data types, control structures, arrays and strings, functions, pointers, structures and unions, and file handling. Key topics are the primary data types in C, differences between various loops and variables, string handling functions, advantages of functions, pointer differences from arrays, declaring functions in structures, opening and reading/writing files, and common errors in C.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
263 views
C Programming VIVA Questions
The document covers 9 chapters on C programming concepts including generations of computers and programming languages, programming logic with flowcharts, variables and data types, control structures, arrays and strings, functions, pointers, structures and unions, and file handling. Key topics are the primary data types in C, differences between various loops and variables, string handling functions, advantages of functions, pointer differences from arrays, declaring functions in structures, opening and reading/writing files, and common errors in C.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Chapter 1: Introduction
1. How many generations are there in Computer?
2. What are the types of Computer? 3. What are the generations of Programming Languages? 4. Which computer is the most powerful computer? 5. In which generation was the microprocessor used? 6. What are the key features of C programming? 7. What is C programming? 8. Why do we study C programming? Chapter 2: Programming Logic 1. What are the steps followed in Software Development Life Cycle (SDLC)? 2. What do you mean by flowchart? 3. Which symbol is used for input/output operation in flowchart? 4. What is debugging? 5. What is documentation? Chapter 3: Variables and data types 1. What are the Primary Data Types? 2. Difference between local variable and global variable. 3. Difference between a++ and ++a. 4. What is Modulo Operator in C? 5. What is variable? 6. What is the use of \n, \t? 7. How do we write ‘and’ operator symbolically? Chapter 4: Control Structures 1. What is nested if-else? 2. Difference between while loop and do-while loop. 3. What is the function of break statement? 4. What is entry-controlled loop and exit controlled loop? 5. What are the jumping statements in C? Chapter 5: Arrays and Strings 1. What is Array? 2. What are the advantages and disadvantages of an array? 3. What are the string handling functions in C? 4. Define strcat(). 5. Define strcpy(). Chapter 6: Functions 1. Difference between user defined function and library function. 2. Difference between parameters and arguments. 3. What are the advantages of function in C? 4. What are header files example? 5. What is pre-processor directives? 6. What is the function of #include<math.h>? 7. What does sqrt(144) and pow(2, 4) return? Chapter 7: Pointers 1. What is Pointer? 2. Difference between array and pointer. 3. Difference between fixed size memory allocation (static) and dynamic memory allocation. 4. Difference between Call by Value and Call by Reference. 5. What are malloc(), calloc, free(), realloc()? Chapter 8: Structure and Unions 1. Can we declare function inside structure C programming? 2. What is an important difference between structure and union? 3. What keyword is used to describe structure and union in C? Chapter 9: Files and File Handling 1. What are Files in C? 2. Are the information stored in files temporary or permanent? 3. How to read a file? 4. How to write a file? 5. What are the file opening modes? 6. What are the errors in C?