MySQL Database Operations


  1. How is the output from PHP generated?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The interpreter switches between code mode back and text mode when it sees another special tag which signals the end of the code. This enables the mix of static text with dynamically generated results.


  1. The PHP interpreter switches mode continuously.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    As soon as the PHP interpreter comes across a special opening tag it switches from ‘text copy’ mode to ‘PHP code’ mode. It starts interpreting the file as PHP code to be executed.



  1. The basic operation of PHP is to interpret a script.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The elementary operation of PHP is interpreting a script in order to produce a web page. This is sent to a client. A PHP script generally contains a mix of HTML and executable code


  1. Which of these is not optional?
    SELECT select_list FROM table_list WHERE row_constraint GROUP BY grouping_columns;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Given above was a basic syntax of the SELECT statement. Everything in the syntax is optional except the ‘select_list’ option. All the others are free to be omitted, and will work fine.



  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.