ASSIGNMENT-1


1. Give the general structure of a C program and discuss its various parts.

2. What are the various data types available in C?

3. What is the difference between keywords and identifiers? Explain with suitable example.

4. Discuss the various operators supported in C?

5. What do you mean by precedence and associativity of operators?

6. How unary operators are different form ternary operators? Explain with suitable example.

7. What do you mean by type casting? Explain.

8. What do you mean by formatted output? Explain.

ASSIGNMENT-2




1. What do you mean by branching in a program? What are the various options available in C for branching?

2. How the do-while loop is different from while loop?

3. Write the syntax of switch statement and explain how it works.

4. Discuss the working of break and continue statement.

5. How an array is declared and initialized (both 2-dimensional and 3-dimensional)?

6. Write a program to sort some integer numbers.

7. What do you mean by a loop? Differentiate between exit controlled and entry controlled loop.



ASSIGNMENT-3



1. Give the general structure of a C program and discuss its various parts.

2. What are the various data types available in C?

3. What is the difference between keywords and identifiers? Explain with suitable example.

4. Discuss the various operators supported in C?

5. What do you mean by precedence and associativity of operators?

6. How unary operators are different form ternary operators? Explain with suitable example.

7. What do you mean by type casting? Explain.

8. What do you mean by formatted output? Explain.
.


ASSIGNMENT-4




1. What do you mean by branching in a program? What are the various options available in C for branching?

2. How the do-while loop is different from while loop?

3. Write the syntax of switch statement and explain how it works.

4. Discuss the working of break and continue statement.

5. How an array is declared and initialized (both 2-dimensional and 3-dimensional)?

6. Write a program to sort some integer numbers.

7. What do you mean by a loop? Differentiate between exit controlled and entry controlled loop.



ASSIGNMENT-5


A Computer is an electronic device, which takes input from the user in the form of data and instructions, it processes the data and generates output and displays it to the user.