Write a superclass encapsulating a rectangle. A rectangle has two attributes representing the width and the height of the rectangle. It has methods returning the perimeter and the area of the rectangle. This class has a subclass, encapsulating a parallelepiped, or box. A parallelepiped has a rectangle as its base, and another attribute, its length; it has two methods that calculate and return its area and volume. You also need to include a client class to test these two classes.

Answers

Answer 1
That’s how you do it times the box and the rectangle to have a parallelepiped

Related Questions

match the cell reference to its definition

Answers

Answer:

which cell reference:-|

Answer:

absolute reference: the cell remains constant when copied or moved.

mixed reference: the cell has a combination of two other types of cell references.

relative reference: the cell changed based on the position of rows and columns.

You have been given an encrypted copy of the Final exam study guide here, but how do you decrypt and read it???

Along with the encrypted copy, some mysterious person has also given you the following documents:

helloworld.txt -- Maybe this file decrypts to say "Hello world!". Hmmm.

hints.txt -- Seems important.

In a file called pa11.py write a method called decode(inputfile,outputfile). Decode should take two parameters - both of which are strings. The first should be the name of an encoded file (either helloworld.txt or superdupertopsecretstudyguide.txt or yet another file that I might use to test your code). The second should be the name of a file that you will use as an output file. For example:

decode("superDuperTopSecretStudyGuide.txt" , "translatedguide.txt")

Your method should read in the contents of the inputfile and, using the scheme described in the hints.txt file above, decode the hidden message, writing to the outputfile as it goes (or all at once when it is done depending on what you decide to use).

Hint: The penny math lecture is here.

Another hint: Don't forget about while loops...

Mac hint: use encoding="utf-8" in your file open functions, like this:

Mac hint: use encoding="ascii" in your file open functions, like this:

fin = open(input_file,"r",encoding="ascii")

Answers

Answer:

You use a decoder

Explanation:

You can find one on an internet browser

which of the following is equivalent to (p>=q)?
i) P q iv) !p Where are genius people?:)

Answers

Answer:

Explanation:

This is unsolvable if you have no variable substitutes


p -> q

Took the test !

Which symbol is used for an assignment statement in a flowchart?

Answers

Equal symbol

equal symbol

Within most programming languages the symbol used for assignment is the equal symbol.

One view of intrusion detection systems is that they should be of value to an analyst trying to disprove that an intrusion has taken place. Insurance companies and lawyers, for example, would find such evidence invaluable in assessing liability. Consider the following scenario. A system has both classified and unclassified documents in it. Someone is accused of using a word processing program to save an unclassified copy of a classified document. Discuss if, and how, each of the three forms of intrusion detection mechanisms could be used to disprove this accusation.

Answers

Answer:

What kind off question is this wich programm do u use?

What is one advantage of using the Option Group Control for data validation? It works best with fields that use the date data type. It alerts the user when the database is about to close. It applies to numeric fields only, eliminating text errors. The data entry is restricted to specific fields, reducing errors.

Answers

Answer:

The Data Entry is Restricted to Specific Fields, Reducing Errors

Explanation:

Answer:

D

Explanation:

edge2021

Arrange the given binary numbers in increasing order of their decimal equivalent. 110111 101101 110010 111110 ​

Answers

Answer:

101101 <  110010<110111 <111110

Explanation:

We will convert binary number to their decimal equivalent

110111  - (1 × 2⁵) + (1 × 2⁴) + (0 × 2³) + (1 × 2²) + (1 × 2¹) + (1 × 2⁰) = (55)₁₀

101101 - (1 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = (45)₁₀

110010 - (1 × 2⁵) + (1 × 2⁴) + (0 × 2³) + (0 × 2²) + (1 × 2¹) + (0 × 2⁰) = (50)₁₀

111110 - (1 × 2⁵) + (1 × 2⁴) + (1 × 2³) + (1 × 2²) + (1 × 2¹) + (0 × 2⁰) = (62)₁₀

Now, arranging the given binary numbers in increasing order of their decimal equivalent , we get -

101101 <  110010<110111 <111110

Answer: 101101<110010<110111<111011<111110

                  used a binary translator.

Explanation:

What is the size of type int on 64 bit system

(1/1 Point)


4 byte


8 byte


16 byte


None of the given

Answers

The answer is none of the given

What does running the “sudo” command do?
Restarts the computer
Saves files permanently to the desktop
Elevates rights to what you can access
Opens a different directory

Answers

Answer:

Elevates rights to what you can access

//Precondition: pLeft is the address of a MY_STRING handle // containing a valid MY_STRING object address OR NULL. // The value of Right must be the handle of a valid MY_STRING object //Postcondition: On Success pLeft will contain the address of a handle // to a valid MY_STRING object that is a deep copy of the object indicated // by Right. If the value of the handle at the address indicated by // pLeft is originally NULL then the function will attempt to initialize // a new object that is a deep copy of the object indicated by Right, // otherwise the object indicated by the handle at the address pLeft will // attempt to resize to hold the data in Right. On failure pLeft will be // left as NULL and any memory that may have been used by a potential // object indicated by pLeft will be returned to the freestore. void my_string_assignment(Item* pLeft, Item Right);

Answers

Answer:this is an answer i dont know :

Explanation:

Sheeeeeesssssssshhhhhhhhhhhh

63. Name the 4 main lights & and their primary purpose.

Answers

I don’t know this !!

Let's make a song, continue from these lines

My heart is dead
My mind is in a loop

Answers

My head hurts

Underpressure

Explanation:

a trance that I cant stop

What does the CPU do in a modern computing device?

Enables the user to encrypt data
Enables the user to store data
Performs data computation
Provides electricity

Answers

Answer:  it connects to the power supply to run the pc

Explanation: your welcome

2. A rectangular water tank is being filled at the
constant rate of 10lt/s. The base of the tank has
width, w= 10m and length, 1 = 15m. If the volume
of the tank is given by V = wxlxh where h repre-
sents the height of the tank, what is the rate of
change of the height of water in the tank?.​

Answers

Answer:

Explanation:

1 [tex]meter^{3}[/tex] = 1000 liters

150 meter base

150 * 1000 = 150,000 liters to go up one meter

150,000 / 10 liters per second = 15,000 seconds to go up one meter

or

6 [tex]\frac{2}{3}[/tex] * [tex]10^{-7}[/tex] meters  [tex]sec^{-1}[/tex]   :/   not too much huh

How to do a row of circles on python , with the commands , picture is with it .

Answers

Answer:

o.o

Explanation:

What is artificial Intelligence ?

Answers

Answer:

Artificial intelligence (AI) is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans and animals, which involves consciousness and emotionality. The distinction between the former and the latter categories is often revealed by the acronym chosen. 'Strong' AI is usually labelled as artificial general intelligence (AGI) while attempts to emulate 'natural' intelligence have been called artificial biological intelligence (ABI). Leading AI textbooks define the field as the study of "intelligent agents": any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals.Colloquially, the term "artificial intelligence" is often used to describe machines that mimic "cognitive" functions that humans associate with the human mind, such as "learning" and "problem solving".

As machines become increasingly capable, tasks considered to require "intelligence" are often removed from the definition of AI, a phenomenon known as the AI effect.A quip in Tesler's Theorem says "AI is whatever hasn't been done yet." For instance, optical character recognition is frequently excluded from things considered to be AI,having become a routine technology. Modern machine capabilities generally classified as AI include successfully understanding human speech,]competing at the highest level in strategic game systems (such as chess and Go), and also imperfect-information games like poker,[11] self-driving cars, intelligent routing in content delivery networks, and military simulations.

Artificial intelligence was founded as an academic discipline in 1955, and in the years since has experienced several waves of optimism,followed by disappointment and the loss of funding (known as an "AI winter") followed by new approaches, success and renewed funding.[ After AlphaGo successfully defeated a professional Go player in 2015, artificial intelligence once again attracted widespread global attention.For most of its history, AI research has been divided into sub-fields that often fail to communicate with each other. These sub-fields are based on technical considerations, such as particular goals (e.g. "robotics" or "machine learning"),the use of particular tools ("logic" or artificial neural networks), or deep philosophical differences. Sub-fields have also been based on social factors (particular institutions or the work of particular researchers

Explanation:

Hopefully u will satisfy with my answer of ur question..!!

Please Mark on brainleast please..!!

Have a nice day ahead dear..!!

Answer:

Uhm

Explanation:

What the other person said.

With the aid of a diagram,explain CDMA spread spectrum

Answers

Answer: This is when the input- source coding- modulation

output- source decoding- channel- demodulation

Explanation:

Earth, Wind & Fire were NOT known for combining many different styles of music together.Required to answer. Single choice.
(1 Point)

True

False

Answers

Answer:

false

Explanation:

Cause I don't believe you can't use earth, wind,and fire to create music.

First, open two separate terminal connections to the same machine, so that you can easily run something in one window and the other. Now, in one window, run vmstat 1, which shows statistics about machine usage every second. Read the man page, the associated README, and any other information you need so that you can understand its output. Leave this window running vmstat for the rest of the exercises below. Now, we will run the program mem.c but with very little memory usage. This can be accomplished by typing ./mem 1 (which uses only 1 MB of memory). How do the CPU usage statistics change when running mem

Answers

dnt listen to da file shi

Ryan has a new Android tablet that does great voice dictation, but he keeps "fat-fingering" the built-in, on-screen keyboard. What device could increase his accuracy and cut down on his typos? *

Answers

Answer:

A tablet keyboard

Explanation:

This would be the device used

What is one benefit of using electronic flash cards?

Answers

Answer:

They can be searched using keywords. they may have a different alarm settings. they provide a personal organizer.

Explanation:

Hope this helped Mark BRAINLIEST!!!

Answer:

One benefit would be that you can study them anytime without losing an actual paper flash card.

Explanation:

Hope this helps!

The process of converting an input file (stream of characters) into an understandable format is called syntax analysis.

a. True
b. False

Answers

Answer:

The given statement is "True".

Explanation:

The framework for considering a string of characters, throughout the basic language, database management system, or DS by formal grammatical codes or syntax, is considered as a Syntax analysis.During a lexical analysis stage, everything just accepts or considers the tokens created as an input as well as creates a parse tree as an output or outcome.

Thus the above is the correct response.

Do my Twitter posts count as opinions or facts?

Answers

They count as opinions

is pseudocode obtained from Algorithm or is Algorithm obtained from pseudocode?

Answers

Answer:

An algorithm is defined as a well-defined sequence of steps that provides a solution for a given problem, whereas a pseudocode is one of the methods that can be used to represent an algorithm.

hope this gives you at least an idea of the answer:)

What vieo editor is best for beginner? I have heard that TunesKit Acemovi and Adobe Premier is good, but i'm not sure wich one is better for me.I just use the video editor to organize my photo and vlog snippets. Can you tell me more about them? Thanks.

Answers

Answer:

Depends on what system you are on. I think Apple has a lot of decent free editing software for their devices, but on windows you are limited to windows movie maker... or paying for adobe or Sony Vegas (if people still use that...). Don't know anything about TunesKit Acemovi.

metals are the best materials for making shoes. what do you think?​

Answers

Answer: Leather is flexible yet durable, as sturdy as it is supple. Fabric is also quite commonly used for making shoes. .

Write a program that asks the user to enter their yearly income. The program should display the user's tax bracket according to the following guidelines: Income below $50,000: Tax Bracket 1 Income of $50,000 - $99,999.99: Tax Bracket 2 Income of $100,000 or above: Tax Bracket 3 The program should then output the amount of federal taxes they will have to pay given that the Federal Tax Rate is 15% (for all tax brackets).

Answers

Answer:

Explanation:

The following Python code asks the user for their yearly income as an input, saves it into a variable called income. Then it analyzes that value and outputs their correct Tax Bracket using IF statements. Then it calculates the amount of tax they must pay and outputs that value.

income = input("Enter your yearly income: ")

if int(income) < 50000:

   print("You are in Tax Bracket 1")

elif (int(income) >= 50000) and (int(income) <= 99999.99):

   print("You are in Tax Bracket 2")

else:

   print("You are in Tax Bracket 3")

tax = int(income) * 0.15

print("You need to pay a total of $" + str(tax) + " in income tax")

**PLEASE AN IPO CHART AND A C++ PROGRAM FOR EACH QUESTION**
20. When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. Of course, the lending company will charge interest on the loan. Every periodic payment consists of the interest on the loan and the payment toward the principal amount. To be specific, suppose that you borrow $1,000 at an interest rate of 7.2% per year and the payments are monthly. Suppose that your monthly payment is $25. Now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2 / 12 5 0.6%. The first month’s interest on $1,000 is 1000 3 0.006 5 6. Because the payment is $25 and the interest for the first month is $6, the payment toward the principal amount is 25 2 6 5 19. This means after making the first payment, the loan amount is 1, 000 2 19 5 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 3 0.006 5 5.886, that is, approximately $5.89. This implies that the payment toward the principal is 25 2 5.89 5 19.11 and the remain- ing balance after the second payment is 981 2 19.11 5 961.89. This process is repeated until the loan is paid. Write a program that accepts as input the loan amount, the interest rate per year, and the monthly payment. (Enter the interest rate as a percentage. For example, if the interest rate is 7.2% per year, then enter 7.2.) The program then out- puts the number of months it would take to repay the loan. (Note that if the monthly payment is less than the first month’s interest, then after each payment, the loan amount will increase. In this case, the program must warn the borrower that the monthly payment is too low, and with this monthly payment, the loan amount could not be repaid.)

28. (Apartment problem) A real estate office handles, say, 50 apartment units. When the rent is, say, $600 per month, all the units are occupied. However, for each, say, $40 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $27 per month for maintenance. How many units should be rented to maximize the profit?

Write a program that prompts the user to enter:

a. The total number of units.

b. The rent to occupy all the units.

c. The increase in rent that results in a vacant unit.

d. Amount to maintain a rented unit.

The program then outputs the number of units to be rented to maximize the profit.

30. Let n be an integer. The value of the expression lim (1 1 1 ) is n→` n written as e. This number e appears in many places in mathematics. For example, it appears in the formula A 5 Pert to compute the total mount accumulated when the interest is compounded continuously. It also appears in problems relating to exponential growth and decay. It is known that e is an irrational number. The value of e to nine decimal places is e 5 2.718281827. Write a program that computes the value n of the expression lim (1 1 1 ) between certain values of n and then n→` n compare the values with e. For example, you can compute the values of the expression between 100 and 10,000 with an increment of 100, or between 1,000 and 1,000,000 with an increment of 1,000.

Answers

answer is b

rtyujhygtrcdxrtgyhgtfr

The following text is encoded in rot13. "Qba'g gel gb or yvxr Wnpxvr. Gurer vf bayl bar Wnpxvr. Fghql pbzchgref vafgrnq." - Wnpxvr Puna Decode it, and paste the decoded text here: * How can I decide rot13

Answers

Answer: "Don't try to be like Jackie. There is only one Jackie. Study computers instead." - Jackie Chan

Explanation:

Alex, a webmaster, recently deployed a new web server. After checking external access to the new web server, he was unable to communicate on port 80. Alex verified that the host-based firewall's configuration had been changed and that the httpd service is running. What commands will most likely resolve the communication issue?

Answers

Answer:

systemctl restart firewalld

Explanation:

The command that will most likely resolve the communication issue being experienced by Alex ( i.e. his inability to communicate on port 80 ) is

systemctl restart firewalld  given that the host-based firewall's configuration has been changed

Other Questions
What is the remainder of (x 3 + 5x 2 32x 7) (x 4)? A negatively charged rod briefly touches a neutral metal ball. The metal ball will now be ____________ Estimate the solutions to the system. (The math problem is in the pictures along with the answer choices)!!!! Can somebody help with this problem? Imagine que es un pensador durante la poca de la Ilustracin. Escriba un prrafo defendiendo alguna idea de la poca. 7(m+-13)=-42(Solve for m)Please help Causes of the cold war.Why was there mistrust/ differences between the East and West before 1945? state the reason why the liebig condenser should be slanting and not horizontal? I feel like everyone on this app has just given up, because no one has been helping me with any of my math stuff. And it's just like a ghost town here Aria Perfume, Inc., sold 3,210 boxes of white musk soap during January of 2021 at the price of $90 per box. The company offers a full refund to unsatisfied customers for any product returned within 30 days from the date of purchase. Based on historical experience, Aria expects that 3% of sales will be returned. How many performance obligations are there in each sale of a box of soap help help help help help help help help help help Why the bomb was not needed, or unjustified: Simplify : 4a(6) + 3a 1. 24 a2 + 3 a 2. 13 a 3. 27 a 4. 27 a2 help me pls i will give brainly if ur correct Shopping While shopping for clothes, Tracy spent $28 less than 2 times what Daniel spent. Tracyspent $10. Write and solve an equation to find how much Daniel spent. Let x represent how muchDaniel spent.The equation that can be used to determine how much Daniel has spent isDaniel spent $!WORTH ALL MY POINTS! ASAP In the sentences below, identify the adverbs and the verbs they modify.The mail carrier delivered the letter faster than I expected.When will you need a new book to read?Unlike Peter, Daveed did not eat a slice of pie.We occasionally go on vacation to the beach.Will you wear those flashy sunglasses again?Marta needs to get home soon if she wants to finish her homework. Which of the following expressions is equivalent to 4(m 16)? Often, the first step in coping is to determine what things cannot be changed, in which case you would strive for ____________________, and which things you can do something about, in which case you would strive for _________________ Manipulating or changing an organisms DNA is called _______________ _____________. The school cafeteria sells apples for $0.25 and pears for $1.15. On Thursdaythey sold 9 pieces of fruit earning a total of $4.95. How many of each item didthey sell?A. 5 apples and 4 pearsB. 5 apples and 3 pearsC. 7 apples and 2 pearsD. 6 apples and 3 pears