How many passes will it take to find 30 using a binary search?
5, 10, 15, 20, 25, 30, 35
1,2,3 or 4 passes

Answers

Answer 1
Just wanna let you know I could be wrong but I think 4 passes

Related Questions

Write a program in c++ to input a number print the sum of all the odd factors.​

Answers

Answer:

#include <bits/stdc++.h>

using namespace std;

//calculate sum of odd factors

int sum(int n) {    

int res = 1;  

 while (n % 2 == 0)  

 n = n/ 2;    

for (int i = 3; i <= sqrt(n); i++)

{      

int count = 0, total = 1 ;  

    int temp = 1;    

  while (n % i == 0) {  

       count++;      

   n = n / i;        

 temp *= i;        

 total += temp;    

  }      

res = res*total;  

 }  

 if (n >= 2)

   res *= (1 + n);  

 return res;

}

int main()

{

   int n = 20;  

 cout<<"sum of odd factors is : ";  

 cout <<sum(n);    

return 0;

}

three positive impacts of computer technology in our society.​

Answers

ANSWER :

• It facilities business process and other activities. It makes the work simple and less time consuming.

• We can store so many information on computer which makes easy to handle the information for business applications.

• We can perform multitasking and multiprocessing capabilities of data.

Answer:

We can perform multitasking and multiprocessing capabilities of data. 

We can store documents secretly on computer system.

It gives error free result so that we can use it for research, engineering work and other areas.

To what extent do you agree with the assertion that “Collection development begins with community analysis”. (Give reasons to buttress your answer).

Answers

I completely agree that Collection development begins with community analysis; this is because the goal of collection development is to meet the information needs of everybody in a user community.

Collection development is a term used to describe the gathering and maintenance of library materials and resources such as textbooks, audiovisuals, and electronic materials for the community users to assess.

Collection development involves many processes, but it is better to begin with community analysis to know what type of resources, information, or materials is needed in that community.

It is from the community analysis and conclusion reached; other steps can then be followed sequentially.

Also, note that through community analysis, one can determine the present users of the library and their major interests.

Hence, in this case, it is concluded that community analysis is vital in the collection development in library and information management.

Learn more here: https://brainly.com/question/24837376

2.Is having the right tool imperative to successful completion of task at hand? ​

Answers

[tex]\huge\underline\mathtt\colorbox{cyan}{Yes}[/tex]

Having the right tool is imperative to successful completion of task at hand.

What happens to the Menu Bar when the
object (image, shape, etc.) is "active"?

Answers

Answer: Ok so Sorry about this but I will answer thing at 10:20 tommorow I promise

Explanation:

(a) Distinguish between hyperlink and homepage.​

Answers

Homepage is the entire page that opens when you open the browser and hyperlink is a link that takes you to another page.

The process of generating an image from a 2D or 3D model using computer programs is called ........

Answers

Answer:

endering or image synthesis is the process of generating a photorealistic or non-photorealistic image from a 2D or 3D model by means of a computer program. ... The term "rendering" is analogous to the concept of an artist's impression of a scene.

Classify the following as cross-section or time-series data: Gross sales of 200 ice cream parlors in July 2009

Answers

Answer:

let us start by stating the definitions of Time series data and Cross sectional data. TIME SERIES DATA: The data which is collected chronologically over time is known as time series data.

Explanation:

Btw brainliest me plss

When you use a library in your code, how do you give attribution?

Answers

When you use a library in your code, you give attribution: by writing the source, title, author and license in your code.

Attribution can be defined as a process which typically involves the citation (reference) of an original source of information such as a library, quote, paraphrase or summary, especially by using the author's full name, source, and job title (position) as the case may be.

In software development, you give attribution when you use a library in your code by writing the following:

The source in your code.The title in your code.The author in your code.The license in your code.

Read more: https://brainly.com/question/21172316

- Discuss the input-process-output model as it relates to program development.
- Explain the purpose of each step and how that information is used in each step.
- What would be the impact on overall program performance if one of these steps was not included?

Answers

This is called IPO cycle.IPO stands for Input Process Output.All parts are necessary .

Lets see example.

Look at the program created in python below.

[tex]\tt num=int(input("Enter\:a\: number:"))[/tex]

[tex]\tt for\:i\:in\:range(3):[/tex]

[tex]\qquad\tt print(i*x)[/tex]

Suppose you missed the input or don't give that then you won't get an output.

The Input-Output Model is a multifunctional graph that shows the inputs, outputs, and processing activities needed to convert inputs into outputs.

The Input-Output Model:

The modeling is sometimes set up to incorporate any storage that occurs during the process. The inputs reflect the external flow of data and commodities into the operation.

All actions necessary to transform the inputs are included in the processing stage. The data and materials that flow out of the process of transformation are the outputs.

A small engineering business, for example, feels there are issues with its hiring procedure.

Several of the newly hired junior engineers stayed at the business for less than a year.

This is a significant expense for the company, since hiring and training new professionals is expensive and time consuming. The human resources department chooses to assemble a team of people with a lot of expertise in hiring new engineers. One from their first jobs is to create a hiring process input-output model. They come up with the following.

Find out more information about 'Input-output model'.

https://brainly.com/question/25519126?referrer=searchResults

Prokaryotes are __________________ and include ________________________.
Question 2 options:

unicellular, bacteria and archaea

multicellular, bacteria and archaea

unicellular or multicellular, plants and animals only

unicellular or multicellular, eukarya

Answers

Prokaryotes are unicellular, bacteria and archaea

Prokaryotes are unicellular and include bacteria and archaea. The correct option is A.

What are prokaryotes?

Prokaryotes are that organism who are single-celled and the cell of a primitive type. The cell does not contain any cell organelles. It contains a false nucleus and ribosomes. Other organs are absent in the prokaryotic cells.

The prokaryotic cells are present in bacteria, and archaea. These organisms are tiny microorganisms. They are present everywhere on the earth. They are free-living or parasitic.

Bacteria are unicellular prokaryotic, and they are present as both free-living and a parasite. They are both good and bad bacteria. Archaea are also similar to bacteria.

Thus, the correct option is A. unicellular, bacteria, and archaea.

To learn more about prokaryotes, refer to the link:

https://brainly.com/question/15329345

#SPJ2

List the steps you would take to create folders/directories in different operating system environments.

Answers

In Linux we use the terminal to create files and folders.

To create a folder:

1. Open a terminal

2. Go to a directory where you want to create the folder

3. Use the change directory command to go to the directory.

4. Use the mkdir command to make a folder

To create a file:

1. Open a terminal

2. Go to a directory where you want to create a file.

3. use the touch command followed by the filename.

Example to create a directory:

mkdir foldername

Example to create a file:

touch file.txt

Answer:

Various operating systems have different ways of creating folders or directories. Here are steps to create folders or directories in some of the most common operating systems.

Windows  

You can create a new folder in Windows by following the two different ways stated below.

These are the steps for creating a new folder through using the File menu.

Open the location where you want to create the new folder.

Then, select the File menu and click New.

Finally, select the Folder option.

These are the steps to create a folder using the right-click method.

Open any location where you want to save your new folder.

Right-click on any blank area of the screen.

This opens a menu. Select New from the menu.

Lastly, from the menu that opens after you select New, and click Folder.

MS-DOS

These are the steps to create directories in MS-DOS.

Click the Start menu.

Click All Programs and then select on Accessories.

Then, select Command Prompt.

Navigate to the location you want to save your new folder. For example, if you want to open the C drive, the command will be: C:

To create a new directory, type mkdir followed by the folder name of your choice. For example, if I want a folder named projects, I will enter the command, “mkdir projects”.

To create multiple new directories in the newly created directed directory, you can use the md MS-DOS command. For example, if you want to make sub-directories named project1, project2, and project three, your command will be md project1 project2 project3.

Mac OS X

There are three ways to create a new folder in the MAC OS X

These are the steps for creating a new folder through using the File menu.

Open any location where you want to save your new folder.

Afterwards, select the File menu and click New Folder

These are the steps to create a folder using the right-click method.

Open any location where you want to save your new folder.

Right-click on any blank area of the screen.

This option opens the folder menu. Select New Folder from the menu.

These are the steps to create directories in Terminal.

Open the Utilities folder. Start the Terminal program.

Navigate to the location where you want to save your new folder.

To create a new directory, type mkdir followed by the folder name of your choice. For example, if I want a folder named projects, I will enter the command, “mkdir projects”.

To create multiple new directories in the newly created directed directory, you can use the -p Terminal command. For example, if you want to make sub-directories named project1, project2, and project three, your command will be -p project1/project2/project3.

Linux

There two ways of creating a new folder in Linux.

These are the steps for creating a new folder using the right-click method.

First, open the file manager.

Then, proceed to the location where you want to save your new folder.

Next, right-click on a blank spot.

Finally, select Create New Folder from the drop down menu.

These are the steps for creating a new folder using Terminal.

Open Terminal by using the Ctrl+Alt+T combination of keys.

To create a new directory, type mkdir followed by the folder name of your choice. For example, if I want a folder named projects, I will enter the command, “mkdir projects”.

To create multiple new directories in the newly created directed directory, you can use the -p Terminal command. For example, if you want to make sub-directories named project1, project2, and project three, your command will be -p project1/project2/project3.

Explanation:

for plato

What will the formula =SUM(J2:J10) do?

0 add the values in the row

O add 2 and 10 and put the sum in the column

0 add the values in cells J2 through J10

o add the values and put them in cell J2, J10​

Answers

Microsoft Office Excel formulas operate on independent values and values in a range of cells or a cell.

The formula =SUM(J2:J10) will (c) add the values in cells J2 through J10

The formula is given as:

[tex]\mathbf{=SUM(J2:J10)}[/tex]

The above formula is a SUM function, and the syntax is:

[tex]\mathbf{=SUM([cell\_range])}[/tex]

This means that, [tex]\mathbf{=SUM(J2:J10)}[/tex] will add the values in cells J2, J3 up to cell J10

Hence, the correct option that describes the formula is:

(c) add 2 and 10 and put the sum in the column

Read more about Excel formulas at:

https://brainly.com/question/1285762

Answer:

tgzjfzfjstjs tv duh GG xogxpy distinctiveness sit sctggcfcv GG cc gghhbgvvggggghhhggggbbhhhhh c tjg0gpypy6ddf%

HELP ASAP PLZ PLZ PLZTegan is playing a computer game on her smartphone and the battery is getting low. When she goes to charge her phone, she notices that the cord is broken. What can Tegan do to solve her problem?
Plug in the smartphone to charge.
Put tape around the broken part of the cord.
Ask a trusted adult for help replacing the cord.
Use the laptop charger instead.

Answers

Answer:

3rd choice

Explanation:

Discussion Topic
Music exists across the world. It acts as a universal language. Can you see yourself
working in some sort of musical career? How might music influence your career path?
Consider other people you know, as well, from family members to friends. Can you see
any of them entering the music business? How might this business benefit each of
these people? If any of them came to you with an interest in the music business, how
would you guide them, given what you now know about music and the music business?
What personality types would do the best in the music business?

Answers

This is a good book

how does information promote cooperation and Industry please explain​

Answers

Answer:

Provide teams with the resources they need to work together.

Train employees and encourage ongoing learning.

Encourage people to socialize outside of work.

Clarifying roles and setting expectations.

Review individual's talents.

Explanation:

SOME PLEASEE HELP!!
(has to be 4 paragraphs)

Answers

Answer:

Ahhh i wanna help so bad hold on

Explanation:

a. Get a value for x from the user.

b. Test to determine if x is positive. If not, tell the user that he or she has made a mistake.

c. Take the cube root of x.

d. Do Steps 1.1, 1.2, and 1.3 x times

Answers

Program (Python):-

[tex]\tt x=int(input("Enter\:your\:number:"))[/tex]

[tex]\tt if \:x<0:[/tex]

[tex]\tt \qquad print("You\:have\:made\: mistake")[/tex]

[tex]\tt else:[/tex]

[tex]\qquad\tt print("Well\:done")[/tex]

[tex]\tt cuberoot=x**1/3[/tex]

[tex]\tt print("Cube\:root=",cuberoot)[/tex]

[tex]\tt for\:i\:in\:range(x):[/tex]

[tex]\qquad\tt print(x)[/tex]

Sample output

Enter your number:-8

You have made mistake

Cuberoot=-2

-8

-8

-8

-8

-8

-8

-8

-8

In PC relative addressing mode, the PC and constant need to be added to
calculate the branch address.
In immediate addressing mode, the operand is a register.
a) Only I
b) Only II
Both I and I are true
d) Neither I nor II​

Answers

l think is the right answer is (a)

what are computer specification​

Answers

Answer:

They are basically all of your computer's information. It displays everything that has to do with the computer like model name, processor speed and etc.

They are basically all of your computer

The pinky finger on the right hand types _____.

S W 2 X
M J U 7
A Q Z 1 ~
; P 0 ' / [ ]

Answers

Answer and Explanation:

The answer is the fourth option: ; P 0 ' / [ ]

These keys line up to where the pinky finger on the right hand would be able to reach (comfortably) and press.

The hand should line up with the pinky placed on the ; key.

The right hand index finger should be on J (with the little bump on it), middle finger on K, ring finger on L, and pinky finger on ;.

The left hand index finger should be on F (with the little bump on it), middle finger on D, Left Side Ring Finger on S, and pinky finger on A.

#teamtrees #PAW (Plant And Water)

I hope this helps!

The pinky finger on the right-hand types ; P 0 ' / [ ]. These keys are placed so that the right hand's pinky finger could comfortably reach and press them. Thus, option D is correct.

The pinky on the; key should be in alignment with the hand. The pinky finger should be on; the middle finger on K, the ring finger on L, and the index finger on J on the right hand.

The pinky finger should be on A, the middle finger on D, the left side ring finger on S, and the index finger on F (the one with the small bump). The majority of the keyboard's keys, including the following ones, are controlled by the right pinky (little) finger, which is positioned over the ";" key.

Therefore, option D is the ideal selection.

Learn more about keyboard keys here:

https://brainly.com/question/33836881

#SPJ3

Create a timeline of the evolution of computers.

Doesn’t have to be extra or super detailed

Answers

Answer:

The computer was born not for entertainment or email but out of a need to solve a serious number-crunching crisis. By 1880, the U.S. population had grown so large that it took more than seven years to tabulate the U.S. Census results.1937: J.V. Atanasoff, a professor of physics and mathematics at Iowa State University, attempts to build the first computer without gears, cams, belts or shafts.1943-1944: Two University of Pennsylvania professors, John Mauchly and J. Presper Eckert, build the Electronic Numerical Integrator and Calculator (ENIAC). Considered the grandfather of digital computers, it fills a 20-foot by 40-foot room and has 18,000 vacuum tubes.1985: Microsoft announces Windows, according to Encyclopedia Britannica. This was the company's response to Apple's GUI. Commodore unveils the Amiga 1000, which features advanced audio and video capabilities.2006: Apple introduces the MacBook Pro, its first Intel-based, dual-core mobile computer, as well as an Intel-based iMac. Nintendo's Wii game console hits the marke

Explanation:

This could be the computer development;

From using
Vacuum Tubes to > Transistors > Integrated Circuits > Micro Processors and to the new developping Artificial Intelligence

Name:

Sup-R Game Desktop – Model EEXL
Inteel® Core i7
6GB Tri-Channel DDR3
500GB SATA-II (7200 rpm)
16x CD/DVD burner
21.5” HD widescreen monitor
NVIDIA® GeForce
Creative Sound Blaster® X-Fi Titanium
Altec Lansing speakers
Gigabit Ethernet port
3 – year limited warranty
Windows 10


1. Suppose you are reading a computer magazine and you come across the ad pictured above. By looking at the specs, you can see that: (2 Points)

The amount of RAM is ___________.

The microprocessor manufacturer is __________.

The amount of disk storage is _______________.

The amount of Solid State Drive storage is ______________

2. In the table below, list the hardware/peripheral components in the ad and check which function the component performs. (Add additional rows to the table if needed). (5 Points)

Component
Processor
Memory
Storage
Input
Output
Other












































3. In the table below, list 5 functions/features you would look for in purchasing a computer and explain why each is important to you. (3 Points)

Function/Feature
Explanation as to why and size, capacity, etc. you need this feature/function












5. List and describe the factors that affect the performance of a microprocessor. Name two manufacturers of central processing units (CPUs) and some for the different models of processors that they manufacture. (5 points)









6. At the beginning of an update for your smart phone, you notice a warning that says “Make sure your device is connected to a wall outlet and do not turn the device off until the update is complete.” You suspect that the update is going to _______________ the ROM boot loader to fix a security vulnerability. (2 Points)

7. You are working on a group project and you suggest to your team that they use a ______________ storage service where members can access a shared folder. (2 Points)

8. One of the ports on your laptop is rectangular and the inside of it is blue. It is a(n) _________ port. (2 Points)

9. You need an external keyboard for your Android device, and thankfully you can add a wireless one because it has ________________ capability. (2 Points)

10. You volunteer to produce a large quantity of black-and-white leaflets for a charity organization. It is fortunate that you have access to a(n) _____________________ printer with a high duty cycle and low operating costs.

Answers

1 6gb of ram
inteel
500gb
500gb

In Boolean Logic: FALSE AND TRUE

Answers

Answer: It's basically using operators to determine if the code (usually in an if statement) is true or false.

A double-ended queue, or deque, is a data structure consisting of a list of items on which the operations are defined.

a. True
b. False

Answers

Answer:

true

Explanation:

Can people survive without technology?
As technology advances, does technology become more or less complex?
As technology advances, do the things we make, become: more reliable? Safer? More durable? Perform better?
As technology advances, does it require more or fewer science and math applications?

Answers

Answer:

1)Nowadays no one can survive without technology.

2)more complex

3) yes

4)yes ofc

please answer this now I need please.


write a statement to do the following.
a)to give yellow colour to the for writing text on the graphics window
b)To give green as background colour to the graphics window
c)to give pink colour to the brush which is used to fill the shapes in the graphics window​

Answers

Answer:

You can change the color of text in your Word document. Select the text that you want to change. On the Home tab, in the Font group, choose the arrow next to Font Color, and then select a color.

You can display a graphics window and draw colorful shapes in it if you use the Show operation of the GraphicsWindow object. You can also specify properties of the graphics window, such as its title, height, width, and background color.

Explanation: Sorry I couldn't do the third question but hope it helps.

Answer:

hii , you are an army?

reply in the comment

Which of the following expressions in Java is equal to 4?

3% 7
7 % 3
17 % 7
11 % 7
28 % 7

Answers

Answer:

3% 7

Explanation:

because 7 because seven ate nine and three was lonely so seven decided to also eat three and became a lesser number somehow because three apparently was not as big as the number 9 so maybe eating three caused him to go down to 4

The expression "11 % 7" in Java is equal to 4.

The "%" operator calculates the remainder of a division operation.

In Java, the "%" operator is used to calculate the remainder of a division operation.

So, let's evaluate each expression and see which ones equal 4:

3 % 7 = 3 (remainder of dividing 3 by 7)

7 % 3 = 1 (remainder of dividing 7 by 3)

17 % 7 = 3 (remainder of dividing 17 by 7)

11 % 7 = 4 (remainder of dividing 11 by 7)

28 % 7 = 0 (remainder of dividing 28 by 7)

Based on these evaluations, the expression "11 % 7" is equal to 4.

To learn more about programming visit:

https://brainly.com/question/14368396

#SPJ3

Steps to open ex cel

Answers

Answer:

type in goo gle, e x cel, and open

Show a parse tree and a leftmost derivation for : B = C * (A + B)
by using the grammar below:
-> =
-> A | B | C
-> +
| *
| ( )
|

Answers

Answer:

mhyfocnu,sobgu,kvngwugwe8hri

Explanation:

sovijbjxyzkuvcg

Other Questions
PLEASE HELP ME ITS ALGEBRA THANK YOUUUU Solve the equation.COS(x/2)=x+1 Dogs and cats visit vets regularly for checkups and shots. Compound subject or compound verb por que mares surcaron los corsarios PLEASEEEEEE HELP GIVE NE AN ANSWER Ive been trying but i dont know anything pleaseeee I only have till today in the articles of confederation, each state shall hve one vote in the legislature. how was that replaced by the convention? Mrs. Perciballi went to the LOFT for a sale and spent $40 on a dress and bought 3 shirts of equal value. Her purchases totaled $115. Define a variable, then write and solve an equation to find how much each shirt cost. on some early automobiles both headlights went out when one bulb burned out. the headlights must have been connected in Essay on digital feminism Write the equation in function form: 8x + 4y = 20 help #2 #4 #6 #8 #10 #12 True or False?A group of organs that work together to perform big jobs for your body is an organ system. Find the volume of the composite solid. verify it as fast as you can what is the difference between deteriorate and erode evaluate f(m-5) and simplify if f(x)=5x-9 find the GCF using factor trees 10, 54 show your work Plissss help mee pliss Doy corona si me ayudan solo diganme la respuesta y yo lo hare :) A jumping spider's movement is modeled by a parabola. The spider makes a single jump from the origin and reaches a maximum height of 10 mm halfway across a horizontaldistance of 80 mm.Part A: Write the equation of the parabola in standard form that models the spider's jump. Show your work. (4 points)Part B: Identify the focus, directrix, and axis of symmetry of the parabola. (6 points)