BCA C Programing Important Question from Unit 2nd(Pointer) for CSJM University Exam 2nd Semester



Unit- 2 (POINTER)
1.   Explain the Relation Between an Array and Pointer?
2.   What is Pointer? Explain their Features and What is use of (*) Indirection Operator?
3.   Write the use of
(a). calloc()
(b). malloc()
(c). free()
(d). realloc() with suitable examples?

4. Write a Program to Swap Two numbers using Call by Reference?
5. Write a difference between “call by value” and “call by reference” with suitable examples?
OR
     Explain types of function calling in c with example?
6. What is Dynamic memory Allocation? Explain briefly?
OR
Explain with the example the concept of Garbage Collection?
7. Write the 5 Advantages And 5 Disadvantages of Pointer?
8. Explain the Arithmetic Operation Supported by Pointer?
9. Explain (A). Library function (B). User Define Functions?
10.Write difference between Address Operator(&) and Indirection Operator(*)?

BCA C Programing Important Question from Unit 1st(Array) for CSJM University Exam 2nd Semester



UNIT 1- ARRAYS
1.   Write a program to check the give number is Armstrong or Not?
2.   Explain:  
 (a) for loop 
 (b) while loop 
(c) do while loop.
3.   Write a program to print all prime numbers below 100?
4.   Write a program to calculate the numbers of Years and Months take input as a “days” from the user.
5.   Explain:     
 (a) Arithmetic Operator                                                                                 
 (b) Relational Operator                                                                        
 (c) Logical Operator
6.   Write a program to calculate the Area of Triangle and Area of Circle.
7.   What is Difference between Character Array and Integer Array?
8.   Write a program to sort an Arithmetic Array in increasing order?
9.   What are data types? Explain different types of data types and their size?
    10.    Write a program to even numbers up to 100.
    11.    Write a program to print sum and average of 5 integers digits?
    12.    Write a program to multiply 2*2 Matrices.
  13.    What are arrays? How can they be initialized? Give the Memory       representation of Arrays?                                                                                   OR                           
 What do you mean by Array? How can we declare Arrays?
    14.    Write the difference between Multidimensional Array and one    Dimensional Array?
    15.    Write a program to Add and Subtraction of 2 Matrix take Input from    the user?
   16.    What is Multidimensional Array? Explain with suitable Example?  

17.  What Are Subscripts? How are they written? And write there  Restrictions apply to the values?
18. Write a program to find Largest and Smallest in an Array?
19. Write a program to find the Determinant of 3*3 Matrix? 
20Write a program to Inverse of a matrix?

 
 

Topic :Software & Types, Subject: Computer Fundamental Notes for CSJM University Kanpur(for different courses like BBA, BCA, etc..)

Software Software refers to the programs, data, and instructions that enable a computer or other digital device to perform specific tasks or...