Category solved model papers

Programs

1. Calculate the Area of a Rectangle and Triangle 2. Check Whether a Number is Even or Odd 3. Generate Fibonacci Sequence of Length N 4. Check Whether the Number…

Write short note on Prototyping and Planning

i) Prototyping and Planning Prototyping and planning are two different approaches to software development. Prototype and Patch Approach (from 16.4): This approach is helpful when the problem is not fully…

Explain the following with an example

i) isinstance() Used to check if an object is an instance of a specific class. Example: This returns True if p is an instance of the Point class. ii) hasattr()…