Sunday, 13 October 2019

The Joy of Computing using Python: Assignment 11


1 point
1. The function isleap() in the calendar module in Python returns
 
 
 
 
1 point
2. What is the output of the following program?
   import calendar
   yy = 2017
   mm = 11
   print(calendar.month(yy, mm))
 
 
 
 
1 point
3. In the question above, if the user wants to display the calendar of the year 2017, then which of the following functions should he use?
 
 
 
 
1 point
4. What is the output of the code shown below if the system date is 18th June, 2017(Thursday)?
tday=datetime.date.today()
print(tday)
 
 
 
 
1 point
5. State True or False.
   Selenium is an open source tool which is used for automating the test cases carried out on web browsers.
 
 
1 point
6. State True or False
   Selenium is required if you want to use remote WebDriver.
 
 
1 point
7. Which of the following methods is used to locate an element in a webpage?
 
 
 
 
1 point
8. What is the use of xpath in selenium?
 
 
 
 
1 point
9. Which of the following is not a valid webdriver class?
 
 
 
 
1 point
10. Which of the following platforms does Selenium support?
 
 
 
 

3 comments:

  1. Thanks for posting this blog, I am very impressed with your blog and it is very useful for me and other. Please visit at Engineering Projects Select the country to see the available projects. Find out the least update engineering projects and idea at topengineeringcommunity.com Click here - https://www.topengineeringcommunity.com/engineeringprojects.html

    ReplyDelete
  2. Very good write-up. I certainly love this website. Thanks!
    DigitalawyHub.com

    ReplyDelete