Sail E0 Webinar

MCQs

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

Latest Videos

Latest Test Papers