# What is the value of x if x = math.sqrt(4)

1.  2

2.  2.0

3.  (2, -2)

4.  (2.0, -2.0)

4

2.0

Explanation :
No Explanation available for this question

# What does math.sqrt(X, Y) do

1.  calculate the Xth root of Y

2.  calculate the Yth root of X

3.  error

4.  return a tuple with the square root of X and Y

4

error

Explanation :
No Explanation available for this question

# What will be the output of the following Python code import datetime d=datetime.date(2016,7,24) print(d)

1.  Error

2.  2017-07-24

3.  2017-7-24

4.  24-7-2017

4

2017-07-24

Explanation :
No Explanation available for this question

# What will be the output of the following Python code import datetime d=datetime.date(2017,06,18) print(d)

1.  Error

2.  2017-06-18

3.  18-06-2017

4.  06-18-2017

4

Error

Explanation :
No Explanation available for this question

# What will be the output of the following Python code if the system date is 18th August, 2016 tday=datetime.date.today() print(tday.month())

1.  August

2.  Aug

3.  08

4.  8

4

8

Explanation :
No Explanation available for this question

# What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday) import datetime tday=datetime.date.today() print(tday)

1.  18-06-2017

2.  06-18-2017

3.  2017-06-18

4.  Error

4

2017-06-18

Explanation :
No Explanation available for this question

# What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday) tday=datetime.date.today() print(tday.weekday())

1.  6

2.  1

3.  0

4.  7

4

6

Explanation :
No Explanation available for this question

# What will be the output of the following Python code if the system date is 21st June, 2017 (Wednesday) tday=datetime.date.today() print(tday.isoweekday())

1.  Wed

2.  Wednesday

3.  2

4.  3

4

3

Explanation :
No Explanation available for this question

# Point out the error (if any) in the code shown below if the system date is 18th June, 2017 tday=datetime.date.today() bday=datetime.date(2017,9,18) till_bday=bday-tday print(till_bday)

1.  3 months, 0:00:00

2.  90 days, 0:00:00

3.  3 months 2 days, 0:00:00

4.  92 days, 0:00:00

4

92 days, 0:00:00

Explanation :
No Explanation available for this question

1.  0,0

2.  0,1

3.  1,0

4.  1,1

4