MySQL Connectors and APIs


  1. For a heavily used program, which of these languages should be preferred?











  1. 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.


  1. Compiled programs execute faster than interpreted scripts.











  1. 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.



  1. The CGI.pm module for website development is a part of _____________.











  1. 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.


  1. Among the following, for which language is image processing least simple?











  1. 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.



  1. Which of these is the most general purpose language?











  1. 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.