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..............
[Thursday, February 21, 2008
|
3
comments
]
Popular Posts
- php questions
- some php questions
- How to create a plugin in elgg.
- php Questions
- Mysql query for searching a value, add weightage on the number of occurances and sort based on the weight-age
- Contact Me
- solving the packaging problem in PHP
- How to add or remove WWW on URLs using htaccess.
- php questions
- Inserting nodes into xml files using XML DOM in PHP .
3 comments
q 4:
instanceof, type-hinting
No!
q4:
===, is_a
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.