Which HTTP status code indicates that a requested web page has been permanently moved to a new location?
- A.500
- B.302
- C.404
- D.301
Correct answer
Explanation
The correct answer is D, 301. A 301 reply means Moved Permanently: the page now lives at a new address and the browser or search engine should use that address from now on. HTTP status codes come in classes. Codes in the 200s mean success, the 300s mean redirection, the 400s mean the client made a mistake and the 500s mean the server failed. Because 301 is permanent, browsers remember it and search engines pass the old page's standing to the new address, which is why a website uses 301 when a web address changes for good. Option A is wrong because 500 is Internal Server Error, a fault on the server side. Option B is wrong because 302 is Found, a temporary redirect, so clients keep asking the old address. Option C is wrong because 404 is Not Found, which means no page exists at that address at all. Exam tip: 301 permanent redirect, 302 temporary redirect, 404 not found, 500 server error.
Practice Questions
View allWhich language uses the symbolic representation of machine codes needed to program a particular processor or processor family?
- A.Machine Language
- B.Assembly Language
- C.High-Level Language
- D.All of the above
Show answer
Assembly language replaces the binary machine codes of a processor with short symbols called mnemonics, such as MOV, ADD and JMP.
Read the full explanation →Which one of the following is the characteristic of Artificial Intelligence ?
- A.Replicates human decision making
- B.Stores relevant information
- C.Stores similar kind of data for a specific purpose
- D.Allows user to interact with media
Show answer
Artificial Intelligence is the ability of a machine to perform tasks that normally need human intelligence, such as reasoning, learning and taking decisions.
Read the full explanation →What is an interactive combination of text, graphics, video, audio and images termed as ?
- A.JPEG
- B.Multimedia
- C.AVA
- D.PNG
Show answer
Multimedia means using several forms of media, such as text, graphics, audio, video, images and animation, together, often in a way the user can interact with.
Read the full explanation →Which among the following is a malicious software?
- A.Hacking
- B.Password Cracking
- C.Trojan Horse
- D.Firewall
Show answer
A Trojan is a program that looks useful or harmless but secretly carries harmful code, so it is a piece of malicious software, or malware.
Read the full explanation →Which one of the following is not an application software?
- A.Spreadsheet
- B.AutoCAD
- C.MS PowerPoint
- D.Linker
Show answer
A linker is system software, a programming tool that joins compiled pieces of code into one program that can run; it does not do a task for the end user.
Read the full explanation →