VEMU INSTITUTE OF TECHNOLOGY (Autonomous)
TIRUPATI – CHITTOOR HIGHWAY,[Link], CHITTOOR DIST - 517 112
Question Bank
Name of the Subject: Introduction to Programming Year & Sem: [Link] I year I Sem
Subject Code: 23BTCS01T Regulations: R23
Name of the Faculty: [Link] Department: CSE
UNIT - I
[Link] Part – A – Short Answer Questions Marks CO
1 Define program? Write a c program for “Hello world”. 2M CO1
2 What is a compiler? 2M CO1
3 Define flowchart? What are the different symbols in flowchart? 2M CO1
4 What are the different rules to create a variable? 2M CO1
5 What are different levels of programming languages? 2M CO1
6 Distinguish between compilation and Execution? 2M CO1
7 What is time complexity? 2M CO1
8 What is space complexity? 2M CO1
9 List the data types and their sizes of C language. 2M CO1
10 Define precedence and order of evaluation. 2M CO1
[Link] Part – B – Long Answer Questions Mark CO
s
1. Explain basic organization of computer with neat diagram? 10M CO1
2. Explain different types of operators in C? 10M CO1
3. Explain basic structure of c program. 10M CO1
4. Explain characteristics of an algorithm. 10M CO1
Design an algorithm, flow chart and develop a program for temperature
5 10M CO1
conversion?
Design an Algorithm, Flow chart and develop a program for sum and
6. 10M CO1
average of three numbers?
7. What are C Tokens? Explain the six fundamental types of C Tokens. 10M CO1
8. Explain compilation and execution? 10M CO1
9. List and explain the various symbols used in flowchart with figures. 10M CO1
Develop a C Program to find maximum number among three numbers
10. 10M CO1
using conditional operator.
VEMU INSTITUTE OF TECHNOLOGY (Autonomous)
TIRUPATI – CHITTOOR HIGHWAY,[Link], CHITTOOR DIST - 517 112
Question Bank
Name of the Subject: Introduction to Programming Year & Sem: [Link] I year I Sem
Subject Code: 23BTCS01T Regulations: R23
Name of the Faculty: [Link] Department: CSE
UNIT - II
[Link] Part – A – Short Answer Questions Marks CO
1 What are different conditional statements in c. 2M CO2
2 What is the use of continue key word? 2M CO2
3 Distinguish between Entry control and Exit control looping statements? 2M CO2
4 What is the use of Break statement? 2M CO2
5 Distinguish between while and do-while? 2M CO2
6 Give an example of iteration statements in C. 2M CO2
7 Write syntax of If-else statements. 2M CO2
8 What is the use iterative statements? 2M CO2
9 What is selection statement? Write it's types? 2M CO2
10 Write a while loop that displays numbers 2, 4, 6, 8.......20. 2M CO2
[Link] Part – B – Long Answer Questions Marks CO
1. Discuss Conditional statements with examples? 10M CO2
2. Discuss Looping statements with examples? 10M CO2
3. Develop a C program to implement simple calculator using switch case? 10M CO2
4. Discuss various Iterative statements with syntax and example program? 10M CO2
Develop a C program to find factorial of a given number using i) while
5 10M CO2
loop ii) for loop
6. Develop a C program to find given number is even or odd 10M CO2
7. Develop a C program to find sum of N natural numbers? 10M CO2
8. Explain switch case statement with an example program. 10M CO2
Develop a C program to check whether a given number is Palindrome or
9. 10M CO2
not.
10. Develop a C program to Find the given number is a prime or not. 10M CO2
VEMU INSTITUTE OF TECHNOLOGY (Autonomous)
TIRUPATI – CHITTOOR HIGHWAY,[Link], CHITTOOR DIST - 517 112
Question Bank
Name of the Subject: Introduction to Programming Year & Sem: [Link] I year I Sem
Subject Code: 23BTCS01T Regulations: R23
Name of the Faculty: [Link] Department: CSE
UNIT - III
[Link] Part – A – Short Answer Questions Marks CO
1 What is an array? 2M CO3
2 Write syntax to declare an 1-D array 2M CO3
3 Write syntax to declare an 2-D array 2M CO3
4 How one Dimensional array is initialized? 2M CO3
5 Define string? 2M CO3
6 List any five sting handling functions 2M CO3
7 How Two Dimensional array is initialized? 2M CO3
8 Illustrate with an example, the declaration and initialization of an 1-D
2M CO3
array.
9 What is the size required to store any array of 25 integers? 2M CO3
10 Illustrate with an example, the declaration and initialization of an 2-D
2M CO3
array
[Link] Part – B – Long Answer Questions Mark CO
s
Explain how to declare, initialize and accessing elements in two
1. 10M CO3
dimensional array with an example program?
Elaborate the condition to multiply two matrices and Write a ‘C’ program
2. 10M CO3
to multiply two matrices.
3. Design a program to print an array in reverse order 10M CO3
Define an array and design a program to find the largest and smallest
4. 10M CO3
element in a given array
5 Develop a C program for matrix addition. 10M CO3
6. List and explain string manipulation functions 10M CO3
7. Develop a C program for Linear search in an Array. 10M CO3
Develop a C program to Reverse a string using built-in and without built-
8. 10M CO3
in string functions
Develop a C program to Concatenate two strings using built-in and
9. 10M CO3
without built-in string functions.
Develop a C program to check the given string is palindrome or not using
10. 10M CO3
built-in functions
VEMU INSTITUTE OF TECHNOLOGY (Autonomous)
TIRUPATI – CHITTOOR HIGHWAY,[Link], CHITTOOR DIST - 517 112
Question Bank
Name of the Subject: Introduction to Programming Year & Sem: [Link] I year I Sem
Subject Code: 23BTCS01T Regulations: R23
Name of the Faculty: [Link] Department: CSE
UNIT - IV
[Link] Part – A – Short Answer Questions Marks CO
1 Define Pointer 2M CO4
2 How to declare pointer variables? 2M CO4
3 What are the uses of Pointers? 2M CO4
4 What are * and & operators means? 2M CO4
5 What is Double pointer? 2M CO4
6 Define Structure in C. 2M CO4
7 List the rules to declare a structure? 2M CO4
8 How to declare a members in Structure? 2M CO4
9 Write Syntax to declare members in unions? 2M CO4
10 List the differences between structures and unions. 2M CO4
[Link] Part – B – Long Answer Questions Mark CO
s
1. Explain in detail about pointers with suitable example. 10M CO4
2. Explain Arithmetic pointer and array of pointer with example. 10M CO4
3. Explain the differences between pointers and arrays. 10M CO4
4. Explain various Dynamic memory Allocation functions? 10M CO4
List the advantages of using pointers? Explain how pointers are declared
5 10M CO4
and initialized? Give example program.
6. Compare structures and unions with suitable example. 10M CO4
7. Explain structures in C with syntax and example program? 10M CO4
8. Explain unions in C with syntax and example program? 10M CO4
9. Distinguish structures and unions with suitable example. 10M CO4
10. Construct a C program to read and display student details using structure. 10M CO4
VEMU INSTITUTE OF TECHNOLOGY (Autonomous)
TIRUPATI – CHITTOOR HIGHWAY,[Link], CHITTOOR DIST - 517 112
Question Bank
Name of the Subject: Introduction to Programming Year & Sem: [Link] I year I Sem
Subject Code: 23BTCS01T Regulations: R23
Name of the Faculty: [Link] Department: CSE
UNIT - V
[Link] Part – A – Short Answer Questions Marks CO
1 What are functions in C? 2M CO5
2 Write any four built-in functions? 2M CO5
3 What is the scope and life time of a variable?++ 2M CO5
4 What is the purpose of the function main()? 2M CO5
5 What is meant by Recursive function? 2M CO5
6 What is the difference between call by value and call by reference? 2M CO5
7 What are actual and formal parameters? 2M CO5
8 What are different Types of Files in C. 2M CO5
9 List the file operations in C. 2M CO5
10 What is the syntax for Creating a File in C. 2M CO5
[Link] Part – B – Long Answer Questions Mark CO
s
1. What is a function? List and Explain various types of functions in C? 10M CO5
Explain about different types of functions according to arguments passing
2. 10M CO5
and return values.
3. Explain in detail the concept of recursion with example. 10M CO5
Explain call by value and call by reference with a suitable example
4. 10M CO5
programs.
5 Develop a program to find the factorial of a number using recursion. 10M CO5
6. Develop a c program to display fibonacci series using recusion? 10M CO5
7. Explain the concept of pointers to functions with an example program? 10M CO5
8. Explain various storage classes in C. 10M CO5
9. Explain File Operations in C with example. 10M CO5
10. Explain the types of files and its modes in detail. 10M CO5