0% found this document useful (0 votes)
47 views2 pages

C Imp 1

The document contains a list of 38 important questions about computer systems and programming in C language. The questions cover topics like hardware and software components, data types, operators, functions, arrays, structures, pointers, files handling, and more. Example programs are required with many questions.

Uploaded by

sepoged319
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
47 views2 pages

C Imp 1

The document contains a list of 38 important questions about computer systems and programming in C language. The questions cover topics like hardware and software components, data types, operators, functions, arrays, structures, pointers, files handling, and more. Example programs are required with many questions.

Uploaded by

sepoged319
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 2

NOIDA INSTITUTE OF ENGINEERING AND TECHNOLOGY, GREATER NOIDA

COMPUTER SYSTEM & PROGRAMMING IN ‘C’ (RCS-101/201)

LIST OF IMPORTANT QUESTIONS

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-

(i) Compiler (ii) Linker (iii) Editor


(iv) Interpreter (v) Assembler (vi) Loader
(vii)Translators
4. What is an Operating System? What are the functions of Operating System? Explain types of operating systems.
5. What is an Algorithm? Give the major characteristics of an algorithm.
6. Write an algorithm for finding maximum number out of any given three numbers.
7. What do you mean by flow chart? Explain the various symbols used in flow chart. Draw flow chart to find
greatest number among three numbers.
8. Convert the following numbers from one base to other-

(i) (101011.10)8 = ( )10 (vii) (489.287)10 = ( )2 (xiv) (3072.157)8=( )6


(ii) (10101.1101)2=( )10 (viii) (786)10 = ( )2 (xv) (101101)Gray=( )BCD
(iii) (110111101.01101)2=( )10 (ix) (1CB1)16 = ( )10 (xvi) (110101110)2 = ( )10
(iv) (10101110101101.011010)2= ( )16 (x) (A9B)16 = ( )2 (xvii) (161)8 = ( )10
(v) (11001011.11)2 = ( )8 (xi) (459.25)10 = ( )2 (xviii) (162)8 = ( )2
(vi) (11101001)2 = ( )8 (xii) (43)10 = ( )2
9. Give classification of computers? (xiii)
10. Explain Memory Hierarchy?
11. What are various data types available in C language?
12. What are the rules for naming an identifier/variable?
13. Write short notes on following:
i) Relational Operator ii) Logical Operator iii) Bitwise Operator
iv) Increment and decrement operators v) Conditional Operator (Ternary Operator)
14. Write the short note on following-
i) Format Specifiers
ii) Data type modifiers
15. What is type-casting? Explain its types.
16. What are functions? What are the advantages of using multiple functions in a program?
17. Explain call by value and call by reference technique for function call with suitable example.
18. What do you mean by recursion? Write a recursive function to calculate the factorial of a given number.
19. Discuss the different storage class in C.
20. Explain the use of all conditional statements and program loop available in C programming with the help of
suitable examples.
21. What is the role of switch statement in C programming? Give the syntax of switch statement.
22. What do you mean by pointers? How pointer variables are initialized?
23. Describe structure. Differentiate between structure and array.
24. Explain dynamic memory allocation with suitable example.
25. What do you mean by C preprocessor? Give example of preprocessor directives (Macros, Conditional
Compilation).
26. Explain five string handling functions available in C with example.
27. Write any five File handling functions with their syntax.
28. Write a program in C to swap the values of any two integer variables using pointers.
29. Write a program to create an array using pointers.
30. Write a program in C to simulate the calculator using switch statement.
31. Write a program to print all prime numbers from 50 to 500.
32. What do you mean by sorting? Write a program in C to sort the given n positive integers.
33. What is searching? Write a program in C to search a number in a given set of n random numbers.
34. Write a program to find multiplication of two matrixes A and B of size M×N.
35. Write a program in C to handle the information of multiple students using structure.
36. Write a program in C to copy the contents of one file into another file.
37. Write a program to print following patterns.

* * 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”

You might also like