Answer:
C- He shouldn't trust the website for both reasons
Explanation:
Answer:
c
Explanation:
A company delivers packages by truck and would like to minimize the length of the route that each driver must travel in order to reach n delivery locations. The company is considering two different algorithms for determining delivery routes.
Algorithm I
Generate all possible routes, compute their lengths, and then select the shortest possible route. This algorithm does not run in reasonable time.
Algorithm II
Starting from an arbitrary delivery location, find the nearest unvisited delivery location. Continue creating the route by selecting the nearest unvisited location until all locations have been visited. This algorithm does not guarantee the shortest possible route and runs in time proportional to n2.
Which of the following best categorizes algorithm II?
A. Algorithm II attempts to use an algorithmic approach to solve an otherwise undecidable problem.
B. Algorithm II uses a heuristic approach to provide an approximate solution in reasonable time.
C. Algorithm II provides no improvement over Algorithm I because neither algorithm runs in reasonable time.
D. Algorithm II requires a much faster computer in order to provide an improvement over Algorithm I.
The right option that the company should consider for determining delivery routes is:
Algorithm II uses a heuristic approach to provide an approximate solution in reasonable time.What is algorithm?An algorithm is known to be a group of computer instructions that is aimed in solving an issue or addressing a task.
A good example of an algorithm is known to be recipe, that is made up different instructions for cooking a dish or meal. In the above scenario,
The right option that the company should consider for knowing delivery routes is Algorithm II as it will help them using heuristic approach to know a good solution in short time.
Learn more about Algorithm from
https://brainly.com/question/24953880
In the video game Animal Crossing: New Horizons, villagers are organized by Personality and Hobby.
The 8 Personalities are:
Normal
Lazy
Sisterly
Snooty
Cranky
Jock
Peppy
Smug
The 6 Hobbies are:
Education
Fashion
Fitness
Music
Nature
Playing
Create a program that allows the user to create their own Animal Crossing villager. The user should be able to enter a name, after which the program will choose a random Hobby and Personality for the villager:
"Please enter a Villager Name:
>> Betsy
Betsy is Snooty and into Nature"
The program should store both the Hobbies and Personalities in lists, and when creating a villager it should randomly choose from each list for the personality.
Requirements:
· Both Personalities and Hobbies must be stored in lists
· You must generate a different random number to determine the hobby and personality (that is, don't generate 1 random number and use it for both lists, as that prevents many combinations)
· In randomizing, you should make sure that all combinations are possible (that is, make sure you don't accidentally leave out a personality or hobby from random generation)
· The program shouldn't crash
The video game program is an illustration of randomization and lists
Randomization involves generating random numbers or selecting random optionsLists are variables that hold multiple valuesThe video game programThe video game program written in Python, where comments are used to explain each action is as follows:
#This imports the random package
import random
#This creates a list for personalities
Personality = ["Normal","Lazy","Sisterly","Snooty","Cranky","Jock","Peppy","Smug"]
#This creates a list for hobbies
Hobbies = ["Education","Fashion","Fitness","Music","Nature","Playing"]
#This gets input for name
name = input("Please enter a Villager Name: ")
#This generates a random number for personality
personalityNum = random.randint(0, 7)
#This generates a random number for hobbies
hobbiesNum = random.randint(0, 5)
#This prints the the required output
print(name,"is",Personality[personalityNum],"and into",Hobbies[hobbiesNum])
Read more about Python programs at:
https://brainly.com/question/16397886
What should software firm design for the VR sample at Museum?
The software firm design for the VR sample at Museum is a 360-degree video that shows a walk through of the virtual studio of a famous artist that is aided by a narration about the various piece of art that the user wants to focus on.
How is VR used in museums?VR is known to be a technology that puts the user inside the experience they are viewing. It is known to be a kind of interactive or it is one that take the shape of 360-degree video.
The use of VR is done so as to form or create museum tours, so that exhibits in the museum can be interactive, and to bring the different scenes to reality.
Learn more about museums from
https://brainly.com/question/95815
Which tools would you use to make header 1 look like header 2.
The tools that would be used to make header 1 appear and look like header 2 is the alignment tool icon and the Bold tool icon.
To understand this question, we must understand the interface of the Microsoft Excel.
What is Microsoft Excel?Microsoft Excel is a spreadsheet that can be used for a variety of features such as:
Computation of Data sets and variablesCalculation of Business Data Arrangement and Analysis of Data into Tables etc.As a Microsoft software, Microsoft Excel can also be used to edit sheets. In the image attached, the required tool icons needed to change the header 1 into header 2 is the alignment tool icon and the Bold tool icon.
The two tools can be seen in the image as the two lower left icons.
Learn more about Microsoft Excel here:
https://brainly.com/question/25863198
How does each additional block added to the blockchain strengthen the integrity of the entire chain?
Answer:
Explanation:
The more blocks in the blockchain, the more opportunities for data on the network to be verified. More blocks means that it is less of a chance that the entire network will be compromised by one person or one group.
A blockchain exists as a decentralized ledger of all transactions across a peer-to-peer network.
What is blockchain?A blockchain exists as a decentralized ledger of all transactions across a peer-to-peer network. Utilizing this technology, participants can verify transactions without a need for a central clearing authority. Potential applications can contain fund transfers, settling trades, voting, and many other problems.
Blockchain exists as a shared, immutable ledger that simplifies the process of recording transactions and tracking assets in a company network. An investment can be tangible (a house, car, cash, land) or intangible (intellectual property, patents, copyrights, branding).
The more blocks in the blockchain, the more possibilities for data on the network to be confirmed. More blocks mean that it stands less of a chance that the whole network will be compromised by one individual or one group.
To learn more about blockchain refer to:
https://brainly.com/question/25700270
#SPJ2
Which of the following displays an internal index?
O categories
publish
O tags
O featured image
Answer:
featured image
Explanation: featured image
Question #2
Multiple Select
Which of the following statements about computational thinking are true? Select 3 options.
The result of computational thinking is a problem broken down into its parts to create a generalized model and possible solutions,
Computational thinking involves the techniques of decomposition, pattern recognition, abstraction, and algorithm development.
Computational thinking is basically synonymous with programming.
Computational thinking is a set of techniques used to help solve complex problems or understand complex systems
Understanding all of the minor details about a problem is critical in computational thinking
Answer:
B. The result of computational thinking is a problem broken down into its parts to create a generalized model and possible solutions.
C. Computational thinking involves the techniques of decomposition, pattern recognition, abstraction, and algorithm development.
E. Computational thinking is a set of techniques used to help solve complex problems or understand complex systems.
Explanation:
I just got it correct.
________ involves tricking a person into entering sensitive personal or financial information into a form on a website or in an e-mail, typically by convincing the person that she is dealing with a site she normally interacts with, such as her bank. Group of answer choices Adware Spyware Phishing Spam Electronic monitoring
Answer:
Phishing involves tricking a person into entering sensitive personal or financial information into a form on a website or in an e-mail, typically by convincing the person that she is dealing with a site she normally interacts with, such as her bank.
Explanation:
Adware - When software is installed without consent, and made to show disruptive pop-ups and ads.
Spyware - Records keystrokes, camera and microphone without consent. Can also track activity.
Spam - When the same message is posted several times.
It is clearly not any of these, so it must be Phishing.
- Educator
Which statement regarding socializers is true?
Answer:
The answer is: they are comparable to suit of hearts
Explanation:
The answer is: they are comparable to suit of hearts
how do you take a screen shot on a chrome book
Answer:
hold ctrl + the square box thing above the six
Explanation:
Answer:
Yuh its ctrl shift and f5 if you want to crop what you are screen shotting
Explanation:
In a _________ programming language the data type for a variable will not change after it has been declared.
Answer: Your answer to your question is b.strongly typed
Hope this helps!
(1) Output a menu of automotive services and the corresponding cost of each service. (2 pts)Ex:Davy's auto shop servicesOil change -- $35Tire rotation -- $19Car wash -- $7Car wax -- $12(2) Prompt the user for two services. Each service type is composed of two strings. (2 pts)Ex:Select first service: Oil changeSelect second service: Car wax(3) Output an invoice for the services selected. Output the cost for each service and the total cost. (3 pts)Davy's auto shop invoiceService 1: Oil change, $35Service 2: Car wax, $12Total: $47(4) Extend the program to allow the user to enter a dash (-), which indicates no service. (3 pts)Ex:Select first service: Tire rotationSelect second service: -Davy's auto shop invoiceService 1: Tire rotation, $19Service 2: No serviceTotal: $19**THIS MUST BE IN THE C LANGUAGE**
Answer:
Follows are the code to this question:
#include <stdio.h>//header file
#include <string.h>//header file
int main()//main method
{
char f_service[100], s_service[100];//defining character array
int total;//defining integer variable
do
{
total = 0;//assign value in total variable
printf("Davy's auto shop services\n");//print message
printf("Oil change -------- $35\n");//print message
printf("Tire rotation ------ $19\n");//print message
printf("Car wash ---------- $7\n");//print message
printf("Car wax ----------- $12\n");//print message
printf("Enter first service: \n");//print message
fgets(f_service, 100, stdin);//use get function for input value
f_service[strlen(f_service) - 1] = '\0';//use length function for calculate total length
printf("Enter second service: \n");//print message
fgets(s_service, 100, stdin);//use get function for input value
s_service[strlen(s_service) - 1] = '\0';//use length function for calculate total length
printf("\nDavy's auto shop invoice\n\n");//print message
if(strcmp(f_service, "Oil change") == 0)//defining if block that check first input Service
{
printf("Service 1: %s, $%d\n", f_service, 35);//print service name with rate
total = total+ 35;//calcaulte value in total variable
}
else if(strcmp(f_service, "Tire rotation")== 0)
{
printf("Service 1: %s, $%d\n", f_service,19); //print service name with rate
total = total + 19;//calcaulte value in total variable
}
else if(strcmp(f_service, "Car wash") == 0)
{
printf("Service 1: %s, $%d\n", f_service, 7);//print service name with rate
total = total + 7;//calcaulte value in total variable
}
else if(strcmp(f_service, "Car wax") == 0)
{
printf("Service 1: %s, $%d\n", f_service, 12); //print service name with rate
total = total + 12;//calcaulte value in total variable
}
else
{
printf("Service 1: Empty\n");//print message
}
if(strcmp(s_service, "Oil change") == 0)
{
printf("Service 2: %s, $%d\n", s_service, 35);//print service name with rate
total= total+ 35;//calcaulte value in total variable
}
else if(strcmp(s_service, "Tire rotation")== 0)
{
printf("Service 2: %s, $%d\n", s_service, 19);//print service name with rate
total = total + 19;//calcaulte value in total variable
}
else if(strcmp(s_service, "Car wash") == 0)
{
printf("Service 2: %s, $%d\n", s_service, 7);//print service name with rate
total = total + 7;//calcaulte value in total variable
}
else if(strcmp(s_service, "Car wax") == 0)
{
printf("Service 2: %s, $%d\n", s_service, 12);//print service name with rate
total= total+ 12;//calcaulte value in total variable
}
else if(strcmp(s_service, " ") == 0)
{
printf("Service 2: No service\n");//print service name with rate
}
else
{
printf("Service 2:No service\n");//print message
}
printf("Total: $%d\n", total);//print total value
}
while(strcmp(s_service, "_"));//defining while that compare second service value
return 0;
}
Output:
Please find the attached file.
Explanation:
In the given C language code, the two-character array "f_service and s_service" and one integer variable "total" is declared, in which character array is used for user input, and the total is used for calculating value.
In the next step, the do-while loop is used, in which we used multiple conditional statements, that check "first and second" both array input value and add values into the total variable.If the first array doesn't take any input value, it will print an "empty" message. Similarly, in the second array, if it can't take any value, it will print a message "No service", and for the exit from the program, we pass the "underscore (_)" symbol.Write a for loop that uses the print function to display your first name exactly 5 times
Answer:
idkhuhubuhuhuuhuhg hih
Explanation:
idkuhuhuhyhuhhijhuhuh
Create a flowchart that will accept 10 whole numbers one at a time and print the highest and the lowest. Use Switch.
I will create a sequence of steps that would accept 10 whole numbers one at a time and print the highest and the lowest in Java:
Import javax.swing.JOptionPane;
public class loop_exer2 {
public static void main(String agrs[])
{ String input; int trial=10, sc=0, h=0, l=0, test=0;
System.out.print("Scores: ");
for (int ctr=1;ctr<=10;ctr ) {
input=JOptionPane.showInputDialog("Enter the Scores [" trial "] trials "); sc=Integer.valueOf(input); System.out.print(sc ", ");
if(test==0){h=sc;l=sc;test=1;}
if(sc>h){h=sc;}
else if(sc>h){
h=sc; {
else if(sc<1) {
l=sc;
}
JOptionPane.showMessageDialog (null, "Highest score is:" h "Lowest score is:" l);
System.out.println();
System.out.println ("Highest score is: " h);
System.out.println ( "Lowest score is: "l);
}
}
What is a Flowchart?This refers to a diagram which is used to represent the various steps which a system uses to create a step by step solution.
From the above code, there is the command to accept whole numbers in String and then request for them one at a time and after the computation, display the highest and lowest numbers.
Read more about flowcharts here:
https://brainly.com/question/6532130
Help!!! Who is this? Who is it from?
Which search strategy explores nodes from the initial state as well as the goal state?
OA. uniform-cost search
OB.
breadth-first search
OC. depth-first search
OD.
bidirectional search
The search strategy explores nodes from the initial state as well as the goal state is bidirectional search.
What is the bidirectional search?This is known to be a type of search that is used when the initial and goal states are found in a problem.
Here, we often search forward and also backwards from the first state and the goal state, we often Stop when they meet the middle and it tend to be faster than unidirectional search.
Learn more about search strategy from
https://brainly.com/question/10055344
What is the 4-digit code?
Answer:
Try blue, purple, red, then yellow.
Explanation:
Using an electronic monitoring device that can detect and amplify internal responses not ordinarily available to us is known as
The use of an electronic monitoring device that can detect and amplify internal responses not ordinarily available to us is known as biofeedback.
What is biofeedback?The Biofeedback is known to be a kind of a mind-body method that is said to often make use of some visual or auditory feedback to lecture people to know the main physical signs and symptoms linked with stress and anxiety, such as increased heart rate, etc.
It is also known to make use of an electronic monitoring device that can detect and amplify internal responses not ordinarily available to man.
Learn more about biofeedback from
https://brainly.com/question/1124510
Why is my iphone not notifying me when i receive a text.
Answer:
It's probably on sleep mode.Notifications are off.Something was altered in the settings.Your phone is updating.If none of these are true, try talking to tech support.
Answer:
it depends on the app you are talking about if its something else thats not imessages then check if you havent already and see if the notifications are off and turn them on and
if its on imessages then go to settings and then click on the notifications and click messages and then after click the ensure allow notifications to make it green
Explanation:
_______________ is the practice of using a network of remote servers hosted on the Internet to store, manage, and process data, rather than a local server or a personal computer.
which table option enables you to combine the contents of several xells into one cell?
Simone is working as a photographer for a local state senator as he runs for office in her small town. While at a recent rally, she found a group of teenagers hanging out near the rally, gave them several signs to hold, and asked them to jump up and down while waving the signs and cheering. What type of photograph is Simone taking by doing this?
propaganda
military
celebrity
fashion
Answer: 1. It is bolder, with exciting backgrounds.
2. ethnographic photographer
3. analog, physical photography
4. Ethnographic photography is from the point of view of someone participating in the culture to some degree.
5. creative stock photography
6. Early Photography 1839-1900
7. medical, fiber optic, and astrophotography
8. propaganda
9. life
10. indigenous photography
11. glamour photos
12. Modern Photography 1900-1945
13. Westerners (Americans)
14. They might deemphasize her subject's faces and include more background and context.
15. Hopi ceremonial dances
Explanation: I finished the quiz
The type of photograph is Simone taking by doing this is propaganda. The correct option is A.
What is propaganda?Dissemination of information, including facts, arguments, rumors, half-truths, and lies, is known as propaganda and is done to sway public opinion.
Simone is engaging in propaganda photography when she instructs a bunch of youngsters to bounce up and down while waving the signs they have been given at a political gathering.
Using photos to advance or popularize a specific political or ideological stance, propaganda photography frequently employs deceptive tactics to sway people's perceptions or actions.
In this instance, Simone is attempting to project a picture of fervent backing for the senator's campaign by utilizing the teenagers as a visual prop to promote the politician.
Thus, the correct option is A.
For more details regarding propaganda, visit:
https://brainly.com/question/29959113
#SPJ2
How many total numbers can be represented with an 8-bit binary system
Answer:
256
Explanation:
2^8 = 256, i.e. 2 times 2 times 2 times ... etc.
To enable a single hard drive to store more than one operating system, it would need to be ________.
Answer:My guess would be disk partitioned
Explanation:
because you are basically dividing into separate filesystems. When operating two OS when call it dual booting.
Which of the following best describes the "friction" property of a physics material?
A. Controls how fast the object will fall due to gravity
B. Controls the maximum speed of an object
C. Controls how far an object will bounce when it collides with another object
D. Controls how much resistance is felt when two objects are in contact
Answer:
D. Controls how much resistance is felt when two objects are in contact
Explanation:
Friction is a force, the resistance of motion when one object rubs against another. Whenever two objects rub against each other, they cause friction. Friction works against the motion and acts in the opposite direction.
yall like portal 1 or 2
Answer:
i like both, but i personally like portal 2 the most.
Explanation:
which of the following best explains how data is typically assembled in packets for transmission over the internet?
Answer:
The Internet works by chopping data into chunks called packets. Each packet then moves through the network in a series of hops. Each packet hops to a local Internet service provider (ISP), a company that offers access to the network -- usually for a fee.Explanation:
Answer:
Do you have options given on the question?
Explanation:
(03.01 LC)
In programming, what is an integer number?
O A fraction
O A number with a decimal
O A round number
O A number without a decimal
The ability to create slide shows is a major advantage of word processing software true or false
Answer:
True
Explanation:
This ability helps in the symbolic development of the word processing software
5 What is the effect of the author proposing athought experiment at the beginning of the text?
Answer:
i dont know correct or not . then also i will.. sorry if the answer is wrong
Explanation:
text "Disease Central" in When Birds Get Flu by John DiConsiglio. In 1958, scientists at the CDC made their first trip overseas. A team went to Southeast Asia to respond to an epidemic of smallpox and cholera. The author uses this passage to help the reader focus on
The aim of A thought experiment is to promote speculative thinking, logical reasoning, and paradigm shifts, it address problems, forces out of our comfort zone, mainly highlight the gaps.
What is the meaning of thought experiments?Thought experiments is nothing but an imaginative methods which involve in examining the nature of things, employed in various purposes in different disciplines, including physics, economics, history, mathematics, and philosophy.
It is a test of thoughts that can be done in minds only, it involve imagination of a specific scenario like repercussions, which can lead to broad conclusion.
Hence, a thought experiment mainly produce speculative thinking, logical reasoning, and paradigm shifts, address problems out of our comfort zone.
Learn more about experiments on:
brainly.com/question/17274244
#SPJ2