C PROGRAMMING EXAMINATON (2025-26) (GOVT OF INDIA VOCATIONAL EXAMINATON)
GOVT OF INDIA
VOCATIONAL EXAMINATION BOARD
APPROVED BY GOVT.OF INDIA
"C PROGRAMMING"
FINAL EXAM 2025-26
SUBJECT CODE-REG27/16/02
Total Marks: 100Time: 01:15 Minutes
✅ Section A: Objective / MCQs (20 Marks)
Each question carries 2 marks.
-
Which of the following is a valid C identifier?
a) 1variable
b) _var
c) float
d) int-var -
Which header file is required for
printf()andscanf()?
a) conio.h
b) stdlib.h
c) stdio.h
d) string.h -
What is the output of this code:
a) 6
b) 5
c) Error
d) Undefined -
What is the size of an
inton most 32-bit compilers?
a) 2 bytes
b) 4 bytes
c) 8 bytes
d) Compiler dependent -
Which of the following loop is executed at least once?
a) for
b) while
c) do-while
d) if
✍️ Section B: Short Answer Questions (30 Marks)
Attempt any 5 questions. Each question carries 6 marks.
-
Explain the difference between
whileanddo-whileloops with examples. -
Write a C program to find whether a number is prime or not.
-
What are functions in C? Write a function to calculate the factorial of a number.
-
What is the use of
breakandcontinuestatements? Explain with examples. -
Differentiate between call by value and call by reference.
-
What are arrays in C? Write a program to find the largest element in an array.
-
What is a pointer? Explain with an example.
🧠 Section C: Long Answer / Application-Based Questions (50 Marks)
Attempt any 2 questions. Each question carries 25 marks.
-
Write a menu-driven C program to implement a calculator that performs addition, subtraction, multiplication, and division using
switchcase. -
Define a structure for storing student information (name, roll no, marks). Write a program to input data for 5 students and display it.
-
Write a program using file handling to create a file named
data.txt, write user input into it, and then display the contents of the file.

Comments
Post a Comment