0% found this document useful (0 votes)
11 views4 pages

1 063008

The document outlines a comprehensive curriculum for learning C programming, covering topics such as basic syntax, control structures, arrays, functions, and pointers. It includes specific exercises and programming tasks to reinforce understanding of concepts like algorithms, flowcharts, data types, and user-defined functions. Each unit provides a structured approach to mastering C programming through practical examples and problem-solving activities.

Uploaded by

bankaravanti8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

1 063008

The document outlines a comprehensive curriculum for learning C programming, covering topics such as basic syntax, control structures, arrays, functions, and pointers. It includes specific exercises and programming tasks to reinforce understanding of concepts like algorithms, flowcharts, data types, and user-defined functions. Each unit provides a structured approach to mastering C programming through practical examples and problem-solving activities.

Uploaded by

bankaravanti8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Unit 1 :- Basics of C programming

1. List any four keywords used in c


2. Give the use of printf
3. Define algorithm
4. Draw the flowchart for checking whether the given number is positive or negative
5. Draw and label different symbols used in flowchart
6. Draw flowchart for finding largest number among three numbers
7. State the use of printf ( ) and scanf ( ) with suitable example
8. Write a program to print Fibonacci series starting from 0 and 1
9. Write algorithm and draw flowchart to print even numbers from 1 to 100 or 1 to 50
10. Write a c program among three numbers find largest number among three
11. Explain the use of comment in c language
12. Describe use of header file in c language
13. Explain formatted input output function with example
14. Define the term flowchart and algorithm.
15. Explain any four guidelines for preparation of flowchart
16. State any four datatypes used in c
17. List logical operator in c
18. Write syntax and use of pow ( ) function or header file
19. Explain datatype conversion with example
20. Explain any two string handling function with syntax and example
21. Write algorithm and draw flowchart to find largest number among three
22. Draw a flowchart for addition of two numbers
23. Describe the following term i.keyword ii.identifier iii.variable iv.constant .
24. Write a program to display table for given number (accept number from user)
25. Write a program to sum all the even numbers between 1 to 100
26. State the importance of flowchart.
27. Explain conditional operator with example
28. Write an algorithm to determine the give number is odd or even
29. Write a program to calculate sum of all the odd number between 1 to 20
30. Draw the flowchart for checking whether the given number is even or odd
31. Explain any four bitwise operators used in c with example
32. Describe general structure in c programming
33. Write a program to accept 10 numbers and print average of it
34. Enlist different format specifier and its use
35. Give the significance of header file
36. Explain increment and decrement operator
37. Write a program to accept the values of year as input from the keyboard and print
weather it is a leap year or not
38. Define type casting . give any one example
39. Develop a simple c program for addition and multiplication of two integer number
40. Explain any four library function under conio.h header file
41. Write a program to swap the value of variable a=10 and b=5 using function
42. Design a program to print the message 10 times
43. Implement a program to demonstrate logical AND operator
44. Design a program in c to read the n number of value in an array and display it in
reverse order

Unit 2 :- Control structure

1. State any four decision making statement


2. Write a program using switch statement to check weather entered character is vowel
or consonant
3. Give the syntax of for loop
4. Explain go to statement with example
5. Write a c program to print following pattern using loop
12345
1234
123
12
1
6. Write a program to convert temperature in Fahrenheit degree to centigrade degree
7. Write a c program to print following pattern using loop
1
22
333
4444
55555
8. Explain do while loop with example
9. Explain nested if else with example
10. Illustrate the use of break and continue statement with example
11. Write a program to add subtract multiply and divide two number accepted from user
using switch case
12. Write the syntax of switch case statement
13. Difference between while and do while statement
14. Draw a flowchart for checking whether the given number is prime or not
15. Write a program to take input as a number and reverse it by while loop
16. Give syntax of if else ladder
17. State use of while loop with syntax
18. Draw a flowchart of do while loop and write a program to add number until user
enters zero
Unit 3 :- array and structure

19. Define array list its type


20. Illustrate initialization of one-dimensional array with example
21. Illustrate initialization of two-dimensional array with example
22. Difference between character array and integer array with respect to size and
initialization
23. Write a program using structure and display information of employee which consist
of employee id, name, age and salary
24. Write a program to add two 3x3 matrices display the addition
25. Write a c program to add two distances in given kilometer using structure
26. Write a c program for multiplication of 3x3 matrices
27. Define: i. Two-dimensional array
ii. Multi-dimensional array
28. Develop a program using structure to print data of three students having data
member name, class, percentage.
29. Give a method to create, declare and initialize structure also develop a program to
demonstrate nested structure
30. Write a program to declare structure employee having data member name, age,
street and city. Accept data for two employee and display it
31. Write a program to accept the string as input from user and determine its length
[ don’t use build in library function strlen( ) ]
32. Declare a structure student with element roll number and name
33. Write a program to accept 10 number of array and arrange them in ascending order
34. Define array and write a program to accept ten number in array sort array element
and display
35. Write a program to read two strings and find weather they are equal or not
36. write a program to array sort element of an array in ascending order
37. define structure give one example of structure declaration
38. write a program to declare an array of 5 element and display sum of all array element
39. Write a program to declare structure employee having data member name, age,
designation and salary. Accept data for one employee and display it
40. Write a c program to find the largest and smallest number in a given array

Unit 4 :- Functions

1. List the categories of user define function


2. Develop a program to find the factorial of a number using recursion
3. List any two-string handling function
4. Explain all math function with its uses
5. Explain call by value with example
6. Write a C program to generate Fibonacci series for given number using recursion
7. State any four advantages of function
8. Write a C program to find area of circle using function
9. List the categories of function and explain any one with example
10. Give any four differences between call by value and call by references
11. Write a program to reverse the number 1234 using function
12. Write a C program to perform addition, subtraction, multiplication and division of
two integer number using function
13. Explain recursion with suitable example. List any 3 advantages
14. Explain user define function with example
15. Write a program to accept marks of four subjects as input from user. Calculate and
display total and percentage marks of students using function
16. Write a program to swap two numbers using call by value
17. Write a program to print value of variable and their addresses
18. Explain following function : getchar ( ), putchar ( ), getch ( ), putch ( ) with suitable
examples
19. Develop a program to find diameter, circumference and area of function using
function

Unit 5 :- Pointers

You might also like