1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Andrei [34K]
3 years ago
14

Define a new class Fighter that inherits from Spaceship. Add a variable property weapon that defaults to an empty string and a v

ariable property remainingFirePower that defaults to 5.
Computers and Technology
1 answer:
Ksenya-84 [330]3 years ago
4 0

Answer:

class Fighter(Spaceship):

   weapon = ""

   remain_fire_power = 5

Explanation:

The class "Fighter" is a python class that inherits all the variables and methods from the Spaceship class. The Fighter class is considered the child class while the Spaceship class is known as the parent class. The weapon and remain_fire_power variables are class variables unique to the fighter class and defaulted to an empty string and 5 respectively.

You might be interested in
g What advantage does a circuit-switched network have over a packet-switched network? What advantages does TDM have over FDM in
REY [17]

Answer:

Advantages of a circuit-switched network over a packet-switched network are:

  • In Circuit-switched networks, resources needed to provide communication between the end systems for the duration of the session are usually reserved unlike in packet-switched networks where they are not reserved.
  • Circuit-switched networks have faster communication, so they can be used for Voice/Video calls
  • Circuit-switched networks have less errors in communication
  • Circuit-switched networks are more suitable for real-time services. Packet-switched networks are simpler, more efficient, and less costly to implement. They also offer better sharing of transmission capacity than circuit-switched network

Advantages does TDM have over FDM in a circuit-switched network are;

  • In TDM,  all connections operate at the same frequency , but In FDM,   all connections operate at different frequencies
  • In TDM there is low interference between the signals that are being multiplexed as compared to FDM.
  • In TDM, bandwidth is saved by allocating time slots on demand dynamically
  • TDM systems are more flexible than FDM

4 0
3 years ago
Read 2 more answers
When selecting font size in a document, ____ points equals one-inch-tall text?
IgorC [24]
Hello <span>Jhigg4685 
</span><span>

Answer: When selecting font size in a document, 72 points equals one-inch-tall text?


I hope this helps
-Chris</span>
3 0
4 years ago
You are the system administrator for a medium-sized Active Directory domain. Currently, the environment supports many different
Bogdan [553]

Answer:

All the Above

Explanation:

Domain local groups, global Groups, Universal Security Groups all these 3 groups can be used.

7 0
3 years ago
Adding Web pages helps Web designers ___. Choose all answers that are correct.
ss7ja [257]

Answer:

B

Explanation:

7 0
3 years ago
Which of the following is true of two-factor authentication?
dybincka [34]

Answer: D)It relies on two independent proofs of identity.

Explanation: Two factor authentication is technique which uses two steps/stage for the verification or authentication.It is done for the extra security maintenance.IT is also known as 2FA. It consist of two different authentication component so that it penetrates through double protection layer .

Other options are incorrect because It RSA public key cannot be used for the authentication of private content. It does not use both hand geometry at same time for both the levels and It does not utilize only single sign-on technology. Thus, the correct option is option(D).

7 0
3 years ago
Other questions:
  • Please use Python 3 to solve the following problem. Please also show all outputs and share code.The variable sentence stores a s
    6·1 answer
  • Why is it important to evaluate the website on which you plan to shop?
    7·2 answers
  • DTE just installed 500kW of solar capacity on the MCCC campus. the cost of the installation was about $3 million. what was the c
    10·1 answer
  • Consider the following code segments that are potential replacements for /* missing code */.
    6·1 answer
  • What is a cloud in the world of computing
    7·1 answer
  • What does the following Boolean operators do?<br>AND function<br>OR function<br>NOT function​
    8·1 answer
  • You are an IT network administrator at XYZ Limited. Your company has critical applications running of its Ubuntu Linux server. C
    6·1 answer
  • PLZZZZZ help will give brainleist <br> Two common sound files are?
    11·1 answer
  • Write a one page report describing the computer the client used, who else had access to it and other relevant findings. Referenc
    7·1 answer
  • "code is broken down by the computer until it is in _____and is a very long series of ons and offs
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!