HELP! Answer to question 2?

HELP! Answer To Question 2?

Answers

Answer 1
One advantage of Binary Search Algorithm
Compared to Linear search it is much faster because linear search starts its searching right from the first value but binary searches for something by splitting the array in two again and again and again. 

One disadvantage of Binary Search Algorithm:
Have to be sorted, unlike linear search that doesn't have to be. 

Related Questions

Identify and describe the difference between: an internet connected computer's numerical address and the human readable name for that computer.

Answers

An internet connected computer's numerical address is also called Internet Protocol address or commonly known as IP address. It is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. IP address serves two principal functions: location addressing and host or network interface identification. While the human readable name for that computer is commonly known as Computer Name or Machine Address, it is the identification of the device. Now, we can conclude the difference between an IP address and a machine address: In brief, the machine address is only one part of the IP address that identifies a location of a machine, and the IP address consists of numbers which identify a network as well as a computer machine.

To create a default value for a parameter in the parameter list of a function, you code a/an ________________ sign after the parameter name followed by the default value.

Answers

Assigning a default value to parameter makes it optional and such must come last in the list. example (c#):

void GetStudents(string gender, int page=1, int size = 10){

// body
}
In the above example, gender is a required while page and size are optional.

Parameters that can be supplied but are not necessary are known as optional parameters. This enables more customized functions without requiring parameters that many users won't need.

What default value for a parameter in the parameter list?

A constant expression serves as the optional parameter's default value. Always defined at the end of the parameter list are the optional parameters. Or, to put it another way, the optional parameter is the last parameter of the method, constructor, etc.

Swift does, however, include another data type called Optional, whose default value is null ( nil ). When you want a variable or constant to have no value, you can use optional. A value may be present in an optional type or not (a null value).

Therefore, If a calling procedure does not supply a parameter, the optional parameters must give default values that can be used.

Learn more about default value here:

https://brainly.com/question/27960308

#SPJ2

Assume you have written a method with the header num mymethod(string name, string code). the method's type is

Answers

I need answer choices

what does the narrator of the film epic 2015 say it will be at it'
s worst

Answers

Answer

A collection of trivial information that may not be true

Explanation

Epic in films is a work of art that resembles an epic situation; magical mix of talents that has the ability to make a film build sense inside the audience. Epic requires internal, immediate and global components which will comprise the plot line. For example in the film, Bride on the River Kwai, led character are involved in an epic battle


Starbucks offers an app that allows remote ordering, free Wi-Fi in stores, and a loyalty program where customers can earn a free drink after a number of purchases. Which business strategy is Starbucks following with these programs? How do these programs add value to Starbucks business?

Answers

Starbucks is employing a Brand Loyalty and Convenience strategy that seeks to not only make it convenient for customers to use their services, but also builds loyalty to ensure that customers keep coming back. These programs add value to Starbucks as they increase residual sales and customer loyalty.

Which of the following question u should ask your boss regarding individual performance evaluations

Answers

I would go with "B" but don't quote me on that.
The answer to this question is  What measurements will be used to evaluate me?
When you ask this question, you convey two things to your boss:
- First, is that you're interested in finding out what standards that your boss consider as good
- Second, is that you're willing to put in the works in order to meet that standard

and this will end up causing your boss to see that you're a competent worker.

Describe a scenario for which a find unmatched query could be used.

Answers

Unmatched query can be used in a situation where we need to relate two table that do not have a common field to compare to. For example consider a table consist of list of products and their code as Pname and PID. the second table consist of Code and Cost of that product. If we want to find the cost of a product, unmatched query can be used.

Which of these is NOT a good presentation technique?

A. Speaking loudly enough that everyone in the audience can hear you
B. pronouncing words very clearly and speaking at a normal pace
C. using dramatic gestures to emphasize important points
D. making eye contact with the audience

Answers

The answer would be D.
D making eye contact can be distracting as well as just not looking very polished hope it helped!

Intranets are typically set up behind a firewall.
a. True
b. False

Answers

The answer is a. True. Hope this helps :)

~PutarPotato

Intranets are typically set up behind a firewall. This statement is true.

An intranet is a private network that is part of an organization and is used to securely distribute data and computer resources among staff members. Working in groups and holding teleconferences are two other uses for intranets.

Intranets promote internal communication in businesses. They make it simple for employees to access crucial data, links, tools, forms, and databases of corporate records. To ensure intranet security, a database with all the usernames of workers with network access credentials is frequently employed.

Learn more about intranets here:

https://brainly.com/question/13139335

#SPJ6

While in slide show mode, a click and a drag is no different than a click

True or false

Answers

It is true that while in slide show mode, a click and a drag is no different than a click.
Just try it for yourself - there is no dragging when you are in slide show mode. Anything you do, press a button, click and try do drag, will be considered to be a simple click. 

List three rules to follow when using or storing semi-precision measuring tools

Answers

kong term jfjdsfkjds fkjdshfkjdsh

Tasha purchased a new tablet. She has several questions about how to connect to the internet, download apps, install software, and sync her other devices.

Which type of resource would be best, and why?

A) Bulletin board; shows other user's comments
B) FAQ; answers questions about common issues
C) Manual; provides all information related to the device
D) Tutorial; explains each stage of the process

Answers

Answer:

c

Explanation:

Its best to be related directly to the device

The type of resource  that would be best is Manual; provides all information related to the device.

What is device operation?

Operating device is a term that connote the act of handling an electronic device, such as electronic tablet.

Note that The type of resource  that would be best is Manual; provides all information related to the deviceas it will help her to know the basic features.

Learn more about device from

https://brainly.com/question/917245

#SPJ2

Write a while loop that prints 1 to usernum, using the variable i. follow each number (even the last one) by a space. assume usernum is positive. ex: usernum

Answers

i = 1;
while( i <= usernum )
    System.out.println( i++ + " " );  // make sure you understand ALL of this

What controls a computer's basic operations?

Answers

Basic Computer Operations. Input: Information and programs are entered into the computer through Input devices such as the keyboard, disks, or through other computers via network connections or modems connected to the Internet.

What are Computer's operations?

An operation in computing is a process used to complete a certain task. Input, processing, output, storage, and control are the five types of computer processes.

The five major components of a computer system carry out computer functions. Each of the five primary types of operations can be directly matched with one of the units.

The control flow is shown by the blue dotted lines and is represented by the black arrows. User commands are delivered to the computer.

Therefore, Basic Computer Operations. Input: Information and programs are entered into the computer through Input devices such as the keyboard, disks, or through other computers via network connections or modems connected to the Internet.

To learn more about operations, refer to the link:

https://brainly.com/question/28335468

#SPJ5

The CPU and operating system control a computer's basic operations. The CPU processes instructions, while the operating system allocates hardware resources and manages software interactions.

A computer's basic operations are controlled primarily by the Central Processing Unit (CPU) and the Operating System (OS). The CPU is often referred to as the 'brain' of the computer, as it executes instructions and processes data at incredibly high speeds.

The operating system, meanwhile, manages and allocates hardware resources, ensuring that various software applications can function correctly. It controls interactions with hardware such as reading and writing files to a hard drive, displaying graphics on the monitor, and managing memory usage. Without an operating system, each individual program would struggle to function efficiently and securely.

Summary: The CPU is obsessed with processing instructions while the OS acts as a mediator, managing resources and orchestrating the activities of other programs to ensure seamless operation.

What is the common voltage for a cordless drill battery cell? A. 1.5 VDC B. 2.0 VDC C. 1.0 VDC D. 1.2 VDC

Answers

the ones here in texas are b it just deponds where you are
Final answer:

The common voltage for an individual cordless drill battery cell is closest to 1.2 VDC, typical of NiCd and NiMH cells, which are commonly used in the battery packs of cordless drills.

Explanation:

The common voltage for a cordless drill battery cell is not explicitly mentioned in the provided reference information. However, we can deduce that typical voltages for cells that are used in various electronic devices and tools vary. For cordless drills, the batteries are often made up of multiple cells to reach a higher voltage needed for their operation, typically ranging from 12V to 18V or more, depending on the design and purpose of the drill. Each cell in a battery pack might have a nominal voltage of around 1.2V to 3.6V, depending on the technology (NiCd, NiMH, or Lithium-ion) used in the battery pack. Options A (1.5 VDC), B (2.0 VDC), C (1.0 VDC), and D (1.2 VDC) represent common voltages for individual cells rather than the entire battery pack of a cordless drill. The closest common voltage for rechargeable cells used in battery packs, including those for cordless drills, is 1.2 VDC (Option D), typical of NiCd and NiMH cells.

After unit and integration testing are completed, _________ testing ensures that all hardware and software components work together.​
Question 5 options:

​application

​system

​unit

​integration

Answers

After unit and integration testing are completed, _________ testing ensures that all hardware and software components work together.​

System

A. experiment by purposely misconfiguring the gateway address on pc-a to 10.0.0.1. what happens when you try and ping from pc-b to pc-a? do you receive a reply?

Answers

Yes you will mate, hope this helps!

What type of device is built into a tablet computer and can send data over radio waves to another device such as a laser printer?

Answers

Wifi and/or Bluetooth 

Ron wants to install an energy efficient and long lasting device for lighting in his new home. Which device should he use?

Answers

Ron will most likely want to buy tube lights since that is a good energy saver.

Answer:

Led Tube Lights

Explanation:

Tubular lamps are commonly used in spaces where lighting is needed for long periods of time. Therefore, one of the most important factors for store managers when choosing the most appropriate type of lamp is their consumption.

The difference between LED tubes and fluorescent tubes is significant, although not apparent when comparing the consumption of only one lamp. However, when making the calculation considering the total number of them, the energy consumption of fluorescent lights can even double.

Other benefits of LED tube

Turn on instantly; does not require reactors, consuming less energy;Unlike fluorescent, it does not emit ultraviolet and infrared rays;Can have up to 50,000 hours of service life, reducing the need for maintenance;It is made of sturdy material and can withstand shock and vibration;Its intensity can be controlled;Opens up the possibility of implementing sensors.

A database, a database management system, and the application programs that use the data make up a database environment.
a. True
b. False

Answers

Well, it's true in a way if you are looking at it from use of data which consist of software, hardware, and people. Database environment is basically the enclosure(encapsulation) of one or more database deployed in same or different servers.

Which of the following applications can be used as a data source for a Microsoft® Word® mail merge? A.Outlook Contacts B.Microsoft Access Databases C.Microsoft Excel Spreadsheet D.All of the above

Answers

Word can pull data from a variety of data sources to perform a mail merge. As part of the Microsoft Office suite, Word easily accepts data from Outlook, Excel, and Access, and other data sources such as web pages, OpenDocument text files, and delimited data files stored as plain text. And if you don't have an existing data source, you can create a new one in Word.
ALL OF THE ABOVE

Answer:

D.All of the above

Explanation:

Microsoft word mail merges are possible from all of the sources of the family of the Home Office Applications, so since Microsofts access database, Microsoft Excel, and Outlook COntacts are all part of the family of Microsoft Home Applications all of the documents and information are trasnferible between applications, the correct answer would be All of the above.

Odbc works on the ____ operating system.

Answers

The correct answer would be Windows.

Flashcar a network administrator is considering placing a firewall on an internal file server in the network. what is the purpose of the firewall, and is it important for the firewall to be stateful?

Answers

well in order for it to work it need a fast working server which will need a background, this may be different , but its like an upgrade

Final answer:

A firewall on an internal file server protects against unauthorized access and cyber threats by monitoring network traffic. A stateful firewall enhances security by tracking active connections and making decisions based on traffic context.

Explanation:

A firewall is a network security device that monitors and filters incoming and outgoing network traffic based on an organization's previously established security policies. At its most basic, a firewall serves as a barrier between a private internal network and the public Internet. The purpose of placing a firewall on an internal file server is to protect the server from unauthorized access, cyber threats, and to control data flow to and from the server.

A stateful firewall is designed to keep track of the state of active connections and can make decisions based on the context of traffic, such as the characteristics of the connection (e.g., connection start, connection end, connections originating from a file server or aiming to reach it). This is important because it allows the firewall to distinguish between legitimate network traffic and potentially harmful activity, thereby providing a higher level of security. Using a stateful firewall helps to ensure that established connections are secure and that new connections are scrutinized more rigorously.

Write c++ code that prints: usernum ... 2 1 blastoff! your code should contain a for loop. print a newline after each number and after blastoff!.ex: usernum = 3 outputs: 3 2 1 blastoff!

Answers

#include <iostream>
int main() { int usernum = 3;
for(int i = usernum; i >= 1; i--) { std::cout << i << "\n"; } std::cout << "blastoff!\n";
return 0;}
Works fine my dude:
./randombrainly 321blastoff!

a few questions related to power point.

Answers

Here is what I gathered from these questions:

Question 2: More than one text box
Question 3: All of these

Hope this helped ^-^

Why would you activate more than one nic on a pc?

Answers

For redundancy in case of failure or for connecting them to different subnets. 

The activation   of multiple NICs can help boast throughput to and from the application servers and also gives failover.

What is application server?

An application server is known to be a tool that help give access to business logic that are said to be use in terms of client application programs.

Therefore, The activation  of multiple NICs can help boast throughput to and from the application servers and also gives failover.

Learn more about  application servers  from

https://brainly.com/question/14922758

#SPJ2

You are to write a program name elevator.java that simulates one elevator services in a 12-floor building. note: there is only one elevator working this building.

Answers

See the attachment, if I copy if it into the Response field it gets all jumbled. Rename it to elevator.java

What is contingency planning and how is it different from routine management planning? 


Answers

A contingency plan is created by entity in order to anticipate events that would possibly threaten assets and security of the organization. This would allow for reacting and recovering to restore normal business operations.

In _____, a person or a device intentionally or unintentionally interferes with your wireless network transmissions. select one:

a. rf jamming

b. war driving

c. eavesdropping

d. telemetry

e. installing rogue access devices

Answers

the answer is rf jamming

"​the three legs of a project triangle are _____, scope, and time."

Answers

The project cost is the third leg of the triangle. This is one of the most important parts, simply because this can determine what parts of the project can or cannot be undertaken. Without the proper funding for the project, little can likely be done.
Other Questions
BRAINLIEST!!!!!!!!!!!!!!!!!!!!!!Am I correct? You are a farmer in ancient mesopotamiaand you grow 500 bushels a year. your family uses 300 bushels ay ear. what do you have? A cow can eat 25 pounds of hay a day. At that rate, how many pounds of hay can a cow eat in 31 days? 1.Kim's age is twice that of her sister. When you add Kim's age to her sister's age, you get 36. How old is each sister?(a)Write an equation that represents the situation. Explain any variable used.(b)Solve the equation from Part (a). Show your work. State your solution as a complete sentence. The expression log 3 (x-4) is undefined for all values such that Which cell structure is the gatekeeper, controlling what goes in and out of the cell? A)c - nucleus B)e - vacuole C)a - cell membrane D)b - endoplasmic reticulum 20 POINTS - PLEASE HELPAre these irrational or rational? (picture below) Where on the infant's back should the back blow be administered? The major portion of an atoms volume is(based on the gold foil experiment)? Instructions:Select the correct text in the passage. Which sentence in this excerpt from Mark Twains short story The Celebrated Jumping Frog of Calaveras County is an example of direct characterization? I found Simon Wheeler dozing comfortably by the barroom stove of the old, dilapidated tavern in the ancient mining camp of Angel's, and I noticed that he was fat and bald-headed, and had an expression of winning gentleness and simplicity upon his tranquil countenance. He roused up and gave me good-day. I told him a friend of mine had commissioned me to make some inquiries about a cherished companion of his boyhood named Leonidas W. Smiley Rev. Leonidas W. Smiley a young minister of the Gospel, who he had heard was at one time a resident of Angel's Camp. I added, that, if Mr. Wheeler, could tell me anything about this Rev. Leonidas W. Smiley, I would feel under many obligations to him. Simon Wheeler backed me into a corner and blockaded me there with his chair, and then sat me down and reeled off the monotonous narrative which follows this paragraph. What was the age of pericles, and how did it involve direct democracy? What impact did the Napoleonic Wars have on popular culture? The collapse of France after the Napoleonic Empire had a devastating impact on art and culture. As one of the most significant events of the 19th century, the Napoleonic Wars inspired some of the greatest works of fiction. The magnitude of Napoleons war on Europe led to the destruction of important museums and art galleries throughout the continent. The vast number of artists and writers drafted into armies to fight Napoleon devalued popular culture in Europe. The nurse is caring for an infant in the neonatal intensive care unit who has growth hormone deficiency. what critical issues should the nurse carefully monitor for in this infant Why does a computer not understand physical variables (real world) read from sensors? Find the ratio of snails to the total number of animals. Then explain it's meaning The numbers you need to know: 18 to 52 A man with type a blood marries a woman with type b blood. their child has type o blood. part a what is the genotype of the man? what is Nigeria capital good Theodore roosevelt's presidential candidacy as a member of the progressive party is an example of a ________. Problems and applications q1 in 2014, the bureau of labor statistics (bls) announced that of all adult americans, 146,305,000 were employed, 9,617,000 were unemployed, and 92,025,000 were not in the labor force. what is the adult population? 9,617,000 155,922,000 247,947,000 146,305,000 the size of the labor force is , and the labor force participation rate is . what is the unemployment rate? 6.2% 59.0% 3.9% 6.6% What are three equal ratios to 5/40 Steam Workshop Downloader