Thursday, November 4, 2021

JNTUH B Tech Python Programming Previous Questions

  1. Write in brief about List in python. Write operations with suitable examples.
  2. Summarize various operators, built-in functions and standard library modules that deals  with Python’s numeric type.
  3. Explain about categorizing the standard types in python
  4. Write a Python script that prints all factors of a given number.
  5. Write in brief about Dictionary in python. Write operations with suitable examples.
  6. What is the difference between compiled and interpreted languages?
  7. What are membership operators? Give examples for usage.
  8. What is a dictionary in Python?
  9. Write a Python program to print all prime numbers less than 256.
  10. Write a Python program that interchanges the first and last characters of a given string.
  11. Give a comparison between lists, tuples, dictionaries and sets.
  12. Write a Python function that prints all factors of a given number.
  13. What are conditional and iterators in Python?
  14. Differentiate between lists and tuples in Python?
  15. Python type conversion and type casting?
  16. What are operators in Python? Describe specifically about identity membership operator?
  17. Explain input function, Give an example of lstrip( ) method, How to access values in a dictionary?
  18. What are 4 built-in numeric data types in Python? Explain.
  19. Describe Python jump statements with examples.
  20. Explain in detail about dictionaries in Python.
  21.  Discuss about tuples in Pyhton.
  22. What are the different loop control statements available in Python? Explain with suitable examples.
  23. Write a Python program that calculates number of seconds in a day
  24. Write a Python program to read a word and print the number of letters, vowels and percentage of vowels in the word using a dictionary.
  25. Write a for loop that prints numbers from 0 to 57, using range function.
  26. Write a Python statement that swaps values of two variables. (only one line statement)
  27. Write a Python statement that swaps values of two variables. (only one line statement)
  28. Write a Python program that prints multiplication table of a given number.
  29. What is a list in Python? How to create nested lists? Demonstrate how to create and print a 3-dimensional matrix with lists.
  30. Write a Python program that counts the number of occurrences of a letter in a string, using dictionaries.
  31. List different operators in Python with suitable examples
  32. Write a Python program to print all prime numbers less than 256.
  33. Write in brief about Set in python. Write operations with suitable examples.
  34. Give a note on each of the below Python language constructs:  quotes (single, double and triple) (ii) multiline statements (iii) indentation
  35. What are conditional and iterative statements in Python?
  36. Write a Python program that interchanges the first and last characters of a given string.


No comments:

Post a Comment