This page contains the 2023 BCA 1st Semester C Programming question paper of Purnea University. The question paper includes multiple choice questions, short answer questions and long theory questions based on the latest syllabus. This PYQ is helpful for BCA students preparing for their semester examinations.
PUS-BCA-03
BCA (SEMESTER-1)
END SEMESTER EXAMINATION, DECEMBER-2023
(PROGRAMMING METHODOLOGY AND C PROGRAMMING)
PAPER-III
Time: 3 Hours Passing Marks: 31.5 Maximum Marks: 70
Note -Answer any five questions in which question I is compulsory. Each question carries 14 marks.
- Objective. (Each contains I marks)(1) The global variables are(a) External(b) Internal(c) Both(d) None of these(b) The #include<stdio.h> is a(a) Inclusion directive(b) File inclusion directive(c) Jet Preprocessor directive(d) None of these(c) Comment on the C statement given below:
int (*p)[5];
(a) A mgged array(b) An array "p" of pointers(c) A pointer "p" to an array(d) None of these(iv) What is the output of the above program?i = 3i
printf("%d", ++i);(a) 3(b) 4(c) 5(d) 6(V) Which of the following in not a logical operator?(a) &&(b) !(c) ||(d) |(vi) Which of the following is an important requirement of C programming?(a) Function(b) Input variables(c) Output variables(d) All of the above(vii) When was C programming developed?(a) 1950(b) 1960(c) 1970(d) 1980(viii) Which of the following is not a variables type in C programming?(a) Float(b) Int(c) While loop(d) All of the above(ix) What is the use of print f in C programming?(a) Helps in the printing of a string on the output screen(b) Processes the variables in a program(c) Is a variable type(d) All of the above(x) What does a do-while loop do?(a) Repeats the process infinitely(b) Processes the code at least once and then repeats(c) Repeats only once(d) All of the above - Describe the data type of C programming.
- Discuss the concept of call by value and call by address using function.
- Write a C program to swap the two numbers using three variables, further, draw the flowchart diagram of that program.
- Explain the different types of loops: (a) for, (b) while, (c) Do-while.
- Describe the concept of dynamic memory allocation with appropriate example.
- Write a C program to determine the given number is even or odd number using if-else conditions.
- Define Structure, and how to access the members of Structure?
- Difference between Break and Continue, with suitable example.
- What do you mean by Union? Discuss about the declaration of union variable.
- How to declare and initialize the one dimensional array?
- What is the importance of pointer in C programming
***