0
3
2.3
none of the mentioned
range(3)
random.choice(range(0, 3))
random.shuffle(range(3))
random.select(range(3))
4
3.4
error
5
random.choice([3, 6])
random.randrange(3, 6)
3 + random.randrange(3)
3 + random.randrange(4)
1
(space)
,
KeyError: 1
do nothing, it is a placeholder for a function that is yet to be implemented
shuffle the elements of the list in-place
strings
lists
tuples
integers
[0.0, 1.0]
(0.0, 1.0]
(0.0, 1.0)
[0.0, 1.0)
sys.version
sys.version()
sys.version(0)
sys.version(1)
sys.platform
sys.path
sys.readline
sys.argv
print(sys)
print(dir.sys)
print(dir[sys])
print(dir(sys))
A computer language
A step by step procedure for solving a problem
A branch of mathematics
None of the above
Compiler
Debugger
Editor
An operation code
An address
An operand
An algorithm
A decision table
A program
Interpreters
Both Compiler and Interpreter
Interpreter generates an object program from the source program
Interpreter is a kind of translator
Interpreter analysis each source statement every time it is to be executed
Logical errors
Syntax errors
Both Logical and Syntax errors
None of these
Semantic errors
logical errors