Python Fundamentals

If we overcome the rules of the programming language, we get....
Run Time Error
Syntax Error
Logical Error
None of the above
Which of the following is the valid variable name:
Global
99flag
Sum
An$wer
Which input statements are correct?
A=raw_input()
A=raw_input("Enter a number")
A=raw_imput(enter your name)
Which are correct arithmetical operations?
A=1*2
2=1+1
5+6=y
Seven = 3*4
Which are correct type conversions?
Int(7.0+0.1)
Str(1.2*3.4)
Float("77"+".0")
Str(9/0)
Which operations does not result in 8?
65//8
17%9
2**4
64**0.5
Which lines are commented?
"""This is a comment"""
#This is a comment
//this is a comment
'''This is a comment'''
The _______ data type allows only True / False values
Bool
Boolean
Boolean
None
If the value of a=20 and b=20, then a+=b will assign _____ to a
40
30
20
10
The _____operator is used to find out if division of two number yields any remainder
/
%
+
//
{"name":"Python Fundamentals", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"If we overcome the rules of the programming language, we get...., Which of the following is the valid variable name:, Which input statements are correct?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker