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)

Java Script C15 Question 1 (1 point) Which property of the location

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)

object can be used to retrieve the query string from the URL?

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)

Question 1 options: search query params options Save Question 2 (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 property of the location object can be used to retrieve the

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)

complete URL? Question 2 options: path host hostname href Save Question 3

Which of the following is not a method of the history object?

Question 5 options:

replace()

back()

forward()

go()

Save

Question 6 (1 point)

(1 point) The reload() method of the location object has an optional

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)

force parameter. If its set to true, the browser Question 3 options:

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)

loads the page from the client loads the page from cache memory

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)

loads the page from the server doesnt reload the page Save Question

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!