Data Types


  1. If $a represents an array with numeric indices in PHP, the first element accessed by ______________.











  1. 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].


  1. A password applies locally to an account.











  1. 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.



  1. On Unix, ‘mysql’ client writes a record of executed statements to a history file.











  1. 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.


  1. MySQL uses security based on ACL. What does it stand for?











  1. 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.



  1. The minimum value stored by signed TINYINT is _____________.











  1. 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.