Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Introduction to Obiect-oriented Analvsis and Desion 1. (10 points) True or False. Answer either True or False. (a) (1 point) A good object-oriented (OO) design

Introduction to Obiect-oriented Analvsis and Desion

image text in transcribed
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 Oproperty. (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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The World Wide Web And Databases International Workshop Webdb 98 Valencia Spain March 27 28 1998 Selected Papers Lncs 1590

Authors: Paolo Atzeni ,Alberto Mendelzon ,Giansalvatore Mecca

1st Edition

3540658904, 978-3540658900

Students also viewed these Databases questions