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

IP Question Bank

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views4 pages

IP Question Bank

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

SIR C R REDDY COLLEGE OF ENGINEERING, ELURU

Approved by AICTE & Affiliated to JNTUK, Kakinada


FIRST YEAR ENGINEERING DEPARTMENT

INTRODUCTION TO PROGRAMMING(CR24)
UNIT-I
5 MARKS

1. Explain in detail the structure of C Program and procedure to create,


compile and run the C program.
2. What is Operator Precedence and Associativity in Expression Evaluation?
3. Discuss about the Importance of C. Write down the rules for declaring the
variables.
4. Define I/O functions.Discuss Various I/O functions in c.?
5. Discuss about the Various operators with example program.
6. Discuss about the Data types in C.
7. Discuss about Constants in C.
8. Define Algorithm?Explain the characterstics of Algorithm with example?
Define Flowchart?What are the symbols used in Flowchart?Explain with
example?
9. What is Type Conversion and Type Casting .Explain in detail?
10. Write a short note on Time and Space Complexity?
11. Explain the Block Diagram of Computer Organization?

2 MARKS

1. Define Identifier
2. Define Keyword.
3. What Are Data Types?
4. List Out Any Ten Data Types.
5. What Is Meant By Constants?
6. Define Variables.
7. What Is Meant By Expressions?
8. Define Statements? What Is Meant By Operators?
9. What Is Meant By Linking Process?
10. Define Void?

INTRODUCTION TO PROGRAMMING QUESTION BANK


UNIT-II

2MARKS

1. Define Decision Making Statement


2. Define Looping Statement
3. Define Unconditional Statement
4. Define Simple If Statement
5. Define Switch Statement
6. Define For Statement
7. Define Goto Statement
8. Define Break Statement
9. Define Exit Statement
10. What Is Getchar()
11. Define Putchar()

5 MARKS

1. Explain the Conditional statements with example?


2. Explain Looping (or) Iterative Statements with example?(For,While,Do-
While)
3. Explain Pre-Tested and Post Tested Loops with example?
4. Expalin Multidecision Making Statements with example?(Switch)
5. Write a short notes on Break, Continue, Goto Statements?
6. Write a C program on calculator using switch case?

UNIT-III

2 MARKS

1. Define Array ? What Is An Index Of An Array?


2. What Is Two Dimensional Array ?
3. What Is String ?
4. Write Syntax For The Following
5. A.Gets() B. Getch() C. Putchar() D.Puts()
6. What Is The Need Of Arrays In C?
7. Discuss Any Two String Handling Functions?

INTRODUCTION TO PROGRAMMING QUESTION BANK


5 MARKS

1. What Is An Array? How A Single Dimension And Two Dimension Arrays


Are Declared And Initialized?
2. Define String ? Discuss The Various String Handling Functions In C ?
3. Write A Program To Find Given String Is Palindrome Or Not.?
4. Write A Program To Multiply Two Matrices Of Order ‘Mxn’ And ‘Nxl’ ?
5. Explain The Memory Model Of Two Dimensional Array?
6. Write A Program To Perform Addition Of Two Matrices ?
7. Write A Program To Perform Linear Search?

Unit-IV
2 MARKS
1. Define Functions in c.
2. What is the difference between function declaration and definition.
3. What is Function call.
4. Define Return types, arguments in c
5. What is scope and lifetime of variables
6. Define Strucures?
7. What Is Union?
8. Differentiate Structures And Unions?

5 MARKS

1. How to declare and initialize structures? Explain with examples


2. Is nesting of structures valid? Justify your answer with an example.
3. Difference Between Call By Value And Call By Reference.
4. Explain Recursion With The Help Of A Program.
5. Explain Local Static Variables And What Is Their Use?
6. What Are The Different Storage Class Specifiers In C?
7. Explain Functions With Arrays As Arguments.

INTRODUCTION TO PROGRAMMING QUESTION BANK


UNIT-V
2 MARKS
1. Define Pointers?
2. How You Declare And Initialize A Pointer?
3. What Is Pointer Arithmatic?
4. Do We Perform Subtraction Or Multiplication Of Two Pointers?Discuss
The Reason?
5. What Is User Defined Datatypes?
6. Define Dereferencing Operator?
7. What Is The Need Of Pointers?
8. Define fprintf(),fscanf().
9. What is fopen(),fclose().

5 MARKS

1. Demonstrate The Use Of Fread( ) And Fscanf( ) For Reading Sequentially


From A Disk.
2. Write A Program To Open A File And Read The File And Print The File
Contents .
3. Explain About The Functions For Reading And Writing Data From A File.
4. Write A C Program To Print File Contents In Reverse Order.
5. Discuss in detail about pointer arithmetic. Support the answer with
appropriate examples.
6. Define a pointer. How to initialize and declare pointer variables? Explain the
same with examples.
7. Elaborate the importance of dynamic memory allocation with example.
8. How pointers are used to declare single and multi-dimension arrays with
examples?
9. What is pointer? Explain array of pointers with example.?

INTRODUCTION TO PROGRAMMING QUESTION BANK

You might also like