C Imp 1
C Imp 1
1. Draw the block diagram of a digital computer and explain its components.
2. Define the term software and hardware. Explain system software and application software.
3. Define the following terms and give at least one example of each-
* * A
*** ** BAB
***** *** ABABA
******* **** BABABAB
********* *****
38. Differentiate the following:
1. Compiler and Interpreter
2. Source Code and Object Code
3. Syntax Error and Logical Error
4. Keywords and Identifiers
5. Operators Precedence and Associativity
6. While and do-while loop
7. Break and Continue statement (with example)
8. switch and else-If Ladder
9. Call by Value and Call by reference
10. Local and Global Variables
11. Structure and Union
12. Static and Dynamic Memory Allocation
13. malloc() and calloc() functions
14. Array and Structure
15. #include<stdio.h> and #include“ stdio.h”