O'Reilly logo

Learning PHP, MySQL, and JavaScript by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test Your Knowledge: Questions

Question 15-1

How are Boolean values handled differently by PHP and JavaScript?

Question 15-2

What character is used to define a JavaScript variable name?

Question 15-3

What is the difference between unary, binary, and ternary operators?

Question 15-4

What is the best way to force your own operator precedence?

Question 15-5

When would you use the === (identity) operator?

Question 15-6

What are the simplest two forms of expressions?

Question 15-7

Name the three conditional statement types.

Question 15-8

How do if and while statements interpret conditional expressions of different data types?

Question 15-9

Why is a for loop more powerful than a while loop?

Question 15-10

What is the purpose of the with statement?

See the section Chapter 15 Answers in Appendix A for the answers to these questions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required