Comprehension Check ch1.docx

Comprehension Check ch1.docx - Comprehension Check Chapter...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Comprehension Check Chapter 1 1. What is the default extension that most Web servers use to process PHP scripts? a. .php 2. What do you use to separate multiple arguments that are passed to a function? b. a comma (,) 3. You create line comments in PHP code by adding to a line you want to use as a comment. (Choose all that apply.) c. # d. // 4. Block comments begin with /* and end with . a. */ 5. Which of the following is a valid variable name? c. $SalesOrder 6. You are not required to initialize a variable when you first declare it in PHP. False 7. Which is the correct syntax for declaring a variable and assigning it a string? a. $MyVariable = "Hello"; 8. Explain the concept of data types. 9. Explain the purpose of the NULL data type.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
It identifies variables being empty or not and useful to differentiate between the empty string and null values of databases. 10. A loosely typed programming language . a. does not require data types of variables to be declared 11. How many decimal places does an integer store?
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern