Answer:
Explanation:
The following code is written in Java and creates all of the necessary classes as requested so that the main class runs perfectly without having to change anything...
package sample;
class InstrumentTester {
public static void main(String[] args) {
/*** Don't Change This Tester Class!** When you are finished, this should run without error.*/
Wind tuba = new Wind("Tuba", "Brass", false);
Wind clarinet = new Wind("Clarinet", "Woodwind", true);
Strings violin = new Strings("Violin", true);
Strings harp = new Strings("Harp", false);
System.out.println(tuba);
System.out.println(clarinet);
System.out.println(violin);
System.out.println(harp);
}
}
class Wind extends Instrument {
boolean usesReef;
public Wind(String name, String family, boolean usesReef) {
this.setName(name);
this.setFamily(family);
this.usesReef = usesReef;
}
public boolean isUsesReef() {
return usesReef;
}
public void setUsesReef(boolean usesReef) {
this.usesReef = usesReef;
}
}
class Strings extends Instrument{
boolean usesBow;
public Strings (String name, String family, boolean usesBow) {
this.setName(name);
this.setFamily(family);
this.usesBow = usesBow;
}
public Strings (String name, boolean usesBow) {
this.setName(name);
this.setFamily("String");
this.usesBow = usesBow;
}
public boolean isUsesBow() {
return usesBow;
}
public void setUsesBow(boolean usesBow) {
this.usesBow = usesBow;
}
}
class Instrument{
private String family;
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getFamily() {
return family;
}
public void setFamily(String family) {
this.family = family;
}
public String toString () {
System.out.println(this.getName() + " is a member of the " + this.getFamily() + " family.");
return null;
}
}
Jose is a kind co-worker who listens to suggestions and always follows through with help when he has offered it. Jose has which type of power?
coercive power
expert power
connection power
referent power
Jose exhibits referent power.The correct answer is option d.
Referent power is based on the personal qualities and characteristics of an individual that make them likeable and respected by others. It stems from the ability to build positive relationships, gain trust, and inspire loyalty.
In this case, Jose's kind and attentive nature, along with his willingness to listen to suggestions and provide help when needed, demonstrates his referent power. His co-workers view him as a trusted and respected individual, and they value his opinions and support.
They are likely to seek his advice and follow his lead because they genuinely admire and trust him.
Referent power is effective in influencing others because it is rooted in interpersonal relationships rather than formal authority or expertise. It is a result of the positive feelings and connections individuals have with someone they respect and admire.
By leveraging his referent power, Jose can foster a supportive and collaborative work environment, where people feel valued and motivated to contribute their best.
Overall, Jose's referent power stems from his likability, trustworthiness, and ability to establish meaningful connections with his co-workers.
For more such questions power,Click on
https://brainly.com/question/29569820
#SPJ8
what are the steps needed to design and create a website?
Answer:
Explanation:
There are websites like Wix that help u, its a step by step process and most are really easy to use
Who ever is reading this:
I love u.
U matter.
The world needs u
hang in there ik it may be bad but u deserve the world <3
ur beautiful for who u r, not wht u look like. no matter ur shape, size, color, gender.. anything
don't give up bby i need u to live.
i wish i could take everyones problems so yall wouldn't have to have em but i cant so just know ily and if anyone needs to talk u can talk to me
Pls pass this on. Everyone deserves to know this. ♥️♥️
just copy and paste its not hard pls this could save someones life
Tamera and Rupert each applied for the same credit card through the same company. Tamera has a positive credit history. Rupert has a negative credit history.
Which compares their credit limits and likely interest rates?
Answer:
it is two by five credit limit
Answer:
Your answer is A Tamera’s credit limit is most likely higher than Rupert’s, and her interest rate is most likely lower.
Explanation:
I got it right on the test and I hope this answer helps
Create a query that lists the total outstanding balances for students on a payment plan and for those students that are not on a payment plan. Show in the query results only the sum of the balance due, grouped by PaymentPian. Name the summation column Balances. Run the query, resize all columns in the datasheet to their best fit, save the query as TotaiBalancesByPian, and then close it.
A query has been created that lists the total outstanding balances for students on a payment plan and for those students that are not on a payment plan.
In order to list the total outstanding balances for students on a payment plan and for those students that are not on a payment plan, a query must be created in the database management system. Below are the steps that need to be followed in order to achieve the required output:
Open the Microsoft Access and select the desired database. Go to the create tab and select the Query Design option.A new window named Show Table will appear.
From the window select the tables that need to be used in the query, here Student and PaymentPlan tables are selected.Select the desired fields from each table, here we need StudentID, PaymentPlan, and BalanceDue from the Student table and StudentID, PaymentPlan from PaymentPlan table.Drag and drop the desired fields to the Query Design grid.
Now comes the main part of the query that is grouping. Here we need to group the total outstanding balances of students who are on a payment plan and who are not on a payment plan. We will group the data by PaymentPlan field.
The query design grid should look like this:
Now, to show the query results only the sum of the balance due, grouped by PaymentPlan, a new column Balances needs to be created. In the field row, enter Balances:
Sum([BalanceDue]). It will calculate the sum of all balance dues and rename it as Balances. Save the query by the name TotalBalancesByPlan.Close the query design window. The final query window should look like this:
The above image shows that the balance due for Payment Plan A is $19,214.10, while for Payment Plan B it is $9,150.50.
Now, in order to resize all columns in the datasheet to their best fit, select the Home tab and go to the Formatting group. From here select the AutoFit Column Width option.
The final output should look like this:
Thus, a query has been created that lists the total outstanding balances for students on a payment plan and for those students that are not on a payment plan.
For more such questions on query, click on:
https://brainly.com/question/30622425
#SPJ8
It can be hard to get close enough to photograph animals in the wild true or false
Answer:
True
Explanation:
Answer:
true
Explanation:
An informative presentation can be used for conducting a classroom discussion.
Discuss strategies for engaging students when presenting a topic of discussion in a
presentation.
(Explain in your words and Presentations only)
Answer:
When engaging students in a presentation/topic of discussion, you can use:
Polls, surveys and quizzes to get a fast reaction from students. Especially when you add in smartphones for them. Games that are added into a presentation breaks up the normal lecture format and gets the audience to think critically to help their team win. Time limits to engage students without over doing it. Make sure to keep the maximum amount of time to these activities in mind. Activities that let all students have a chance to share. You can select students randomly or have them take turns. Remind students that this is a learning activity and not everyone will get it right the first time.
Explanation:
When engaging students in a presentation, it's important to tell stories, and ask questions.
An informative presentation is used to present information to a specific audience. It's important to analyze the audience when presenting information.
It should be noted that when presenting a topic of discussion in a presentation, it's important to break the ice, tell stories, ask questions during the presentation, and poll the audience.
Learn more about presentation on:
https://brainly.com/question/25808701
what is the differences between INTEL and AMD processors
There is a severe shortage of critical care doctors and nurses to provide intensive-care services in hospitals. To offset this shortage, many hospitals, such as Emory Hospital in Atlanta, are using electronic intensive-care units (eICUs) to help provide this care to patients (Emory University News Center). eICUs use electronic monitoring tools and two-way communication through video and audio so that a centralized staff of specially trained doctors and nurses - who can be located as far away as Australia - can provide critical care services to patients located in remote hospitals without fully staffed ICUs. One of the most important metrics tracked by these eICUs is the time that a patient must wait for the first video interaction between the patient and the eICU staff. Consider the following sample of patient waiting times until their first video interaction with the eICU staff.
Click on the datafile logo to reference the data.
Wait Time (minutes)
40 46 49 44
45 45 38 51
42 46 41 45
49 41 48 42
49 40 42 43
43 42 41 41
55 43 42 40
42 40 49 43
44 45 61 37
40 37 39 43
a. Compute the mean waiting time for these patients (to decimals).
Answer:
this is so hard like I don't know what to do
Which output device would a teacher use to show
a movie to the class? Check all of the boxes that
apply.
braille embosser
3D printer
speakers
projector
DONE
Answer:
projector
Explanation:
The output device that would be used would be a projector. From the available options, this is the only option capable of showing a movie to the class. A projector "projects" (in other words sends an image) the movie that was inputted into the machine onto a screen. This allows a video image to be shown on the screen which the entire class can see. Speakers only output audio, 3D printers output physical objects, and a braille embosser only outputs braille onto paper.
Answer:
prejector and speakers
Explanation:
Excel
Please explain why we use charts and what charts help us to identify.
Please explain why it is important to select the correct data when creating a chart.
1) We use chart for Visual representation, Data analysis, Effective communication and Decision-making.
2. It is important to select the correct data when creating a chart Accuracy, Credibility, Clarity and Relevance.
Why is necessary to select the correct data in chart creation?Accuracy: Selecting the right data ensures that the chart accurately represents the information you want to convey. Incorrect data can lead to misleading or incorrect conclusions.
Relevance: Choosing the appropriate data ensures that your chart focuses on the relevant variables and relationships, making it more useful for analysis and decision-making.
Clarity: Including unnecessary or irrelevant data can clutter the chart and make it difficult to interpret. Selecting the correct data helps to maintain clarity and simplicity in the chart's presentation.
Credibility: Using accurate and relevant data in your charts helps to establish credibility and trust with your audience, as it demonstrates a thorough understanding of the subject matter and attention to detail.
Find more exercises related to charts;
https://brainly.com/question/26501836
#SPJ1
What's the full meaning of BASIC in high level programming
Answer:
BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use.
You use utility software to
Select all that apply
1.
Question 1
An online gardening magazine wants to understand why its subscriber numbers have been increasing. What kind of reports can a data analyst provide to help answer that question? Select all that apply.
1 point
Reports that examine how a recent 50%-off sale affected the number of subscription purchases
Reports that describe how many customers shared positive comments about the gardening magazine on social media in the past year
Reports that compare past weather patterns to the number of people asking gardening questions to their social media
Reports that predict the success of sales leads to secure future subscribers
2.
Question 2
Fill in the blank: A doctor’s office has discovered that patients are waiting 20 minutes longer for their appointments than in past years. To help solve this problem, a data analyst could investigate how many nurses are on staff at a given time compared to the number of _____.
1 point
doctors on staff at the same time
negative comments about the wait times on social media
patients with appointments
doctors seeing new patients
3.
Question 3
Fill in the blank: In data analytics, a question is _____.
1 point
a subject to analyze
an obstacle or complication that needs to be worked out
a way to discover information
a topic to investigate
4.
Question 4
When working for a restaurant, a data analyst is asked to examine and report on the daily sales data from year to year to help with making more efficient staffing decisions. What is this an example of?
1 point
An issue
A business task
A breakthrough
A solution
5.
Question 5
What is the process of using facts to guide business strategy?
1 point
Data-driven decision-making
Data visualization
Data ethics
Data programming
6.
Question 6
At what point in the data analysis process should a data analyst consider fairness?
1 point
When conclusions are presented
When data collection begins
When data is being organized for reporting
When decisions are made based on the conclusions
7.
Question 7
Fill in the blank: _____ in data analytics is when the data analysis process does not create or reinforce bias.
1 point
Transparency
Consideration
Predictability
Fairness
8.
Question 8
A gym wants to start offering exercise classes. A data analyst plans to survey 10 people to determine which classes would be most popular. To ensure the data collected is fair, what steps should they take? Select all that apply.
1 point
Ensure participants represent a variety of profiles and backgrounds.
Survey only people who don’t currently go to the gym.
Collect data anonymously.
Increase the number of participants.
The correct options are:
Reports that examine how a recent 50%-off sale affected the number of subscription purchasespatients with appointmentsa way to discover informationA business taskData-driven decision-makingWhen conclusions are presentedFairnessa. Ensure participants represent a variety of profiles and backgrounds.c. Collect data anonymously.d. Increase the number of participants.What is the sentences about?This report looks at how many people bought subscriptions during a recent sale where everything was half price. This will show if the sale made more people subscribe and if it helped increase the number of subscribers.
The report can count how many nice comments people said and show if subscribers are happy and interested. This can help see if telling friends about the company has made more people become subscribers.
Learn more about gardening from
https://brainly.com/question/29001606
#SPJ1
Reports, investigating, fairness, data-driven decision-making, gym classes
Explanation:Question 1:A data analyst can provide the following reports to help understand why the subscriber numbers of an online gardening magazine have been increasing:
Reports that examine how a recent 50%-off sale affected the number of subscription purchasesReports that describe how many customers shared positive comments about the gardening magazine on social media in the past yearReports that compare past weather patterns to the number of people asking gardening questions on their social mediaReports that predict the success of sales leads to secure future subscribersQuestion 2:A data analyst could investigate the number of patients with appointments compared to the number of doctors on staff at a given time to help solve the problem of longer waiting times at a doctor's office.
Question 3:In data analytics, a question is a topic to investigate.
Question 4:When a data analyst is asked to examine and report on the daily sales data from year to year to help with making more efficient staffing decisions for a restaurant, it is an example of a business task.
Question 5:The process of using facts to guide business strategy is called data-driven decision-making.
Question 6:A data analyst should consider fairness when conclusions are being presented during the data analysis process.
Question 7:Transparency in data analytics is when the data analysis process does not create or reinforce bias.
Question 8:To ensure the collected data is fair when surveying 10 people to determine popular classes for a gym, a data analyst should: ensure participants represent a variety of profiles and backgrounds, collect data anonymously, and increase the number of participants.
Learn more about Data analysis here:https://brainly.com/question/33332656
A sandbox is known as a holding area for website or .
Answer:
blog
Explanation:
List the five component of information system
Answer:
hardware, software, database, network and people
Design a pda (pushdown automata) of the following:
a^n b^n c^m d^4m
Answer:
Explanation:
Here is the design of a Pushdown Automaton (PDA) for the language L = {a^n b^n c^m d^4m}:
1. The PDA has a stack to store symbols.
2. The initial state is q0 and the initial stack symbol is Z0.
3. The transitions are defined as follows:
- Transition from q0:
- Read 'a' from the input, push 'A' to the stack, and remain in q0.
- Read 'b' from the input, pop 'A' from the stack, and transition to q1.
- Read 'c' from the input, push 'C' to the stack, and transition to q2.
- Read 'd' from the input, push 'D' to the stack, and transition to q3.
- Transition from q1:
- Read 'b' from the input, pop 'A' from the stack, and remain in q1.
- Read 'c' from the input, push 'C' to the stack, and transition to q2.
- Read 'd' from the input, push 'D' to the stack, and transition to q3.
- Transition from q2:
- Read 'c' from the input, push 'C' to the stack, and remain in q2.
- Read 'd' from the input, pop 'C' from the stack, and transition to q2.
- Read 'd' from the input, pop 'D' from the stack, and transition to q2.
- Read end of input, pop 'Z0' from the stack, and transition to q4 (final state).
- Transition from q3:
- Read 'd' from the input, push 'D' to the stack, and remain in q3.
- Read end of input, pop 'Z0' from the stack, and transition to q4 (final state).
4. The PDA accepts the input string if it reaches the final state q4 with an empty stack.
Note: This PDA design assumes that n and m are positive integers. If n or m can be zero, some modifications to the transitions may be needed to handle those cases.
______________________ created a comprehensive standard to help any organization create an information security governance program.
a. The Federal Trade Commission
b. The Government Accountability Office (GOA)
c. The International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC)
d. National Institute of Standards and Technology (NIST)
c the internation Organization for standardization (iso) and the international electrotechnical commission (irc)
The Federal Trade Commission created a comprehensive standard to help any organization create an information security governance program. Thus, option A is correct.
What is International Electrotechnical Commission (IEC) ?International Electrotechnical Commission (IEC) which was first formed in 1906 is the predominant organization for developing and publishing international standards for technologies related to electrical and electronic devices and processes.
The standards developed by this association are widely used in scientific fields such as power generation, semiconductors, fibre optics, batteries, solar energy, nanotechnology and marine energy. They also proposed the International System of Units( SI unit) used in many fields of study today.
Therefore, The Federal Trade Commission created a comprehensive standard to help any organization create an information security governance program. Thus, option A is correct.
Learn more about Federal Trade Commission on:
https://brainly.com/question/12007903
#SPJ2
Homework 8 Matlab Write a function called fibonacciMatrix. It should have three inputs, col1, col2, and n. col1 and col2 are vertical arrays of the same length, and n is an integer number greater than 2. It should return an output, fib, a matrix with n columns. The first two columns should be col1 and col2. For every subsequent column:
In this exercise we have to use the knowledge in computational language in python to write the following code:
We have the code can be found in the attached image.
So in an easier way we have that the code is:
function v = myfib(n,v)
if nargin==1
v = myfib(n-1,[0,1]);
elseif n>1
v = myfib(n-1,[v,v(end-1)+v(end)]);
end
end
function v = myfib(n,v)
if nargin==1
v = myfib(n-1,[0,1]);
elseif n>1
v = myfib(n-1,[v,v(end-1)+v(end)]);
elseif n<1
v = 0;
end
function [n] = abcd(x)
if (x == 1 || x==0)
n = x;
return
else
n = abcd(x-1) + abcd(x-2);
end
end
fibonacci = [0 1];
for i = 1:n-2
fibonacci = [fibonacci fibonacci(end)+fibonacci(end-1)];
end
>> myfib(8)
ans =
0 1 1 2 3 5 8 13
>> myfib(10)
ans =
0 1 1 2 3 5 8 13 21 34
See more about python at brainly.com/question/18502436
How Charles Babbage Concept of
Computer has help the modern
Computer
English mathematician and inventor Charles Babbage is credited with having conceived the first automatic digital computer. During the mid-1830s Babbage developed plans for the Analytical Engine. Although it was never completed, the Analytical Engine would have had most of the basic elements of the present-day computer.
You are tasked with designing the following 3bit counter using D flip flops. If the current state is represented as A B C, what are the simplified equations for each of the next state representations shown as AP BP CP?
The number sequence is : 0 - 1 - 2 - 4 - 3 - 5 - 7 - 6 - 0
In the given 3-bit counter, the next state of A, B, and C (represented as A', B', and C') depends on the current state ABC.
The sequence is 0-1-2-4-3-5-7-6 (in binary: 000, 001, 010, 100, 011, 101, 111, 110).
The simplified next state equations for D flip-flops are:
A' = A ⊕ B ⊕ C
B' = A · B ⊕ A · C ⊕ B · C
C' = A · B · C
This counter follows the mentioned sequence and recycles back to 0 after reaching the state 6 (110). These equations can be implemented using XOR and AND gates connected to D flip-flops.
Read more about XOR and AND gates here:
https://brainly.com/question/30890234
#SPJ1
Evie clicks through her presentation slides and realizes they all have transition effects coming from the same location, from the bottom up. She wants to change some of the slides to have transition effects from different locations. What steps can she take change slide transition effects
Answer:
1) Choose Slide
2) Transition Tab
3) Transition To This Slide
4) Select New Transition
Explanation:
There are 4 main steps that Evie needs to take in order to accomplish this. First, she needs to choose the slide that she wants to apply the transition to. Secondly, she needs to click on the Transitions Tab at the top of the application. Thirdly, she needs to go to the "Transition to this Slide" section of the tab. Lastly, she needs to choose one of the available animation/transitions from the list of options. This will apply that transition effect to that slide, so that when she switches to that slide it performs the animation.
Answer:
Transition Tab > Transition To This Slide > Select New Transition
Explanation:
someone help please!! i’ll give brainliest
Answer:
1-Mouse
2-Display
3-Printer
4-Keyboard
Explanation:
Manny has drafted an email message and configured a delivery option "Do not deliver before: 5:00 P.M. and today's date." He shuts down his computer and leaves for the day at 4:30 p.m. What will happen at 5 p.m.?
The message will be delivered from the server.
The message will be delivered from Manny’s computer.
The message will remain in Manny’s outbox until the computer is started and the Outlook program is started the next day.
The message will remain in Manny’s outbox until the computer is started, and he will be prompted to send.
In this scenario: C. the message will remain in Manny’s outbox until the computer is started and the Outlook program is started the next day.
What is Microsoft Outlook?Microsoft Outlook simply refers to an e-mail and task management software application that is designed and developed by Microsoft Inc., so as to avail end users an ability to send electronic messages, schedule and plan their work activities on a timely basis.
Based on the time schedule, what would happen is that: C. the message will remain in Manny’s outbox until the computer is started and the Outlook program is started the next day.
Read more on Microsoft Outlook here: https://brainly.com/question/1538272
#SPJ1
"To speed up magnetic hard drive performance , ___________ is often used. "
Answer:
disk caching
Explanation:
Hi,
Magnetic hard drives use disk caching to speed up performance. This method is quite ingenious because what it does is that in a section of memory in your pc, it keeps a copy of information that was previously accessed in the hard disk. So, next time if the same data is requested, the system can refer to cache to get quick access rather than going to the hard disk (which is slower).
Drag each label to the correct location on the table.
Match the correct features to virtualization and cloud computing.
allows multiple operating systems
to run on a single machine
consolidates hardware devices into
a physical server
allows users to access data from anywhere
includes services such as platform
as a service and desktop as a service
uses a hypervisor that can be type 1 or type 2
allows users to run software applications
on web browsers without installing
the application locally
Match the correct features to virtualization and cloud computing is allows multiple operating systems to consolidates hardware and uses a hypervisor to allows users to access
Divide the statement in virtualization and cloud computing ?
sing virtualization, different operating systems can operate on a single machine using a type 1 or type 2 hypervisor.
Users can access data from anywhere using cloud computing, which combines hardware devices into a physical server and offers services like platform as a service and desktop as a service. Users can execute software applications on web browsers without having to install them locally.
Know more about virtualization Visit:
brainly.com/question/31037702
#SPJ1
The number of __________ to your website that had not visited prior to the time frame being analyzed.
Answer:
First Time Unique Visitor
Explanation:
I majored in
#define DIRECTN 100
#define INDIRECT1 20
#define INDIRECT2 5
#define PTRBLOCKS 200
typedef struct {
filename[MAXFILELEN];
attributesType attributes; // file attributes
uint32 reference_count; // Number of hard links
uint64 size; // size of file
uint64 direct[DIRECTN]; // direct data blocks
uint64 indirect[INDIRECT1]; // single indirect blocks
uint64 indirect2[INDIRECT2]; // double indirect
} InodeType;
Single and double indirect inodes have the following structure:
typedef struct
{
uint64 block_ptr[PTRBLOCKS];
}
IndirectNodeType;
Required:
Assuming a block size of 0x1000 bytes, write pseudocode to return the block number associated with an offset of N bytes into the file.
Answer:
WOW! that does not look easy!
Explanation:
I wish i could help but i have no idea how to do that lol
What happens when QuickBooks Online doesn't find a rule that applies to a transaction?
QuickBooks employs the Uncategorized Income, Uncategorized Expense, or Uncategorized Asset accounts to hold transactions that it is unable to categorize. These accounts cannot be used to establish bank policies.
What is QuickBooks Online?A cloud-based financial management tool is QuickBooks Online. By assisting you with things like: Creating quotes and invoices, it is intended to reduce the amount of time you spend handling your company's money. monitoring the cash flow and sales.
While QuickBooks Online is a cloud-based accounting program you access online, QuickBooks Desktop is more conventional accounting software that you download and install on your computer.
QuickBooks is an accounting program created by Intuit whose products offer desktop, internet, and cloud-based accounting programs that can process invoices and business payments. The majority of QuickBooks' customers are medium-sized and small enterprises.
Thus, QuickBooks employs the Uncategorized Income.
For more information about QuickBooks Online, click here:
https://brainly.com/question/20734390
#SPJ1
Work out and List the Big-Oh notation that corresponds to each of the following examples. Afterwards, list them by the order of complexity from LEAST to MOST.
(1.1) A bacteria that doubles itself every generation N.
(1.2) Following a single path along a branching story with N choices that change the story until you reach an ending.
(1.3) Pulling a single ball out of a pit filled with N balls.
(1.4) Searching the N rooms in a house for your keys.
(1.5) Trying to route a band’s world tour through N cities with the shortest mileage possible.
(1.6) Breaking an equation with N pieces down into smaller, simpler pieces, then solving those pieces to solve the entire equation.
An example of an O(2n) function is the recursive calculation of Fibonacci numbers. O(2n) denotes an algorithm whose growth doubles with each addition to the input data set. The growth curve of an O(2n) function is exponential - starting off very shallow, then rising meteorically.This function runs in O(n) time (or "linear time"), where n is the number of items in the array.
If the array has 10 items, we have to print 10 times. If it has 1000 items, we have to print 1000 timesHere we're nesting two loops. If our array has n items, our outer loop runs n times and our inner loop runs n times for each iteration of the outer loop, giving us n2 total prints.
Thus this function runs in O(n2) time (or "quadratic time"). If the array has 10 items, we have to print 100 times. If it has 1000 items, we have to print 1000000 times.An example of an O(2n) function is the recursive calculation of Fibonacci numbers. O(2n) denotes an algorithm whose growth doubles with each addition to the input data set.
The growth curve of an O(2n) function is exponential - starting off very shallow, then rising meteorically.When you're calculating the big O complexity of something, you just throw out the constantsThis is O(1 + n/2 + 100), which we just call O(n).
Why can we get away with this? Remember, for big O notation we're looking at what happens as n gets arbitrarily large. As n gets really big, adding 100 or dividing by 2 has a decreasingly significant effect.
O(n3 + 50n2 + 10000) is O(n3)O((n + 30) * (n + 5)) is O(n2)
Again, we can get away with this because the less significant terms quickly become, well, less significant as n gets big.
hope it helps you.....*_*
As a user of media what will you say to those people who are under of misleading use media
Answer:
search more sa google