Questions
1. Write python code to print Let's learn Python
a) Print ('Let's learn Python')
b) print ("Let's learn Python")
c) print('Let\'s learn Python')
d) print ('Let"s learn Python')
2. Write python code to calculate gravitional_force F = G * M * m / r * r for the given constant G = 6.67 x (10**-11) ,Msun = 2.0 x (10**30), mEarth = 6.0 x (10 ** 24) and r = 1.5 x (10 ** 11)
a) gravitional_force = (G * M * m) / (r ** 2)
b) print ((G * M * m) / (r ** 2))
c) print(gravitional_force)
d) print ((G * M * m) / (r * r))
3. For the given price = 350, what will be the output for the given code:
a) 245
b) 245.0
c) 300
d) 300.0
4. What will be the input when the out put is 7777777722222, if the function code is as given below
a) '7','2'
b) 7,2
c) 72
d) 77777722222
5. Write comprehensive python function code for printing fibonocci numbers foth given number n = 10:
a)
b)
c)
d)
Answers
Answers
1. b
2. b, d
3. b
4. b
5. d
If you are very keen to test in python, try these
Python Quizzes
Python Quiz #1[Basics] [25]
https://forms.gle/CHZHzT9ZE2D824aA7
Python Quiz #2 [Arrays, Data Types][25]
https://forms.gle/9SjooxdDCV5Xokwk6
Python Quiz #3 [List, Tuple, Set][25]
https://forms.gle/kE8Qrs2woRrpdAXe7
Python Quiz #4 [Dictionary][25]
https://forms.gle/QSRjKTUn7uijQ37EA
Python Quiz #5 [Operators, Loops, Functions][25]
https://forms.gle/G45BzqhcVnuH7BL37
Python Quiz #6 [Classes and Objects][40]
https://forms.gle/T2RX4ZGG1R3RfU4cA
Python Quiz #7 [NumPy][35]
https://forms.gle/4qfTemp5mDU69CNc7
Python Quiz #8 [Pandas][25]
https://forms.gle/V1N4QGM9BvHLVSpk6
Python Quiz #9 [Matplotlib][25]
https://forms.gle/cuT32YCvmj1i14Pz9
Python Quiz #10 [scikit-learn][25]
https://forms.gle/DtYgrAYPWrNz82gt5
HTML Quiz
HTML Quiz #01 [Basics][60]
https://forms.gle/Nut78ZFwEsJw8YhB6
EXCEL Basics #1 [60]
EXCEL Pivot MCQ #2[25]
https://forms.gle/kJSgTqBZG1Ey99YW8
EXCEL Formatting MCQ #3[25]
https://forms.gle/By2SPEMg8mh9UGiS7
EXCEL Lookup+ MCQ #4
https://forms.gle/pFyNdrSPDzMVhEj38
Other Third Party Quiz Web Sites:
Other Third Party Quiz Web sites
https://realpython.com/quizzes/
https://pynative.com/python/quizzes/
https://www.geeksforgeeks.org/python-quizzes/
https://pythongeeks.org/python-quiz-test/
https://www.w3schools.com/python/python_quiz.asp
No comments:
Post a Comment