AK23
Subject Code: 23AES0501
ANNAMACHARYA INSTITUTE OF TECHNOLOGY & SCIENCES::TIRUPATI
(AUTONOMOUS)
DEPARTMENT OF HBS
B.Tech I Year I Semester (AK23)
INTRODUCTION TO PROGRAMMING
Question Bank
Bloom’s
Marks CO PO
Level
UNIT-I
5 L-2
1. Write short notes on History of computers and Generations of Computers. CO1 PO1
5 L-2
2. Describe about Basic organization of a computer with Block Diagram. 10 CO1 PO1 L-2
3. Define and describe an Algorithm, Procedure for writing and Categories of an
10 CO1 PO1 L-2
Algorithm with example.
4. Define flowchart and Explain commonly used flowchart symbols with any two
10 CO1 PO1 L-2
example.
5. Write notes on Primary Data Type and write the Declaration Rules for Constructing a 5 L-1
CO1 PO1
Variable. 5 L-1
5 L-2
6. Discuss with example about “Formatted Input & Output” and various Operators. CO1 PO1
5 L-2
5 L-2
7. Explain about Type Conversion and Casting and Characteristics of an Algorithm. CO1 PO1
5 L-2
8. Deference between top-down and bottom-up approach and define complexity of an 5 L-2
CO1 PO1
algorithm. 5 L-2
9. Write notes on Time and Space complexities of algorithm. 10 CO1 PO2 L-4
10. Briefly discuss about problem solving strategies. 10 CO1 PO1 L-4
UNIT-II
1. Discuss with an example about Simple Sequential Programs. 10 CO2 PO1 L-2
2. Define Selection Statement and write notes on 5 L-2
CO2 PO2
a) if b) if-else with an example. 5 L-2
3. Define Selection Statement and write notes on switch with an example. 10 CO2 PO2 L-1
4. Define Iteration Control Statement and write notes on for loop with an example 10 CO2 PO2 L-2
5. Discuss with an example about i) while and ii) do…while. 10 CO2 PO2 L-2
6. Write notes on Jumping Out of Loops with an example using i) break ii) continue 10 CO2 PO2 L-1
5 L-2
7. Write C program to print the entered numbers in reverse order using i) for ii) while CO2 PO2
5 L-2
8. Write a C program to i) print 5th Multiplication Table ii) to cast your Vote
10 CO2 PO2 L-5
iii) largest among 3 nos.
5 L-1
9. Write a C program to illustrate about i) break ii) continue with suitable example. CO2 PO1
5 L-1
10. Write a C program i) print as 10,9,8….2,1 using for loop 5 L-5
CO2 PO2
ii) print Leap years between 2000 and 2020. 5 L-5
UNIT - III
1. Define & discuss 1-D Array and its Memory model with an example. 10 CO3 PO2 L-2
2. Define & discuss 2-D Array and its Memory model with an example. 10 CO3 PO2 L-2
3. Write a ‘C’ program to find the min & max value among 10 elements in 1-D array 10 CO3 PO1 L-5
4. Write a ‘C’ program to Reverse the list and find search key value among 10
10 CO3 PO1 L-5
elements in 1-D array.
Page 1 of 2
5. Create a ‘C’ program for addition of two matrixes. 10 CO3 PO1 L-6
6. Create a ‘C’ program for Multiplication of two matrixes. 10 CO3 PO1 L-6
7. Create a ‘C’ program to find Transpose of the given matrix A. [ A = AT ] 10 CO3 PO1 L-6
8. Write notes on String and list out various string handling functions. 10 CO3 PO1 L-2
9. Create a ‘C’ program to perform i) strlen ii) strcpy and iii) strcmp 10 CO3 PO1 L-6
10. Create a ‘C’ program to perform i) strcat ii) strlwr and iii) strupr 10 CO3 PO1 L-6
UNIT-IV
1. Define pointers. Write notes on pointer declaration and assigning pointers to
10 CO4 PO1 L-2
variables.
2. Discuss on dereferencing operator and addressing operators with example. 10 CO4 PO1 L-2
3. Write notes on pointers and address arithmetic with example. 10 CO4 PO1 L-2
4. Briefly explain about User-defined data types. 10 CO4 PO1 L-1
5. Define Structure. Briefly write about struct declaration and struct variables. 10 CO4 PO1 L-2
6. Create a ‘C’ program to process employee data using structures. 10 CO4 PO2 L-6
7. Define Union. Briefly write about union declaration and union variables. 10 CO4 PO1 L-2
8. Create a ‘C’ program to process employee data using union. 10 CO4 PO2 L-6
9. Define Structure and Union. List the differences between Structure and Union. 10 CO4 PO1 L-2
10. Create a ‘C’ program to process student data using structures with dot operator. 10 CO4 PO2 L-6
UNIT-V
1. Define functions. List out and explain various types of functions. 10 CO5 PO1 L-1
2. Briefly explain about i) function without argument and without return value 5 L-1
CO5 PO2
ii) function without argument and with return value 5 L-1
3. Briefly explain about i) function with argument and without return value 5 L-1
CO5 PO2
ii) function with argument and with return value 5 L-1
4. Write a ‘C’ program to perform function without argument and without return
10 CO5 PO2 L-2
value with example
5. Write a ‘C’ program to perform function without argument and with return value
10 CO5 PO2 L-2
with example.
6. Write a ‘C’ program to perform function with argument and without return value
10 CO5 PO2 L-2
with example.
7. Write a ‘C’ program to perform function with argument and with return value with
10 CO5 PO2 L-2
example.
8. Write a ‘C’ program to perform function i) call by value ii) call by reference with
10 CO5 PO2 L-2
example.
9. Discuss about scope and life time of variables with example. 10 CO5 PO1 L-1
10. Define File. Write notes on various basic File Handling functions with suitable
10 CO5 PO1 L-1
example.
--------END OF QUESTION PAPER--------
COURSE OUTCOMES & Bloom’s Taxonomy Levels
CO1 : Understand basics of computers, the concept of algorithm and algorithmic thinking.
CO2 : Analyze a problem and develop an algorithm to solve it.
CO3 : Implement various algorithms using the C programming language.
CO4 : Understand more advanced features of C languages.
CO5 : Develop problem-solving skills and the ability to debug and optimize the code.
BL – Bloom’s Levels (1- Remembering, 2- Understanding, 3 – Applying, 4 – Analyzing, 5 – Evaluating, 6 - Creating)
CO – Course Outcomes; PO – Program Outcomes; PI Code – Performance Indicator Code
Page 2 of 2