Which of the following results in a SyntaxError?
‘”Once upon a time…”, she said.’
“He said, ‘Yes!'”
‘3\’
”’That’s okay”’
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What is the value of the following expression?
Solution |
2
Discuss
|
Which one of the following has the same precedence level?
Solution |
3
Discuss
|
What is the value of the following expression?
Solution |
4
Discuss
|
Which is the correct operator for power(xy)?
Solution |
5
Discuss
|
Which of the following operators has its associativity from right to left?
Solution |
6
Discuss
|
Which of the following is the truncation division operator?
Solution |
7
Discuss
|
In python we do not specify types, it is directly interpreted by the compiler, so consider the following operation to be performed.
the objective is to make sure x has an integer value, select all that apply
Solution |
8
Discuss
|
The one’s complement of 110010101 is:
Solution |
9
Discuss
|
What is the answer to this expression, 22 % 3 is?
Solution |
10
Discuss
|
The following is displayed by a print function call. Select all of the function calls that result in this output.
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved