100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
aries php midterm $5.88
Add to cart

Other

aries php midterm

 317 views  0 purchase
  • Course
  • Institution

This is a very tough test. these answers make sure that you get at least a sufficient

Preview 1 out of 3  pages

  • March 11, 2015
  • 3
  • 2014/2015
  • Other
  • Unknown
avatar-seller
Exam Bank: PHP Essentials Exam: Midterm Units 1-5: PHP Essentials # of Question: 15



1
Which of the following statements is/are true?
Arrays use elements and indexes to organize information.
An index can be the same in an array provided the element is different.
An Array index starts with 0 and ends with the total-1 number.
A and C
All of the above

2. Which of the following options can comment text in a PHP script?
Double-slashes
Double-star
Hash sign
A and C
All of the above

3. Which of the following statements is/are true?
$_SERVER["HTTP_USER_AGENT"] returns the IP address of the end user
$_SERVER['REMOTE_ADDR'] returns the name of the browser being used by the end user
$_SERVER["HTTP_REFERER"] returns the referrer URL
A and B
All of the above

4. Which of the following statements is/are true?
POST method has no limit on the amount of information that can be transferred.
GET method has no limit on the amount of information that can be transferred.
A Webpage using GET can be bookmarked.
A and C
All of the above

5. Which of the following options will print Hello Susan Smith, if the variables are declared
as:

$name = "Susan "; $surname = "Smith";

echo "Hello $name $surname";
echo 'Hello $name $surname';
print 'Hello $name $surname';
B and C
All of the above




6
Which of the following options reflects the correct declaration of a constant?
$"NAME" = "SUSAN SMITH"

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller gunzo. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $5.88. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

53068 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$5.88
  • (0)
Add to cart
Added