HTTP is the protocol that governs communications between Web servers and Web clients (i.e. browsers). Part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. Some of the codes and their meanings are listed below:
• 200, OK (fulfilled)
• 403, forbidden
• 404, not found
• 500, server error
Given an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.

In C++ please

Answers

Answer 1

Answer:

switch( status )

{

case 200:

cout << "OK (fulfilled)";

break;

case 403:

cout << "forbidden";

break;

case 404:

cout << "not found";

break;

case 500:

cout << "server error";

break;

}

Explanation:

MPL 2021


Related Questions

A function getints has been defined that has no parameters and returns an array of integer values. The first value in the array contains the total number of items in the array (including itself). Write code (not a function or main) to: Write a prototype for getints() Call getints() From the resulting array, print the first value (after the length) and the last value, each on a separate line.

Answers

Answer:

Explanation:In the below code : Create method getints() : with no arguments and integer array return type Inside method : Declare n integer Input n Declare integer array with n length : arrInt Assign n at 0th array index Use loop from 1 to n: i counter Input arr... view the full answer

Function getints  is presented in the Prototype of the following code will be:

// Prototype

int* getints();

What is function getints?

This function requests an integer from the person using it and then returns it. You can ask for the integer using a prompt argument.

Older OSes used the C method getch() to collect user input. Depending on the function call, it only allows one input character at a time. Unless the user supplies input, the program's execution is halted.

For trhe Prototype the code will be:

// Prototype

int* getints();

For the getints the code will be:

// Call getints()

int* array = getints();

The print values will be:

// Print the first and last value

printf("The first value is %d\n", array[1]);

printf("The last value is %d\n", array[array[0]]);

Learn more about  function getints, here:

https://brainly.com/question/30928705

#SPJ2

2. Build a MATLAB program to evaluate ln(x) between [1, 2] that guar- antees up to 10 correct decimal digits using Chebyshev interpolation. Evaluate your function on 100 points on the interval [1, 2] and calculate the absolute error fore each point using MATLAB’s log command as the exact solution. Plot your error profile. Does this agree with the expected level of accuracy?

Answers

who was the father computer

Which famous British physicist wrote A Brief History of Time?​

Answers

Answer:

Stephen Hawking

what does project manager do?

Answers

project managers (PMs) are responsible for planning, organizing, and directing the completion of specific projects for an organization while ensuring these projects are on time, on budget, and within scope.

a. In cell K11, create a formula using the DCOUNT function to count the number of projects with final costs of more than $100,000, using the data in the entire Projects table (Projects[#All]) and counting the values in the column of final costs ("Final Cost") that are equal to the values in the range J9:J10

Answers

Answer:

the data in the entire Projects table (Projects[#All]) and counting the values in the column of final costs ("Final Cost") that are equal to the values in the range J9:J10

What is that called…. Ethetnet cable port or what !?

Answers

Answer:

The left one is a router or switch or hub (could be any as far as I see).

The right one is a satellite dish.

Explanation:

"A switch transmits data from one device to another in form of frames while a router transmits data from one network to another in form of packets. A hub transmits data from one device to another in form of binary bits." - from section.io

"A satellite dish is a dish-shaped type of parabolic antenna designed to receive or transmit information by radio waves to or from a communication satellite." - Wikipedia

What is the full form of eniac and univac ?

thanks!!​

Answers

Answer:

ENIAC - Electronic Numerical Integrator and Calculator. UNIVAC - Universal Automatic Computer (First Digital Computer)

Mark brilliant please

Answer:

[tex]ENIAC - Electronic \: Numerical \: \\ Integrator \: and \: Computer[/tex]

[tex]UNIVAC- Universal \: Automatic \: Computer[/tex]

Do you trust machine learning application?

Answers

Answer:

Trusting a machine learning model, in general, can be interpreted as creating a robust model which gives largely accurate results and has a high generalization ability. Classification models learn from past experience, so the robustness of a model primarily depends on the given training set

Explanation:

Hope it helps

                         Please mark as brainliest

ANY KIND PERSON HERE?
in our new situation. what are the things we already use before but we value more now a days to protect our self from virus, write your answer on space provided. ___1. __________________________ ___2.__________________________ ___3.__________________________ ___4.__________________________ ___5.__________________________​​

Answers

Answer:

1. face mask

2. face shield

3. following the social distance

4. taking a vaccine

5. taking care of ourselves

Explanation:

hope this helps

Answer:

1. Face mask
2. Hand sanitizer
3. Alcohol
4. Drinking vitamins
5. Hand wipes/tissues


Hope this helped:)

It specifies the amount of memory needed to store data.

Answers

magbigay ng limang magandang lugar na tinatawag na tourist spot sa iyo sa inyong lugar o probinsya

Answer: Is it RAM? Random Access Memory

Explanation: Ram is used to reading/writing data. It might control the amount of memory that is stored.

by what order of magnitude is something that runs in nanoseconds faster than what runs in milliseconds

Answers

A nanosecond is a billionth of a second, whereas a millisecond is a thousandth of a second. The nanosecond process is 1,000,000 times faster. Briefly explain two breakthroughs in the history of computing.

characteristics of special computers​

Answers

Speed, Accuracy, Diligence, Versatility, Reliability, and Memory!

the document area is where you save your file true or false

Answers

Answer:

A few popular places to save files are under “desktop” or “documents" and then in a specific folder. If you saved the file to your desktop, you do not need to go through finder to access it. You can simply minimize all your windows, and click on it there. Double click on the file and you're ready to open it.

Explanation: TRUE. A.

what is the internet revolution?

Answers

The answer is B.
Hope this helps.

Answer:B

Explanation:

rearrange the following procedures in there proper order. use numbers (1-8) to indicate their order of precedence.
.___________crimp
.___________strip cable end
.___________test
.___________untwist wire ends
.___________trim wires to size
.___________check
.___________arrange wires
.___________attach connector​

Answers

Answer:

6 - crimp

1 - strip cable end

8 - test

2 - untwist wire ends

4 - trim wires to size

7 - check

3 - arrange wires

5 - attach connector​

Explanation:

Step 1. Strip cable by inserting into the stripping tool. Rotate the cable in a smooth and even motion to create a clean cut and pull away towards the end of the wire to remove the sheathing.

Step 2. Untwist wire ends. Separate the twisted wires and straighten them out to easily sort in the right order.

Step 3. Arrange wires. Put the wires in the correct order so they can be properly crimped.

Step 4. Trim wires to size. Use the cutting section of the crimping tool to cut them into an even line.

Step 5. Attach connector. Insert the connector so that each of the small wires fits into the small grooves in the connector.

Step 6. Crimp. Insert the connector in the crimping tool. Squeeze the handles to crimp the connector and secure the wires.

Step 7. Check. Take the connector our of the tool and look at the pins to see that they're all pushed down.

Step 8. Test. Lightly tug at the connector to make sure it's attached to the cable.

Lewis wrote an informational academic paper about deer. He rereads his work and is starting to revise for academic voice.

Which sentence needs to be revised for an academic voice?

The buck, or male deer, is a noble animal that has great speed.
Deer enjoy corn, but they get most of their nutrition from grass.
Some people think they can tame deer, but I just don’t buy it.
Deer tend to be extremely nervous and dash away when startled.

Answers

Answer: C. Some people think they can tame deer, but I just don’t buy it.

Answer:

The answer is C

Explanation:

Hope this helped! :)

What are the chances of a baby zombie to spawn in full golden armor in MC? ​

Answers

Answer:

Baby Zombies can spawn naturally in the Overworld, but they only have a 5% chance to spawn. The player can also spawn one with a Zombie Spawn Egg. Baby Zombies can also be found riding a Chicken, creating a Chicken Jockey.

Explanation:

It is very unlikely for a baby zombie to appear wearing shiny golden armor.

Why is this so?

It is not common for a zombie to appear with armor, and it is even rarer for a baby zombie to wear a full set of golden armor.

The chance of this event happening is different for each version and if any changes have been made to the game. However, in the regular MC with no changes, the chances are usually low.

Learn more about MC

https://brainly.com/question/20307830

#SPJ2

Which group on the Note Master tab contains the command to add footers to the notes pages?

Answers

Answer:

Place Holders

Explanation:

Which of the following statements describe encryption? Check all of the boxes that apply.

It turns data into cipher text.

It makes data unreadable without a decryption key.

It makes using a computer difficult.

It helps secure data.

It shares files with other computers.

Answers

Answer:

It turns data into cipher text, It makes data unreadable without a decryption key, It helps secure data.

Explanation:

I hope this helps

Answer:
A)

B)

D)

Explanation:

Edge 2022

The process of redefining the functionality of a built-in operator, such as , -, and *, to operate on programmer-defined objects is called operator _____. a. overriding b. overloading c. initializing d. testing

Answers

It should be noted that the process of redefining the functionality of a built-in operator to operate is known as operator overloading.

Operator overloading simply means polymorphism. It's a manner in which the operating system allows the same operator name to be used for different operations.

Operator overloading allows the operator symbols to be bound to more than one implementation. It's vital in redefining the functionality of a built-in operator to operate on programmer-defined objects.

Read related link on:

https://brainly.com/question/25487186

Need help with these plss correct answers
Explain the difference between linear and non-linear motion. What are examples of each kind of motion?

Imagine that an animated film is going to show a character who, although frightened, climbs a narrow mountain trail. What is one of the 12 principles of animation that you learned about in this unit that the animator might want to use in this scene?

Describe how you would use the principle of “staging” in a scene in an animated film that shows a triumphant moment in a soccer game played in a large stadium.

Describe a situation where an animator might choose to intentionally violate the principle of “slow in and slow out.”

Imagine that you had been given the task of animating a crab walking along the seashore. How would you use the animation principle of secondary action to make the scene appear more realistic?

Answers

Answer: The only thing i could find was this I hope this helps you out

Timing and Spacing: The number of frames between two poses, and how those individual frames are placed.

Squash and Stretch: The flexibility of objects to exaggerate or add appeal to a movement.

Anticipation: The setup for an action to happen.

Ease In and Ease Out: The time for acceleration and deceleration of movement.

Follow Through and Overlapping Action: The idea that separate parts of the body will continue moving after a character or object comes to a full stop, and the idea that parts of the body will move at different times.

Arcs: The principle that smooths animation and moves action in a realistic way.

Exaggeration: The pushing of movement further to add more appeal to an action.

Solid Drawing: The accuracy of volume, weight, balance, and anatomy.

Appeal: The relatability (or charisma) of a character.

Straight Ahead Action and Pose to Pose: The spontaneous and linear approach to creating an action using many in-between poses along with the main poses, and the more methodical approach to creating an action using only a few poses.

Secondary Action: The actions that emphasize or support the main action of the animation.

Staging: The setting up of the scene, from placement of characters to the background and foreground elements, to how the camera angle is set up, the lighting and shadows, and more.

Explanation:

Answer:

1. Linear motion is motion in a straight line. Non-linear motion is motion that is not in a straight line. For example when you move your pen in a line it is linear.

2. They might use something to show the mountain and show how big it is. Using effects like this can bring out certain parts and bring out what really is trying to be shown in a movie.

3. The camera angle of the soccer game and the follow with the ball being shown can give a staging looking for what is coming or what is important in that time.

4. You can use it to show how fast a car is going or to show where a person is at on a map in a 3rd person view

5. I would use Arcs because it smooths out the image or video to make whatever your trying to make look more realistic.

Backup software creates backups and prevents you from losing all your data, so would backup software be considered an application software or utility software?

A). application software

B). utility software

Answers

Answer:I also think it's b because it litterlottery says or a utility software so obviously a utility software WOULD be considered a utility software.

Explanation:

Option(B). Utility software is the correct answer.

Antivirus, backup software, file managers, and disk compression tools are examples of utility software. These programs evaluate and keep up computers. These programs are designed with an emphasis on how the OS functions, and they carry out tasks to make the machine run efficiently.

What is a Utility software?A computer's databases, directories, and files are all backed up using backup utility software. It frequently works by creating an exact clone of the entire disk. If data loss happens, the user might be able to recover the lost data using the computer's backup utility tool.All systems and applications on a computer system that keep it functional are referred to as utility software.The utility software on a computer consists of parts that help the operating system to organize, maintain, and manage its performance under all conditions.In addition to supporting the computer's architecture, this kind of software is distinct from application software, which carries out tasks for the user.Utility software may need the consent of a user with administrative rights on the computer before executing its functions or being replaced.An operating system and a collection of utility apps are often installed when manufacturers create a computer.Although the user has the option to replace or install other utility apps, this utility software is generally seen as a part of the operating system. A computer's databases, directories, and files are all backed up using backup utility software.Often, it functions by making an exact copy of the entire disk. Using the computer's backup utility program, the user may be able to retrieve lost data if it happens to them.



To know more click here-
https://brainly.com/question/2909686

#SPJ2

If a company gave you a free version of their software and encouraged you to try and improve it and share it with the only community, what kind of software would this be?

Answers

Answer:

Explanation:

crm

What are software applications?

Answers

Answer:

the first option is obviously the correct answer

Best sustainable practices for delivering digital technologies to clients

Answers

Answer:

Recommend the client spread out their data centers to distribute energy usage globally.

Explanation:

Have a great day!

The technology can be made sustainable by asking clients to spread the data centers and by sustainably incorporating the design.

What are sustainable practices?

Sustainable practices are the approach that uses technology with respect to the protection of the environment. The social, economic, and environmental balances are established when sustainable computational technologies are implemented.

This practice allows the client to spread the centers and applications globally on a large scale and can be accomplished by building the software once and should avoid redeveloping.

Therefore, to distribute the energy the data centers must be established.

Learn more about computational sustainability here:

https://brainly.com/question/26133975

#SPJ2

switches use resistors in series and parallel and can function well as digital inputs
to electronic control systems.
Select one:
O a. Proximity
O b. Smart
O C. Touch-sensitive
O d. Push button

Answers

Answer:

d push button bc it will cut all power when in off

1. A is printed at the bottom of each page.​

Answers

Answer:

b is also printed at both page

Explanation:

I need to do because c can also pri Ted at all side

hope its help you

please mark as brainliest

Choose the best option to answer each question. Which output device allows a user to create a copy of what is on the screen? printer speakers earphones display or monitor

Answers

Answer: printer

Explanation:

What device do e-learning applications usually use to help users with visual
impairment read digital content?

Answers

The answer is Screen Readers.

Create an 80x86 program that define an array of doubleword numbers then read two values, first one indicates how many actual numbers will be in the array, and an integer n. The program should display all of the numbers in the array that are greater than the number n.

Answers

The program requires user to read a specified number of values beyond a set limit from a given array. The program which performs this task is written in python 3 thus :

from random import randint

#import the randomint module

import random

#import the random module

double_list = [randint(11, 99) for p in range(0, 10)]

#randomly selects a list of 10 double integer values

def rand_num(lis, n_values , n):

#initialize a function named rand_num which takes in 3 parameters

filter = [val for val in lis if val > n]

#filters the variables to contain those only greater than the specified limit

arr_ = random.sample(filter, n_values)

#using the sample function, select the stated number of values from the filtered list

return arr_

#return the selected values

n_values = int(input('Enter number of values : '))

#prompts user for the length of array

n = int(input('Enter limit : '))

#prompts user for the limit of the values to be included in the array

print(rand_num(double_list, n_values, n))

#A sample run of the program is given and output attached.

Learn more :https://brainly.com/question/25434178

Other Questions
A freight train 22.5 miles per 60 miles to its destination how far from the destination will the train be in 2.5 hour How would you best describe the angle pair In agranulocytes, what happens to the cytoplasm as the cell ages? I need some help with this one I'm lost! The students became interested in investigating the properties of carbon dioxide gas at extreme pressures and temperatures. However, they noticed that the state diagram provided to them did not extend to such extreme conditions. Based on the provided state diagram, which of the following extreme pressures and temperatures is carbon dioxide gas most likely to exist as?A. 500 kPa and 1000B. 500 kPa and -1000C. 50,000 kPa and -1000D. Carbon dioxide cannot exist at extreme conditions. Choisissez from VHL Central After the Election of 1860, why did members of the U.S. Senate quickly form a compromise committee? The temprature at which a solid melts is the same as the temprature at which its luqid form solidifies.TRUE OR FALSE.PLS GUYS HELP ME! Plzzzz help meeee plzzzz Read the following passage from Mark Twain's "The War Prayer":[F]or our sakes who adore Thee, Lord, blast their hopes,blight their lives, protract their bitter pilgrimage, makeheavy their steps, water their way with their tears, stain thewhite snow with the blood of their wounded feet!Which rhetorical device is demonstrated in this passage?A) PolysyndetonB) Anaphora C) PolyptotonD) Asyndeton Consider the following incomplete deposit ticket: A deposit ticket. The amounts deposited were 782 dollars and 11 cents and 564 dollars and 64 cents. The subtotal was 1346 dollars and 75 cents. The total after cash received is 888 dollars and 18 cents. How much cash did Liz receive? Please select the best answer from the choices provided $458. 57 $670. 71 $323. 54 $1,805. 32. A cylinder contains helium gas with a volume of 2.60 L at 20 C and 768 mm Hg. If the balloon ascends to an altitude where the helium pressure is 614 mm Hg, what is the volume of gas? (Assume the temperature has not changed) a. 12.2b. 1.2c. 20.2d. 3.2 Barney woke up this morning and ate a donut and some orange juice. Then he had three slices of pizza for lunch. He had football practice after school and was late getting home, so he just grabbed a vanilla milkshake and fries with his friends and skipped dinner. What do you think happened the next day? Which sound device does theauthor use in the followinglines from the poem?Singing a song,In search of Eldorado.A. assonance (repeated vowel sounds)B. alliteration (repeated beginningsounds)C. repetition (repeated words)D. onomatopoeia (words that imitatesounds) Let be an angle in quadrant I such that sin +10 Find the exact values of sec 0 and tan 0. A $27 photo album costs $28.89 after sales tax is figured in. What is the sales tax percentage?Please answer the question FULLY if you dont know the answer then ask in the COMMENTS Step 2: Predict the Number of Nuclei at Each Half-Life0.5"Using the values from Step 1, predict the patternfor the decay of 100 atoms over the course of eighthalf-life cycles, Round to the nearest wholenumber of atoms. Record in the appropriateblanksTime- Half-Life Cycles, noInitialRadioactive Atoms(Predicted)100110.520.25A= 272530.125BB = 164.0.06256C = 950.03125D=460.015625D70.00781251E80.00390625EDONE) Intro An arithmetic sequence is given below.19, 14, 9, 4,...thWrite an explicit formula for the nterm an How can you express (15 + 30) as a multiple of a sum of whole numbers with no common factor?A. 2 x (7.5 + 15)B. 3 x (5 + 10)C. 5 x (3 + 6)D. 15 x (1 + 2) . Tay-Sachs disease is a human genetic condition where cells build up with large, complex, and undigested lipids. Which organelle must be malfunctioning (not working) in this condition