What will be the value of the following Python expression?
4 + 3 % 5
4
7
2
0
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
| # | Quiz |
|---|---|
|
1
Discuss
|
What is the order of precedence in python? i) Parentheses |
|
2
Discuss
|
Given a function that does not return any value, What value is thrown by default when executed in shell.
Solution |
|
3
Discuss
|
The following is displayed by a print function call. Select all of the function calls that result in this output.
Solution |
|
4
Discuss
|
It is not possible for the two’s complement value to be equal to the original value in any case.
Solution |
|
5
Discuss
|
What is the average value of the following Python code snippet?
Solution |
|
6
Discuss
|
What is the return type of function id?
Solution |
|
7
Discuss
|
What will be the value of x in the following Python expression?
Solution |
|
8
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
|
9
Discuss
|
Evaluate the expression given below if A = 16 and B = 15.
Solution |
|
10
Discuss
|
What will be the output of the following Python code snippet?
Solution |
| # | Quiz |
Copyright © 2020 Inovatik - All rights reserved