Q11. What is a runtime error?

Ans: These errors only appears when you run the program. This is also known as exceptions.

 

Q12. What is semantic errors?

Ans: Catching such errors are not easy. Until and unless you test the output. It means your program will run without any issue. It will successfully complete. But when you see the result than only you can say that there is an issue e.g.  You want to add two numbers 2 and 3 and expected answer is 5, but program generate 6 (because instead of + sign, * has been used.). 

 

Q13. What is the difference between interpreter and compiler?

Ans: Interpreter convert high level language line by line but for compiler entire program will be translated in low level language.

Learn Python in Less than 8 Hours sitting at Home/@Desk

 

Q14. What do you mean by data type in Python?

Ans: This is a category of the data e.g. 23 is an int , 23.7 id a float and ‘Amit’ is a string type.

 

Q15. What is the variable in a python?

Ans: Its name to a value. You can refer a particular value using variable name like ‘Amit’ it is a value but will be referred using a variable called ‘name’

Why Dont you prepare for Python Certifications and Interview Questions with 250+ Questions and Answer : Check Here

Real Exam Number of Questions: 70 Questions
Real Exam Pass Score: 70%
Time Allotted: 90 minutes to complete exam