Home / CSE / PHP - CS :: PHP Networking

CSE :: PHP - CS

  1. What is the full form of DNS?

  2. A.

     Digital Network System

    B.

     Domain Network System

    C.

     Digital Name Systmem

    D.

     Domain Name System


  3. Which one of the following function checks for the existence of DNS records?

  4. A.

     checkdns()

    B.

     checkdnsr()

    C.

     checkdnsrr()

    D.

     checkdnsa()


  5. Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?

  6. A.

     dns_get_record()

    B.

     dns_record()

    C.

     dnsrr_get_record()

    D.

     dnsrr_record()


  7. Which one of the following function is used to retrieve the MX records for the domain specified by hostname?

  8. A.

     getmx()

    B.

     retrieve_mx()

    C.

     getmxrr()

    D.

     retrieve_mxrr()


  9. What is the default port number of HTTP’s?

  10. A.

     70

    B.

     80

    C.

     90

    D.

     100


  11. Which one of the following function returns the port number of a specified service?

  12. A.

     getportname()

    B.

     getservername()

    C.

     getserverbyname()

    D.

     getservbyname()


  13. Which one of the following statements can be used to establish port 80 connection with www.examveda.com?

  14. A.

     fsockopen(“www.examveda.com”, 80);

    B.

     sockopen(80,”www.examveda.com”);

    C.

     fsockopen(80,”www.examveda.com”);

    D.

     sockopen(“www.examveda.com”, 80);


  15. Which one of the following function is used to send a e-mail using PHP script?

  16. A.

     mail_send()

    B.

     send_mail()

    C.

     mailrr()

    D.

     mail()


  17. How many configuration directives pertinent to PHP’s mail function are available?

  18. A.

     4

    B.

     5

    C.

     6

    D.

     7


  19. Which of the following statements is used to add an attachment to the mail?

  20. A.

     $mimemail->attachment(‘attachment.pdf’);

    B.

     $mimemail=>attachment(‘attachment.pdf’);

    C.

     $mimemail->addAttachment(‘attachment.pdf’);

    D.

     $mimemail=>addAttachment(‘attachment.pdf’);