Programming - PHP
You Are Here :: Home > Programming > PHP- General Questions
19.
Which of the following functions output text??
A.
echo()
B.
print()
C.
println()
D.
display()
Answer: Option A,B
Explanation:
20.
The inbuilt function to get the number of parameters passed is:?
A.
arg_num()
B.
func_args_count()
C.
func_num_args()
D.
None of the above
Answer: Option C
Explanation:
21.
Consider the following two statements:
I while (expr) statement
II while (expr): statement... endwhile;
Which of the following are true in context of the given statements??
A.
I is correct and II is wrong
B.
I is wrong and II is correct
C.
Both I & II are wrong
D.
Both I & II are correct
Answer: Option D
Explanation:
22.
Multiple select/load is possible with:?
A.
Checkbox
B.
Select
C.
File
D.
All of the above
Answer: Option B
Explanation:
23.
Which of the following statement is not correct for PHP??
A.
It is a server side scripting language
B.
A PHP file may contain text, html tags or scripts
C.
It can run on windows and Linux systems only
D.
It is compatible with most of the common servers used today
Answer: Option C
Explanation:
24.
Which of the following printing construct/function accpets multiple parameters??
A.
echo
B.
print
C.
printf
D.
All of the above
Answer: Option A
Explanation:
« prev
next »