BitTorrent, a P2P protocol for file distribution, depends on a centralized resource allocation mechanism through which peers are able to maximize their download rates.
True or False?

Answers

Answer 1

Answer:

yes. it is true. mark as brainlest


Related Questions

Please I need ASAP
What is the intersection of a column and a row on a worksheet called?
Column
Value
O Address
Cell

Answers

Answer:

Cell

Explanation:

A cell is the intersection of a row and a column—in other words, where a row and column meet.

In 2019, the tuition for a full time student is $7,180 per semester. The tuition will be going up for the next 7 years at a rate of 3.5% per year. Write your program using a loop that displays the projected semester tuition for the next 7 years. You may NOT hard code each years tuition into your program. Your program should calculate the tuition for each year given the starting tuition in 2019 ($7, 180) and the rate of increase (3.5%). You should then display the actual year (2020, 2021, through 2026) and the tuition amount per semester for that year

Answers

Answer:

In Python:

tuition = 7180

year = 2019

rate = 0.035

for i in range(2019,2027):

   print(str(year)+": "+str(round(tuition,2)))

   tuition = tuition * (1 + rate)

   year = year + 1

   

Explanation:

This initializes the tuition to 7180

tuition = 7180

This initializes the year to 2019

year = 2019

This initializes the rate to 3.5%

rate = 0.035

This iterates through years 2019 to 2026

for i in range(2019,2027):

This prints the year and tuition

   print(str(year)+": "+str(round(tuition,2)))

This calculates the tuition

   tuition = tuition * (1 + rate)

This increments year by 1

   year = year + 1

Ram and Hari can finish a piece of work in 6 days and 12 days respectively in how many days will they finish it working together

Answers

Answer:

4 days

Explanation:

Given - Ram and Hari can finish a piece of work in 6 days and 12 days

             respectively.

To find - In how many days will they finish it working together

Proof -

As given,

Ram and Hari can finish a piece of work in 6 days and 12 days respectively.

⇒1 day work of Ram done in = [tex]\frac{1}{6}[/tex]

   1 day work of Hari done in = [tex]\frac{1}{12}[/tex]

If they work together,

1 day work of both together done in = [tex]\frac{1}{6}[/tex] + [tex]\frac{1}{12}[/tex] = [tex]\frac{2 + 1}{12} = \frac{3}{12}[/tex] = [tex]\frac{1}{4}[/tex]

As we know Work is inversely proportional to efficiency

And efficiency = Person's 1 day work

As we have ,

1 day work of both together done in =  [tex]\frac{1}{4}[/tex]

⇒ Total work done in 4 days if they work together.

Which of the following commands are part of the Cells group on the HOME tab?​

Answers

common commands such as bold, underline, copy, and paste. Also for cells format worksheet something like that...

The one that is a part of the Cells group on the home tab is insert. The correct option is 1.

What is a home tab?

In Microsoft Word, the Home tab is the default tab. The relevant commands are divided into five groups: Clipboard, Font, Paragraph, Styles, and Editing.

It enables you to edit document settings such as font size, bullet placement, style selection, and many other standard features.

The most utilised document controls can be found under the Home Tab; using these controls, you can alter the text's font and size, paragraph and line spacing, copy and paste, and organisational structure. The Home Tab is divided into four separate sections.

Insert is the one that is a member of the Cells group on the home tab.

Thus, the correct option is 1.

For more details regarding home tab, visit:

https://brainly.com/question/9646053

#SPJ2

Your question seems incomplete, the missing options are:

i. Insert

ii. Delete

iii Format

iv. All of these​

Extend the functionality of cout by implementing a friend function in Number.cpp that overloads the insertion operator. The overloaded insertion operator returns an output stream containing a string representation of a Number object. The string should be in the format "The value is yourNum", where yourNum is the value of the integer instance field of the Number class.Hint: the declaration of the friend function is provided in Number.h.Ex: if the value of yourNum is 723, then the output is:

Answers

Answer:

// In the number.cpp file;

#include "Number.h"

#include <iostream>

using namespace std;

Number::Number(int number)

{

   num = number;

}

void Number::SetNum(int number)

{

   num = number;

}

int Number::GetNum()

{

   return num;

}

ostream &operator<<(ostream &out, const Number &n)

{

   out << "The value is " << n.num << endl;

   return out;

}

// in the main.cpp file;

#include "Number.cpp"

#include <iostream>

using namespace std;

int main()

{

   int input;

   cin >> input;

   Number num = Number(input);

   cout << num;  

   return 0;

}

Explanation:

The main function in the main.cpp file prompts the user for the integer value to be displayed. The Number file contains defined functions and methods of the number class to set, get and display the "num" variable.

In this lab, you use the flowchart and pseudocode found in the figures below to add code to a partially created C++ program. When completed, college admissions officers should be able to use the C++ program to determine whether to accept or reject a student, based on his or her test score and class rank.
start input testScore,
classRank if testScore >= 90 then if classRank >= 25 then output "Accept"
else output "Reject" endif else if testScore >= 80
then if classRank >= 50 then output "Accept" else output "Reject" endif
else if testScore >= 70
then if classRank >= 75 then output "Accept"
else output "Reject"
endif else output "Reject"
endif
endif
endif
stop
Study the pseudocode in picture above. Write the interactive input statements to retrieve: A student’s test score (testScore) A student's class rank (classRank) The rest of the program is written for you. Execute the program by clicking "Run Code." Enter 87 for the test score and 60 for the class rank. Execute the program by entering 60 for the test score and 87 for the class rank.
[comment]: <> (3. Write the statements to convert the string representation of a student’s test score and class rank to the integer data type (testScore and classRank, respectively).)
Function: This program determines if a student will be admitted or rejected. Input: Interactive Output: Accept or Reject
*/ #include using namespace std; int main()
{ // Declare variables
// Prompt for and get user input
// Test using admission requirements and print Accept or Reject
if(testScore >= 90)
{ if(classRank >= 25)
{ cout << "Accept" << endl; }
else
cout << "Reject" << endl; }
else { if(testScore >= 80)
{ if(classRank >= 50)
cout << "Accept" << endl;
else cout << "Reject" << endl; }
else { if(testScore >= 70)
{ if(classRank >=75) cout << "Accept" << endl;
else cout << "Reject" << endl; }
else cout << "Reject" << endl; } } } //End of main() function

Answers

Answer:

The equivalent program in C++:

#include<iostream>

#include <sstream>

using namespace std;

int main(){

   string Score, Rank;

   cout<<"Enter student score and class rank: ";

   cin>>Score>>Rank;

   int testScore = 0, classRank = 0;

   stringstream sstream(Score);

   sstream>>testScore;

   

   stringstream tream(Rank);

   tream>>classRank;

   

   if (testScore >= 90){

       if(classRank >=25){cout<<"Accept";}

       else{cout<<"Reject";}

   }

   else if(testScore >= 80){

       if(classRank >=50){cout<<"Accept";}

       else{cout<<"Reject";}

   }

   else if(testScore >= 70){

       if(classRank >=75){cout<<"Accept";}

       else{cout<<"Reject";}

   }

   else{cout<<"Reject";}

   return 0;

}

Explanation:

This declares Score and Rank as string variables

   string Score, Rank;

This prompts the user for score and class rank

   cout<<"Enter student score and class rank: ";

This gets the user input

   cin>>Score>>Rank;

This declarees testScore and classRank as integer; and also initializes them to 0

   int testScore = 0, classRank = 0;

The following converts string Score to integer testScore

   stringstream sstream(Score);

   sstream>>testScore;

The following converts string Rank to integer classRank

   stringstream tream(Rank);

   tream>>classRank;

The following conditions implement the conditions as given in the question.    

If testScore >= 90

   if (testScore >= 90){

If classRank >=25

       if(classRank >=25){cout<<"Accept";}

If otherwise

       else{cout<<"Reject";}

   } ---

If testScore >= 80

   else if(testScore >= 80){

If classRank >=50

       if(classRank >=50){cout<<"Accept";}

If otherwise

       else{cout<<"Reject";}

   }

If testScore >= 70

   else if(testScore >= 70){

If classRank >=75

       if(classRank >=75){cout<<"Accept";}

If otherwise

       else{cout<<"Reject";}

   }

For testScore less than 70

   else{cout<<"Reject";}

Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should NOT be added to the list). These values entered by the user are added to a list we call 'initial_list'. Then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. Finally, inside main(), print out all of the values in the new list.

Answers

Answer:

def create_3_copies(initial_list):

   another_list = []

   

   for i in range(3):

       for x in initial_list:

           another_list.append(x)

   return another_list

   

initial_list = []

while True:

   value = input("Enter a value: ")

   if value == "exit":

       break

       

   initial_list.append(value)

for x in create_3_copies(initial_list):

    print(x, end=" ")

Explanation:

Create a function that takes initial_list as parameter. Inside the function:

Create an empty list called another_list

Create a nested for loop. The outer loop iterates 3 times (Since we need to add every value 3 times). The inner loop iterates through the another_list and adds each value to the another_list.

When the loops are done, return the another_list

In the main:

Create an empty list named initial_list

Create an indefinite while loop. Inside the loop, ask the user to enter a value. If the value equals "exit", stop the loop. Otherwise, add the value to the initial_list

Create another for loop that calls the function we created passing the initial list as a parameter and iterates through the values that it returns. Inside the loop, print each value

Create a class BankAccount with 2 variables, a int balance, and a string name. Then create an instance of the BankAccount Class, change its name and balance, and print its name and balance.

Answers

Answer:

Follows are the code to the given question:

class BankAccount //defining a class BankAccount

{

 int balance;//defining integer variable balance  

 String name;//defining String variable name

 BankAccount()//defining default constructor

 {

 }

  BankAccount(int balance, String name)//defining parameterized constructor that accepts two parameters  

  {

     this.balance = balance;//use this to hold parameter value

     this.name = name;//use this to hold parameter value

  }

}

public class Main//defining Main class

{

 public static void main(String[] asr)//main method  

 {

  BankAccount obv = new BankAccount(1969, "Mustang");//creating class object and pass value in parameter

   System.out.println("Your name is: " + obv.name + " and " +"Your balance is: "+ obv.balance);//print value with message

 }

}

Output:

Your name is: Mustang and Your balance is: 1969

Explanation:

In this code a class "BankAccount" is declared, that  defines the two variable "name and balance" as a integer and string, and in the next step a parameterized constructor is declared, that uses this keyword to hold value.

In the main class the main method is declared and inside the method class object is created that accepts parameter value and use the print method to print its value.

what is cell reference

Answers

Answer:

A cell reference refers to a cell or a range of cells on a worksheet and can be used in a formula so that Microsoft Office Excel can find the values or data that you want that formula to calculate. In one or several formulas, you can use a cell reference to refer to: ... Data contained in different areas of a worksheet.

I hope it's helpful!

A cell reference or cell address is a combination of a column letter and a row number that identifies a cell on a worksheet. For example, A1 refers to the cell at the intersection of column A and row 1; B2 refers to the second cell in column B, and so on

Question 9 (3 points)
When you add a row, where will it appear?

Answers

Click the Insert command on the Home tab. The new row will appear above the selected row.

To insert the row, Click the Insert command on the Home tab. The new row will appear above the selected row.

What is a cell?

A column and a row's intersection form a rectangular space known as a cell. The Cell Name or Reference, which is discovered by adding the Column Letter and the Row Number, is used to identify cells.

A row can be inserted either above or below where the cursor is. Then click the Table Layout tab after selecting the area where you wish to add a row. Click Above or Below under Rows & Columns. A row can be inserted either above or below where the cursor is.

Then click the Table Layout tab after selecting the area where you wish to add a row. Click Above or Below under Rows & Columns.

Therefore, it can be concluded that the raw appears in the home tab in the section of Row.

Learn more about cells here:

https://brainly.com/question/8029562

#SPJ2

Why wouldn't a game using just run-length encodings be challenging?

Answers

A set of run-length encodings would not be a challenge because of the predictability of the challenges.

We can arrive at this answer because:

Run-length encodings allow long strings of many repetitive values to be represented as an original string.This type of encoding is very efficient on data that is replicated very frequently, emits simple images, and has an easy interface to analyze and manipulate.

When this is approached within a game, it promotes simple, repetitive, and predictable stages, where the player can easily know where the challenges will present themselves and how to overcome them, in addition to getting software that is simple to handle.

More information:

https://brainly.com/question/14357611

ERICUS Company sells Ghacem cement at 30.0 Ghana Cedis per bag. The company however gives discount of 15% for customers that buy 100 or more bags, and 0% for customers that buy less than 100 bags. Write a pseudocode and present a flowchart that will display the discount percentage when the quantity of bags purchased is entered

Answers

Answer:

The pseudocode is as follows:

Input Qty

Discount = 0%

If Qty>= 100:

       Discount = 15%

 Print Discount

Explanation:

This gets the quantity of bags

Input Qty  

This initializes the discount percentage to 0%

Discount = 0%  

This checks if the quantity is greater than or equal to 100.

If Qty>= 100:

If true, the discount percentage is set to 15%

       Discount = 15%

This prints the calculated discount percentage

Print Discount

See attachment for flowchart

Master method/theorem can be used to find the running time of all recursive programs.

a. True
b. False

Answers

it should be a. true

What is the purpose of the Scene group in 3-D maps?

Answers

Answer:

The capability of having an integrated 2D-3D environment allows you to work with your data, maps, and scenes alongside one another. You can quickly switch between maps and scenes as well as link them together for a synchronized viewing experience.

Explanation:

Answer:

B: to customize the 3-D map for different displays with the same data

Explanation:

EDGE2021

1.The ___________ method adds a new element onto the end of the array.
A.add
B.input
C.append
D.len
2.A(n) ____________ is a variable that holds many pieces of data at the same time.
A.index
B.length
C.array
D.element
3.A(n) ____________ is a piece of data stored in an array.
A.element
B.length
C.array
D.index
4.Where does append add a new element?
A.To the end of an array.
B.To the beginning of an array.
C.To the middle of an array.
D.In alphabetical/numerical order.
5.Consider the following code that works on an array of integers:

for i in range(len(values)):
if (values[i] < 0):
values[i] = values [i] * -1
What does it do?

A.Changes all positives numbers to negatives.
B.Nothing, values in arrays must be positive.
C.Changes all negative numbers to positives.
D.Subtracts one from every value in the array.
6.Which of the following is NOT a reason to use arrays?
A.To quickly process large amounts of data.
B.Organize information.
C.To store data in programs.
D.To do number calculations.
7.Consider the following:

stuff = ["dog", "cat", "frog", "zebra", "bat", "pig", "mongoose"]
"frog" is ____________.

A.an index
B.an element
C.a list
D.a sum
8._____________ is storing a specific value in the array.

A.Indexing
B.Summing
C.Assigning
D.Iterating
9.Consider the following code:

stuff = ["dog", "cat", "frog", "zebra", "bat", "pig", "mongoose"]

print(stuff[3])
What is output?

A.zebra
B.bat
C.frog
D.['dog', 'cat', 'frog', 'zebra', 'bat', 'pig', 'mongoose']
10.Consider the following code:

tests = [78, 86, 83, 89, 92, 91, 94, 67, 72, 95]

sum = 0
for i in range(_____):
sum = sum + tests[i]

print("Class average: " + str((sum/_____)))
What should go in the ____________ to make sure that the code correctly finds the average of the test scores?

A.sum
B.val(tests)
C.len(tests)
D.len(tests) - 1

Answers

Answer:

1. append

2. array

3. elament

4. To the end of an array.

5. Changes all negative numbers to positives.

6. To do number calculations.

7. an elament

8. Assigning

9. zebra

10. len(tests)

Explanation:

got 100% on the test

Charlie makes pizza at a restaurant. The customers always compliment how great the pizza tastes. But Charlie takes a long time to make each pizza; this makes the customers wait longer, and orders get backed up. Give Charlie some constructive feedback on his performance using the sandwich technique.

Answers

To get this u must do 8372928+(2728279298)=382627-6382638)()()(7372637 I did it right I’m the test

Answer:What is the sandwich tech

Explanation:

Top-level domain identifies the type of organization. Which one does NOT belong?
Question 4 options:

.gov

.mil

.org

.cn

Answers

Answer:

.cn does Not belong the rest of them do belong

the answer is “.mil”.

What are the characteristics of Instant Search in Outlook 2016? Check all that apply. A)Typing whole phrases makes your search more efficient.
B)An Instant Search box appears in every view in Outlook.
C)Instant Search can be found under the Search tab in Outlook.
D)After typing one word, it immediately begins displaying results.
E)The Search contextual tab appears when Instant Search is selected.

Answers

Answer:

B, D, and E.

Explanation:

Answer:

B,D,E

Explanation:

Edg 2021 just took test

Create a relational database table in Microsoft Excel for the grocery store of 20 employers.

Answers

Answer:

That is not a question.

Explanation:

A person is trying to remember a list of 12 different items:



snow, strawberry, football, banana, soccer, rain, apple, tennis, sleet, hail, orange, rugby



In order to better remember them, he compresses the original list into something shorter that is easier to remember. What would be a compression that would best help him remember the 12 items?

Answers

Answer:

for me personally, it would help if the items were rearranged with like items, for example: snow, sleet, rain, and hail would go together.

so the list should look something like this:

    weather conditions

snowsleethailrain

    fruits

strawberrybananaappleorange

   sports

footballsoccertennisrugby

hope i helped <3 have a nice day

Answer:

weather(rssh) fruit(sabo) sport(fstr)

Explanation:

Write a program that creates a login name for a user, given the user's first name, last name, and a four-digit integer as input. Output the login name, which is made up of the first five letters of the last name, followed by the first letter of the first name, and then the last two digits of the number (use the % operator). If the last name has less than five letters, then use all letters of the last name. Hint: Use the to_string() function to convert numerical data to a string.

Answers

Answer:

In C++:

#include <iostream>

#include <string>

#include <sstream>

using namespace std;

int main(){

   string lname, fname,stringnum;    int num; string login, pwd;

   cout<<"Last Name: ";    cin>>lname;

   cout<<"First Name: ";    cin>>fname;

   cout<<"Four-digit integer: ";    cin>>num;

   stringnum = to_string(num).substr(0,4);

   stringstream geek(stringnum);    geek>>num;

   num = num%100;

   pwd = to_string(num);

   if(lname.length()<5){ login = lname+fname.substr(0,1);    }

   else{ login = lname.substr(0,5)+fname.substr(0,1);    }

   cout<<"Login Name: "<<login<<endl;

   cout<<"Password: "<<pwd<<endl;

   return 0;

}

Explanation:

This declares all necessary variables

   string lname, fname,stringnum;    int num;     string login, pwd;

This prompts the user for last name

   cout<<"Last Name: ";    cin>>lname;

This prompts the user for first name

   cout<<"First Name: ";    cin>>fname;

This prompts the user for a four digit integer

   cout<<"Four-digit integer: ";    cin>>num;

This converts the input number to string and gets only the first four integer

   stringnum = to_string(num).substr(0,4);

This converts the string back to an integer

   stringstream geek(stringnum);    geek>>num;

This gets the last two of the four digit integer

   num = num%100;

This gets the password of the user

  pwd = to_string(num);

This gets the login name of the user.

This is executed if the length of the first name is less than 5

   if(lname.length()<5){ login = lname+fname.substr(0,1);    }

This is executed if otherwise

   else{ login = lname.substr(0,5)+fname.substr(0,1);    }

This prints the login name

   cout<<"Login Name: "<<login<<endl;

This prints the password

   cout<<"Password: "<<pwd<<endl;

A new, empty workbook that contains three worksheets (sheets).
a.Clear Worksheet
b.Blank Worksheet
c.Standard Worksheet
d.Unformatted Worksheet

Answers

D unformatted worksheet

what is an occupation?​

Answers

Answer:

a job or profession.

Answer:

An occupation is something that someone does for a living.

Explanation:

An occupation is something that someone does for a living and it can also be called a job or profession. For example, my occupation is a fast food crew member.

What is Ephemeral graphic communication?

Answers

Communication using graphic elements

(4 points.) Write an algorithm (i.e., step-by-step instructions) via which someone could walk or drive from some origin to some destination, perhaps a path that you yourself tend to travel. Take care to specify what the origin and destination that you have in mind. And take care to use loops and conditions as needed, particularly if there might be obstacles (e.g., red lines). Assume that your algorithm will be executed by a robot (or lost friend) who will follow your directions precisely, so avoid ALL ambiguity!

Answers

Answer:

The algorithm is as follows :

1. Record Current Position, Final Destination

2. While Current Position is not Final Destination, repeat the following:

2.1 If destination location is up then:

  2.1.1 If an obstacle is directly above you then:

     2.1.1.1 Look for alternate position (left, right, down)

     2.1.1.2 If alternate position is found then

        2.1.1.2.1 Move there

        2.1.1.2.2 Record Current Position

     2.1.1.3 If no alternate position is found then

        2.1.1.3.1 Call for help

        2.1.1.3.2 End

  2.1.2 If no obstacle is directly above you then:

     2.1.2.1 Move up

     2.1.2.1 Record Current Position

2.2 If destination location is down then:

  2.2.1 If an obstacle is directly below you then:

     2.2.1.1 Look for alternate position (left, right, up)

     2.2.1.2 If alternate position is found then

        2.1.1.2.1 Move there

        2.2.1.2.2 Record Current Position

     2.2.1.3 If no alternate position is found then

        2.2.1.3.1 Call for help

        2.2.1.3.2 End

  2.2.2 If no obstacle is directly below you then:

     2.2.2.1 Move down

     2.1.2.1 Record Current Position

2.3 If destination location is right then:

  2.3.1 If an obstacle is directly by your right then:

     2.3.1.1 Look for alternate position (down, up, left)

     2.3.1.2 If alternate position is found then

        2.3.1.2.1 Move there

        2.3.1.2.2 Record Current Position

     2.3.1.3 If no alternate position is found then

        2.3.1.3.1 Call for help

        2.3.1.3.2 End

  2.3.2 If no obstacle is directly by your right then:

     2.3.2.1 Move right

     2.3.2.1 Record Current Position

2.4 If destination location is left then:

  2.4.1 If an obstacle is directly by your left then:

     2.4.1.1 Look for alternate position (down, up, right)

     2.4.1.2 If alternate position is found then

        2.4.1.2.1 Move there

        2.4.1.2.2 Record Current Position

     2.4.1.3 If no alternate position is found then

        2.4.1.3.1 Call for help

        2.4.1.3.2 End

  2.4.2 If no obstacle is directly by your left then:

     2.4.2.1 Move left

     2.4.2.1 Record Current Position

Explanation:

The algorithm is straight forward.

All it does is to check for available position and move into the position if there is any available.

It keeps checking and moving until an obstacle prevents it from moving.

true or false Encryption prevents hackers from hacking data?

Answers

Answer:

The answer here is False.

Explanation:

Encryption protects the data and not access to data.

In some cases, the hacker may not necessarily be trying to access or decrypt the data. They may prevent one from accessing it by placing a Ransomeware virus on it.

What a Ransomeware virus would do is to prevent the legal and rightful owner from accessing such data (whether encrypted or not) until their demands are met.

In many cases, they would ask for monies or cryptocurrencies.

Another way hackers attempt to get encrypted files is to try to get the decryption keys instead. The best practice against this is to keep decryption keys manually or in a password manager. Another way to protect very sensitive information is to have sensitive systems isolated from the internet.

Cheers

hot components or sharp edges of computer is an example of what hazard​

Answers

Answer:

hot components or sharp edges of computer is an example of a mechanical hazard

Suppose we are now working with memory words of length 8. We have already calculated that we need 4 check bits, and the length of all codewords will be 12. We now receive the following code word: 0 1 0 1 1 1 0 0 1 1 1 1 Is this a legal codeword, assuming even parity? If not, where is the error?

Answers

Answer:

12

Explanation:

and it is also an error

The Westfield Carpet Company has asked you to write an application that calculates the price of carpeting for rectangular rooms. To calculate the price, you multiply the area of the floor (width times length) by the price per square foot of carpet. For example, the area of floor that is 12 feet long and 10 feet wide is 120 square feet. To cover that floor with carpet that costs $8 per square foot would cost $960. (12 × 10 × 8 = 960.) First, you should create a class named RoomDimension that has two FeetInches objects as attributes: one for the length of the room and one for the width. (You should use the version of the FeetInches class that you created in Programming Challenge 11 with the addition of a multiply member function. You can use this function to calculate the area of the room.) The RoomDimension class should have a member function that returns the area of the room as a FeetInches object. Next, you should create a RoomCarpet class that has a RoomDimension object as an attribute. It should also have an attribute for the cost of the carpet per square foot. The RoomCarpet class should have a member function that returns the total cost of the carpet. Once you have written these classes, use them in an application that asks the user to enter the dimensions of a room and the price per square foot of the desired carpeting. The application should display the total cost of the carpet.

Answers

Answer:

Answered below

Explanation:

#program is written in Java

class RoomDimension{

double length;

double width;

RoomDimension (double length, double width){

this.length = length;

this.width = width;

}

public double roomArea ( ){

return length * width;

}

}

class RoomCarpet{

RoomDimension rd;

double price;

RoomCarpet ( RoomDimension rd, double price){

this.rd = rd;

this.price = price;

}

public double totalCost( ){

double area = rd.roomArea();

return area * price;

}

}

Which of the following is a reason to use a template?
a. To save time when creating a new presentation
b. To use a consistent design throughout your presentation
c. To get ideas for possible content for a presentation

Answers

Answer:

B, To use a consistent design throughout your presentation

Explanation:

Templates basically enforce overall consistency by having a pre-determined structure and layout. All documents made using a template will match its layout exactly. When it comes to your document's content, Word's Styles tool is a great way to maintain consistent formatting.

Other Questions
PLEASE HELP :D solve each equation by showing your work OR explaining all your steps 1. -4x + 2 = -18 2. x/3 - 6 = -2 1897 rounded to the nearest 1000 help please needs to be done ASAP help fast plz I need it PLS HELP!! GIVING BRAINLIST!! Which statement best describes how to verify the Pythagorean Theorem using this drawing?A. The sum of the perimeters of the smaller squares is equal to the perimeter of the larger square.B. The difference of the perimeters of the smaller squares is equal to the perimeter of the larger square.C. The difference of the areas of the smaller squares is equal to the area of the larger square.D. The sum of the areas of the smaller squares is equal to the area of the larger square. Choisis la phrase qui est conjugee correctement au conditonnel.3. Ils auront vu le probleme.Il aurait vu le problemeIls verraient le problemeIl avait vu le probleme.4.Est-ce que la reine nous recoirrait.Est-ce que la reine nous recevraitEst-ce que la reine nous recevoiraitEst-ce que la reine nous recerrait insurance is the way a person or business is protected from :losing interestlosing moneylosing valuelosing investments "Life is a matter of choices, and every choice you make makes you." Elaborate on this? What does this mean to you? help! pls! (at least two paragraphs would be a life saver plsssss) How do I draw and determine the equation of a trend line on a scatterplot what is the fluid excreted by kidneys for emotions? Help me help helppppp pleaseee PLEASE HURRY I WILL MARK BRAINIEST The new wing of an artmuseum has 3 timesas many windows asthe old wing. Together,both wings have32 windows. How manywindows are inthe new wing? What transformation takes the graph of (x)=x4 to the graph of g(x)=(x+3)4?Question 5 options:translation 3 units lefttranslation 3 units uptranslation 3 units downtranslation 3 units right Find the solution to the system of linear equations.2x 4y = -10-2x y = 0type your answer...type your answer... What is the percent of decrease from 500,000 to 200,000? Question 10 of 10James wants to tile his floor using tiles in the shape of a trapezoid. To makethe pattern a little more interesting he has decided to cut the tiles in halfalong the median. The top base of each tile is 15 inches in length and thebottom base is 21 inches. How long of a cut will John need to make so thathe cuts the tiles along the median?O A. 18 inchesB. 36 inchesO C. 3 inchesD. 6 inches Find two acute angles that satisfy the equation sin(2x + 8) = cos(x + 28). Check that your answers make sense.The smaller angle is .The larger angle is II. Create a dialogue.Write a five-sentence dialogue that you might have with a clerk in a clothing store.Note the cues in italics.-Buenos das, en qu le puedo servir?- I want to try on these red pants, please.- Cmo le van?--Me quedan un poco grandes. Please bring me a smaller size.Help me please How many parts can be distinguished in the cerebellum?