Questions :
Que.1 Which of the following DBMSs do not have a native PHP extension?
A) MySQL
B) IBM DB/2
C) PostgreSQL
D) Microsoft SQL Server
E) None of the above
Que.2 Which array function checks if the specified key exists in the array
A) array_key_exist()
B) array_key_exists()
C) array_keys_exists()
D) arrays_key_exists()
Que.3 Transactions are used to treat sets of SQL statements atomically.
A) True
B) False
Que.4 The ___________ function can be used to compare two strings using a case-insensitive binary algorithm
A) strcmp()
B) stricmp()
C) strcasecmp()
D) stristr()
E) None of the above
Que.5 fgets() is used to read a file one line at a time
A) True
B) False
Que.6 Which of the following functions do not return a timestamp?
A) time()
B) date()
C) strtotime()
D) localtime()
E) gmmktime()
Que.7 The ............. statement is used to delete a table.
A) DROP TABLE
B) DELETE TABLE
C) DEL TABLE
D) REMOVE TABLE
Que.8 flock() is used to unlock a file so that two or more people do not get access to it at the same time.
A) True
B) False
Que.9 Which of the following is not an SQL aggregate function?
A) AVG
B) SUM
C) MIN
D) MAX
E) CURRENT_DATE()
Que.10 In PHP in order to access MySQL database you will use:
A) mysqlconnect() function
B) mysql-connect() function
C) mysql_connect() function
D) sql_connect() function
Answers :
Que.1 E, Que.2 B, Que.3 A, Que.4 C, Que.5 A, Que.6 B, Que.7 A, Que.8 B, Que.9 E, Que.10 C
Want more Questions CLICK THE LINKS BELOW :
PHP Multiple choice questions and answers-1
PHP Multiple choice questions and answers-2
PHP Multiple choice questions and answers-3
PHP Multiple choice questions and answers-4
PHP Multiple choice questions-5
PHP Multiple choice questions and answers-6
PHP Multiple choice questions and answers-7
PHP Multiple choice questions and answers-8
PHP Multiple choice questions and answers-9
PHP Multiple choice questions and answers-10
PHP Multiple choice Questions and answers-11
PHP Multiple choice Questions and answers-12
PHP Multiple choice questions and answers-13
PHP Multiple choice questions and answers-14
0 comments:
Post a Comment