S Shiva Ram π Master β 30.44K Points π Web Technology Q. What will be the output of the following php code? <?php $num = "1"; $num1 = "2"; print $num+$num1; ?> (A) 3 (B) 1+2 (C) Error (D) 12 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) 3
R Rakesh Kumar π Hard Worker β 28.44K Points π Web Technology Q. Who is the father of PHP? (A) Rasmus Lerdorf (B) Willam Makepiece (C) Drek Kolkevi (D) List Barely ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) Rasmus Lerdorf
V Vijay Sangwan π Mover β 28.62K Points π Web Technology Q. If $a = 12 what will be returned when ($a == 12)? 5: 1 is executed? (A) 12 (B) 1 (C) Error (D) 5 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (D) 5
R Ram Sharma π Coach β 193.88K Points π Web Technology Q. Which of the looping statements is/are supported by PHP? i) for loop ii) while loop iii) do-while loop iv) foreach loop (A) i) and ii) (B) i), ii) and iii) (C) All of the above (D) None of the above ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (C) All of the above
V Vijay Sangwan π Mover β 28.62K Points π Web Technology Q. Which of the conditional statements is/are supported by PHP? i) if statements ii) if-else statements iii) if-elseif statements iv) switch statements (A) Only i) (B) i), ii) and iv) (C) ii), iii) and iv) (D) All of the above ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (D) All of the above
R Ram Sharma π Coach β 193.88K Points π Web Technology Q. Which of the below symbols is a newline character? (A) \r (B) \n (C) /n (D) /r ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) \n
P Priyanka Tomar π Tutor III β 35.28K Points π Web Technology Q. Which of the below statements is equivalent to $add += $add ? (A) $add = $add (B) $add = $add +$add (C) $add = $add + 1 (D) $add = $add + $add + 1 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) $add = $add +$add
V Vinay π Mover β 28.75K Points π Web Technology Q. We can use ___ to comment a single line? i) /? ii) // iii) # iv) /* */ (A) Only ii) (B) i), iii) and iv) (C) ii), iii) and iv) (D) Both ii) and iv) ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (C) ii), iii) and iv)
P Priyanka Tomar π Tutor III β 35.28K Points π Web Technology Q. Which version of PHP introduced Try/catch Exception? (A) PHP 4 (B) PHP 5 (C) PHP 5.3 (D) PHP 6 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) PHP 5
G Gopal Sharma π Tutor III β 38.32K Points π Web Technology Q. Which of the following is/are a PHP code editor? i) Notepad ii) Notepad++ iii) Adobe Dreamweaver iv) PDT (A) Only iv) (B) Only iii) (C) i), ii) and iii) (D) All of the above ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) Only iii)