BPSC TRE – Python & Web Scripting Languages | Test 1

Questions 46-50 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 46

MCQ · Single Correct 1 mark

Which function sets a cookie to be sent along with the HTTP response headers in PHP?

Answers for question 46

Question 47

MCQ · Single Correct 1 mark

What is the superglobal array $_SERVER used for in PHP?

Answers for question 47

Question 48

MCQ · Single Correct 1 mark

How do comments start and end in multi-line PHP script blocks?

Answers for question 48

Question 49

MCQ · Single Correct 1 mark

What will isset($var) return in PHP if $var is declared and its value is set to null?

Answers for question 49

Question 50

MCQ · Single Correct 1 mark

Which HTTP request method is idempotent and safe according to standard REST web protocols?

Answers for question 50
Scroll to Top