What is the purpose of inheritance in object-oriented programming?
What is abstraction?
What is the difference between abstraction and encapsulation in programming?
A teacher wants to simplify a complex math problem by focusing only on the main concepts. Is this abstraction or decomposition?
Which of the following is an example of abstraction in object-oriented programming?
An engineer creates a high-level design of a system without going into technical details. Is this abstraction or decomposition?
What is the main purpose of abstraction in programming?
Which of the following is an example of abstraction in everyday life?
In a group project, a team divides the work into separate tasks like research, design, and presentation. Is this abstraction or decomposition?
To analyze a video game, players focus on the general gameplay instead of the specific mechanics. Is this abstraction or decomposition?
A student summarizes a novel to highlight only the main themes. Is this abstraction or decomposition?
A scientist breaks down a complex experiment into a series of smaller experiments to study each part thoroughly. Is this abstraction or decomposition?
In object-oriented programming, what is a class?
A chef prepares a recipe by chopping vegetables, measuring ingredients, and cooking separately rather than making everything at once. Is this abstraction or decomposition?
A software developer breaks a program into smaller, manageable parts for easier coding. Is this abstraction or decomposition?