The Joy Of Computing Using Python Week 11 Assignment Answers | NPTEL Week 11 Quiz Assignment | NPTEL Assignment Solutions

NPTEL The Joy Of Computing Using Python Week 11 Quiz Assignment | NPTEL Swayam Assignment Answers


the joy of computing using python week 11 assignment answers



Join Us On Telegram

     ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡

telegram


Join Us On Youtube

     ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡ðŸ‘‡
youtube


MCQs (multiple choice questions) Nptel Week 11 Quiz Answers:


Q.1: State True or False

We can get any element using CSS tag in seleium? (If CSS is applicable). Options are:

(a) True
(b) False

Answer is: (a) True



Q.2: We can use the same web drivers for different browsers. Options are:

(a) True
(b) False

Answer  is: (b) False



Q.3: Which of the following method can be used to print the calendar of month march, 2022? Options are:

(a) calendar.month(2022, 3)
(b) calendar.month(3, 2022)
(c) calendar(3,2022)
(d) calendar(2022, 3)


Answer is: (a) calendar.month(2022, 3)


Q.4: Which method will allow us to see the current date and time using datetime? Options are:

(a) current()
(b) now()
(c) today()
(d) time()


Answer is: (b) now()



Q.5: Which statement will return the calendar for a whole year? Options are:

(a) calendar.month(year)
(b) calendar(year)
(c) calendar.prcal(year)
(d) calendar.year(year)


Answer is: (c) calendar.prcal(year)



Q.6: Which of the following method is used to fetch an element by its class name? Options are:

(a) get_element_by_class_name
(b) fetch_element_by_class_name
(c) find_element_by_class_name
(d) return_element_by_class_name


Answer is: (a) get_element_by_class_name



Q.7: Which library allows us to work with timezones in python? Options are:

(a) timezone
(b) pythontz
(c) pytz
(d) pythontimezone


Answer is: (c) pytz



Q.8: which of the following functions can be used to find the coordinated universal time. Options are:

(a) datetime.datetime.utcnow()
(b) datetime.utc()
(c) datetime.utcnow()
(d) datetime.utc()


Answer is: (a) datetime.datetime.utcnow()



Q.9: By which statement can we come out of the loop? Options are:

(a) continue
(b) leave
(c) catch
(d) break

Answer is: (d) break



Q.10: Which of the following will convert a string ‘s’ containing numbers into an integer? Options are:

(a) str(s) 
(b) float(s)
(c) int(s)
(d) None of the above


Answer is: (c) int(s)



If you are facing any queries regarding this assignment solutions, then please drop comment in comment section.

Post a Comment

0 Comments