Friday 8 May 2015

PHP company
Que.1 . mysql_connect( ) does not take following parameter

A. database host
B. user ID
C. password
D. database name
                                                                                Ans : D

Que.2 Which of the following is not a session function?

A. sssion_decode
B. session_destroy
C. session_id
D. session_pw
                                                                              Ans : D
Que.3 Php supports all four different ways of delimiting. In this context identify the false statement

A. You can use any of the delimiting style
B. You can use different delimiting styles in same page
C. You can use any delimiting style but must use a single style consistently for a page
D. Variables declared in previous blocks are remenbered on later blocks too!
                                                                             Ans : C

Que.4 How many methods are available for the exception class?

a) 5
b) 6
c) 7
d) 8
                                                                             Ans : C

Que.5 Which of the following statements invoke the exception class?

a) throws new Exception();
b) throw new Exception();
c) new Exception();
d) new throws Exception();
                                                                            Ans : B

Que.6 Which one of the following PHP function is used to determine a file’s last access time?

a) fileltime()
b) filectime()
c) fileatime()
d) filetime()
                                                                            Ans : C
 
Que.7  Which function is useful when you want to output the executed command’s result?

a) out_cmm()
b) out_system()
c) cmm()
d) system()
                                                                           Ans : D

Que.8  The authenticationFile.txt, the file which stores username and password should be stored ___ the server document root.

a) Inside
b) Outside
c) Within
d) None of the above
                                                                         Ans : B
Que. 9  The authenticationFile.txt, the file which stores username and password should be stored ___ the server document root.

a) Inside
b) Outside
c) Within
d) None of the above
                                                                         Ans : B
Que.10 Which one of the following function is capable of reading a file into an array?

a) file()
b) arrfile()
c) arr_file()
d) file_arr()
                                                                        Ans : A

Want more Questions.. Click the links below :

 

0 comments:

Post a Comment

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube