Question: 1. How can you use PHP to redirect the browser to another page? 2. Which one of the following can be used to instantiate an

1. How can you use PHP to redirect the browser to another page?

2. Which one of the following can be used to instantiate an object in PHP assuming the class named foo exists?

$obj = new $foo;

$obj = new foo;

$obj = new foo();

obj = new foo();

3.

In html, you can embed one form within another form.

a. True

b. False

4.

To make your class part of a particular namespace, which key word do you use?

namespace

use

include

package

5. What additional attribute needs to be include in your html

tag so a file can be uploaded?

csv

uploaded

file

enctype

6. In mysql, an index can speed up a SELECT statement?

a. True

b. False

7. PHP supports overwriting parent functions.

a. True

b. False

8. Explain the difference between the =, ==, and === operators in PHP.

9. What is mysqldump?

An executable that releases memory consumed by mysql.

An executable that archives the mysql data blob to save disk space.

An executable that creates a backup of a mysql database.

The uninstaller for mysql.

10. What 3 digit number is used with the chmod command to set file permissions to: owner=read/write group=read everyone=no access

11. In OOP, what keyword is used to make functions and properties accessible without needing an instantiation of the class.

private

extends

static

access

12. In the PHP code given below, what is/are the properties?

13.

echo "This is an example";

public $name;

class Example

function sample()

14. In mysql, an index can speed up an INSERT statement?

a. True

b. False

15. Suppose you have a php variable called $fileName that contains a full file name of a jpeg file. Write some code to read the jpeg file data and convert it into a base 64 string.

16. PHP can be run on Microsoft Windows IIS(Internet Information Server).

a. True

b. False

17. When using svn, what command needs to be executed to save local changes to the repository?

save

copy

upload

commit

18. An outer join will only return records that exist in both the left and right tables.

a. True

b. False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!