Sail E0 Webinar

MCQs

Total Questions : 180 | Page 7 of 18 pages
Question 61. Cookies were originally designed for
  1.    Client-side programming
  2.    Server-side programming
  3.    Both Client-side & Server-side programming
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Server-side programming
Question 62. The Cookie manipulation is done using which property?
  1.    cookie
  2.    cookies
  3.    manipulate
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> cookie
Question 63. Which attribute is used to extend the lifetime of a cookie?
  1.    higher-age
  2.    increase-age
  3.    max-age
  4.    lifetime
 Discuss Question
Answer: Option C. -> max-age
Question 64. Which of the following explains Cookies nature?
  1.    Non Volatile
  2.    Volatile
  3.    Intransient
  4.    Transient
 Discuss Question
Answer: Option D. -> Transient
Question 65. Which of the following defines the Cookie visibility?
  1.    document Path
  2.    localStorage
  3.    sessionStorage
  4.    all of the mentioned
 Discuss Question
Answer: Option D. -> all of the mentioned
Question 66. Which of the following can be used to configure the scope of the Cookie visibility?
  1.    path
  2.    domain
  3.    both path and domain
  4.    none of the mentioned
 Discuss Question
Answer: Option D. -> none of the mentioned
Question 67. How can you set a Cookie visibility scope to localStorage?
  1.    /
  2.    %
  3.    *
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> /
Question 68. Which of the following is a boolean cookie attribute?
  1.    bool
  2.    secure
  3.    lookup
  4.    domain
 Discuss Question
Answer: Option B. -> secure
Question 69. Which of the following function is used as a consequence of not including semicolons, commas or whitespace in the Cookie value?
  1.    encodeURIComponent()
  2.    encodeURI()
  3.    encodeComponent()
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> encodeURIComponent()
Question 70. What is the constraint on the data per cookie?
  1.    2 KB
  2.    1 KB
  3.    4 KB
  4.    3 KB
 Discuss Question
Answer: Option C. -> 4 KB

Latest Videos

Latest Test Papers