What is the average value of the following Python code snippet?
>>>grade1 = 80
>>>grade2 = 90
>>>average = (grade1 + grade2) / 2
85.0
85.1
95.0
95.1
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
The expression Int(x) implies that the variable x is converted to integer.
Solution |
2
Discuss
|
What are the values of the following Python expressions?
Solution |
3
Discuss
|
Which of the following is the truncation division operator?
Solution |
4
Discuss
|
Which one of these is floor division?
Solution |
5
Discuss
|
The following is displayed by a print function call. Select all of the function calls that result in this output.
Solution |
6
Discuss
|
What will be the value of the following Python expression?
Solution |
7
Discuss
|
Which of these in not a core data type?
Solution |
8
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
9
Discuss
|
The one’s complement of 110010101 is:
Solution |
10
Discuss
|
Mathematical operations can be performed on a string.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved