This document contains a question bank for a computer programming course divided into 5 units: introduction to computers, C programming basics, arrays and strings, functions and pointers, and structures and unions. Each unit contains several questions related to concepts and topics covered in that unit along with references to page numbers in course materials for more details. The questions range from explaining or defining concepts to writing programs to demonstrate specific programming techniques.
This document contains a question bank for a computer programming course divided into 5 units: introduction to computers, C programming basics, arrays and strings, functions and pointers, and structures and unions. Each unit contains several questions related to concepts and topics covered in that unit along with references to page numbers in course materials for more details. The questions range from explaining or defining concepts to writing programs to demonstrate specific programming techniques.
This document contains a question bank for a computer programming course divided into 5 units: introduction to computers, C programming basics, arrays and strings, functions and pointers, and structures and unions. Each unit contains several questions related to concepts and topics covered in that unit along with references to page numbers in course materials for more details. The questions range from explaining or defining concepts to writing programs to demonstrate specific programming techniques.
1. Differentiate various generations with features?
Refer Page no: UNIT 1- P.No: 6 2. Explain the classification of computers? Refer Page no: UNIT 1- P.No: 9 3. Draw a block diagram of computer and explain the different component of a computer system. Refer Page no: UNIT 1- P.No: 12 4. Explain the functions of ALU, control unit and registers in detail. Refer Page no: UNIT 1- P.No: 26 5. Explain Algorithm with suitable example. Refer Page no: UNIT 1- P.No: 36 6. Give short notes on flow chart. Refer Page no: UNIT 1- P.No: 38
UNIT-II- C PROGRAMMING BASICS
1. Explain in detail about the structure of C program.
Refer Page no: UNIT 2- P.No: 3 2. Describe in detail about the various types of operators. Refer Page no: UNIT 2- P.No: 15 3. Explain in detail about Formatted Input and output functions. Refer Page no: UNIT 2- P.No: 25 4. Explain in detail about the Decision making statements. Refer Page no: UNIT 2- P.No: 31 5. Discuss about the various Looping statements. Refer Page no: UNIT 2- P.No: 45
6. Write a C program to find the root of the quadratic equation.
Refer Page no: UNIT 2- P.No: 55
S.KAVITHA / AP / CSE / MSAJCE Page 1 of 3
QUESTION BANK GE6151 / COMPUTER PROGRAMMING
7. Write a C program to determine whether the given number is palindrome or
not Refer Page no: UNIT 2- P.No:57
UNIT-III- ARRAY AND STRINGS
1. Discuss in detail about string handling function.
Refer Page no: UNIT 3- P.No: 18 2. Write a program to find maximum element in a array Refer Page no: UNIT 3- P.No:43 3. Write a program to calculate the sum of the elements of a matrix stored in an array. Refer Page no: UNIT 3- P.No: 39 4. Write a program to perform multiplication operation of elements of a matrix stored in an array. Refer Page no: UNIT 3- P.No:37 5. Write a program to perform transpose of elements of a matrix stored in an array. Refer Page no: UNIT 3- P.No:36 6. Explain linear search and binary search with an example. Refer Page no: UNIT 3- P.No:33 7. Write a c program to reverse a given string. Refer Page no: UNIT 3- P.No:4 UNIT-4- FUNCTIONS AND POINTERS
1. Explain in detail about function declaration with suitable example.
Refer page no: UNIT 4- P.No :2 2. Explain in detail about pass by value and pass by reference with example. Refer page no: UNIT 4- P.No :6 3. Define in detail about pointers with example. Refer page no: UNIT 4- P.No :18
S.KAVITHA / AP / CSE / MSAJCE Page 2 of 3
QUESTION BANK GE6151 / COMPUTER PROGRAMMING
4. Explain in detail about recursive function
Refer page no: UNIT 4- P.No :14 5. Explain the categories of function by passing arguments. Refer page no: UNIT 4- P.No :10 6. Explain in detail about Pointer Arithmetic Operator. Refer page no: UNIT 4- P.No :25 7.Write a ‘C’ Program to compute the sum of all elements stored in an array using pointers Refer page no: UNIT 4- P.No :44
UNIT-5- STRUCTURES AND UNION
1. Explain the concept of structure with suitable example.
Refer page no: UNIT 5- P.No :2 2. Explain in detail about array of structure. Refer page no: UNIT 5- P.No :8 3. Explain in detail about structure with in structure Refer page no: UNIT 5- P.No :11 4. Explain in detail about unions with suitable example. Refer page no: UNIT 5- P.No :16 5. Explain in detail about storage class.
Refer page no: UNIT 5- P.No :20
6. Explain in detail about C preprocessor Directive. Refer page no: UNIT 5- P.No :24
Calculus Made Easy: Being a Very-Simplest Introduction to Those Beautiful Methods of Reckoning Which are Generally Called by the Terrifying Names of the Differential Calculus and the Integral Calculus
Mental Math: How to Develop a Mind for Numbers, Rapid Calculations and Creative Math Tricks (Including Special Speed Math for SAT, GMAT and GRE Students)
Classroom-Ready Number Talks for Third, Fourth and Fifth Grade Teachers: 1,000 Interactive Math Activities that Promote Conceptual Understanding and Computational Fluency