MySQL Database Operations
- How is the output from PHP generated?
-
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.
- The PHP interpreter switches mode continuously.
-
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.
- The basic operation of PHP is to interpret a script.
-
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
- Which of these is not optional?
SELECT select_list FROM table_list WHERE row_constraint GROUP BY grouping_columns;
-
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.
- What is the default path to Perl in Unix?
-
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.