Answer:
Coding is becoming a big thing in America because more and more jobs are on the computer, because they future is tech.
Explanation:
i dont know something like tht
3. What category of error will
you get from the following:
*
a
11
20
b
30
C = b
a
10
d = 70/c
print(d)
Your answer
Answer:
B
Explanation:
You have an audio that contains one pause for 0.2 seconds and another one for 0.6 seconds. When do you need to create a new segment?
CodeHS 6.3.8: Area of a Square with Default Parameters
Write a program that will calculate and print the area of a square where its side length is given by the user.
To compute the area, write a function named calculate_area that takes a single parameter, side_length. The parameter should be given a default value of 10.
If the user enters a length value of 0 or less, call calculate_area and use the default value. Otherwise, use the length value given as the parameter value.
For example, if the following input is given:
Enter side length: 0
The following output should be printed:
The area of a square with sides of length 10 is 100.
The programming language is not stated. I will answer this question using Python.
The program in Python where comments are used to explain each line is as follows:
#This defines the function
def calculate_area(side_length):
#This check if the side length is 0 or less
if side_length<1:
#If yes, the side length is set to 10
side_length = 10
#This prints the area of the square
print("The area of a square with sides of length",side_length,"is",(side_length**2))
#The main begins here
#This gets input for the length of the square
length = int(input("Enter side length: "))
#This calls the calculate_area function
calculate_area(length)
#The program ends here
At the end of the program, the area of the square is calculated and printed.
See attachment for a sample run
Read more about Python programs at:
https://brainly.com/question/22841107
6.20 LAB: Acronyms An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is an acronym of the input. If a word begins with a lower case letter, don't include that letter in the acronym. Assume there will be at least one upper case letter in the input. Ex: If the input is: Institute of Electrical and Electronics Engineers the output should be: IEEE
Answer:
Explanation:
The following code is written in Python. It creates a function that takes in a phrase as an argument. Then it splits the phrase into a list of words. Next, it loops through the list and adds the first letter of each word into the acronym variable if it is a capital letter. Finally, returning the acronym variable. Output can be seen in the attached picture below.
def accronymGenerator(phrase):
phrase_split = phrase.split(' ')
acronym = ""
for x in phrase_split:
if x[0].isupper() == True:
acronym += x[0]
else:
pass
return acronym
Multiple Choice: We have been assigned the task of developing a software testing tool (tester) that can assess reachability of statements in a program. Namely, given a program and a statement x in the program (line in the code), the tester should produce a sequence of inputs that demonstrates that the program can reach statement x, or declare that statement x is not reachable under any input sequence. What should we respond to the manager who assigned this task
Answer:
A. There is no algorithm to decide whether this can be done or not.
Explanation:
We should respond to the manager who assigned this task that there is no algorithm to decide whether this can be done or not. This is because there are many unknowns with the program that is provided. There are various programming languages and each one has its own structure and requirements in order to test them. Also, each function is created differently with different inputs that are necessary and different algorithms used. It is impossible to design a single algorithm that works to test every single provided program. That is why testers have to create custom test cases for each function.
Can somebody describe at least two cryptocurrencies with applicable/appropriate examples and discuss some of the similarities and differences?
Does anyone have the answers to edhesive 4.2 lesson practice I’ve been stuck on it for like 3 months
Answer:
1. 5, 10
2. 5, 7, 9, 11
3. 21
4. 10
Explanation:
A financially stable person is able to:
A. spend money without having to save.
B. use loans to cover his or her living costs.
C. default on loan payments.
D. save money.
Answer:
Save Money
Explanation:
D
how do you think the blitz might have affected civilian morale in london
Answer:
It would have seriously negatively affected civilian morale in London. Hearing about the horrors of the war even from far away does a number on morale. This, however, was not exactly the case for London in WWII, because even as air raids were executed on the city, the citizens, confined to underground bomb shelters, still managed to pull together and keep morale high, causing London NOT to plunge into chaos, but to stand united against Germany.
Introduction to Programming Workbook
Draw flowchart to find the largest among threu different numbers entered by a user
which of the following is an example of bias in media?
A. a website that represents a controversial opinion as though it were fact
B. a television news program that presents both sides of a particular issue
C. a podcast expressing an authors opinion
D. a blog about the history of the civil war
a website that represents a controversial opinion as though it were fact because stating a opinion as a fact is bias.
What is Website?A website is a group of interconnected, publicly accessible Web pages with a common domain name. A website can be developed and maintained to serve a variety of objectives by an individual, group, company, or organization.
The World Wide Web is made up of all websites that are open to the public.
Although it is occasionally referred to as a "web page," this description is incorrect because a website is made up of multiple webpages. A "web presence" or simply "site" are other names for websites.
Therefore, A website that represents a controversial opinion as though it were fact because stating a opinion as a fact is bias.
To learn more about Website , refer to the link:
https://brainly.com/question/29777063
#SPJ2
Write a program that uses the Purchase class in 5.13. Set the prices to the following: Oranges: 10 for $2.99 Eggs: 12 for $1.69 Apples: 3 for $1.00 Watermelons: $4.39 each Bagels: 6 for $3.50 Set the purchased quantity to the following: 2 dozen oranges, 2 dozen eggs, 20 apples, 2 watermelons, 1 dozen bagels Display the total cost of the bill
Answer:
Explanation:
The following program is written in Java. Using the program code from Purchase class in 5.13 I created each one of the fruit objects. Then I set the price for each object using the setPrice method. Then I set the number of each fruit that I intended on buying with the setNumberBought method. Finally, I called each objects getTotalCost method to get the final price of each object which was all added to the totalCost instance variable. This instance variable was printed as the total cost of the bill at the end of the program. My code HIGHLIGHTED BELOW
//Entire code is in text file attached below.
//MY CODE HERE
DecimalFormat df = new DecimalFormat("0.00");
oranges.setPrice(10, 2.99);
oranges.setNumberBought(2*12);
eggs.setPrice(12, 1.69);
eggs.setNumberBought(2*12);
apples.setPrice(3, 1);
apples.setNumberBought(20);
watermelons.setPrice(1, 4.39);
watermelons.setNumberBought(2);
bagels.setPrice(6, 3.50);
bagels.setNumberBought(12);
totalCost = oranges.getTotalCost() + eggs.getTotalCost() + apples.getTotalCost() + watermelons.getTotalCost() + bagels.getTotalCost();
System.out.println("Total Cost: $" + df.format(totalCost));
}
}
Across:
1. Pressing this key will cancel the data
you are typing
4. It stores the data into all of the selected
cell
Down:
2 It stores the data and moves to the next
cell to the rig
3. It stores the data and moves you to the
next cell below
5. It activates the cell for data editing
6. Clear only the formatting that is applied
to the selecte
8. It stores the data and moves you to the
next cell in the
7. The key that deletes only the content of
the selected cl
Debevec mentions using the technology he described to animate entire human bodies. Discuss why you think this is or is not a good idea? What are some of the challenges that you see with this idea? Explain your answers.
Answer:
Debevec is using the light of his team because this and that and because it’s manipulated
Explanation:
What are the two main parts of system unit hardware?
Answer: Computers have two main parts: hardware and software
Like piano (hardware) and music (software)
Explanation:
Q3: State whether each of the following is true or false. If false, explain why. 1. A generic method cannot have the same method name as a nongeneric method. 2. All generic method declarations have a type-parameter section that immediately precedesthe method name. 3. A generic method can be overloaded by another generic method with the same methodname but different method parameters. 4. A type parameter can be declared only once in the type-parameter section but can appearmore than once in the method’s parameter list. 5. Type-parameter names among different generic methods must be unique. 6. The scope of a generic class’s type parameter is the entire class except its staticmembers.
Answer:
3
Explanation:
they will wash the car change into tag question
Answer:
They will wash the car, won't they?
Explanation:
A tag question usually comes after an independent clause. The tag question is most times attached with the intent of affirming the statement made in the independent clause. Our independent clause in the answer above is; "They will wash the car". The tag question, "Won't they?" is meant to affirm that statement.
Another example is, "They are going to school, aren't they?" In this example also, the independent clause makes a sentence that is to be confirmed by the tag question.
Which option is the default configuration of the Junk Email Options in Outlook 2016?
No Automatic Filtering
Low
High
Safe Lists Only
Answer:
No Automatic Filtering
Answer:
NO automatic filtering
Explanation:
i took the quiz
3. Comparing the Utopian and dystopian views of Technology according to Street (1992) which one in your view is more applicable to your society?
Answer:
The answer is below
Explanation:
The Utopian views of technology, according to Street 1992, describe society to be in good condition in terms of politics, laws, customs, ways of life. Hence, the system is designed to improve the community for the better.
In contrast, Dystopian is described as a society that is heavily controlled by some greedy, larger than life, apocalypse group of people or government, where the rights and freedoms of people are trampled upon, thereby leading to all sorts of negativity such as suffering, poverty, intimidation, violence, disease, and break down.
The view that is more applicable to my society is the Utopia due to the following reason:
1. The people in my society accept the laid down rules and ideals. We also favor individuality and innovation.
2. My society is quite dynamic and improves over time to establish an ideal utopian world.
3. My society ensures some leaders carry the other individuals in the society along in whatever they do.
3. Java is Platform Independent. This means;
A. Java can run on any OS
need an OS to run
C. Java requires more than one OS to run
portable
D. Java is not
B. Java does
Answer:
Java can run on any OS
need an OS to run
What do y’all think are the pros and cons to using technology?
Answer:
Explanation:
pros. convenient, easy to use, and educational cons. addictive, mentally draining, and creates a social divide.
⚠️⚠️⚠️⚠️HELP - What is the software that allocates resources of a physical computer to a virtual machine?
Group of answer choices
Switch
Operating systems
Hypervisor
HostVM
Answer:
the answer is going to be hostvm
Design a program takes as input, X, an unsorted list of numbers, and returns the sorted list of numbers in X. The program must be based on the following strategy: Handle the case when X is empty and has only 1 item. Split X into two lists, using the split function in the previous problem. Sort L and G. Put everything together into a sorted list. Test your program with 10 different unsorted lists.
Answer:
The program in python is as follows:
def split(X):
L = []; G = []
for i in range(len(X)):
if X[i]>=X[0]:
G.append(X[i])
else:
L.append(X[i])
L.sort(); G.sort()
return L,G
X = []
n = int(input("Length of X: "))
for i in range(n):
inp = int(input(": "))
X.append(inp)
if len(X) == 0 or len(X) == 1:
print(X)
else:
X1,X2=split(X)
newList = sorted(X1 + X2)
print(newList)
Explanation:
The following represents the split function in the previous problem
def split(X):
This initializes L and G to empty lists
L = []; G = []
This iterates through X
for i in range(len(X)):
All elements of X greater than 0 equal to the first element are appended to G
if X[i]>=X[0]:
G.append(X[i])
Others are appended to L
else:
L.append(X[i])
This sorts L and G
L.sort(); G.sort()
This returns sorted lists L and G
return L,G
The main function begins here
This initializes X
X = []
This gets the length of list X
n = int(input("Length of X: "))
This gets input for list X
for i in range(n):
inp = int(input(": "))
X.append(inp)
This prints X is X is empty of has 1 element
if len(X) == 0 or len(X) == 1:
print(X)
If otherwise
else:
This calls the split function to split X into 2
X1,X2=split(X)
This merges the two lists returned (sorted)
newList = sorted(X1 + X2)
This prints the new list
print(newList)
Describe the importance of human resource for business growth
Answer:
Having come a long way since traditional “personnel,” HR is a critical business function that helps companies succeed in hiring employees, keeping them engaged, and supporting their growth and development. HR Assists Managers and Team Leaders. ... HR Helps Employees Achieve Their Career Goals.
The following table represents the addresses and contents (using hexadecimal notation) of some cells in a machine's main memory.Starting with this memory arrangement , follow the sequence of instructions and record the final contents of each of these memory cells: Address Contents 00 AB 01 53 02 D6 03 02 Step 1. Move the contents of the cell whose address is 03 to the cell at address 00. Step 2. Move the value 01 into the cell at address 02. Step 3. Move the value stored at address 01 into the cell at address 03.
Answer:
I DON'T KNOW THE ANSWER SO SORRY
Explanation:
BUT THANKS FOR THE POINTS
The computer boots normal but soon turns off. When rebooted, it dies again. It works for a few minutes in the morning, but throughout the day, it only boots after it has been turned off for over an hour, then turns off again as soon as the windows desktop appears. What are your troubleshooting steps and repairs that you, the on-call technician, will use to resolve this malfunction? What went wrong? How did you fix it? How much must you charge the customer?
Answer:
If I would have been there firstly I will not any for it second it has been happend to my PC 1 or 2 week ago if you are using Windows 7 cuz I have 7 . So two black screen appear press the reboot key and wait for 2nd screen, and if it would not come again reboot till it appear then press [Del]
key and some adjustments and press enter and it would ask for saving so press Y and enter you are all done
what are the advantage of smaw welding process
Answer:
Explanation:
The most portable of all welding processes. No need for separate gas shielding. Can be used in a wide range of environments including outdoors, in fabrication shops, on pipelines and refineries, on ships and bridges, and more. Is not sensitive to wind and draft
Consider four Internet hosts, each with a TCP session. These four TCP sessions share a common bottleneck link - all packet loss on the end-to-end paths for these four sessions occurs at just this one link. The bottleneck link has a transmission rate of R. The round trip time, RTT, for all fours hosts to their destinations are approximately the same. No other sessions are currently using this link. The four sessions have been running for a long time. What is the approximate throughput of each of these four TCP sessions
The correct response is - The TCP protocol creates a three-way connection between hosts on a network to send packets. It is a connection-oriented protocol. It is a protocol found in the OSI network model's transport layer. Given that all lost packets are sent again, it is trustworthy.
What is a TCP protocol?One of the key protocols in the Internet protocol family is the Transmission Control Protocol. It was first used to supplement the Internet Protocol in the first network installation. TCP/IP is the name given to the full suite as a result.
The usage of TCP allows for the safe exchange of data between the server and the client. No matter how much data is transferred across the network, it ensures its integrity. It is therefore used to transfer data from higher-level protocols that demand the arrival of all sent data.
The usage of TCP allows for the safe exchange of data between the server and the client. No matter how much data is transferred across the network, it ensures its integrity.
To read more about TCP protocol, refer to - https://brainly.com/question/27975075
#SPJ6
U
Question 5
1 pts
Which of the following Python code segments best matches this Scratch block?
set X
to 0
x > 0
then
change x by 1
se
change
by 10
x = 0
if x > 0:
X = X - 1
else:
X = X + 10
Need help ASAP??? Pick the best answers
Answer:
A and C are correct pick both