MySQL Access Control and Security


  1. What is the option for specifying the executable name while compiling with gcc?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    When a C program is compiled with gcc, the option -o is issued in order to specify the name of the executable that is created after compilation. The default name given is ‘a.out’.


  1. The option necessary to compile a C program havin math functions is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    To compile a program written in the C language, it is compiled by issuing the option ‘-lm’. The examples of some math functions found in ‘math.h’ are floor(), sqrt(), pow(), log().



  1. The language in which image processing is least simple is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    It is not as easy to perform text processing and memory management in C than it is in languages like Perl and PHP. These capabilities tend to be heavily used in the web applications.


  1. The mysql client writes a record of executed statements to a history file on Unix.











  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. A password applies globally to an account.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    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.