Python Assessment
Name *
Email *
Quiz Questions
Q 1. Can return statement in python used to return multiple values *
1 point
Q 2. What is the need of >> if __name__ == "__main__": somemethod()
1 point
Clear selection
Q 3. Which is the correct operator for power(xy)?
1 point
Clear selection
Q 4. Which one of these is floor division?
1 point
Clear selection
Q 5.  Operators with the same precedence are evaluated in which manner?
1 point
Clear selection
Q 6.  The output of the expression is:  bin(29)
1 point
Clear selection
Q 7. What is the result of the expression if x=15 and y=12:
1 point
Clear selection
Q 8. What is the output of the snippet of code shown below? ['hello', 'morning'][bool('')]
1 point
Clear selection
Q 9. Which of the following Boolean expressions is not logically equivalent to the other three?
1 point
Clear selection
Q 10.  What is the output of the following? print('abcdefcdghcd'.split('cd', 2)
1 point
Clear selection
"Q11. What is the output of the following?print(""xyyzxyzxzxyy"".count('yy'))"
1 point
Clear selection
"Q12.  What is the output of the following code?a=[1,2,3,4]b=[sum(a[0:x+1]) for x in range(0,len(a))]print(b)"
1 point
Clear selection
Q13.  To open a file c:\scores.txt for reading, we use
1 point
Clear selection
Q14. What is returned by math.ceil(3.4)?
1 point
Clear selection
Q15. What is the value returned by math.floor(3.4)?
1 point
Clear selection
Q16.  What is the value returned by math.fact(6)?
1 point
Clear selection
Q17. What is math.factorial(4.0)?
1 point
Clear selection
Q18.  Which of these in not a core data type?
1 point
Clear selection
Q19. Which of the following is not a keyword?
1 point
Clear selection
Q20. Which of these about a set is not true?
1 point
Clear selection
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy