Lab #3 Quiz

Firstname: Lastname:
01. Which answer(s) express the meaning of this PHP statement?
          $x++; 
    A. this statement is invalid 
    B. increment the value of $x by 1
    C. $x = $x + 1;
    D. skip to the next statement
A B C D
02. Which answer(s) express the meaning of this PHP statement?
          $x += $y; 
    A. this statement is invalid 
    B. increment the value of $x by the value of $y 
    C. $x = $y 
    D. $x = $x + $y; 
A B C D
03. Which PHP condition statement correctly checks if $x is equal to 7 and 
    less than $y?
    A. ( ($x = 7) &&  ($x < $y) ) 
    B. ( ($x == 7) &&  ($x < $y) ) 
    C. ( ($x == 7) ||  ($x < $y) ) 
    D. ( $x == 7 && < $y ) 
A B C D
04. What is the frist rule of Fight Club? 
    A. You can sometimes talk about Fight Club
    B. You DO talk about Fight Club
    C. You do NOT talk about Fight Club
    D. You can tell your mom about Fight Club
A B C D