Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 1 subjective questions Introduction to Programming

CAP1008 — C Programming 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define programming and explain the basic concept of a program. Why is programming considered an essential skill in computer science?

  2. Question 2 of 20

    List and explain the key characteristics of a good program.

  3. Question 3 of 20

    Describe the various stages in program development.

  4. Question 4 of 20

    What is an algorithm? List the characteristics that a good algorithm must satisfy.

  5. Question 5 of 20

    Write an algorithm to find the largest of three numbers and explain each step.

  6. Question 6 of 20

    What is a flowchart? Explain the common flowchart symbols with their meanings.

  7. Question 7 of 20

    Distinguish between an algorithm and a flowchart.

  8. Question 8 of 20

    Explain the different types of programming methodologies in detail.

  9. Question 9 of 20

    Explain the top-down approach of program development with a suitable example.

  10. Question 10 of 20

    Explain the bottom-up approach of program development with a suitable example.

  11. Question 11 of 20

    Compare the top-down and bottom-up program development approaches.

  12. Question 12 of 20

    Describe the program development cycle in detail with the help of a case study.

  13. Question 13 of 20

    What are the different notations used to represent algorithms? Explain each briefly.

  14. Question 14 of 20

    Draw a flowchart and write an algorithm to check whether a given number is even or odd.

  15. Question 15 of 20

    Explain the concept of structured programming. What are its advantages?

  16. Question 16 of 20

    Write an algorithm and draw a flowchart to compute the factorial of a given number.

  17. Question 17 of 20

    What is debugging? Explain the different types of errors encountered in programming.

  18. Question 18 of 20

    Explain the importance of documentation and maintenance in the program development process.

  19. Question 19 of 20

    Explain problem analysis and algorithm design as key stages of program development. Why are they important before coding?

  20. Question 20 of 20

    Write an algorithm and draw a flowchart to find the sum of the first N natural numbers, and verify it using the mathematical formula.

That's unit 1

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.