Python||Assignment 6(Quiz) Solution ||2020
Assignment 6(Quiz)
1.Give that the statement chr(ord(alpha) + i) returns the
character(alphabet or a special character) at the location i ahead than the alphabet alpha, eg, chr(ord(’a’)+1) returns
‘b’; what is the output of the following code?
Ans:-b
2.What does the following code do?
Ans:-c
3.What does the following code do?
Ans:-d
4.With n as input, the code below computes
Ans:-c
5.The following code
Ans:-d
6.The following code represents
Ans:-a
7.What is the output of print(int(3.79)+int(2.1))?
Ans:-b
8.The following code to its best, represents a scenario
Ans:-a
9.The following code to its best, represents a scenario
Ans:-c
10.The following code to its best, represents a scenario
Ans:-d.
Recheck Your Answers
Questions
|
Answer
|
1.
|
B
|
2.
|
C
|
3.
|
D
|
4.
|
C
|
5.
|
D
|
6.
|
A
|
7.
|
B
|
8.
|
A
|
9.
|
C
|
10.
|
D
|
WE DO NOT GUARANTEE THE SOLUTIONS PLEASE RECHECK IT FROM YOUR SIDE
Leave a Comment