Python interview questions .
PYTHON interview QUESTIONS
Python is among the most popular programming language today. Major organizations in the world build programs and applications using this object-oriented language. Here, you will come across some of the most frequently asked questions in Python job interviews in various fields. Our Python interview questions for experienced and freshers will help you in your interview preparation. Let us take a look at some of the most popular and significant Python programming interview questions and answers:
CHAPTER-1
REVIEW OF CLASS-XI
Questions based on python topics of CLASS-XI
: 1. What is case sensitivity of a language?
2. Write name of modes which are used by python interpreter.
3. Find valid identifier among the following:
(i) and
(ii) for US
iii) simple-interest
.
4. Write the type/name of token for the following:
that math module
i) 83.95 == (1
5. Which of the following operator has right to left associativity in python:
(1)% (H) and
(iv) >=
6. How many times the following loop will execute: for L in range(7,29,4):
if L%5==0: break
else:
print(L)
7. A string is declared as: S = "HELLO PROGRAMMER"
What will be the output of S.find("GRAM", 2, 15) 8. Given the list L-[25,8,61,80,54,17,11,99]
Write the output of print(L[-2:-7: -3]) 9. Write output for the following python code:
>>>K [5,7,8, [10,4), 11,2]
>>>print(len(K))
10. Write the output of the following python statements (Assume
already imported):
math.floor(-44.6) math.fabs(-67.8)


0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home