PHP Controls Structures and Functions Multiple Choice Questions 1 PDF Download

Learn php controls structures and functions multiple choice questions (MCQs), php test 1 for online course prep exams. Practice logical operators MCQs questions and answers on logical operators, ternary operator, php and looping, defining php functions test for online PHP xml courses distance learning.

Free php controls structures and functions quiz online, study guide has multiple choice question: which logical operator has higher precedence from following with choices !, &&, || and xor for associate degree, graduate degree and masters degree students for online eLearning preparation. Study to learn logical operators quiz questions with online learning MCQs for competitive exam preparation test.

MCQ on PHP Controls Structures and Functions Test 1 Quiz PDF Download

MCQ. Which logical operator has higher precedence from following?

  1. &&
  2. !
  3. ||
  4. xor

B

MCQ. TestExpression ? yesExperssion : noExpression is an example of

  1. Logical operator
  2. Assignment operator
  3. Ternary operator
  4. None of them

C

MCQ. Unbounded loops repeats until some condition becomes

  1. TRUE
  2. False
  3. Zero
  4. Both A and B

D

MCQ. A way of wrapping up a chunk of code and giving that chunk a name so that we can use it later in just one line of code is called as

  1. Class
  2. Constructor
  3. Function
  4. Branching

C

MCQ. Most complicated looping structure is

  1. While
  2. Do While
  3. For
  4. None of them

C