10+ Bubble Sort Programs (Solved) in python -practice questions

Bubble Sort Programs for Practice Q1. Write a program to arrange the following list in ascending order using bubble sort. Original List = [23, 34, 54, 2, 12, 28] Output List = [2, 12, 23, 28, 34, 54] Q2. Write a program to arrange all alphabets of “csiplearninghub” into descending order using bubble sort. Q3. … Read more

Insertion Sort in Python class 11 with important examples

Insertion Sort in Python with example program What is Insertion Sort in Python? Insertion sort is simple sorting algorithm. It works in the same way as we (teachers) arranges answer sheets of students according to their roll number. This algorithms simply divides the list into two parts ie sorted (left side) and unsorted(right side). It … Read more

Sorting in Python class 11 Notes with important Questions

What is Sorting in Python ? Sorting means to arrange elements in increasing or decreasing order. Sorting algorithm tells us that how we are going to arrange elements in increasing or decreasing order. Output of sorting algorithm depends on the type of comparison operator used to arrange elements. The sorting algorithm takes the elements(numbers or … Read more

Bubble Sort in Python Class 11 Notes – Important Questions

Bubble Sort in Python What is Bubble Sort ? This is a very simple or basic algorithm to arrange elements in a particular order. This algorithm compares repeatedly the adjacent elements of list and swap them if they are not in order. This process of comparing adjacent elements continue until the complete list is sorted. … Read more

15+ Best Error Finding Questions (Solved) in Python

Table of Content: Python Error Finding Questions – Test 1 Python Error Finding Questions – Test 2 Python Error Finding Questions – Test 3 Python Error Finding Questions – Test 1 Q1. Find error(s) in the following code(if any) and rewrite code and underline each correction: x= int(“Enter value of x:”) for in range [0,10]: … Read more

CBSE Class 11 Comprehensive Notes of Strings in Python with Questions

What is String in Python? Strings are contiguous series of characters enclosed in single or double quotes. Python doesn’t have any separate data type for characters so they are represented as a single character string.  For eg:  >>> s_name = “Amit” # s_name is a variable storing a string.   >>>s = ‘a’  #String can also be enclosed in single  quotes … Read more

CBSE Class 11 Python Dictionary Comprehensive Notes with Practice Questions

What is Python Dictionary? A python dictionary is a collection of elements where each element is a combination of Key-Value pair. Each value/values is associated with a unique key. All the Key-Value pairs are enclosed in Curly braces. In other words we can say that ” Dictionaries are mutable, unordered collection of elements in the … Read more

CBSE Class 11 Python Dictionary Methods Comprehensive Notes with Practice Questions

Python Dictionary Methods: There are many methods of dictionary in python. Let’s do some of the important function with example. len( ) : This function returns the length of Dictionary means, it returns the total number of Key-Value pairs present in the dictionary. for example: A = {1 : “One”, 2 : “Two”, 3 : … Read more

3+ CBSE Free Download Solved Assignments of Python Loops

Table of Content Assignment of Python Loops Set 1 Solution of Python Loops Set 1 Assignment of Python Loops Set 2 Solution of Python Loops Set 2 Assignment of Python Loops Set 3 Solution of Python Loops Set 3 Assignment of Python Loops Topic : Python Loops ASSIGNMENT SET – 1 Time: 30 min                                                                                   M.M. … Read more

Class 12 Computer Science Data Structure in Python Handout with important questions

Class 12 Computer Science Data Structure in Python Handout Table of Contents Data structure in Python What is Stack Operations on Stack Working with stack using list. Practice Questions – Part 1 Practical Implementation of stack using list What is Queue? Operations on Queue Queues in daily life Working with queue using list Practice Questions … Read more

error: Content is protected !!