0% found this document useful (0 votes)
10 views2 pages

VIVA QUESTIONSmmm

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

VIVA QUESTIONSmmm

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

VIVA QUESTIONS

Computer Science – XII

1. What do you understand by Platform independence in python language?


2. Why is python called open-source programming language?
3. Who invented Python Programming Language?
4. What is Interactive mode of Python programming?
5. What is Script mode of Python programming?
6. What is an IDE?
7. What is a python module?
8. What are python tokens?
9. What are python Keywords?
10. What is an identifier?
11. What are the rules for framing an identifier?
12. Name Keywords that are Literals too.
13. Name Keywords that are operators.
14. Which operator among arithmetic operators as the highest precedence?
15. Among AND, OR which has higher precedence?
16 What are python comments? How many types of comments are there in python?
17. What is indentation in python?
18. What is dynamic typing in python?
19. What is the use of break statement in python?
20. What is the use of continue statement in python?
21. What is runtime error in python?
22. What are python exceptions?
23. Explain the range() function using an example.
24. Which operator is the membership operator?
25. Which operator is the identity operator?
26. What are python strings?
26. What is concatenation in strings?
27. What is string replication?
28. What is mutability in python objects? Give examples of mutable objects.
29. What is the difference between find() and index() methods in python strings?
30. What is the difference between partition() and split() methods in python strings?
31. What are escape characters in a python strings?
32. How many types of indexing is possible in python strings?
33. Can a python list have string as indexes?
34. What is the difference between append() and extend() methods in python list?
35. Which are the two methods associated with python tuples?
36. Why are python dictionaries called un-ordered?
37. Can two keys of a dictionary have same values?
38. Can a dictionary key have collection objects like list or a tuple as keys?
39. What is the difference between ceil() and floor() methods/
40 What is the use of random() method in python?
41. What are default parameters in a python function?
42. Ghat is the need for global keyword in a python function?
43. Can a python function return more than one values simultaneously?
44. What is the datatype of the returned object if a python function is returning more than one value?
45. What are positional parameters in python function?
46. Name the module that needs to be imported if binary files are to be handled in python.
47. What is the difference between seek() and tell() methods.
48. Name the methods that read and write binary objects in a file using pickle module.
49. What are csv files?
50. Name the csv file function that is used to write the data comprising of list of tuples.
51 Which library needs to be imported to allow python to interact with MySQL database?
52. What is the difference between execute() and executemany() methods in python?
53. Name the parameters used in connect() method in python?
54. What is the difference between fetchone() and fetchmany() methods?
55. What is the difference between read() and readlines() method in python text file handling?

You might also like