0% found this document useful (0 votes)
3 views1 page

Module 1 Question Bank

Uploaded by

ankushshastry
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)
3 views1 page

Module 1 Question Bank

Uploaded by

ankushshastry
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

K. S.

SCHOOL OF ENGINEERING AND MANAGEMENT


DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
QUESTION BANK
COURSE: PROGRAMMING IN C
COURSE CODE: 1BEIT105

MODULE 1
1. Explain the evolution of Programming languages.
2. Explain the steps involved in creating and running a C program with neat diagram.
3. Explain the SDLC life cycle for the efficient design of a program with a neat diagram.
4. Explain the brief history of the C programming language.
5. Explain why C is called a middle-level language.
6. Explain why C is called a structured language.
7. Explain why C is called a Programmer’s language.
8. Differentiate between compilers and interpreters.
9. Describe the general form of a C program.
(OR)
Explain structure and building blocks of C program.
10. What are libraries and linking in C programming?
11. Explain separate compilation, and how is a C program compiled?
12. How C program can be compiled and executed? Explain with neat labelled diagram.
13. Illustrate the memory map of a C program with a neat diagram.
14. Explain the datatypes in C with examples.
15. Explain variable concept and state the rules to be followed for naming the variables. Mention
valid and invalid cases.
16. Explain variables. Provide an example of how to declare and initialize a variable of different datatypes.
17. What is type casting? Explain its types(implicit and explicit) with suitable example
18. List and explain the four C scopes with examples.
19. List and explain type classifiers with examples.
20. List and explain the four Storage class Classifiers with examples.
21. Explain arithmetic operators with examples.
22. Explain any three from the following with examples:
a. Assignment Operator
b. sizeof
c. Comma Operator
d. [] and () Operators
e. ? Operator
f. & and * Operators
23. Explain Logical operators with examples.
24. Explain Relational Operators with examples.
25. Explain bitwise operators with examples.
26. Explain the precedence of the operators.
27. Evaluate the expressions:
a. x = 10 + 5 * 2;
b. b = (10 + 5) * 2;
c. c = 10 - 2 + 3;
d. d = 8 / 2 * 3;
e. d = 10 > 5 && 4 < 3;

You might also like