Sail E0 Webinar

MCQs

Total Questions : 20 | Page 1 of 2 pages
Question 1. What is the full form of DNS?
  1.    Digital Name Systmem
  2.    Domain Name System
  3.    Domain Network System
  4.    Digital Network System
 Discuss Question
Answer: Option B. -> Domain Name System
Question 2. Which one of the following function is used to retrieve the MX records for the domain specified by hostname?
  1.    getmx()
  2.    retrieve_mxrr()
  3.    retrieve_mx()
  4.    getmxrr()
 Discuss Question
Answer: Option D. -> getmxrr()
Question 3. What is the default port number of HTTP’s?
  1.    80
  2.    70
  3.    90
  4.    100
 Discuss Question
Answer: Option A. -> 80
Question 4. Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?
  1.    dnsrr_get_record()
  2.    dns_get_record()
  3.    dns_record()
  4.    dnsrr_record()
 Discuss Question
Answer: Option B. -> dns_get_record()
Question 5. Which one of the following function checks for the existence of DNS records?
  1.    checkdnsr()
  2.    checkdns()
  3.    checkdnsa()
  4.    checkdnsrr()
 Discuss Question
Answer: Option D. -> checkdnsrr()
Question 6. Which one of the following statements can be used to establish port 80 connection with www.examians.com?
  1.    fsockopen(“www.examians.com”, 80);
  2.    fsockopen(80,”www.examians.com”);
  3.    sockopen(80,”www.examians.com”);
  4.    sockopen(“www.examians.com”, 80);
 Discuss Question
Answer: Option A. -> fsockopen(“www.examians.com”, 80);
Question 7. Which one of the following function returns the port number of a specified service?
  1.    getservername()
  2.    getserverbyname()
  3.    getservbyname()
  4.    getportname()
 Discuss Question
Answer: Option C. -> getservbyname()
Question 8. Which one of the following function is used to send a e-mail using PHP script?
  1.    mailrr()
  2.    mail_send()
  3.    mail()
  4.    send_mail()
 Discuss Question
Answer: Option C. -> mail()
Question 9. Which of the following statements is used to add an attachment to the mail?
  1.    $mimemail=>addAttachment(‘attachment.pdf’);
  2.    $mimemail->addAttachment(‘attachment.pdf’);
  3.    $mimemail=>attachment(‘attachment.pdf’);
  4.    $mimemail->attachment(‘attachment.pdf’);
 Discuss Question
Answer: Option B. -> $mimemail->addAttachment(‘attachment.pdf’);
Question 10. How many configuration directives pertinent to PHP’s mail function are available?
  1.    7
  2.    6
  3.    5
  4.    4
 Discuss Question
Answer: Option C. -> 5

Latest Videos

Latest Test Papers