You are on page 1of 2

1

1. Describe the Structure of a C program in detail with suitable example.

Refer to Page No.31 to 32 in the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg.

2. What is a comment? Write the syntax for writing comments in C. what are the guide lines followed while writing comments?
Refer to Page No.34 to 35 in the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg.

3. What is an identifier? What are the naming conventions used for identifiers in C. 4. What is a token? Explain different C tokens.

Refer to Page No.36 to 37 in the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg. Refer to Page No.3.1 in the book titled C Programming and Data structures by E Balaguruswamy Refer to Page No.2.9 to 2.11 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al. Refer to Page No.3.8 to 3.10 in the book titled C Programming and Data structures by E Balaguruswamy Refer to Page No.51 to 52 in the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg.(Concept is Coding Constants) Refer to Page No.3.3 to 3.7 in the book titled C Programming and Data structures by E Balaguruswamy

5. Explain different basic data types in C with examples.

6. Write a short note on C constants.

7. What are the formatted I/O functions available in C. Explain them in detail with examples. 8. What is an operator? Explain different operators in C.

Refer to Page No.2.14 to 2.18 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al. Refer to Page No.2.26, 2.30 to 2.44 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al.

9. What are the shift operators? Write a program to shift the entered number by

three bits left and display the result. 10.

Refer to Page No.3.39 to 3.40 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al. Refer to Page No.94 to 106 in the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg. Refer to Page No.2.24 to 2.25 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al. Refer to Page No.104 the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg.(Assignment) Refer to Page No.2.33 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al.(Relatiaonal)

What is an expression? Explain different categories of expressions.

11.

What is the difference between = and ==. Explain with example.

12. Define Precedence & Associativity. Explain the operator precedence and associativity of C.

13.Refer to Page No.106 to 110 the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg. Refer to Page No.2.26 to 2.28 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al.

14.

Explain various types of statements available in C.

2 Refer to Page No.120 to 125 the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg. 15. write a short note on type conversion. Refer to Page No.114 to 120 the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg. Refer to Page No.2.45 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al.

16. 17.

Refer to Page No.2.46 to 2.83 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al. Refer to Page No.243 in the book titled A Structured Programming Approach Using C by Behrouz A Forouzan and Richard F Gilberg. Refer to Page No.2.46 to 2.83 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al.

With examples explain different decision statements in C? Write a short note on nested if statement.

18. What is difference between break and continue statements? Explain with examples. 19. What is a loop? Why it is necessary in the program? What happens if you create a loop that never ends?
Refer to Page No.2.84 to 2.153 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al. Refer to Page No.2.84 to 2.153 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al.

Refer to Page No.2.62 to 2.63 in the book titled Programming in C and Data structures by Ashok Kamthane and Anand Rao et. Al.

20. What is a nested loop? Explain with suitable example.

You might also like