Python Test 10
Python Test 10
Python Test
Ho… / My cou… / PYTPOS… / Gen… / Python …
Back
Question 1
Flag question
Select one:
a. odeint
c. odepack
d. quad
Clear my choice
Question 2
Flag question
1 Mary
0 had
Choose...
2 lamb
0 Mary
1 had
2 a
Choose...
3 little
4 lamb
4 Mary
3 had
2 little Choose...
1 lamb
4 lamb
3 l
Choose...
1 Mary
Mary,had,a,little,lamb
Choose...
Question 3
Flag question
Select one:
a. linspace(-pi/2, 100, pi/2)
Clear my choice
Question 4
Flag question
Select one:
-7
1.333
-11
-7
1
-11
-7
1.3333
Clear my choice
Question 5
Flag question
Select one:
bary()
bar(coord_flip = True)
barh()
bar(flip = True)
Clear my choice
Question 6
Flag question
Select one:
Error
[‘abcabcab’]
None of them
‘abcabcab’
Clear my choice
Question 7
Flag question
Select one:
1
343
49
Clear my choice
Question 8
Flag question
list = [1,2,3,4,5,6,7,8,9,10]
l = mean(list[1::2])
print(l)
Select one:
6
6.0
5.0
Clear my choice
Question 9
Flag question
Select one:
closefig()
clf()
clr()
clear()
Clear my choice
Question 10
Flag question
Select one:
a. func()
b. fsolve()
c. roots()
d. arb()
Clear my choice
Question 11
Flag question
Select one:
a. Function doesn't have docstring
b. Returns x
d. Error
Clear my choice
Question 12
Flag question
Select one:
True
False
Question 13
Flag question
Select one:
a. The label of x-axis is set to “First label
Second label”
Question 14
Flag question
Select one:
Return an array of ones with the same
shape as a given array
None of them
Question 15
Flag question
Select one:
a. primes[::5]
b. primes[::13]
c. primes[::4]
d. primes[::6]
Question 16
Flag question
Select one:
a. real(p) , imag(p)
b. p.real(0),p.imag(0)
c. p.real , p.imag
d. p.real( ) , p.imag( )
Question 17
Flag question
Select one:
a. title(“#x^2-5x+6#”)
b. title(“$x^2-5x+6$”)
c. title(“x^2-5x+6”)
d. title(“x**2-5*x+6”)
Question 18
Flag question
Select one:
a. Error
b. set([1, 1, 2, 3, 3, 6,6,4])
c. set([1, 2, 3, 3, 6,6])
d. set([1, 2, 3, 6, 4])
Question 19
Flag question
Select one:
a. set([1, 1, 2, 3, 3, 5, 5, 8])
b. set([1, 2, 3, 3, 5, 5])
c. set([1, 2, 3, 5, 8])
d. Error
Question 20
Flag question
Elif A < 0
Choose...
A = -3; Choose...
if A> 0 Choose...
else Choose...
Quiz navigation
1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18
19 20