Answer:
Well, a binary search has to be ordered. So ima just say linear search..
Explanation:
I think its linear..
A binary search can be done on a list that is not ordered.
What is a binary search?Binary search is a fast technique that finds an item from a sorted list of objects with a run-time complexity of O(log n), where n is the total number of elements. Divide and conquer concepts are used in binary search.
When performing a binary search on an array in computer programming, the array must be sorted in ascending order, i.e. from the least to the highest with respect to the data value.
The primary benefit of using binary search is that it does not scan every element in the list. Instead of scanning each element, it searches the first half of the list. As a result, a binary search takes less time to find an element than a linear search.
Therefore, the correct option is b, Binary.
To learn more about binary search, refer to the link:
https://brainly.com/question/28391940
#SPJ2
The question is incomplete. Your most probably complete question is given below:
•Linear
•Binary
Can someone help me and make a code for this in PYTHON, please? I would be very grateful!
It is estimated that China on July 1, 2019. had 1,420,062,022 inhabitants. The population of China increases by 0.35% every year. Assuming that the annual population growth in China will not change, show the expected population of China in the next ten years.
Please... Thanks in advance!
Code:
next_ten_years = 1420062022*1.0035**10
print(next_ten_years)
Output:
1470554353.1178253
Explanation:
Since the population of inhabitants increases by [tex]0.35\%[/tex] each year, the total population must be [tex]100.35\%[/tex] of the previous year's population (since it includes the previous size of the population and the [tex]0.35\%[/tex] increase of the population)
The math:
Expected population in next 10 years = [tex]1420062022 \times 1.0035^{10}[/tex] ([tex]100.35\%[/tex] is [tex]1.0035[/tex])
Code:
Looking at the code above, the '**' raises the power of a number to the number you put after the operator, so 1.0035**10 is [tex]1.0035^{10}[/tex]. The '*' operator multiplies the two numbers that are placed before and after the operator, so 1420062022*1.0035 is [tex]1420062022\times 1.0035[/tex].
The expected population in the next ten years is 1,470,554,353 (if we round to the nearest inhabitants since there can't be a decimal amount of inhabitants).
Hope this helps :)
computer network reduces expenses of an office justify this statement
Answer:
Computer Network reduces expenses of an office. Justify this statement with an example. Computer Networks can allow businesses to reduce expenses and improve efficiency by sharing data and common equipment, such as printers, among many different computers.Explanation:
What is a prominent method for involving experts and power centers in a large-scale project where their views and expertise can be taken into account early in the project? feasibility study stakeholder process waterfall method business case
Answer:
feasibility study
Explanation:
In feasibility studies, the assessment of the practicality of a proposed project is made and the relevant factors of the project is usually being taken into account, which includes economic, technical, legal and scheduling considerations.
Various project managers use feasibility studies to know the pros and cons of getting involved in a project before they can embark on it.
A workspace that an employee accesses using a Web browser fits the definition of a _____.
•mobile device
•Wifi-enabled device
•collaborative environment
•virtual workspace
Answer:
virtual workspace
Explanation:
I hope I've helped
_________________ is the logical operator if either conditions is True, then the whole statement is TRUE.
a.)OR
b.)Object-Oriented Programming
c.)Procedures
d.)Functions
Answer:
Assuming your using the language python, The 'or' operator
Explanation:
To explain this further, or is used in python to describe another condition whether the first one was true or false. Here is a list of what they all briefly mean:
Object-Oriented Programming allows you to create objects with specific characteristics. Ex. you could have a dog class that describes a dogs name and breed. You can make an instance and call it Max with its breed being a golden retriever etc.
----------------------------------------------------------------------------------------------------------------
Procedures independant code that just has simple instructions
----------------------------------------------------------------------------------------------------------------
Functions like object oriented programing but instead of having attributes it is a block of code that does an action. In python, unless the function is called, however, it won't do anything
----------------------------------------------------------------------------------------------------------------
'or' allows someone to give another condition whether the other conditions were True or False.
hope this helped :D
Jared has trouble remembering when his assignments are due, and he wants to keep reminders on his computer. Which online note-taking tool would be the best one to use?
Answer and Explanation:
Google Keep & Google Reminders
Google Keep is an online stick-note tool, that also has an online reminder tool as well. You can also use another platform for reminders such as Google Reminders. Both platforms are easy, online and simple to use!
Answer: electronic sticky notes
Explanation:
:)
Decomposition is
O a list of steps to complete a task.
O a set of steps that follow one another in order.
O breaking a problem into smaller parts
O a design flaw in the program.
Answer:
breaking a problem into smaller parts
Explanation:
In language of computer science, decomposition is the process in which complex problems are divided into simpler parts. These simpler parts helps in the solving of the complex problems. They are made easier and comprehensible for the user to understand. Each simple part is further analyzed separately and the solution of the complex issues are derived. The process becomes lengthy but the solution is found.
Ask the user to input a number less than 100. Print all the numbers from that number to 100.
Which loop correctly does this?
num = int (input("Enter a number between 1 and 100: "))
c = num
while (num 100):
print (c)
c = c + 1
num = int (input("Enter a number between 1 and 100: "))
c = num
while (c <= 100):
print (c)
c = c + 1
Answer:
The second one:
num = int (input("Enter a number between 1 and 100: "))
c = num
while (c <= 100):
print (c)
c = c + 1
Explanation:
First of all, you don't know Python... (LEARN IT)
Second of all, The first loop doesn't make sense? num 100
And the second one works, you can try compiling it (lazy to explain...).
Answer:
num = int (input("Enter a number between 1 and 100: "))
c = num
while (c <= 100):
print (c)
c = c + 1
Explanation:
Choose the term that best completes each sentence.
abstraction hides the details about a specific piece of information.
abstraction hides the details about a specific process.
data
procedural
Answer:
The answer to the above questions is given in explanation section:
Explanation:
abstraction hides the details about a specific piece of information.
The suitable match for this is Data
Because the word "Piece of information " can only be referred to data not to process.
Now look at the second
abstraction hides the details about a specific process
The suitable match here is procedural.
because specific process can only be referred to procedure not to data.
Answer:
The suitable match for this is Data
Because the word "Piece of information " can only be referred to data not to process.
Now look at the second
abstraction hides the details about a specific process
The suitable match here is procedural.
because specific process can only be referred to procedure not to data.
Sam recorded himself practicing a speech. He watched the recording and observed the behaviors. Which behaviors should Sam try to change? Check all that apply.
varying his rate in different parts of the speech
saying "like" several times a minute
demonstrating enthusiasm for the topic
pausing frequently in the middle of sentences
having a rising intonation at the end of many statements
Answer:
b d e
Explanation:
Answer:
b d e
Explanation:
Logical are functions used when looking for an entry or value in the spreadsheet. what is it?
The Logical function would allow you to use the spreadsheets to identify whether a scenario is True/False. It can choose among two options depending on the outcomes of that test, and the further discussion can be defined as follows:
These selections could be used to show information, do complex calculations, or run additional tests.It offers decision-making tools for spreadsheet information. It allows to let you examine the contents of a cell or do a computation, and afterward compare the output to a specified number or value.Learn more:
brainly.com/question/8953037
PLEASE HELP AND HURRY!!!
Which command group on the Format tab of the SmartArt Tools contextual tab allows a user to change the fill and outline of SmartArt shapes?
Shapes
Shape Styles
Arrange
Size
Answer:
Shape Styles
Hope this helps :)
Mark me brainiest
Explanation:
When speed increases, what happen to the value of torque?
Answer:
Torque increases as rotational speed increase from idle to a certain figure and then falls as the rotational speed increase
Explanation:
Write a program that asks the user for their name and how many times to print it.
If I enter Ada and 3 it should print:
Ada
Ada
Ada
Which loop correctly does this?
name = input("Enter your name: ")
num = int (input("Enter a number: "))
c = 1
while (c > num):
print (name)
c = c + 1
name = input("Enter your name: ")
num = int (input("Enter a number: "))
c = 1
while (c <= num):
print (name)
c = c + 1
name = input("Enter your name: ")
num = int (input("Enter a number: "))
c = 1
while (num <= name):
print (name)
c = c + 1
name = input("Enter your name: ")
num = int (input("Enter a number: "))
c = 1
while (c <= num):
print (name)
Answer:
c = 1
while (c <= num):
print (name)
c = c + 1
Explanation:
dont ask :)
Prebuilt colors from a document are called
Answer:
Theme
Explanation:
Theme. a pre-built set of unified formatting choices including colors, fonts, and effects. Format. to change the appearance of text. Font.
What are some of the ethical issues that can arise from the use of social media?
!PLEASE HELP! My business office specialist class, this is about Access.
Which settings are available in the Options dialog box? Check all that apply.
the name of the user or the initials
the images to include in a database
the object types to include in tables
the default format for new databases
the default folder for storing databases
the folders containing trusted databases
the number of databases to save in each folder
Answer:
b
Explanation:
Answer:
Probably late but the answers are
A: the name of the user or the initials
D: the default format for new databases
E: the default folder for storing databases
F: the folders containing trusted databases
3.
An open path has these, but a closed path does not.
a. endpoints
b. terminators
c. segments
d. anchor points
How many passes will it take to find the five in this list?
1, 5, 10, 15, 20, 22, 30
3
1
4
2
Answer:
1 im prety sure
Explanation:
Answer:
2
Explanation:
is the correct answer
good luck
What are some real-life situations that require a program that is iterative? Include at least three examples in your answer.
Your answer should be:
Apple has released multiple different versions of each model of its iPod products. The Nano, for example, has evolved from an original slim mP3 player with a very small screen to a tiny square touch-screen version to a longer, thinner touch screen version.
Hope this helped!
Brainliest appreciated :3
Explain what iteration is and why we need it in code
Answer:
Explanation:
When a cycle of instructions is carried out in a repeated manner, it is called a loop. It is the replication of a process in a computer program, commonly executed with the use of loops. Iteration is essential as it lets a programmer streamline a design by declaring that definite steps will be repeated.
45 POINTS!!!!!!!!!!!PLZ HELP ME!!!!!!!!!!Select the correct answer. Which statement describes a characteristic of dynamic websites? A. They can be developed quickly. B. They are not functional. C. They are less flexible than static websites. D. They have content that is constantly updated. E. They are less expensive to host than static websites.
Answer:
D
Explanation:
Because anyone can update dynamic websites at any time, these are more functional and flexible. Therefore, content on dynamic websites keeps changing. Diverse content encourages users to return to these websites. The disadvantages of dynamic websites are that they are more expensive and take longer to develop than static websites. Hosting dynamic websites also costs more.
Answer:
D
Explanation:
What voting rights law did you choose?
Answer:
FREE AND FAIR ELECTION
Answer:
I Dont even know.. to be honest
Explanation:
HELP!!!
To help ensure that an HTML document renders well in many different web browsers, it is important to include which of the following at the top of the file.
A) an html tag
B) a doctype declaration
C) a body tag
D) a head tag
Answer:
The detail answer of this question is given in explanation section.
The simple answer is option B
Explanation:
Let took at each option:
A) an html tag
An html tag is used to start and end html document. It does not have anything to do with rendering.
B) a doctype declaration
The document type declaration is necessary because it tell the browser which version of html should be rendered.
C)Body tag tell the browser. it is the visible area of website.
D) A hear tag is used to clear meta data about website.
Answer:
I think it is:
B. a doctype declarationExplanation:
Drag the tiles to the correct boxes to complete the pairs.
Match the OOP concept to its definition.
Answer:
Operation open purpose
Answer:
attach the question?
Explanation:
what is the difference between EPROM and EEPROM, explain why
Answer:
The main difference between EPROM and EEPROM is that, the content of EPROM is erased by using UV rays. On the other hand, the content of EEPROM is erased by using electric signals. In EPROM, UV light is used to erase the EPROM's content. In EEPROM, electric signal is used to erase the EEPROM's contents :)
Explanation:
HOPE THIS HELPS <333
Adam is an Engineering student but has decided that he does not want to work in that field, but in the Manufacturing career cluster. He enjoys the process of designing products. What career pathway would be the best fit for Adam?
Maintenance, Installation, and Repair pathway
Manufacturing Production Process Development pathway
Logistics and Inventory Control pathway
Health, Safety, and Environmental Assurance pathway
Answer:
Manufacturing Production Process Development pathway
Explanation:
The career pathway that would be the best fit for Adam is the manufacturing Production Process Development pathway. The correct option is b.
What is the manufacturing Production Process?Knowledge-based, skill-based, entrepreneur-based, and freelance job options are the four main categories. Every type of career path caters to a particular set of skills that aid in job performance.
Knowledge-based career options enable you to perform your work using the knowledge you have accumulated over time. Process manufacturing is a type of production that involves integrating supplies, components, or raw materials according to a formula or recipe to produce items.
It is widely employed in sectors that manufacture things in large quantities, including those that generate food, drinks, refined oil, gasoline, pharmaceuticals, chemicals, and plastics.
Therefore, the correct option is b. Manufacturing Production Process Development pathway.
To learn more about career paths, refer to the link:
https://brainly.com/question/12208579
#SPJ6
Images, symbols, and diagrams are types of
art objects
Graphs
graphics
presentation objects
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is :
Graphics
Because Graphics are the visual representation of information without text. Images, symbols, and diagrams are types of graphics. These graphics can be used in presentations to present information visually.
While other options are not correct because:
Art objects are some images or painting that is the artistic creation of aesthetic value. While graphs are the visual presentation of data and there are different presentation objects in PowerPoint such as images, symbols, text, and diagrams, etc. But it is noted that images, symbols, and diagram are not types of presentation objects but it is a type of graphics elements/objects.
Do you think computers will be smarter than humans?
Answer: Yes, when we type something in, the computer will show you lots of things that a human can't think of. What i'm saying is, a computer thinks faster than a human.
Explanation:
Answer:
Honestly its hard to tell. If the smartest humans generate the the computers, then I definitely think its possible for computers to one day be filled with so much knowledge that they can be considered 'smarter' than humans. However, without any cognitive functions, there's no way for the knowledge to be used without the hands of a human.
The first computers invented were loaded (‘fed') with programs written on punch cards. Each program took hours to be processed. The computer system was single programming because only one program at a time could be loaded and processed. What was / is the name of this type of system
Answer:
Data processing system
Explanation:
Data processing systems DPSs are digital systems that receives data, processes it and use the information to control semi-automated machineries. In the past, the DPS receives digital data or one instruction at a time from a punched card.