1. Question: 
    <?php
       echo "Port 80's default service is: ".getservbyport(80, "tcp");
    ?>
    The code returns the following:

    A
    Port 80's default service is:www

    B
    Port 80's default service is: 80, tcp

    C
    Port 80's default service is: 80, Port

    D
    Port 80's default service is: getservbyport(80, "tcp").

    Note: Not available
    1. Report
  2. Question: What will be the output of the following? <?php    $http=fsockopen("www.example.com",80);    $req="GET / HTTP/1.1\r\n";    $req.="Host:www.example.com\r\n";    $req.="Connection: Close\r\n\r\n";   fputs($http,$req);     while(!feof($http)){       echo fgets($http,1024);    } fclose($http);   ?>

    A
    HTTP/1.0 302 Moved Temporarily Location:http://www.iana.org/domains/example/ Server: BigIP Content-Length: 0 X-Cache: MISS from proxy1.apcbd.com X-Cache-Lookup: MISS from proxy1.apcbd.com:3128 Via: 1.0 proxy1.apcbd.com:3128 (squid/2.7.STABLE6) Connection: close

    B
    HTTP/1.0 302 Moved Temporarily Location: http://www.iana.org/domains/example/ Server: BigIP Content-Length: 0 X-Cache: MISS from proxy1.apcbd.com X-Cache-Lookup: MISS from proxy1.apcbd.com(squid/2.7.STABLE6) Connection: close

    C
    Server: BigIP Content-Length: 0 X-Cache: MISS from proxy1.apcbd.com X-Cache-Lookup: MISS from proxy1.apcbd.com:3128 Via: 1.0 proxy1.apcbd.com:3128 (squid/2.7.STABLE6) Connection: close

    D
    HTTP/1.0 302 Moved Temporarily Location: http://www.iana.org/domains/example/ Server: BigIP Content-Length: 0 X-Cache: MISS from proxy1.apcbd.com X-Cache-Lookup: MISS from proxy1.apcbd.com:3128 Via: 1.0 proxy1.apcbd.com:3128 (squid/2.7.STABLE6)

    Note: Not available
    1. Report
  3. Question: MTA stands for -

    A
    Mail Transfer Agent

    B
    Mail Target Agent

    C
    Mail Transfer Attribute

    D
    Mail Target Attribute

    Note: Not available
    1. Report
  4. Question: What is the default value of smtp_port=integer directive?

    A
    NULL

    B
    25

    C
    localhost

    D
    The default sendmail path

    Note: Not available
    1. Report
  5. Question: How to view all tables in mysql?

    A
    view tables

    B
    show tables

    C
    select tables

    D
    atlar tables

    Note: Not available
    1. Report
  6. Question: How to show structure of one tabels

    A
     Describe database name tables name


    B
     Alter database name tables name


    C
    Show database name tables name


    D
     None of the above

    Note: Not available
    1. Report
  7. Question: Which directive determines how the session information will be stored?

    A
    session.save_path

    B
    session.save_handler

    C
    session.auto_start

    D
    session.name

    Note: Not available
    1. Report
  8. Question: Which is the correct prototype of session.save_handler directive?

    A
    session.save_handler = files|mm|sqlite|user

    B
    session.save_handler = files/mm/sqlite/user

    C
    session.save_handler = files\mm\sqlite\user

    D
    session.save_handler = files_mm_sqlite_user

    Note: Not available
    1. Report
  9. Question: Which directive determines the session cookie's period of validity?

    A
    session.cookie_path

    B
    session.cookie_domain

    C
    session.cookie_lifetime

    D
    session.use_cookies

    Note: Not available
    1. Report
  10. Question: Which are database type categories?

    A
    Date & time

    B
    numeric

    C
    string

    D
    integer

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd