Data Types
- If $a represents an array with numeric indices in PHP, the first element accessed by ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
If $a represents an array with numeric indices, its elements are accessed as $x[0], $x[1], and so on. In general terms, each element at the position i is accessed and used as $a[i – 1].
- A password applies locally to an account.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
In the MySQL privilege system, a password applies globally to an account. A password cannot be explicitly associated with a specific object such as a database, table, or routine.
- On Unix, ‘mysql’ client writes a record of executed statements to a history file.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
On Unix the mysql client writes a record of the executed statements to a history file. By default this file is named as ‘.mysql_history’. It is created in the home directory.
- MySQL uses security based on ACL. What does it stand for?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
MySQL uses security based on Access Control Lists (ACLs) for all connections, queries and other operations that users can attempt to perform. There is support for SSL encrypted connections.
- The minimum value stored by signed TINYINT is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
MySQL supports the SQL standard integer types INTEGER, or INT, and SMALLINT. As an extension to this standard, MySQL also supports the integer types TINYINT, MEDIUMINT and BIGINT.