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

Bpops103 Module 2 Important Questions

The document contains a list of important questions related to C programming, covering various topics such as operators, control statements, loops, and specific programming tasks. It includes requests for explanations, syntax, and examples for concepts like relational, logical, and conditional operators, as well as programming exercises like finding roots of a quadratic equation and checking for palindrome numbers. Additionally, it addresses distinctions between control statements like break and continue, and provides tasks for writing C programs based on user input.

Uploaded by

abdulrahman63562
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)
42 views1 page

Bpops103 Module 2 Important Questions

The document contains a list of important questions related to C programming, covering various topics such as operators, control statements, loops, and specific programming tasks. It includes requests for explanations, syntax, and examples for concepts like relational, logical, and conditional operators, as well as programming exercises like finding roots of a quadratic equation and checking for palindrome numbers. Additionally, it addresses distinctions between control statements like break and continue, and provides tasks for writing C programs based on user input.

Uploaded by

abdulrahman63562
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

Module 2 Very Important questions

1.Write a note on the following operators. i) Relational ii) Logical iii) Conditional (6)

2. Write a note on the following operators. i) Unary ii) Arithmetic iii) Bitwise (6)

3. Write a C program to find roots of quadratic equation (8)

4.Explain Switch Statement with Syntax and example (7)

5. Explain with syntax, if, if-else & cascaded if else statements in C program

6.Distinguish between the break 04:41 and continue statement (6)

7. Illustrate Nested loops in C with suitable example (6)

8. Write a C program to print whether a given number is palindrome or not (7)

9. Differentiate between while and do while loop (6)

10. Explain the syntax of for loop and write a program using for loop to find sum of first n natural
numbers (8)

11. Explain the syntax of if statement and write a program to find largest of 3 numbers using if
statement (8)

12. Explain the syntax of do while statement. Write a c program to find the factorial of a number
using do while where the number n is entered by user (8)

13. Write a c program to read a year as input and check whether it is a leap year or not (4)

14. List the types of looping statements in c. Explain any two with syntax and example (6)

15. Evaluate the following expression.

You might also like