reimplement the bug class from this self check exercise, but use a different internal representation. represent the distance climbed by a string of - characters, one for every 10 cm. the up, reset, and get position member functions should have the exact same behavior as before, so the bug slides back to the bottom when it reaches the top of the pole (at 100 cm). of course, their implementation will be quite different.
#include
#include
using namespace std;
class Bug
{
public:
// Provide the public interface for get_position, reset, and up
private:
string climbed;
};
// Implement the get_position, reset, and up member functions
int main()
{
Bug bugsy;
Bug itsy_bitsy;
bugsy.reset();
itsy_bitsy.reset();
bugsy.up();
bugsy.up();
cout << bugsy.get_position() << endl;
cout << "Expected: 20" << endl;
itsy_bitsy.up();
itsy_bitsy.up();
itsy_bitsy.up();
cout << itsy_bitsy.get_position() << endl;
cout << "Expected: 30" << endl;
for (int i = 1; i <= 8; i++) { bugsy.up(); }
cout << bugsy.get_position() << endl;
cout << "Expected: 0" << endl;
bugsy.up();
cout << bugsy.get_position() << endl;
cout << "Expected: 10" << endl;
return 0;
}

Answers

Answer 1

//Implementation of class bug:

class Bug:

 def __init__(self,start=0):

       self.position = start

       self.units = 10

   def get_position(self):

       return self.position

   def reset(self):

       self.position = 0

   def up(self):

       self.position += self.units

       if self.position >= 100:

           self.reset()

   def down(self):

       self.position -= self.units

def main():

  bugsy = Bug()

  itsy_bitsy = Bug()

  bugsy.reset()

  itsy_bitsy.reset()

  bugsy.up()

  bugsy.up()

  print("bugsy's position: ",bugsy.get_position())

  print("Expected: 20")

  itsy_bitsy.up()

  itsy_bitsy.up()

  itsy_bitsy.up()

  print("itsy_bitsy's position: ",itsy_bitsy.get_position())

  print("Expected: 30")

for i in range(1,9):

       bugsy.up()

  print("bugsy's position: ",bugsy.get_position())

  print("Expected: 0")

  bugsy.up()

  print("bugsy's position: ",bugsy.get_position())

  print("Expected: 10")

if __name__ == "__main__":

  main()

What is member function?

A member function allows you to express yourself by associating functionality with a class. Make an informed decision. In general, functions are created equal, therefore they should all make the same assumptions about a class's interface. Member functions are operators and functions that have been specified as class members. Operators and functions specified with the friend specifier are not considered member functions. These are known as classmates' pals. A static member function is one that has been declared as static by the user.

To know more about member function,

https://brainly.com/question/17017198

#SPJ4


Related Questions

you are designing a wireless network for a client. your client needs the network to support a data rate of at least 150 mbps. in addition, the client already has a wireless telephone system installed that operates at 2.4 ghz.

Answers

The 802.11 standard that will work best in this situation is 802.11n.

The IEEE 802.11a wireless local networking standard amendment set criteria for an orthogonal frequency-division multiplexed (OFDM) communication technology. It was initially intended to facilitate wireless communication in the unlicensed national information infrastructure (U-NII) bands (in the 5-6 GHz frequency range) as defined by the Federal Acquisition Regulations in the United States.

The 5 GHz band was supported by 802.11a, with a theoretical maximum speed of 54 Mbps. Many business/enterprise wireless devices utilized 802.11a Wi-Fi radios in the early 2000s. 5 GHz frequency bandwidths enabled faster speeds than 802.11b and 2.4 GHz. However, the higher GHz frequency meant that the signal did not go as far and was more difficult to transmit over physical obstacles. 802.11a is now considered an outdated standard.

Learn more about 802.11n here: https://brainly.com/question/23775792

#SPJ4

You are working in the headquarters of an organization and you're asked to deal with the interruption in services due to network issues found in the ISP servers. How will you tackle this sitiuation? Using RAID Using NIC teaming Using UPS Backing up data Analysis: Incorrect. Redundant Array of Independent Drives uses multiple hard disk drives for increased reliability hence cannot deal with network issues. Correct. NIC teaming provides redundancy for the network by which different ISP can be integrated for reliable perfomance. Inorrect. UPS is used for power backup. Incorrect. Backing up the data will not result in a reliable network.

Answers

To tackle this situation, a NIC teaming provides redundancy for the network by which different ISP can be integrated for reliable performance. The correct option is c.

What is a network?

Linked computers, servers, mainframes, peripherals, network devices, or other devices that enable data sharing make up a network.

Through NIC teaming, users can join two or more physical NICs into a single logical network device called a bond. After a logical NIC is configured, the virtual machine is unaware of the underlying physical NICs.

Therefore, the correct option is c, NIC teaming provides redundancy for the network by which different ISP can be integrated for reliable performance.

To learn more about the network, refer to the link:

https://brainly.com/question/15002514

#SPJ1

You have a small network as shown in the Exhibit.
Wrk1 is unable to communicate with Wrk2. Wrk1 can ping the router and all Internet hosts. Wrk2 can ping Wrk3.
What is the most likely cause of the problem?
Wrk1 and Wrk2 are on separate VLANs.

Answers

A Layer 2 network technique called Spanning Tree Protocol (STP) is used to stop loops from occurring inside a network topology.

What is STP and how does it work?STP was developed in order to prevent the issues that occur when computers transmit data over a local area network (LAN) that has redundant pathways. Data can become trapped in a loop that revolves around network segments if the flow of information is not constantly monitored and controlled, lowering performance and nearly halting traffic.When tying together network segments, networks frequently use redundant paths. Redundancy can result in bridge or switch looping even though it can assist protect against disaster. When data loops around the same redundant paths it took to get from one place to another, amplifying the data until it becomes a broadcast storm. Looping happens when data moves from one place to another along these repetitive paths.LANs with redundant links can avoid bridge looping with the use of STP. To create that redundancy and prevent network looping without STP would be challenging. STP keeps track of every link in the network, spots redundant connections, and shuts off any ports that can cause looping.

To Learn more About Spanning Tree Protocol refer to:

https://brainly.com/question/28111068

#SPJ4

Use this keyboard shortcut to display the Print backstage area. Select one: a. Ctrl + P | b. Shift + P | c. Alt + Shift + P |d. Alt + P

Answers

You can use "Ctrl + P" keyboard shortcut to display the Print Backstage Area.

By selecting the "File" tab located in the application window's upper-left corner, you can access Backstage View. Access to saving, opening, information about the open file (Permissions, Sharing, and Versions), creating a new file, printing, and recently opened files is available from the backstage view.

You can also print your work from the Backstage view's Print area by clicking the prominent Print button, which also offers printing alternatives.

You may see several of the most recent files you've worked on on the Backstage screen. Click the Open button on the left navigation pane to view file locations you can navigate to find the file if it isn't shown in the Recent files list.

To learn more about the Backstage Area click here:

brainly.com/question/28618012

#SPJ4

Which statements about the use of email are accurate? Select three options.

Answers

The statements about the use of email that can be accurate include:

Email is fastEmail is a system for sending messagesEmail is a form of communication.

What is email?

Email (electronic mail) is the exchange of computer-stored messages from one user to one or more recipients via the internet

Email is a messaging system that uses electronic devices like a computer, tablet, or phone to send and receive messages.

The exchange of computer-stored messages from one user to one or more recipients via the internet is known as email (or electronic mail). Emails are a convenient, affordable, and quick way to communicate for both personal and professional purposes. In conclusion, the communication is nearly instantaneous.

Note that the information is incomplete and an overview was given as the complete question wasn't found.

Learn more about emails on:

https://brainly.com/question/24688558

#SPJ1

Which of the following actions can help to protect your identity cyber awareness?

Answers

Ensure proper labeling by appropriately marking all classified material and, when required, sensitive material can help to protect your identity cyber awareness.

What are the three meanings of cyber security?

Cyber security is essential to protect all types of data from theft or loss. Sensitive data, protected health information (PHI), personally identifiable information (PII), intellectual property, personal information, data, government and corporate information systems are all included.

Why do we need cyber security awareness?

Cybersecurity awareness among an organization's employees means that they understand what cyber threats are, the potential impact of cyberattacks on the business, and the steps needed to mitigate and mitigate the risks. It means that you are safe and secure, preventing cyber criminals from infiltrating your online workspace.

Why is cyber security awareness important for students?

Security awareness training is important to protect your organization from cyber-attacks on your systems that lead to data breaches. The focus is on avoiding incidents that lead to loss of brand reputation and assets.

Learn more about cyber security awareness :

brainly.com/question/29361723

#SPJ4

What are the first two lines of defense a company should take when addressing security risks?; What reroutes requests for legitimate websites to false websites?; What is hardware or software that guards a private network by analyzing?; What is the unauthorized use duplication distribution or sale of copyrighted software?

Answers

The lines of defense company are:

1. Implement effective security policies and procedures to protect their data and systems.2. Establish a strong firewall to keep malicious traffic out of their networks.

What reroutes requests for legitimate websites to false websites?

This is known as DNS hijacking and it is a type of cyber attack where the attackers reroute requests for legitimate websites to false websites.

What is hardware or software that guards a private network by analyzing?

This is known as a firewall. A firewall is a hardware or software that guards a private network by analyzing incoming and outgoing data packets and allowing or denying access based on pre-defined security rules.

What is the unauthorized use duplication distribution or sale of copyrighted software?

This is known as software piracy. Software piracy is the unauthorized use, duplication, distribution or sale of copyrighted software.

Learn more about Websites:

https://brainly.com/question/3733655

#SPJ4

irb continuing review of a greater than minimal risk approved protocol that is currently enrolling subjects must:

Answers

The IRB continuing review of a greater than minimal risk approved protocol that is currently enrolling subjects must occur at least annually.

When should an IRB Continuing Review take place?

A person must submit a study to the IRB for continuing review permission if you want to keep working on it after its expiration date. The IRB conducts a fresh evaluation of the trial to decide whether it should proceed unaltered or with changes.

Therefore, A greater than minimal risk authorized procedure that is currently enrolling subjects must: At least annually undergo IRB continuous review. IRBs may stipulate a shorter review time, but approved greater than minimal risk protocols must be evaluated at least once per year.

Learn more about IRB review from

https://brainly.com/question/8905808
#SPJ1

Which of the following functions calculate the amount used to repay the principal of a loan? select all options that apply

a. PPMT
b. CUMIPMT
c. IPMT
d. CUMPRINC

Answers

The function that calculate the amount used to repay the principal of a loan is option a. PPMT.

How does the PMT formula work?

PMT stands for "payment," therefore the name of the function. A PMT method can estimate your monthly payments, for instance, if you are looking for a $30,000 car loan with a two-year term and an annual interest rate of 7%.

Therefore, Based on a constant interest rate and a specified payment schedule, the PPMT function in Excel determines the principal component of a loan payment for a specific time. Where: Rate (required) is the loan's fixed interest rate.

Learn more about PPMT from

https://brainly.com/question/29038956
#SPJ1

if you have configured azure sql database alerts, and you are receiving alerts too frequently for the same issue which configuration parameters do you need to review to reduce the volume of alerts

Answers

When a message processing error occurs, the system will alert you using the alert configuration. The notice can be delivered to you via email, fax, or SMS. Every time. The alert would also be on your alert inbox.

What configuration parameters do you need to review alert?

Alerts from activity logs have no state. Stateless alerts sound every time the condition is satisfied, even if they have already sounded. Stateful notifies the fire when the requirement is met.

Therefore, configuration metric alerts From the Azure interface, create an alert rule for a metric. Choose the Azure Database for MySQL server you want to watch in the Azure portal.

Learn more about alert here:

https://brainly.com/question/14905277

#SPJ1

the store customer.py program was created to hold data about customers transactions in a retail store. the class should store the following data in attributes:

Answers

The class should hold the following information in attributes: the item's description, quantity in stock, and price.

Class and object definitions

A class is a blueprint that specifies certain behaviors and features. A class instance with those associated attributes and behaviors is referred to as an object. When a class is defined, no memory is allotted to it. An object is given memory when it is formed. Objects are actual entities, whereas class is a mental entity.

What does Java class mean?

In Java, a class serves as a logical building block for objects with similar traits and functionalities. As a result, all objects belonging to a class will share the same functions or attributes. For instance, a particular cat in the real world is an item of the "cats" class.

To know more about  class visit:

https://brainly.com/question/14843553

#SPJ4

T/F ethnicity is generally related to one's shared culture, language, etc., whereas race is most often considered a designation based

Answers

True. Ethnicity is usually associated with a shared cultural, linguistic, or other social heritage, while race is typically a biological classification based on physical characteristics such as skin color, facial features, and hair texture. The two are often conflated, but they are distinct concepts.

Exploring the Distinction Between Ethnicity and Race

The terms ethnicity and race are often used interchangeably, but there is a key difference between the two. While both involve a shared cultural, linguistic, or social heritage, race is a biological classification based on physical characteristics such as skin color, facial features, and hair texture. In this essay, I will explore the distinction between ethnicity and race in greater detail.

When discussing the distinction between ethnicity and race, it is important to note that the two are not mutually exclusive. People can identify with both their ethnic and racial backgrounds, and many people of color experience both racial and ethnic discrimination. The key difference here is that one is rooted in culture and the other is rooted in biology.

Learn more about Ethnicity:

https://brainly.com/question/27129680

#SPJ4

which of the following treats location-based micro-networking as a game allowing users to earn badges based on their number of visits to particular locations. users can access short reviews and tips about businesses, organize get-togethers, and see which friends are nearby.

Answers

Setting clear campaign objectives is the first step in a successful social media strategy.

What is location based micro-networking?

Location based micro-networking is defined as a direct marketing technique that notifies the owner of a mobile device about a deal from a nearby company by using the device's location.  With the use of location-based marketing, businesses may specifically target customers with online or offline messaging based on their precise geographic position.

The first and most important step in creating a social media strategy is determining your goals.  It will be challenging to focus your efforts toward a goal if you don't have one in mind. For this reason, you must establish SMART, attainable goals.

Thus, setting clear campaign objectives is the first step in a successful social media strategy.

To learn more about location based micro-networking, refer to the link below:

https://brainly.com/question/16898522

#SPJ1

You are working as a network administrator and are worried about the possibility of an insider threat. You want to enable a security feature that would remember the Layer 2 address that is first connected to a particular switch port in order to prevent someone from unplugging a workstation from the switch port and connecting their own laptop to that same switch port. Which of the following security features would BEST accomplish this goal?

Answers

The best security features to accomplish the goal will be Sticky MAC

Sticky MAC, another name for persistent MAC learning, is a port security feature that permits an interface to keep dynamically learnt MAC addresses even if the switch is rebooted or if the interface goes offline and then comes back online. This security feature can be used to stop someone from unplugging their office computer and connecting their own laptop to the network jack without authorization because the switch port connected to that network jack would only permit the computer with the original MAC address to gain connectivity using Sticky MAC.

To learn more about MAC click here

brainly.com/question/27960072

#SPJ4

A(n) _____ consists of programs that mimic human thought behavior in a specific area that human specialists have solved successfully.
a. database system
b. spiral model
c. evolutionary model
d. expert system

Answers

Programs that replicate human thought patterns in a particular field where human experts have achieved success make up an expert system.

What is an expert system?An expert system is a computer software that use artificial intelligence (AI) technologies to mimic the decision-making and actions of a person or group with knowledge and experience in a certain field.Expert systems are often designed to support human experts, not to replace them.Computer scientist Edward Feigenbaum, a professor of computer science at Stanford University and the creator of Stanford's Knowledge Systems Laboratory, created the idea of expert systems in the 1970s. In a 1988 manuscript, Feigenbaum claimed that the world was shifting from "data processing" to "knowledge processing." He emphasized that this implied that new chip technologies and computer designs could enable computers to perform tasks beyond simple computations, such as solving complicated issues.

To Learn more About expert system refer to:

https://brainly.com/question/9619145

#SPJ4

Some computer systems become integrated into the infrastructure of society--for example, medical record systems, traffic-light management, payment of taxes, etc. The ACM Code:Requires particular care with such systems, including questions of access and equitySays nothing in particular about such systemsRequires security to be the highest concern in these casesLimits the amount professionals can charge for such systems, so they will remain affordable

Answers

The ACM Code will remain affordable with such systems, including issues of access and equality, takes special consideration.

The ACM Code is intended to inspire and direct the moral behavior of all computer professionals, including established and aspiring professionals, educators, learners, influencers, and anybody who utilizes computing technology in a significant way. The Code also provides as a foundation for corrective action when infractions take place. Through effective leadership, the promotion of the highest standards, and the acknowledgment of technological accomplishment, ACM increases the computing profession's collective voice. Through opportunities for lifelong learning, career advancement, and professional networking, ACM promotes the professional development of its members. Computer ethics is concerned with the norms, principles, and practices that guide how computing technology and its associated disciplines are used without impairing or infringing upon the moral principles and beliefs of any individual, group, or organisation.

Learn more about ACM Code here:

https://brainly.com/question/13960327

#SPJ4

actions taken by a computer when a module is called such as allocating memory for the local variables and the parameters is called group of answer choices overhead

Answers

Actions taken by a computer when a module is called such as allocating memory for the local variables and the parameters is called overhead.

What is allocating memory?

Computer programs and services can be given access to physical or virtual memory space through a process called memory allocation. Memory allocation is the process of allocating a full or partial chunk of computer memory for the use of applications and processes. Memory allocation is accomplished using a procedure called memory management.

Although it is primarily a hardware operation, memory management is controlled by the operating system and software programs. Physical and virtual memory management processes for allocating memory are quite similar.

Depending on their needs, programs and services are given a specific amount of memory when they are executed. The memory is released and given to another program or combined with the main memory once the program has completed its task or is idle.

Learn more about Memory allocation

https://brainly.com/question/29833602

#SPJ4

Click and drag on elements in orderThere are five important steps to preparing a statement of cash flows. Rank the steps in order from first to last.1. Compute the net increase or decrease in cash.2. Compute and report the net cash provided or used by operating activities.3. Compute and report the net cash provided or used by investing activities.4. Compute and report the net cash provided or used by financing activities.5. Compute the net cash flow by combining net cash provided or used by operating, investing, and financing activities and prove the change.

Answers

There are five important steps to preparing a statement of cash flows. The steps in order from first to last:

1. Compute the net increase or decrease in cash.

2. Compute and report the net cash provided or used by operating activities.

3. Compute and report the net cash provided or used by investing activities.

4. Compute and report the net cash provided or used by financing activities.

5. Compute the net cash flow by combining net cash provided or used by operating, investing, and financing activities and prove the change.

Net Cash: What Is It?

On a company's financial statements, net cash is a sum that is given. It is determined by deducting a company's total cash from its total liabilities. When assessing the cash flows of a corporation, the net cash figure is frequently utilized. Profit is the amount of money left over after all expenses have been paid, whereas cash flow is the net flow of cash into and out of a business. This is the main distinction between cash flow and profit.

Learn more bout the Net Cash here: https://brainly.com/question/25716101

#SPJ1

casey is looking for a free, open-source rdbms for his company. which of the following best meets these requirements?A. Microsoft SQL Server
B. PostgreSQL
C. MongoDB
D. Oracle Database

Answers

Casey is looking for free, open-source RDBMS for his company. B: PostgreSQL best meets these requirements.

A relational database management system (RDBMS) refers to a collection of programs and capabilities that enable information technology teams and others to create, administer, update, and otherwise interact with a relational database. PostgreSQL is an advanced, enterprise-class open-source free RDBMS that supports both SQL (relational) and JSON (non-relational) querying.  As per Casey requirements, PostgreSQL RDBMS is best to be used.

You can learn more about RDBMS at

https://brainly.com/question/28901158

#SPJ4

What are two of the three types of insider threats?

Answers

Malicious insiders and  Exploited Insiders are two of the three types of insider threats .

Malicious Insiders -

The rarest but most costly as they strategically cause data breaches with the intent to cause great damage.

Exploited Insiders -

Individuals who are "tricked" by others into revealing access information or accessing information themselves and sharing it with outside parties.

What are insider threats?

An insider threat is a user or administrator account with legitimate access to a company's computers and data. These accounts can be accidentally or intentionally misused by their owners, or compromised by outside attackers.

Insider threats are notoriously difficult to detect. A retired employee amassing data to give him a head start on his next job, an inattentive remote he worker connected to an unsecured network, or some other type of could be people.

Learn more about insider threats :

brainly.com/question/14681400

#SPJ4

a painting company has determined that for every 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. the company charges $35.00 per hour for labor. write a program that asks the user to enter the square feet of wall space to be painted and the price of the paint per gallon. the program should display the following data: The number of gallons of paint required
The hours of labor required
The cost of the paint
The labor charges
The total cost of the paint job
Finally it returns the total cost to the calling program
Write the main() function that prompts the user to enter area of wall space to be painted and the price of a paint gallon. The main function then calls compute_cost() function to compute the cost and prints the total cos.
Make sure it is in python program

Answers

A method of notation for creating computer programmes is known as a programming language. The majority of programming languages are formal text-based languages.

What is programming ?Writing code to support certain activities in a computer, application, or software programme and giving them instructions on how to do is known as computer programming.Orthogonality or simplicity, available control structures, data types, and data structures, syntactic design, support for abstraction, expressiveness, type equivalence, strong versus weak type checking, exception handling, and limited aliasing are among the characteristics of a programming language

def main():

   # Ask for the square footage of wall space to be painted.

   square_footage = input('Enter the number of square feet to be painted: ')  

   price_gallon = input('Enter the price of the paint per gallon: ')

   estimate(square_footage, price_gallon)

def estimate(square_footage, price_gallon):

   num_gallons = square_footage/115

   hours_labor = num_gallons * 8

   total_price_gallon = num_gallons * price_gallon

   total_labor = hours_labor * 20

   final_total = total_price_gallon + total_labor

   print 'The total estimated price for this paint job is $', final_total

main()

To learn more about programming language refer :

brainly.com/question/16936315

#SPJ4

you are using a system running windows 10. you have configured the power settings on your system. you observe that there is some problem with the power scheme that you applied, which may harm your battery life. which of the following commands will you use to identify the problem?

Answers

Choosing Start > Settings > System > Power & battery will allow you to modify the power mode. Decide the Power mode you want to use. When a custom power plan is chosen, take note that you might not be able to change the power mode.

What is a machine running Windows 10?

A Microsoft operating system called Windows 10 is available for laptops, tablets, embedded systems, and internet-connected gadgets. The successor to Windows 8 was introduced by Microsoft as Windows 10 in July 2015. As of October 2025, Windows 10 will no longer receive security updates. Windows 11 will take its place.

In 2022, is Windows 10 still free?

As you might have guessed, it is still very much possible to update and receive a free copy of Windows 10 in 2022. Simply follow the instructions we provided above to use Windows 7 or Windows 8 that you already have. 1 product key, or perhaps obtaining a license for free through employment or education.

To know more about Windows 10 visit;

https://brainly.com/question/28847407

#SPJ4

What does SWOT stand for in strategic planning?; Why according to you is a SWOT analysis popular tool that are used in organizations?; What is SWOT analysis How can SWOT be used for strategic planning for IT projects?; What is the SWOT tool used for?

Answers

The abbreviation SWOT stands for strengths, weaknesses, opportunities, and threats.

Because your organization's strengths and weaknesses are internal, while your opportunities and threats are external, SWOT analysis is also known as internal-external analysis. SWOT analysis is a framework for discovering and assessing your company's strengths and weaknesses, as well as opportunities and threats.

The research and the subsequent alignment are only the first stages of a larger strategic study. The true goal of a SWOT analysis is to create a competitive advantage through the development of a good strategic plan.

A SWOT analysis is an ideal tool for this; it allows you to create a strong and relevant action plan.

Learn more about SWOT here: https://brainly.com/question/25066799

#SPJ4


During the Advanced Setup, you can turn on and off which features
in the EasyStep Interview?
a. Sales taxes
b. Inventory
c. Progress Invoicing
d. All of the above

Answers

d. All of the above.

During the Advanced Setup in QuickBooks, you can turn on and off various features, including Sales Taxes, Inventory, and Progress Invoicing. These features can be enabled or disabled depending on your business needs and preferences. The Advanced Setup allows you to customize QuickBooks to better suit your specific business requirements.

ahmed needs to restock the student store at his school. he is going to the local warehouse store and wants to find out what items have come from there. the inventory is a spreadsheet. he has an alphabetical list of items from the school store in column a. in column b, he has the name of the store that the items were purchased from. which option would allow ahmed to sort the data in alphabetical order according to the name of the store from which the items were purchased?this task contains the radio buttons and checkboxes for options. press the enter key to select the option. option a

Answers

To sort the data in alphabetical order according to the name of the store from which the items were purchased, Ahmed can use the following steps:

Select the data range that he wants to sort, including both column A and column B.Click on the "Data" tab in the ribbon at the top of the spreadsheet.In the "Sort & Filter" group, click on the "Sort" button.In the "Sort" dialog box that appears, select column B as the "Sort by" field.Select "A to Z" as the "Order" option.Click on the "OK" button to apply the sort.

This will arrange the data in alphabetical order according to the name of the store in column B.

Sorting data alphabetically means arranging the data in a specific order based on the values in a particular column or field. For example, if you have a spreadsheet with a list of names in one column and you want to sort the names in alphabetical order, you can use the sort function to rearrange the data so that the names are listed in the correct order.

Learn more about Sorting data, here https://brainly.com/question/3483104

#SPJ4

You manage a network that uses switches. In the lobby of your building, there are three RJ45 ports connected to a switch.
You want to make sure that visitors cannot plug their computers into the free network jacks and connect to the network. But employees who plug into those sames jacks should be able to connect to the network.
What feature should you configure?
- Port authentication
- Spanning tree
- Mirroring
- VLANs
- Bonding
Port authentication
Which of the f

Answers

The answer to the given question above is Option A  Port authentication.

Port authentication:

Port authentication allows we to configure parameters for each port. Some configuration changes are only possible while the port is in the "Enforce Authorized" state. After completing the configuration, return the port control to its previous state.

802.1x and port security cannot be enabled on the same port at the same time. Enabling port security on an interface prevents you from changing administrative port control to automatic mode.

An authenticator is a network device that provides a data connection between a client and a network and can allow or block network traffic between the two. Ethernet switch or wireless access point. An authentication server typically receives and responds to requests for network access, telling the authenticator whether to allow the connection and various settings that should be applied to that client's connection or configuration. A server capable of running an authentication server typically runs software that supports the RADIUS and EAP protocols. In some cases, authentication server software can run on the authentication hardware.

The authenticator acts like a security guard for our protected network. The supplicant (that is, the client device) is not allowed access to the protected side of the network by the authenticator until the supplicant's identity is verified and authorized. 802.1X port-based authentication requires the supplicant to first provide the necessary credentials to the authenticator.

Learn more about Port Authentication:

brainly.com/question/10125956

#SPJ4

Is reinforcement learning algorithms that learn from trial and error?; Which machine learning algorithm works through trial and error?; What are the algorithms of reinforcement learning?; What type of learning occurs where the machine learning occurs by trial and error?

Answers

Artificial intelligence (AI) has adopted the reinforcement learning approach as a technique to control unsupervised machine learning using incentives and penalties.

Explain the term reinforcement learning?

A machine learning retraining method called reinforcement learning rewards desired behaviours and/or penalises undesirable ones.

A reinforcement learning agency can typically perceive and comprehend its surroundings, act, and learn by making mistakes.Developers provide a way of rewarding desired actions and penalising undesirable behaviours in reinforcement learning. In order to motivate the agent, this technique assigns positive values to desired acts and negative to undesirable behaviours. This trains the agents to seek maximal overall reward over the long run in order to arrive at the best possible outcome.The agent is prevented from stagnating on smaller tasks by these long-term objectives. The agent eventually learns to steer clear of the negative and look for the positive.

To know more about the reinforcement learning, here

https://brainly.com/question/21328677

#SPJ4

The code template of Assignment2 is provided above. Few statements are missing.
Fill in the statements and code for encryption and decryption:
a) Encrypt few strings of your choice
b) Decrypt the same strings
Your program should be annotated.
Take screen shots of your codes and outputs, convert into pdfs up load here.
In Python, Please answer with screenshots of code and outcome!

Answers

Program in python to reverse encrypt a message entered by the user and display it on the screen. Output image of the algorithm is attached.

Python code

if __name__ == '__main__':

# Definir variables

mssage = str()

ltter = str()

translated = str()

# Enter a string

print("Enter a string: ", end="")

mssage = input()

# Encryption with reverse cipher

for i in range(len(mssage),0,-1):

 ltter = mssage[i-1:i]

 translated = translated+ltter

# Output

print("The cipher text is: ",translated)

To learn more about encrypt and decrypt a string in Python see: https://brainly.com/question/14298787

#SPJ4

past orders the past orders will be a list of all unique past orders that have been placed. the user may select a past order to view the details of that order. the past orders must be stored within the database to ensure the values are retained after the program closes

Answers

To store the past orders in a database, you will need to create a table in the database to hold the information for each order.

What should this table include?

This table should have columns for the unique order ID, the items in the order, the date and time the order was placed, and any other relevant information. When a new order is placed, you can add a new record to the table with the details of the order.

To retrieve the list of past orders, you can query the database to select all records from the table. You can then display the results in a list for the user to choose from. When the user selects a past order, you can query the database again to retrieve the details of that specific order and display them to the user.

To Know More About database, Check Out

https://brainly.com/question/29774533

#SPJ4

Some IP-enabled devices are not considered IoT devices. Which of the following is considered an IoT device?

Answers

B. 'smart door locks' is considered an IoT device.

The Internet of Things or IoT devices are described as the network of physical objects that are embedded with software, sensors, and other technologies for the purpose of connecting and exchanging data and information with other systems and devices over the internet.  IoT devices range from small ordinary household cooking appliances to complex sophisticated industrial tools. Each IoT device has a Unique Identifier (UID) and they can also transmit or communicate data without the assistance of humans.

"

Complete question:

Some IP-enabled devices are not considered IoT devices. Which of the following is considered an IoT device?

A. Transformers

B.Smart door locks

C. Cortana

D. None

"

You can learn more about IoT devices at

https://brainly.com/question/20354967

#SPJ4

Other Questions
higher education results in higher earnings and lower unemployment. the output of the following program is 'meow': a. def print cat()b. print('meow') c. def print pig() d. print('oink') Which of the following does not cause a shift in the demand curve?A. changes in the price of related goodsB. changes in consumer patternsC. changes in the price of the goodsD. changes in personal preferencesE. changes in the income of buyers Alliance Consulting, a company based in France, is shutting down. Louis, the owner of the company, applied to revoke his digital certificate. He is very busy with the other details of shutting the company down and needs to be able to check the certificate's status quickly and easily. Which of the following will help him get a real-time lookup of the certificate's status?OCSP what duties do you owe the stakeholders ? For any positive integer x, let x^R be the integer whose binary representation is the reverse of the binary representation of x. (Assume no leading 0s in the binary representation of x.) Define the function R^+: N rightarrow N where R+(x) = x + x^R. a. Let A_2 = { | R^+ (x) = y}. Show A_2 elementof L. b. Let A_3 = { | R^+ (R^+ (x) = y}. Show A_3 elementof L. When a nucleus of ^235 U undergoes fission, it breaks into two smaller, more tightly bound fragments.1) Calculate the binding energy per nucleon for ^235U? (Express with appropriate units)2) Calculate the binding energy per nucleon for the fission product ^137 Cs? (Express in appropriate units) _____ items are especially good for assessing students' understanding of material, high-level thinking skills, ability to organize information and writing skills.a. essayb. short-answerc. true/falsed. multiple-choice which electromagnetic radiation wavelength is efficiently observed using ground based telescopes? a. radio b. infrared c. visible d. X-rays. a thin wire 7.0m long has a charge of 1 nC. Find the electric field strength 2.0 mm from the edge of the wire along the axis of the wire. talia grew up in an impoverished home and was abused as a child. yet now, she has a loving, successful relationship and financial stability. the developmental science label for talia is _____. you have just installed a new disk and formatted it. you don't want to assign it a drive letter and you want to access it from your existing c: drive. what feature should you use? hey can anyone help I pay? franz and his friends are using the spinners below to play a game. if one turn consists of spinning each spinner once, which table shows all the possible outcomes for one turn? characters are said to be defined by their ________________. A 77-year-old woman is confused and combative. Her daughter states that she has been gradually "acting strange" since waking up this morning. The patient has a history of alcoholism, and reportedly fell two weeks ago. Given your knowledge of the changes associated with aging, you should maintain a high index of suspicion for: if you encounter in-flight icing and atc asks you to report your conditions, what are the official reportable icing values that you are expected to use? a. light, moderate, severe, extreme. b. trace, light, moderate, severe. c. few, light, moderate, severe. The Mercalli scale provides a measurement of an earthquake based on Multiple Choice subjective; amplitude of the largest S-wave objective; amplitude of the largest S-wave subjective; damage and shaking O objective; damage and shaking O most of us reach our peak physical performance Sarah is trying to find the best deal for her phone service. She narrowed down the choices to the two companies in the table. Both companies charge per-minute rates, and there are no additional costs.A 2-column table with 2 rows. Column 1 is labeled Company A with entries 18 dollars, 120 minutes. Column 2 is labeled Company B with entries 21 dollars, 150 minutes.Sarah wants to know which company costs the least amount per minute.Which quotients should Sarah find? Check all that apply.StartFraction 120 Over 8 EndFractionStartFraction 18 Over 120 EndFractionStartFraction 150 Over 21 EndFractionStartFraction 21 Over 150 EndFraction