ExamVeda
Login
Home
81
What is the value of x if x = math.sqrt(4)?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
82
State whether true or false.
s = time.time()
t= time.time()
s == t
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
83
What is math.floor(0o10)?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
84
What will be the output of the following code:
import random
print(random.choice([1, 2, 3, 4]))
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
85
Which of the following functions can be used to find the coordinated universal time, assuming that the datetime module has already been imported?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
86
Which type of elements are accepted by random.shuffle()?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
87
What will be the output of the following Python function, assuming that the random library has already been included?
random.shuffle[1,2,24]
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
88
Which of the following will throw an error if used after the following Python code?
tday=datetime.date.today()
bday=datetime.date(2017,9,18)
t_day=bday-tday
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
89
What does os.close(f) do?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board