Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

need help to answer this quesitions python Answer two of the following questions

ID: 3834244 • Letter: N

Question

need help to answer this quesitions python

Answer two of the following questions for full credit for this assignment. Your solution should be between fifty and one hundred words. Place your questions in the “Answer” section below. Be certain to number your answers with the same number that is associated with the question.

1-- What are the four classes that are part of the Astrocrash design? How do they cooperate in running the game?

2 --What is meant by extending a class through inheritance?

3-- Why do programmers try to minimize repeated sections of code in a program?

4-- What are the basic guidelines used to name key constants?

5--How is music handled differently than sound by the livewires game engine?

Explanation / Answer

2. Inheritence is an important part of the object oriented programming language.It helps to use the properties of the class
which the derived class in inheriting based on the type of inheritence.If the base class has all variable and fucntions
as public and in derived it can be used easily.But if the access specifier is private then we can only use the value which is returned
cannot use the variable directly.Last but not the least if the access specifier is private then the immediate class which is deriving it can use it.
But in python there are no concept of access specifier or access modifiers.

3.Programmers always try to minimise repeating the same sections of code.Same code takes up memory spaces in the and also
its not a proper way of coding.We dont have to repeat the same code for that we use the function structure.Also this same code
have some extra memory,time consuming adding complexity and so on.If the same code has to be used then its better to use a function
and just call the function when it is needed.