C-programming is very important chapter in class 12 both in terms of marks weightage and for programming knowledge and skills. Almost about 40 marks of questions is asked from C-programming itself in board examination of NEB. Here are the frequently repeated question for NEB class 12 computer science.
NEB C-programming question Collection
Theory questions
- Define operators. Explain types of operators.
- Define data types. Explain different data types used in C.
- Define control structure. Explain different types of control structure.
- Differentiate between for loop and while loop with program example.
- Differentiate between entry control loop (while) and exit control loop (do while) with program example.
- Define functions. Write the advantages of function with program example.
- Define pointer. Write the advantages of pointers with program example.
- Differentiate between structure and union.
- Define function. Explain any 5 string handling function with program example.
- Short notes on array , recursion (recursive function)
Program question.
- Write a C program to generate fibonacci series. [ 2, 3, 5, 8 ……10th term]
- Write a C program to input a number and check whether it is odd or even.
- Write a C program to input a number and check whether it is exactly divisible by 5 but not by 7.
- Write a C program to input a number and print multiplication table of given number.
- Write a C program to find greatest number among 3 number.
- Write a C program to calculate sum of n-natural number.
- Write a C program to reverse a given number.
- Write a C program to check whether given string is palindrome or not.
- Write a C program to count total vowels from given string.
- Write a C program to calculate factorial of a given number using recursive function.
- Write a C program to find greatest number among 10/n numbers.
- Write a C program to arrange 10/n numbers in ascending order.
- Write a C program to read salary of 300 employees and count the number of employee getting salary between 30000 to 50000.
- Write a C program to read two 3x3 matrices and perform matrix addition/multiplication.
- Write a C program to enter name, roll number and percentage of 10 student and store them in a data file [use any name]
- A datafile “patient.txt” contain name, disease , age and bed number of few patient. Write a C program to read and display records of all patients in appropriate format.
- A datafile “patient.txt” contain name, disease , age and bed number of few patient. Write a C program to read and display only records of patients suffering from “COVID”.
- Write a C program to enter book name, book id and book author of few book and store them in a data file named “library.txt”. Display each records in screen in appropriate format.
Click here for solution of all the questions and program.