Experiment 1 1 Bubble Sort
Experiment 1 1 Bubble Sort
14.binary search
15.Merge sort
16.quick sort
17.radix sort
Objective:
1. Write a Python program to search a literals string in a string and
also find the location within the original string where the pattern
occurs. Go to the editor
Sample text : 'The quick brown fox jumps over the lazy dog.'
Expected Output:
example
w3resource
github
Stackoverflow
When two operators have the same precedence, they are applied to left
to right.
6. Write a Python program that checks whether a word stars and ends
with a vowel in a given string. Return true if a word matches the
condition; otherwise, return false.
Sample Data:
("Red Orange White") -> True
("Red White Black") -> False
("abcd dkise eosksu") -> True
7. Write a Python program that takes a string with some words. For two
consecutive words in the said string, check whether the first word ends
with a vowel and the next word begins with a vowel. If the program
satisfy the said condition, return true other false. Only one space is
allowed between the words.
Sample Data:
("These exercises can be used for practice.") -> True
("Following exercises should be removed for practice.") -> False
("I use these stories in my classroom.") -> True
'exercises'