0% found this document useful (0 votes)
46 views11 pages

Cs Practical File

This document is a practical file for Computer Science by Karnik Gautam, a Class 12 D student. It includes various programming problems categorized into Strings, Lists, Dictionaries, Functions, Text, Binary Files, and CSV Files, each with specific tasks to be completed. The file serves as a comprehensive guide for practical exercises in computer science concepts and programming techniques.

Uploaded by

karnikgg
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)
46 views11 pages

Cs Practical File

This document is a practical file for Computer Science by Karnik Gautam, a Class 12 D student. It includes various programming problems categorized into Strings, Lists, Dictionaries, Functions, Text, Binary Files, and CSV Files, each with specific tasks to be completed. The file serves as a comprehensive guide for practical exercises in computer science concepts and programming techniques.

Uploaded by

karnikgg
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

RAMJAS

INTERNATIONAL
SCHOOL

COMPUTER SCIENCE PRACTICAL FILE

Name: Karnik Gautam


Class: 12 D
Roll no. 17
INDEX

1. String
 Remove Duplicates
 Find Longest Substring
 Most Frequent Word
 Count Number of
Palindromes
 Reverse Words

2. List
 Remove Duplicates
 Reverse List
 Check if elements are a palindrome
 Sum of elements
 Sum of odd indices

3. Dictionary Problems
 Merging Two Dictionaries
 Dictionary from Two Lists
 Inverting a Dictionary
 Sum of Dictionary Values
 Build Dictionary from Input

4. Function Problems
 Factorial
 Even odd Checker
 Sum of Natural Numbers
 Square Root
 Check if a string is a pangram

5. Text Problems
 Word Counter
 Vowel Counter
 Case Converter
 Space Counter
6. Binary File Problems
 6.1. Student Data Record
 6.2. Find Student with Name
 6.3. Show Students with Even Roll
No
 6.4. Remove Student

7. CSV File Problems


 Add Product to Products Record
 Search Product
 Display All Records
 Delete Record

1. STRINGS
a. Remove duplicates

b. Find largest substring

c. Most frequent word


d. Count no. of palindromes

e. Reverse words

List

a. Remove duplicates

b. Palindrome elts or not


c. Reverse list

d. Sum of elts

e. Sum of odd indices

Dictionary Problems
a. Merging 2 dict

b. Dict from 2 lists|


c. Inverting a dict

d. Sum of dict values

e. Build dict from input

Function problems

a. Factorial
b. Even odd checker

c. Sum of natural numbers

d. Square roots

e. Check if string a pangram

Text problems
a. Word counter

b. Vowel counter

c. Case converter

d. Space counter

Binary file problems


a. Student data record

b. Find student with name

c. Show students with even rollno

d. Remove student
CSV file problems

a. Add product to products record

b. Search product

c. Display all records

d. Delete record

You might also like