| 3 comments ]

1 Unlike a database such as MySQL, SQLite columns are not explicitly typed. Instead, SQLite catagorizes data into which of the following catagories?

Answers: (choose 2)
textual
unicode
numeric
binary
constant

2 When working with a database, which of the following can be used to mitigate the possibility of exposing your database credientials to a malicious user?

Answers: (choose 3)
Moving all database credentials into a single file
Moving all database credentials outside of the document root
Restricting access to files not designed to be executed independently
Setting creditial information as system environment variables
Using PHP constants instead of variables to store credentials

3 Which from the following list is not an approrpiate use of an array?

Answers: (choose 1)
As a list
All of these uses are valid
As a Lookup Table
A Stack
As a hash table

4 In PHP 5 you can use the ______ operator to ensure that an object is of a particular type. You can also use _______ in the function declaration.

Answer...
instanceof, is_a
instanceof, type-hinting
type, instanceof
===, type-hinting
===, is_a

Please answer through the comments I will make it publish on blog..............

3 comments

nkhanchandani said... @ Sunday, April 27, 2008 at 4:32:00 PM GMT+1

q 4:
instanceof, type-hinting

Anonymous said... @ Monday, August 24, 2009 at 10:05:00 AM GMT+1

No!
q4:
===, is_a

sAm said... @ Tuesday, February 2, 2010 at 3:52:00 PM GMT

instanceof, type-hinting is perfectly right answer.

Post a Comment

Please put your comments here. your questions, your suggestions, also what went wrong with me.