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
- MySQL stored procedure&triggers
- php questions
- Php Questions
- How we canmove into last changed position on info window close event On google map
- Pattern Matching in mysql
- MySQL INDEX
- MYSQL joins
- Jquery based dynamic adding and removal of html elements.
- securing a form with captcha
- Comparing a date with current date
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.