Skip to main content

Posts

Showing posts from February, 2009

MYSQL Interview Questions

How can swap same feilds data using Mysql ? Table Name Color ID | Color -------------------- 1 Black 2 Whilte 3 Whilte 4 Black We can swap feilds data using following query. update `test` as i , test as c set i.color='black',c.color = 'white' where i.color='white' and c.color='black' What is MYSQL ? MySQL is an open source relational database management system (RDBMS) which uses Structured Query Language (SQL). MYSQL is the most popular language that is available for both Linux and Windows operating system.

MYSQL Interview Questions

How can swap same feilds data using Mysql ? Table Name Color ID | Color -------------------- 1 Black 2 Whilte 3 Whilte 4 Black We can swap feilds data using following query. update `test` as i , test as c set i.color='black',c.color = 'white' where i.color='white' and c.color='black' What is MYSQL ? MySQL is an open source relational database management system (RDBMS) which uses Structured Query Language (SQL). MYSQL is the most popular language that is available for both Linux and Windows operating system.

PHP Interview Questions

What are the difference between require_once and include, include_once? require_once(), include_once() both the functions include script once in file even it include many times using *_once function. require() and include() function provide facility to include file many times in script file. What is the difference between mysql_fetch_object & mysql_fetch_array? There is only difference between mysql_fetch_object() and mysql_fetch_array(). mysql_fetch_object() : it is return an object. mysql_fetch_array() : it is return an Array. In mysql_fetch_object() you can access the data by the field names whereas in mysql_fetch_array() you can access data by it's offsets. Who is the father of PHP ? Rasmus Lerdorf is know as a father of PHP. What is PHP ? PHP Hypertext Preprocessor is An open source server side scripting language/programming language used to create dynamic web pages that allows web developers to create dynamic pages that interacts with databases.

Flex Interview Questions

1) What is Flex? Flex is used to devleop Rich Internet Application (RIA) You can both desktop & web based applicaiton.It is markup language and object-oriented languages its many syntax match with flash action script. Flex Developers use typically five distinct phases to develoep Rich Internet Application. Design Configure Build Deploy Secure 2) How do i get Page URL and Query String ? We can use mx.core.Application.application.url (mx.core)package to work with current page URL. & query string. 3) Describe flex component file types ? There are following file types we can use in flex. extension .mxml - a component implemented as an MXML file. extension .as - a component implemented as an ActionScript class. extension .swc - a SWC file contains components in a packge. 4) Difference between target & currentTarget ? target : This property is set by the dispatchEvent() method. You cannot change this to a different object. currentTarget : This property is set by component instan