MySQL Connectors and APIs
- For a heavily used program, which of these languages should be preferred?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
C is compiled while Perl and PHP are interpreted. So C programs generally will run faster than Perl or PHP scripts. Therefore C should be the best choice for a heavily used program.
- Compiled programs execute faster than interpreted scripts.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
For interpreted languages used in web development, the performance is better when the interpreter is invoked as a module which is a part of the Web server itself. Compiler is faster generally.
- The CGI.pm module for website development is a part of _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Like C, Perl is also suitable for writing standalone programs. However, Perl is quite useful for Web site development. The CGI.pm module of Perl can be extensively used for it.
- Among the following, for which language is image processing least simple?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
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.
- Which of these is the most general purpose language?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
C is a general purpose language, so in principle it can be used for anything. C tends to be used more often for standalone programs rather than for Web programming in practice.