Mysql miscellaneous


  1. Which of these is a read only variable?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The session only system variable ‘error_count’ is a read only variable that indicates the number of errors generated by the last statement that can generate errors. The others are writable.


  1. What is the default path to perl in Unix?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    All Perl scripts generally begin with a #! (shebang) line. A script is a file containing a sequence of commands. The Perl scripts are text files, which can be ceated using any text editor.



  1. What is the Perl DBI?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The Perl DBI is the Perl Database Interface. The work of the interface is to form a link between the application programming interface in C with all the other programming languages.


  1. What is the shebang line?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The Perl scripts are text files, which can be ceated using any text editor. All Perl scripts generally begin with a #! (shebang) line. A script is a file containing a sequence of commands.



  1. The line that is written at the top of the script to write a Perl script using CGI.pm is ___________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    In order to write a Perl script that uses the ‘CGI.pm’ module, a ‘use CGI’ statement is included near the beginning of the script that imports the function names of the module.