Question: Java Script C15 Question 1 (1 point) Which property of the location object can be used to retrieve the query string from the URL? Question
Java Script C15
Question 1 (1 point)

Which property of the location object can be used to retrieve the query string from the URL?
Question 1 options:
| search | |
| query | |
| params | |
| options |
Save
Question 2 (1 point)

Which property of the location object can be used to retrieve the complete URL?
Question 2 options:
| path | |
| host | |
| hostname | |
| href |
Save
Question 3 (1 point)

The reload() method of the location object has an optional force parameter. If its set to true, the browser
Question 3 options:
| loads the page from the client | |
| loads the page from cache memory | |
| loads the page from the server | |
| doesnt reload the page |
Save
Question 4 (1 point)

Which of the following statements loads a new page and overwrites the current history page?
Question 4 options:
| location.reload(); | |
| location.replace("http://wwww.murach.com"); | |
| history.replace("http://wwww.murach.com"); | |
| history.go("http://wwww.murach.com"); |
Save
Question 5 (1 point)

Which of the following is not a method of the history object?
Question 5 options:
| replace() | |
| back() | |
| forward() | |
| go() |
Save
Question 6 (1 point)

Which of the following statements goes back one step in the URL history?
Question 6 options:
| history.length = -1; | |
| history.go(1); | |
| history.back(); | |
| history.go("back"); |
Save
Question 7 (1 point)

Session cookies
Question 7 options:
| must not have a path | |
| are deleted when the browser is closed | |
| are always encrypted when sent to the web server | |
| are stored on the hard drive |
Save
Question 8 (1 point)

Which attribute of a cookie do you set to create a persistent cookie?
Question 8 options:
| max-age | |
| path | |
| domain | |
| secure |
Save
Question 9 (1 point)

The max-age attribute of a cookie is specified in
Question 9 options:
| days | |
| hours | |
| seconds | |
| milliseconds |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
