100% found this document useful (1 vote)
45 views3 pages

Updated - R23 - 2M - QB - Introduction To Programming - 19 - 01 - 2024

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
100% found this document useful (1 vote)
45 views3 pages

Updated - R23 - 2M - QB - Introduction To Programming - 19 - 01 - 2024

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/ 3

SRI VENKATESWARA COLLEGE OF

ENGINEERING
(AUTONOMOUS)
Karakambadi Road, TIRUPATI – 517507

Question bank - 2M

Name of the
CSE , CE, ME, EEE, ECE, IT, AI&ML, DS, CS
Branch/Course
Subject INTRODUCTION TO PROGRAMMING

Subject Code CS23AES101

Year & Sem I Year &I Sem

Unit – 1

1 Define Algorithm and its properties.

2 Define flowchart and draw various symbols of flowchart.

3 Define Data type and mention different types of Data types.

4 Define Variable and its properties.

5 What is operator and operand in C.

6 What is type casting? Where we need to use this?

7 Explain various types of constants.

8 Define keyword. Mention some keywords.


9 What is a string constant?
10 What is conditional operator?
11 What is top-down and bottom-up approach?
12 What is time complexity and space complexity?
13 What is an expression? And an operator precedence
14 Define character set of C language?
15 What is an identifier and rules for identifiers in C?
16 What are the logical operators in C
17 What is a token in c language with example?
18 What is a unary operator? Give example
19 What are features of C Language?
20 Specify the use of printf( ) and scanf( ) functions.

UNIT - 2
1 Specify the syntax used for ‘for’ statement.
2 Difference between ‘break’ and ‘continue’ statements.
3 Give the syntax of if-else statement.
4 What is entry controlled loop and exit controlled loop?
5 What is a looping?
6 Difference between while and do-while loop in C?
7 Difference between simple if and if-else ?
8 What is nested loop?
9 What is iterative statement and types in C?
10 What is else if ladder?
11 What is go to statement?
12 What is the purpose of exit(0) statement?
13 What is switch() statement.
14 Write a program to display whether a given number is even or odd.
15 Write a program to display whether a given year is leap year or not.

UNIT - 3
1 What is an array?
2 Differentiate between actual parameters and formal parameters.
3 What is the significance of return statement?
4 Why is it necessary to give the size of an array in an array declaration.
5 What are multidimensional arrays?
6 Define user defined function
7 Define recursive function and write one example.
8 Write storage classes in C
9 What is function?
10 Differentiate user defined and library functions
11 What is function prototype?
12 Write difference between a variable and an array

UNIT - 4
1 What is a Pointer and explain with an example?
2 What is function pointer?
3 Define string with example?
4 What is the difference between scanf() & gets()?
5 Write any five string handling functions
6 What is the use of preprocessor directives?
7 What is pointer to pointer?

UNIT - 5
1 What is enumerated data type? Give an example.
2 What command line arguments?
3 Define Structure and Union?
4 Write the Advantages of Structures
5 Define a file?
6 What is dynamic memory allocation?
7 Define bit field
8 What is the purpose of ftell()
9 What is the purpose of fseek()
10 What are the modes used in fopen()
11 What is the purpose of fread() and fwrite()
12 Write the differences between text file and binary files
13 What is the purpose of fcloseall()

14 Write difference between an array and a structure/.

You might also like