[go: up one dir, main page]

0% found this document useful (0 votes)
36 views1 page

IMP QUES - Google Docs C Programming

The document contains a list of important questions related to C programming, including topics such as the structure of a C program, algorithms for calculating area and perimeter, flowcharts for computing simple interest, and the implementation of a simple calculator using switch statements. It also covers conditional statements, operators, variable rules, and includes tasks like finding roots of quadratic equations and checking for palindromes. Each question prompts for explanations, examples, or code implementations to demonstrate understanding of C programming concepts.

Uploaded by

vishwaskr14
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)
36 views1 page

IMP QUES - Google Docs C Programming

The document contains a list of important questions related to C programming, including topics such as the structure of a C program, algorithms for calculating area and perimeter, flowcharts for computing simple interest, and the implementation of a simple calculator using switch statements. It also covers conditional statements, operators, variable rules, and includes tasks like finding roots of quadratic equations and checking for palindromes. Each question prompts for explanations, examples, or code implementations to demonstrate understanding of C programming concepts.

Uploaded by

vishwaskr14
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/ 1

‭IMPORTANT QUESTIONS‬

‭1.‬ ‭Explain the structure of C program in detail. Write a sample program to‬
‭demonstrate the components in the structure of C program.‬
‭2.‬ ‭Develop an algorithm to find the Area and Perimeter of a circle.‬
‭3.‬ ‭Draw a flowchart and C program which takes as input p,t,r. Compute the simple‬
‭interest and display the result.‬
‭4.‬ ‭Develop a simple calculator program in C language to do simple operations like‬
‭addition, subtraction, multiplication and division. Use switch statement in your‬
‭program.‬
‭5.‬ ‭Explain with syntax, if and if-else statements in C program.‬

6‭ . Explain any‬‭FIVE‬‭types of operators in C language‬‭with the illustrative‬


‭examples.‬
7‭ . Write a C program to find the roots of quadratic equation by accepting the‬
‭co-efficients.‬
‭8. Explain the working of goto statement in C with example.‬
‭9. Explain switch statement with syntax and example.‬
1‭ 0. What is variable? What are the rules to construct variable? Classify the‬
‭following as valid/invalid Identifiers. i) num2 ii) $num1 iii) +add iv) a_2 v)‬
‭199_space vi) _apple vii)#12‬
‭11. Write a C program to print whether a given number is palindrome or not.‬
‭12. Explain switch statement with syntax. Write a C program to simulate calculator.‬

You might also like