Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

SIKKIM PROFESSIONAL UNIVERSITY

Course: Bachelor of Science (Information Technology)

Subject: Practical for Python Programming

Semester: 6

Marks: 100

Section A

(4 × 5 = 20)

Attempt any four the following

1. What is Python Programming Language?

2. What is Debugging?

3. What are Variables and Values?

4. What is Order of Operations?

5. What is terminating loops?

6. What is math module and functions in Python Math Module?

Section B

(8 × 10 = 80)

Attempt any eight the following

1. Explain Formal and natural language in detail.

2. Explain the types of operators that support Python.

3. Explain Parameters and Arguments, Variables and Parameters Are Local,


Stack Diagrams.

4. Briefly explain Boolean Functions.

5. Explain String methods and description of methods.

6. Explain the following:

a) Comparing two strings using == (equal to) operator


b) Comparing two strings using != (not equal to) operator
c) Comparing two strings using the sorted() method

7. Write a Python program to calculate the length of a string?

8. Explain the concept of Module in detail with examples.

9. Explain the dir ( ) Function in details.

10. Explain the differences between multithreading and multiprocessing?

You might also like