0% found this document useful (0 votes)
6 views3 pages

Questionbank Pps

Uploaded by

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

Questionbank Pps

Uploaded by

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

1. Write the difference between Algorithm and Pseudocode.

2. Explain all method for adding element in List.


3. Define List Slicing.
4. Give python program ,flowchart , Pseudocode and Algorithm
a) area of a circle
b) Factorial of number with recursion and without recursion.
c) Add three number
d) Average of Three number
e) Swapping of two variable

f) print the reverse of a given integer number

5.Write Difference between List , Tuple and String .

6. What is String . Explain all method of String.

7. Explain all method of List and Tuple.

8. Write python program .

*
**
***
** * *

*
**
***
** * *

9. Describe all the Python Operator with example.

10. Write a pseudo code and program to print the reverse of a given integer
number
11. Write Python program to check if a given number is even or odd.

12. Difference between Append , extend and insert method in List .

13. Explain how to handle exceptions in Python with example .

14. Difference between Python with C Programming Language .

15. Prepare a C array and Python list that contain the same set of integers.
Describe how to access and modify elements in each data structure.
16.What is Array ? How to use multidimensional arrays in C.

17. Differentiate 1 dimensional and 2 dimensional array in C .

18.Write a C program that initializes and accesses elements of a 2D array


representing a matrix.

19. Write a Python function that takes a list of numbers and returns a new list
with each number squared.

20. Write a Python Program for checks if a number is positive, negative, or


zero.

21.Write a C Program for checks if a number is positive, negative, or zero.

22. Write a python func on for checks whether a given string is a palindrome.

23. Write python program to find factorial of number .

24. Write C program to find factorial of number.

25. Find output .

a) a = [18,27,21, 34, 54, 12] b) a = [18,27,21, 34, 54, 12]


a.insert(2, 10)
print(a) a.append(45)
print(a)
c) a=“hello”*6 f) a= [1,3,5,6,2]
print(a) a[3] =2 print(a)

g) a= [9, 8, 7, 6, 5, 4]
print ( a[1 : 4] )
print( a[:3])
print(a[2:3])

26. Write all the arithme c operator with example.

27. Write a python program to create a list and add all the items in a list.

28. Write a Python func on that takes a number as a parameter and check the
number is prime or not.

29. Write a Python program to handle a Zero Division Error exception when
dividing a number by zero.

30. Write a python program to swap two variables values with and without
using third variables

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy