OOP Assignment 1
OOP Assignment 1
1. Define the Problem: Clearly articulate the issue that needs to be addressed.
2. Plan the Solution: Decompose the problem into logical steps, potentially
using flowcharts or pseudocode for clarity.
3. Write the Code: Translate the planned solution into a programming
language.
4. Test the Program: Conduct various tests to ensure the solution works as
intended.
5. Debug: Identify and correct any errors or issues that arise.
6. Document and Maintain: Organize the code and create comprehensive
documentation for future reference.
2. Visual Programming
Visual Programming: This methodology allows users to design software by
manipulating graphical elements rather than writing code. It is especially useful for
educational purposes and for quickly developing applications.
Key Features:
1. Calculate remainder = a % b
2. Set a to b and b to remainder
1. Multiply factorial by i
MCQs
Q1: Q2: Q3: Q4: Q5: Q6: Q7:
(A) (D) (C) (A) (D) (D) (B)
Q8: Q9: Q10: Q11: Q12: Q13: Q14:
(B) (D) (A) (D) (C) (D) (A)
Q15: Q16: Q17: Q18: Q19: Q20: Q21:
(A) (C) (C) (D) (B) (D) (B)
Q22: Q23: Q24: Q25: Q26: Q27: Q28:
(B) (A) (D) (D) (D) (D) (C)
Q29: Q30: Q31: Q32: Q33: Q34: Q35:
(B) (C) (D) (C) (B) (D) B
Q36: Q37: Q38:
(B) (D) (D)