Use the variables k and total to write a while loop that computes the sum of the squares of the first 50 counting numbers, and associates that value with total. Thus your code should associate 1*1 2*2 3*3 ... 49*49 50*50 with total. Use no variables other than k and total.

Answers

Answer 1

Answer:

total=0

def calcsumnumsquare(k,total):

   while k>=1:

       total+=int(k)*int(k)

       k-=1

   return total

print(calcsumnumsquare(4,0))

Explanation:

The program required is written above. It uses only two variables k and total as mentioned in the question. And the total is initially set to 9, and then its value is incremented by the square of each k during each loop established by while loop. And finally, when k=1, the output is returned. And we have printed the return value using print.


Related Questions

A developer logged into a client machine has recently completed designing a new TaskBot and needs to evaluate the Bot outcome for purpose of meeting the project requirement. If the evaluation is successful, the TaskBot will then be uploaded to the control room. Which three actions could the developer take, to execute the TaskBot for the evaluation

Answers

Answer

Evaluation of the Task bot should completed and successful if the following mentioned three steps works.

1. Open the Task Bot in the workbench and execute it

2. Execute the bot from the administration login at the Control Room

3. Provide the complete path of the Task Bot ATMX file in the CLI window

Explanation:

Task bot are the bots that used to processes the data and repeat the tasks automatically. The developer who designed a new task bot, needs to evaluate the performance and working of this task bot. The performance could be evaluated by completing the following steps.

First of all, the task bot will be opened in workbench to execute it. If the task bot will opened on work bench without any error then developer will execute the bot as administrator to run the task bot. After successful start of the execution, the path of task bot file will be provided in command line interface (CLI) to start the task bot working.

If the above mentioned steps completed successfully, the developer can upload the task bot program to the control room.

The use of public wireless connections can increase a user's vulnerability to monitoring and compromise. ____________ software can be used to encrypt transmissions over public networks, making it more difficult for a user's PC to be penetrated. DDos CAPTCHa VPN Rootkit Keylogging

Answers

The use of public wireless connections can increase a user's vulnerability to monitoring and compromise. VPN software can be used to encrypt transmissions over public networks, making it more difficult for a user's PC to be penetrated.

Explanation:

A VPN, or Virtual Private Network, allows you to create a secure connection to another network over the Internet. VPNs can be used to access region-restricted websites, shield your browsing activity from prying eyes on public Wi-Fi, and more. .Virtual Private Network, is a private network that encrypts and transmits data while it travels from one place to another on the internet. VPNs aren't just for desktops or laptops, you can set up a VPN on your iPhone, iPad or Android phone.A VPN encrypts the traffic from your machine to the exit point of the VPN network. A VPN isn't therefore likely to protect you from an adversary like Anonymous. VPNs add another layer of encryption to your internet traffic, your latency will go up and speeds will go down.

1. Define a C++ function with the name evaluateBook. The function receives as one argument the name of the file to be processed (i.e., the book's file). So that if you pass the English version, we will see the results only for that language.



2. Function evaluateBook opens the file, reads it, analyzes it, and prints the answer to the following questions:



a. What it the total number of text lines in the file?

b. What it the number of text lines without any lower-case letter? To answer this question, write and call the function testLowerCase.

c. What it the number of text lines without any number? To answer this question, write and call the function testNumber.

d. What is the total number of visible characters (so, excluding invisible codes such as '\n') ? To answer this question, write and call the function countCharacters.

e. What is the total number of letters (i.e., excluding symbols, numbers, etc.)? To answer this question, write and call the function countLetters.

f. How many times each of the following punctuation symbols appear: comma, period, double quotes, single quotes ?

g. What is the most popular letter (regardless of its case) ? (update: assume it is a vowel)

h. The word "et" in French means "and". How many times does this word appear? The function should search for both words, so that if you pass the English version, the count for "et" will be likely zero. Also, ignore the case, but do not count a matching if part of another word, such as "Andrew".

Answers

Answer:

#include <iostream>

#include<string>

#include<fstream>

using namespace std;

void evaluateBook(string bookName);

int countCharacters(string bookLine);

int countLetters(string bookLine);

int totalPunctuations(string bookLine);

int main()

{

  evaluateBook("demo-book.txt");

  return 0;

}

int countCharacters(string bookLine) {

  return bookLine.length();

}

int countLetters(string bookLine) {

  int counter = 0;

  for (int i = 0; i < bookLine.length(); i++) {

      if ((bookLine[i] >= 'a' && bookLine[i] <= 'z') || (bookLine[i] >= 'A' && bookLine[i] <= 'Z')) {

          counter++;

      }

  }

  return counter;

}

int totalPunctuations(string bookLine) {

  int counter = 0;

  for (int i = 0; i < bookLine.length(); i++) {

      if (bookLine[i]=='\.' || bookLine[i]=='\,' || bookLine[i]=='\"' || bookLine[i]=='\'') {

          counter++;

      }

  }

  return counter;

}

void evaluateBook(string bookName) {

  ifstream in(bookName);

  int totalVisibleCharacters = 0,totalLetters=0,numberOfPunctuations=0;

  if (!in) {

      cout << "File not found!!\n";

      exit(0);

  }

  string bookLine;

  while (getline(in, bookLine)) {

      totalVisibleCharacters += countCharacters(bookLine);

      totalLetters += countLetters(bookLine);

      numberOfPunctuations += totalPunctuations(bookLine);

  }

  cout << "Total Visible charcters count: "<<totalVisibleCharacters << endl;

  cout << "Total letters count: " << totalLetters << endl;

  cout << "Total punctuations count: " << numberOfPunctuations<< endl;

}

Explanation:

Create a function that takes a bookLine string as a parameter and returns total number of visible character.Create a function that takes a bookLine string as a parameter and returns total number of letters.Create a function that takes a bookLine string as a parameter and returns total number of punctuation.Inside the evaluateBook function, read the file line by line and track all the information by calling all the above created functions.Lastly, display the results.

What is a restricted network that relies on Internet technologies to provide an Internet-like environment within the company for information sharing, communications, collaboration, web publishing, and the support of business processes

Answers

Answer:

Deep Web (Tor Browser)

Explanation:

The legal deeper internet that allows the transfer of sensitive information.

The Electronic Communications Privacy Act requires different legal processes to obtain specific __________ information including websites visited, e-mail addresses of others with whom the subscriber exchanged e-mail, and buddy lists.
a. transactionalb. basic subscriberc. contentd. real-time access

Answers

The Electronic Communications Privacy Act requires different legal processes to obtain specific TRANSACTIONAL information including websites visited, e-mail addresses of others with whom the subscriber exchanged e-mail, and buddy lists.

Explanation:

Transactional information is all the information contained within a business unit. The primary purpose of transactional information is to support day-to-day operations of the unitExamples of transactional information include: sales receipt, packing slip, purchase confirmation, etc.Databases that can handle transactions are known as transactional databases. The main purpose of a database is to ensure accuracy and integrity of information. Transaction data is data describing an event  and is usually described with verbs. Transaction data always has a time dimension, a numerical value and refers to one or more objects Transactional data, in the context of data management, is the information recorded from transactions. A transaction, in this context, is a sequence of information exchange and related work that is treated as a unit for the purposes of satisfying a request.

What is the relationship between a method and a function

Answers

Answer:

Method and a function are the same,whit the different terms. A method is a procedure or function in object - oriented programming. A function is a group of reusable code which can be called anywhere in your program. This eliminates the need for writing the some code again and again.

A function is a piece of code that is called by name. It can be passed data to operate on (i.e. the parameters) and can optionally return data (the return value). All data that is passed to a function is explicitly passed. A method is a piece of code that is called by a name that is associated with an object

What are the characteristics of OneDrive and the browser version of Outlook? Check all that apply.


1.If you have an Office 365 account, you have cloud storage space on OneDrive.

2.You can access OneDrive by using a browser, an app, or Outlook.

3.OneDrive can be used to save items from the Outlook program.

4.Exchange is Microsoft’s version of Outlook on the web.

5.Both the Outlook program and Outlook web clients use the Exchange server.

6.Outlook on the web provides more features than the desktop client.

Answers

Answer:

If you have an Office 365 account, you have cloud storage space on OneDrive.

You can access OneDrive by using a browser, an app, or Outlook.

OneDrive can be used to save items from the Outlook program.

Both the Outlook program and Outlook web clients use the Exchange server.

Explanation: Got it wrong but it showed me the correct answer.

Statements that gives the characteristics of OneDrive and the browser version of Outlook are;

If you have an Office 365 account, you have cloud storage space on OneDrive.You can access OneDrive by using a browser, an app, or Outlook.OneDrive can be used to save items from the Outlook program.Both the Outlook program and Outlook web clients use the Exchange server.

When using an outlook, it is possible to access OneDrive, and it uses the Exchange server, If you have an Office 365 account, you have cloud storage space on OneDrive.

Therefore, OneDrive can be used to save items from the Outlook program.

Learn more about Outlook program at;

https://brainly.com/question/1538272

Pamela is asked to use a data visualization tool and show the relative frequency of the 50​ most-used terms in survey responses. this information is to be posted on the company website. for this pamela should use​ __________.



a. tag clouds



b. clustering



c. lists



d. linkage maps



e. calendar motifs

Answers

Answer:

a. tag clouds

Explanation:

Tag clouds or word cloud is a form of data visualization that shows the most occurring word or words in an edited text input.

Clustering is a technique in data analytics that categorizes data based on data types, separating them into clusters.

List  is a data types in data analysis programming languages

For reproducibility needed for auto-grading, seed the program with a value of 2. In a real program, you would seed with the current time. In that case, every program's output would be different, which is what is desired but can't be auto-graded. Note: A common student mistake is to create an instance of Random before each call to rand.nextInt(). But seeding should only be done once, at the start of the program, after which rand.nextInt() can be called any number of times. Your program must define and call the following method that returns "heads" or "tails". public static String headsOrTails(Random rand)

Answers

Answer:

For reproducibility needed for auto-grading, seed the program with a value of 2. In a real program, you would seed with the current time. In that case, every program's output would be different, which is what is desired but can't be auto-graded.

Note: A common student mistake is to create an instance of Random before each call to rand.nextInt(). But seeding should only be done once, at the start of the program, after which rand.nextInt() can be called any number of times.

Your program must define and call the following method that returns "heads" or "tails".

Explanation:

On your Windows server, you’re planning to install a new database application that uses an enormous amount of disk space. You need this application to be highly available, so you need a disk system with the capability to auto-correct from disk errors and data corruption. You also want a flexible storage solution that makes it easy to add space and supports deduplication. Describe your best option.
1. MBR disk with chkdsk
2. NTFS format with EFS
3. ReFS format and storage spaces
4. GPT disc with shadow copies

Answers

Answer:

3. ReFS

Explanation:

Only in ReFS include  and others do not have all of the below features

1. Automatic integrity checking and data scrubbing

2. Removal of the need for running chkdsk  

3. Protection against data degradation

4. Built-in handling of hard disk drive failure and redundancy

5.  Integration of RAID functionality

6.  A switch to copy/allocate on write for data and metadata updates

7. Handling of very long paths and filenames

8. Storage virtualization and pooling

A ______ site is a disaster recovery site that includes a computer system similar to the one the company regularly uses, software, and up-t0-date data so the company can resume full data processing operations within seconds or minutes.
a. Hot
b. Cold
c. Flying start
d. Backup

Answers

Answer:

c, flying start

Explanation:

This would be a flying start site.

What will be the value of discountRate after the following statements are executed? double discountRate = 0.0; int purchase = 100; if (purchase > 1000) discountRate = 0.05; else if (purchase > 750) discountRate = 0.03; else if (purchase > 500) discountRate = 0.01;

Answers

The value of discountRate after the following statements are executed

double discountRate = 0.0;

int purchase = 100;

if (purchase > 1000) discountRate = 0.05;

else if (purchase > 750) discountRate = 0.03;

else if (purchase > 500) discountRate = 0.01;

is 0.0

Explanation:

The discount rate is declared as a double; double discountRate = 0.0;

The purchase is declared as integer; int purchase = 100;

The first if statement shows if purchase > 1000 then the discountRate is 0.05

The second if statement shows if purchase > 750then the discountRate is  0.03

The third if statement shows if purchase > 500 then the discountRate is  0.01

Since none of these statements are true, the original discountRate is printed.

Final answer:

After executing the statements, the value of discountRate will remain 0.0 because the purchase amount does not meet any of the specified conditions to receive a discount.

Explanation:

The value of discountRate after executing the given statements will be 0.0. The code snippet provided is a series of conditional statements that assign a value to the variable discountRate based on the value of the variable purchase.

The initial value of purchase is 100, which does not satisfy any of the given conditions for increasing the discountRate (i.e., purchase must be greater than 500, 750, or 1000 to get a discount). Therefore, the discountRate remains at its initial value of 0.0 since no conditions are met.

A technician is using a network-attached desktop computer with a Type 2 hypervisor to run two VMs. One of the VMs is infected with multiple worms and other forms of known malware. The second VM is a clean installation of Windows. The technician has been tasked with logging the impact on the clean Windows VM when the infected VM attempts to infiltrate the clean VM through the network. What should the technician do to best protect the company LAN while performing these tests?

Answers

Answer:

Place both VMs on virtual NICs that are isolated from the company LAN.

Explanation:

From the scenario above, for the technician to best protect the company's LAN while performing the above mentioned tests, it us best to place both VMs on virtual NICs that are isolated from the company LAN.

Cheers

The technician do to best protect the company LAN while performing tests is Place both VM on virtual NICs that are isolated from the company LAN.

How does a VM work?

virtual computer

A virtual machine, sometimes abbreviated as just VM, is an actual computer just like a laptop, smartphone, or server. It is equipped with a CPU, RAM, disks for file storage, and an internet connection in case that is required.

What does VM in servers stand for?

On a physical hardware system, a virtualization (VM) is a graphical interface that performs as both a simulated software system featuring its own CPU, memories, network switch, and storage .

To know more about VM visit:

https://brainly.com/question/15517774

#SPJ4

Disrupting a business's ability to conduct electronic commerce is cönsidered an act of

Answers

Answer:

Digital Restrictions

Explanation:

This is the process that arises as a result of not meeting specific ethical standards and procedures for operating an online business on the form of electronic commerce. Such situation could be as a result of important factors like:

1. Unduly registered or incorporated businesses

2. Lack of patent or trademark to shown authenticity of product or services

3. Inability to provide certified prove of ownership to avoid fraudulent acts and others.

You manage a small LAN for a branch office. The branch office has three file servers and few client workstations. You want to use Ethernet device and offer guaranteed bandwidth to each server.How should you design the network?

Answers

You manage small LAN for a branch office. The branch office has three file servers and few client workstations. You want to use Ethernet device and offer guaranteed bandwidth to each server. You design the network by connecting all network devices to a switch. Connect each server to its own switch port.

Explanation:

A local-area network (LAN) is a computer network that spans a relatively small area.Most often, a LAN is confined to a single room, building or group of buildings, however, one LAN can be connected to other LANs over any distance via telephone lines and radio waves.The LAN is the networking infrastructure that provides access to network communication services and resources for end users and devices spread over a single floor or building.Designing a LAN for the campus use case is not a one-design-fits-all proposition. If there is a single 48-port switch, 47 devices can be supported, with only one port used to connect the switch to the rest of the network, and only one power outlet needed to accommodate the single switch

2 Which statement best explains how computers are used to analyze information?
A Computers are used to write reports.
B Computers are used to do calculations.
C Computers are used to measure objects.
D Computers are used to share conclusions.
nts the mass of the object in the​

Answers

Answer:

The answer is B

Explanation:

Computers are used to do calculations in investigations. And they help get the bad guy.

Technician A says that a J1939 connector may be used to access Cummins ISB eletronics when the engine is installed in a Dodge application. Technician B says that a J1962 ALDL may be used to access ISB electronics in some chassis applications. Who is right?

Answers

Answer:

Technician b is right

Explanation:

It can be used to access isb electronics in some chasis applications because of the OEM.

Which of the following is considered a part of due diligence? a. The scope of the Plan-Do-Check-Act (PDCA) model b. Metrics and best practices of information technology (IT) related processes c. A written and tested business continuity plan d. Information security management e. None of the other answers is correct

Answers

Answer:

C

Explanation:

A written and tested business continuity plan is considered as a part of due diligence.

Cheers

Ch. 6 Agile Modeling & Prototyping SDLC vs. Prototyping "I’ve got the idea of the century!" proclaims Bea Kwicke, a new systems analyst with your systems group. "Let’s skip all this SDLC garbage and just prototype everything. Our projects will go a lot more quickly, we’ll save time and money, and all the users will feel as if we’re paying attention to them instead of going away for months on end and not talking to them." A) List the reasons and conditions , you, as a member of the same team as Bea, would give her to utilize an SDLC and not just prototype every project. That is, tell Bea when you would use an SDLC. B) Bea is pretty disappointed with what you have said. To encourage her, use a paragraph to explain the situations you think would lend themselves to prototyping.

Answers

Answer:

Refer below.

Explanation:

A.The SDLC ought not be rejected for each venture since certain frameworks might be rashly molded before the issue or opportunity being tended to is altogether comprehended. Additionally, utilizing prototype as an option may bring about utilizing a framework that is acknowledged by explicit gathering of clients yet which is insufficient for in general framework needs. In numerous framework prototyping can be effectively incorporated with SDLC approach. For surely knew frameworks, a straight SDLC approach has demonstrated its value.

B.In epic or complex circumstance, prototyping is a perfect mechansim for better understanding client prerequisites, and for getting client input for improving framework viability. What's more, prototyping has demonstrated valuable when fused into SDLC. This combination is especially helpful in better learning client needs.

Molly, an end-user, connects an external monitor, external keyboard and mouse, and a wired network cable to her laptop while working in the office. She
leaves the office frequently to meet with customers and takes the laptop with her. Disconnecting and reconnecting these external connections has become
inconvenient. Which of the following devices will allow the user to disconnect and reconnect the laptop to the external connections with the least amount
of effort?
Port Replicator
Docking Station

Answers

Answer:

A Port Replicator

Explanation:

Port Replicators are universal and do not require that your computer (laptop) be docked (Placed) on them to function. All you need is the devices connected to the port replicator and whenever you need to move the laptop, you disconnect the port replicator from it. It generally is connected via a type of USB port.

A Docking station on the other hand can be a drag in the sense that you might have a challenge always having to dock and undock your laptop from the station anytime you need to move. This can be annoying if you are in a rush. Also the Docking stations use expansion ports which are a lot of times not universal (Not just any type of laptop can connect to the dock stations, just your model or specified models).

Answer:

Port Replicator

Explanation:

While you may be able to use a docking station for this purpose, a port replicator is designed specifically for this kind of use.

The format for the UPDATE command is the word UPDATE, followed by the name of the table to be updated. The next portion of the command consists of the word ____________________, followed by the name of the column to be updated, an equals sign, and the new value.​

Answers

The format for the UPDATE command is the word UPDATE, followed by the name of the table to be updated. The next portion of the command consists of the word SET, followed by the name of the column to be updated, an equals sign, and the new value.​

Explanation:

An Update Query is an action query (SQL statement) that changes a set of records according to criteria you specify.The SQL UPDATE Query is used to modify the existing records in a table. You can use the WHERE clause with the UPDATE query to update the selected rows, otherwise all the rows would be affected. Update Queries let you modify the values of a field or fields in a table.

UPDATE Syntax

UPDATE table_name SET column1 = value1, column2 = value2, ... WHERE condition;

UPDATE table_name SET column1 = value1, column2 = value2, etc WHERE condition;  

table_name: name of the table column1: name of first , second, third column.... value1: new value for first, second, third column.... condition: condition to select the rows for which the  values of columns needs to be updated.

Terry came into work and turned on his computer. During the boot process, the computer shut down. When he tried again, the computer showed the error message, OS not found. Terry called the help desk and explained the computer issue. The help desk technician asked Terry to open the computer. As a help desk technician, what would you have Terry check on his computer with the case cover removed?
A. SATA cable connection
B. Properly seated RAM
C. CMOS battery
D. P1 Power connection

Answers

el cable SATA porque sirve para la transferencia de datos entre la placa base y algunos dispositivos de almacenamiento como la unidad de disco duro (donde generalmente se instala el sistema operativo)

Use the drop-down menus to complete the steps necessary for adding a conditional formatting rule.
On the Home tab, click the
group.
On the drop-down list, click
and click the rule you wish to use.
Use the dialog box to complete the rule,

Answers

Conditional formatting are used to assign specific formatting options to cells based on a specified set of rules. Hence, cells which meets the set rules are given the formatted based on the formatting conditions.

To use conditional formatting, navigate to the styles group which is on the home tab.

A drop down list appears with various options, click conditional formatting

The rule to be used should be clicked in the dialog box and the rules can be tweaked by clicking manage rules.

Learn more :https://brainly.com/question/22654163

Answer:

styles, conditional formatting

Explanation:

got it right :))

Which of the following is the correct order of the SDLC?
a. analysis, investigation, design, implementation, programming/testing.
b. operation/maintenance analysis,
c. investigation, design, programming/testing, implementation, operation/maintenance
d. investigation, analysis, design, implementation, programming/testing, operation/maintenance
e. investigation, analysis, design, programming/testing, implementation, operation/maintenance

Answers

I say when in doubt, go with c

The correct order of the SDLC is (d) investigation, analysis, design, implementation, programming/testing, operation/maintenance

SDLC represents the software development life cycle, and one of its purposes is to allow the software development team to function optimally when creating a product.

There are several stages of the software development life cycle, all of these stages are structured and must be followed in a sequential order.

The first of the stages is preliminary stages, where investigations and feasibility studies are carried out.

After then, the software is analyzed and then designed.

Of the given options, option (d) represents the correct order of the software development life cycle

Read more about software development life cycle at:

https://brainly.com/question/15172408

The theme color scheme of the slide can be changed by clicking on the _______ next to the color button, located in the _____ group. (Microsoft Excel 2013)

A) drop-down arrow, Animation
B) drop-down arrow, Themes
C) drop-down arrow, Background
D) drag and drop menu, Themes

Answers

Answer:

B) drop-down arrow, Themes

Explanation:

An Excel theme consists of a collection of colors, fonts, and effects that can be applied to a slide to add beauty. Themes make work to be professional, consistent and make adhering to design guidelines easy.

To change theme color, first open a Blank Workbook.  Secondly, On the Page Layout tab, in the Themes group, click Themes drop down arrow beside the color button.

The theme color scheme of the slide can be changed by clicking on the  drop-down arrow, next to the color button, located in the Themes group. (Microsoft Excel 2013)

The theme color scheme of the slide in Microsoft Excel 2013 can be changed by clicking on the drop-down arrow, located in the Themes group.

To change the theme, you would select a theme from the Themes group on the Design tab. You can find more themes by clicking the More button, which allows for further customization of the themes, such as modifying theme colors, fonts, effects, or background styles. When customizing the presentation's background, you can click the Format Background button in the Customize group of the Design tab to adjust various parameters such as color, gradient fill, and transparency.

An experimenter discovers that the time for people to detect a string of letters on a computer screen is 400 milliseconds, and that the time to push one of two buttons as to whether that string of letters is a legitimate word (e.g., travel) versus a nonword (e.g., terhil) is 575 milliseconds. Which technique would be most useful in figuring out the time for word recognition, independent of letter-string detection?
a. Introspectionsb. Operant conditioningc. Neuropyshologyd. Subtractive method

Answers

Answer:

The correct answer to the following question will be Option D (Subtractive method ).

Explanation:

This approach essentially requests a participant to construct two activities that are already in almost every way similar, except for a mental process that is assumed to also be included in any of the activities although omitted in another.This method will be much more valuable when deciding the period for phonemic awareness, despite text-string identification.

The other three options are not related to the given scenario. So that Option D is the right answer.

Students in a 6th grade science class are completing a project about an invention for which they must print a 3-D prototype on the 3-D printer. After giving them instruction about the 3-D printer software, some of the students are still struggling with how to use the software to create the prototype they envision.
What is the best way to help the students complete the assignment?

Answers

Answer:

Providing them with a template and simple instructions for how to design and print their prototype.

Explanation:

3D printing or additive manufacturing is a process of making three dimensional solid objects from a digital file.

The creation of a 3D printed object is achieved using additive processes. In an additive process an object is created by laying down successive layers of material until the object is created. Each of these layers can be seen as a thinly sliced horizontal cross-section of the eventual object.

3D printing is the opposite of subtractive manufacturing which is cutting out / hollowing out a piece of metal or plastic with for instance a milling machine.

3D printing enables you to produce complex shapes using less material than traditional manufacturing methods.

By providing them with the information for how to design the 3D printer and how to print heir prototype in a template is best way to help the students.

It will need some prior research about 3D Printer.

Object-oriented systems have three general types of cohesion: _____, _____, and _____. A. method, class, inheritance B. method, generalization/specialization, inheritance C. generalization/specialization, class, object D. method, class, generalization/specialization E. functional, sequential, procedural

Answers

Answer:

D. method, class, generalization/specialization

Explanation:

The Cohesion is said to be the level to what an element of a module is related to others. Generally, the cohesion can be understood as an internal adhesive that holds together the modules. If the software is good then it is going to have high cohesion. Method and class are type of cohesion, as they hold the modules together. And generalization/specialization also is a general type of cohesion as generalization tracks the common features among the class, and binds them into one superclass. However, the specialization means creating subclasses out of the classes, and which is the meaning of the specialization. In an ideal situation, there should be high cohesion or single responsibility. However, in the case of inheritance, there can be multiple responsibilities. And hence composition like a generalization, specialization, association, aggregation are used to make use of the composition for reuse rather than inheritance. Have you seen language supporting multiple inheritances. You will never see it though there is some way. And its never allowed to ensure high cohesion. And hence three general types of cohesion are method, class and generalization/specialization. And this is option D.

A server is expected to process 2,000 transactions per second during its initial year of deployment. If it is expected to increase transaction growth by 10% annually, how many transactions per second should the server be able to process by the end of its fifth year?

Answers

Answer:

This is like a compound interest problem,

Here, p=2000

          r=10%

          t=5

 Transaction after 5 years= 2000(1+10/100)^5= 3221.02 per second

Explanation:

This is as explained above a compound interest type of question. And the number of transaction per second after 5 years is equal to 3221. Remember, you need to understand the difference between compound interest and simple interest. In first one, we have new p after each year. However, in Simple interest, the p remains the same as the first one.

100 Base-T: Group of answer choices
can run at either full- or half-duplex
is one of the oldest forms of Ethernet
is one of the slowest forms of Ethernet
can only be used over coaxial cables
has only one version, 100Base-SLCX

Answers

Answer:

can run at either full- or half-duplex

Explanation:

In Computer Networking, 100Base-T also known as fast ethernet is an ethernet standard that operates at 100Mbps and can run at either full- or half-duplex.

It uses Shielded Twisted Pair (STP) cabling system.

The Variations of 100BaseT are;

- 100BaseTX

- 100BaseFX.

Other Questions
Solve the system using substitution.y = 4x 5y = 2x + 1A.(2, 3)B.(1, 3)C.(2, 13)D.(3, 7) Read this line from the Pony Express excerpt:It, in fact, proved the feasibility of a transcontinental road and demonstrated that such a line could be built and operated continuously the year aroundBased on the context, what does the word "feasibility" mean? What are some things that cause stress? What are some ways to be more effective in dealing with stress? Find the maximum profit and the number of units that must be produced and sold in order to yield the maximum profit. Assume that revenue, Upper R (x ), and cost, Upper C (x ), are in thousands of dollars, and x is in thousands of units. Upper R (x )equals9 x minus 2 x squared, Upper C (x )equalsx cubed minus 3 x squared plus 4 x plus 1 What is Austen telling her niece about Mr. J. P. in this passage?A Mr. J.P. has more schooling than Fanny's brothers, buthe is still idle, while they have found jobs.B Going to college shows that Mr.J. P. is smart and thathe works harder than Fanny's brothers do.C Even though he is ill. Mr. J. P. is smarter than Fanny'sbrothers.D Fanny's brothers are ill, so Fanny should not comparethem with Mr. J. P. How do waterfalls form?A. meander gets cut off.B.Sediment builds up.C.Soft rock erodes.D.Flat areas flood. Angle measure represented by 36.7 rotations counterclockwise Which pyramid has the greatest surface area?Pyramid which conflict results from barbara frietchie putting the flag back in her attic window? at the flea market, erin buys a phone that is 22% off and gloves that are reduced to $19.97. erin spends a total of $48.52. let g represent the cost of the phone. write an equation that correctly represents the cost of erin's shopping trip. Makayla charges 20 cents per square inch for her frame. How much will she charge for a frame that measures 18 inches on each side and has a width of 3 inches ? Look at me! Look at my arm! I have ploughed and planted, and gathered into barns, and no man could head me! And aint I a woman? Aint I a Woman?, Sojourner Truth What is the argument presented in this quotation? 1. men are weaker than women2. women are weaker than men3.women can be as strong as men4. women should not labor alongside men What is the constant of proportionality of 3y = 27x Coordinates of a Pre-imageThe segments shown are dilations of each other aboutthe origin. Which statement could be true?OThe coordinate (1, 0) is from a dilation using thescale factor ofO(1,0)(5,0)OThe coordinate (5,0) is from a dilation using thescale factor of 4.The coordinate (1, 0) is from a dilation using thescale factor of 5.The coordinate (5,0) is from a dilation using thescale factor ofO Briefly describe one difference between the economy of British North American colonies in the Chesapeake region (such as Virginia and Maryland) and the economy of the middle colonies (such as Pennsylvania and New York). DEFINE turning point. EXPLAIN why the Battle of Gettysburg is considered the turning point of the Civil War Does a rectangle have four congruent sides? What is the sum of the series? Write in expanded form making sure to show all steps used to find the sum. A jellyfish is floating in the ocean. Which is a valid claim about what will happen to the jellyfish when a wave passes through the water?a It will be carried away with the wave.b It will not move, but the water around it will move.c It will be moved up to the surface of the water.d It will move up and down, but it will return to about the same place. The word "oboe" refers to a woodwind instrument that is played in a band or an orchestra. The letters o-b-o-e, however, do not specifically tell you what an oboe is. The word "oboe" is an example of a(n) __________ representation of this musical instrument. Question 2 options: