C programming most repeated important questions for class 12 nepal :
1)What is nested loop? Write a program to display the multiplication table of nth terms of given numbers.
2)Describe any five “string handling functions” with examples.
3)Write a program which reads salary of 25 employees and count the number of employees who are getting salary between 30,000 to 40,000.
4)Describe fprintf and fscanf file handling functions. Write a program which writes “welcome to Nepal” in a file.
5)What is control statement? Describe ‘Sequence’, ‘Selection’ and ‘Loop’ with flowchart and examples.
6)Write a program which reads name of 20 employees and sort them in alphabetical order.
7)Differentiate between structure and union with suitable examples.
8)What is recursion? Write a program to calculate factorial value of given number using recursive function.
9)Write a program which reads name, department and age from a file named “employee.dat” and display them.
10)What is string? Explain any four string handling functions with example.
11)What is control statement? Write a program which selects and prints largest among 3 numbers using “if-else” statement with flow charts.
12)Write a program to store mark obtained by ‘n’ students and count the number of students who obtained mark greater than 70. Also count the number of students who are failed . List any five string functions.
13)Write a program to input a string and count the number of consonants containing in the string.
14)Write a program to show data writing and reading operating to / from a data file.
15)Explain the importance of pointer in C programming. Illustrate pointer operations with examples. Show the relationship between array and pointers with example.
16)Write an algorithm for a program that input cost price (CP) and selling price (SP) and determines whether there is gain or loss. Convert this algorithm into program code.
17)Write a program to display the name of day on the basis of entered number 1 to 7. For example, 1 for Sunday.
18)Explain data types used in C programming with examples.
19)What is looping? Write a program to calculate and display the multiplication table using nested loop.
20)Describe the “strca”, “strcpy”, “strle” and “strrev” string functions with examples.
21)Write a program to arrange the elements of an array in ascending order.
22)What is “fscanf” function? Write a program to display name, age and address reading from a file named “record.dat”.
23)What is function? Write a program to generate factorial of given number using recursive function.
24)Describe any five ‘file handling function’ with examples.
25)What is looping? Describe ‘for loop’, ‘while loop’ and ‘do-while loop’ with appropriate examples.
26)Write a program which asks 100 numbers and sort them in ascending order.
27)Write a program to find greatest number among four numbers.
28)Write a program which reads name of 100 students and sort them in alphabetical order.
29)Describe ‘Sequence’, Selection’ and ‘Loop’ with flowchart. Write a program to check if a number is odd or even.
30)What is pointer? Describe the benefits of pointer with examples.
31)What is an array? Write a program which finds multiplication table of two matrices .
32)Write a program which reads name, roll-number and age from a file named “student. dat” and display them.
33)Write a program which reads the sum, difference and product of 2 numbers using switch case statement.
34)Describe the types of loop with flowchart and examples.
35)Write a program which asks the user to input ‘n’ terms of number and find out the greatest and smallest number among those numbers.
All these questions are most repeated and important . Futher more details you can visit our youtube channel Tukus Technology
No comments:
Post a Comment