Add another constructor to the Slide class that takes just a picture filename and plays no sound when it plays.
Note: The second constructor is simple to add, but also requires a check within the “show” method to avoid a Inappropriate argument exception
```
class Slide:
def __init__(self, pictureFile,soundFile):
self.picture = makePicture(pictureFile)
self.sound = makeSound(soundFile)
def __init__(self, pictureFile):
self.picture = makePicture(pictureFile)
self.sound = None
def show(self):
show(self.picture)
if not self.sound==None:
blockingPlay(self.sound)
```
You might also like to view...
Actions that require administrator permission are marked with the _____ icon.
A.
B.
C.
D.
Answer the following statements true (T) or false (F)
1. The first SDLC phase that the analyst enters into is that of determining information requirements for the particular users involved. 2. A systems proposal is prepared after the analysis of system needs. 3. During the life cycle of an information system, more time is spent in system maintenance than it took to design and develop the system. 4. CASE tools have the potential of increasing systems analysts' productivity. 5. CASE tools can allow the user to easily draw and modify diagrams.
Why would you want to use just a single sequence as a source for the Project Manager (as opposed to the entire project)?
What will be an ideal response?
Character data is composed of letters, symbols, and numerals that are used in calculations.
Answer the following statement true (T) or false (F)