Cookies MCQs Quiz Online PDF Download

Learn cookies MCQs online, php test for e-learning degree online courses, career test prep. Practice working with cookies and sessions multiple choice questions (MCQs), cookies quiz questions and answers, simple session code, home grown alternatives, cookies tutorials for online PHP developer courses distance learning.

Study bachelors and masters degree courses, online computer science degree programs MCQs: in php, cookies are set by using the with options setcookie ( ) function , set ( ) function , cookie_set ( ) function and none of them for online information technology degree preparation with online distance learning exam questions. Free skills assessment test is for online learning cookies quiz questions with MCQs, exam preparation questions and answers.

MCQs on Cookies Quiz PDF Download

MCQ: In PHP, cookies are set by using the

  1. setcookie ( ) function
  2. set ( ) function
  3. cookie_set ( ) function
  4. None of them

A

MCQ: Name, value, expire, patrh, httponly, domain, secure all of these are arguments of

  1. session ( ) function
  2. setcookie ( ) function
  3. reset_cookie ( ) function
  4. None of them

B

MCQ: Secure ( ) argument in setcookie function returns result

  1. In integer form
  2. In string form
  3. In boolean form
  4. None of them

C

MCQ: In PHP4.1 and later versions, cookies name/value pair are added to the

  1. Superglobal array
  2. $_COOKIE
  3. Global function
  4. Both A and B

D