C Programming Exam Questions PDF 2024-25

Document Details

College of Applied Science (IHRD) Chelakkara

2024

Tags

C programming programming questions exam questions computer science

Summary

This document contains a question bank for an internal examination in C programming, covering topics such as tokens, loops, branching statements, operators, and data types. The questions are categorized into short answer and essay sections. The questions are aimed at third-semester students of BSc Electronics.

Full Transcript

**COLLEGE OF APPLIED SCIENCE(IHRD) CHELAKKARA** **THIRD SEMESTER BSC ELECTRONICS(2024-25)** **PROBLEM SOLVING USING C** **INTERNAL EXAMINATION QUESTION BANK** **SHORT ANSWER** 1. What are C Tokens ? 2. Explain a nested for loop. 3. Write the syntax of switch statement. 4. What is the pur...

**COLLEGE OF APPLIED SCIENCE(IHRD) CHELAKKARA** **THIRD SEMESTER BSC ELECTRONICS(2024-25)** **PROBLEM SOLVING USING C** **INTERNAL EXAMINATION QUESTION BANK** **SHORT ANSWER** 1. What are C Tokens ? 2. Explain a nested for loop. 3. Write the syntax of switch statement. 4. What is the purpose of continue statement ? 5. Explain ternary operator. 6. What is the use of goto statement ? 7. What are integer literals ? 8. What do you mean by reserved keywords ? Give examples. 9. What is a Variable ? What are the rules for naming a variable ? 10. What is the use of break and continue statement in C ? 11. Explain with example ++i and i++ 12. Define conditional operator. 13. Explain getchar() and putchar() ? 14. What do you mean by an identifier ? 15. What are enumerated data types ? 16. What is a header file? 17. Which are the decision making statements with if? 18. **SHORT ESSAY** 1. Differentiate the use of break and continue statements with examples. 2. Explain if and ifelse in C with syntax and example. 3. Explain about the data types in C. 4. Explain operators in C 5. Explain logical operators in C. 6. Explain looping statement in C. 7. Which are the different integer types in C ? 8. Explain relational operators in C. 9. Explain, how goto statement is used for unconditional branching? 10. Differentiate exit controlled loop and entry controlled loop with example. **ESSAY** 1. Explain about decision-making and branching statements using if and conditional operator with examples. 2. Explain the structure of a C program with example. 3. Define an operator. Explain various categories of C operators with suitable examples. 4. Explain various decision making and looping structures available in C with suitable examples. 5. Explain datatypes in C.

Use Quizgecko on...
Browser
Browser