Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1 Not yet answered Marked out of 1.00 Not flaggedFlag question Question

ID: 3730123 • Letter: Q

Question

Question 1
Not yet answered
Marked out of 1.00
Not flaggedFlag question
Question text
How can comments be implemented in PHP?

Select one:
a. // commented code to the end of the line
b. / commented code can be on multiple lines /
c. # commented code to the end of the line
d. All of the above
Question 2
Not yet answered
Marked out of 1.00
Not flaggedFlag question
Question text
What character concatenates strings in PHP?
a.  
b.  
c.  
d.RIGHT

Select one:
a. ;
b. &
c. *
d. .
Question 3
Not yet answered
Marked out of 1.00
Not flaggedFlag question
Question text
Which one is NOT a valid PHP comparison operator?

Select one:
a. !=
b. <>
c. !<
d. ===
Question 4
Not yet answered
Marked out of 1.00
Not flaggedFlag question
Question text
How do you write "Hello World" in PHP?

Select one:
a. Document.Write("Hello World");
b. echo “Hello World”;
c. “Hello World”
d. system.out.println(“Hello World”);

Explanation / Answer

1.   a. // commented code to the end of the line
2.   d. .
3.   c. !<
4.   b. echo “Hello World”;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote