Data Types


  1. Arrays can have associative indices in PHP.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The PHP arrays can even have both numeric and associative elements. For example, $x[1] and $x[“large”] can both be the elements of the same array. $x can be an object, whose elements are accessed by the arrow ‘->’ operated.


  1. The operator used in PHP to access property of an object is ________________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    If $a represents an object, the properties it has can be accessed as $a->property-name. For instance, $a->white, $a->black, $a->blue, $a->red can be the properties of $a and accessed in this way.



  1. The maximum value that can be specified to the size of VARCHAR is _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The values in ‘VARCHAR’ columns are variable length strings. The length can be a value from 0 to 65,535. The effective maximum length of a VARCHAR is subject to the maximum row size.


  1. What is the minimum value stored by signed TINYINT?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    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.



  1. For InnoDB tables in mysqldump an online backup that takes no locks on tables can be performed by which option?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    For InnoDB tables it is possible to perform an online backup that takes no locks on tables using the option ‘–single-transaction’ to ‘mysqldump’. The ‘mysqldump’ can make backups.