Sei sulla pagina 1di 2

Q1: Explain Python Virtual Machine.

Q2: Explain Frozen Binaries.

Q3: Calculate sum of two numbers using command line arguments.

Q4: Compare ‘C’ and Python.

Q5: Explain Membership operator with suitable example.

Q6: Explain ‘break’, ‘continue’ & ‘pass’ keywords with example.

Q7: Explain garbage collector in python.

Q8: Explain the features of Python List and explain any four list inbuilt methods with example.

Q9: What are the different ways to create 2D arrays in Python? Explain with suitable examples.

Q10: Demonstrate the suitable use of anonymous function with suitable example.

Q11: Write a Python program to find the Biggest and smallest elements in a list.

Q12: Explain dictionary with suitable example in python.

Q13: Explain position, default, keyword and variable length argument in python.

Q14: Justify python is platform independent.

Q15: WAP to perform linear search.

Q16: Consider the following string

S=Graphic Era Hill University

What will be the output of following code snippet?

i. print(s[-3:-1:1])

ii. print(s[-1:-3:-1])

iii. print(s[-3::])

iv. print(s[::-1])

v. print(s[::])

Potrebbero piacerti anche