Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Introduction to Object-oriented Analysis and Design Fall 2022 1. (10 points) True or False. Answer either True or False. (a) (1 point) A good object-oriented
Introduction to Object-oriented Analysis and Design Fall 2022 1. (10 points) True or False. Answer either True or False. (a) (1 point) A good object-oriented (OO) design must use inheritance, especially multiple inheritance. (b) (1 point) Test-driven Development (TDD) and Iterative and Incremental Development (IID) work for the OO paradigm too. (c) (1 point) An Iterator class must raise StopIteration exception somewhere. (d) (1 point) In Python, Dictionary, List, Set, and String are Iterable classes which allow the following uniform for-loop usage for x in iterable_object. (e) (1 point) Generator is iterator, while iterator is not generator. A file object is an iterator. (f) (1 point) In Python, attributes and properties are different things. We can make a property by decorating a class method using eproperty. (g) (1 point) An object must be something physically tangible. It cannot be a concept. (h) (1 point) Polymorphism can also be achieved through duck typing. (i) (1 point) The Unified Modelling Language (UML) is a useful tool in OO analysis and design. In real software development, programmers mechanically translate UML diagrams to code. A team is not professional enough if they do not draw lots of pretty UML diagrams. (j) (1 point) The OO paradigm is superior to the non-OO paradigm in terms of code maintainability, regardless of the programmer's skills
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started