Practice Question 26 In this question, we will learn how to write a function that extracts words that end in a number, such as “User1”, “Batch2026”, or “Point5”. The Logic…
MCA
-
-
Python Programs
Python: Count Punctuation Marks in a Text File (Solved)
by Mahesh Vermaby Mahesh VermaPractice Question 25 In this question, we will learn how to write a function that scans an article and counts the total number of common punctuation marks (., ,, !,…
-
Python Programs
Python: Sort Words Alphabetically in a Text File (Solved)
by Mahesh Vermaby Mahesh VermaPractice Question 27 In this question, we will learn how to write a function that takes a list of words from a file and rearranges them into Alphabetical Order (A…
-
Python Programs
Python: Count Words in Each Line of a Text File (Solved)
by Mahesh Vermaby Mahesh VermaPractice Question 13 In this question, we will learn how to write a function that reads a file and displays the word count for every single line. This is a…
-
Practice Question 18 In this question, we will learn how to write a function that scans a text file and counts every word that begins with a vowel (A, E,…
-
Python Programs
Python: Transfer and Delete specific lines from a Text File (Solved)
by Mahesh Vermaby Mahesh VermaPractice Question 14 In this question, we will learn how to perform a “Cut and Paste” operation on specific file lines. We will move lines containing the word “error” to…
-
Practice Question 6 In this question, we will read a text file and find all the palindromic words present in it. A palindrome is a word that reads the same…
-
Python Programs
Python: Count Frequency of Each Alphabet in a Text File (Solved)
by Mahesh Vermaby Mahesh VermaPractice Question 5 In this post, we will learn how to write a function that reads a text file and counts how many times each alphabet (a to z) appears.…
-
Previous Year Questions Papers
Previous Year Question Paper – MCA (Data Structure)
by Mahesh Vermaby Mahesh VermaEND TERM EXAMINATION Second Semester[MCA] June 2024 Paper Code: MCA-102 Subject : Data and File Structure Time:3 Hour Maximum Marks:60 Note: Attempt all questions as directed. Internal Choice is…
-
Predict Sales based on Advertisement Spending In the dynamic landscape of marketing and business analytics, the ability to predict sales outcomes is a crucial aspect that empowers organizations to make…