0% found this document useful (0 votes)
54 views5 pages

Class 11th Practical File Computer Science (Python)

The document outlines a series of practical programming tasks related to various computational concepts, including number comparisons, pattern generation, and string manipulation. It also includes a certification section for a student named Nitin Tomar, confirming the completion of practical work in Computer Science. Additionally, it provides examples of code for creating dictionaries and performing lookups based on user input.

Uploaded by

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

Class 11th Practical File Computer Science (Python)

The document outlines a series of practical programming tasks related to various computational concepts, including number comparisons, pattern generation, and string manipulation. It also includes a certification section for a student named Nitin Tomar, confirming the completion of practical work in Computer Science. Additionally, it provides examples of code for creating dictionaries and performing lookups based on user input.

Uploaded by

technicalnitin3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
TABLE OF CONTENTS 1.WELCOME MESSAGE DISPLAY 2.LARGER / SMALLER NUMBER (2 INPUTS) 3.LARGEST / SMALLEST NUMBER (3 METHODS) 4.GENERATE PATTERNS (NESTED LOOP) 5.SUM OF SERIES (X, N VALUES) 6.PERFECT, ARMSTRONG, PALINDROME CHECK 7.PRIME / COMPOSITE NUMBER CHECK 8. FIBONACCI SERIES DISPLAY 9.GCD AND LCM OF INTEGERS 10. VOWELS, CONSONANTS, CASE COUNT IN STRING 11.PALINDROME CHECK AND CASE CONVERSION 12.WORD COUNT AND WORD FREQUENCY IN STRING 13.LARGEST / SMALLEST IN LIST/TUPLE 14. SWAP ELEMENTS IN LIST (EVEN/ODD POSITIONS) 15. INCREMENT/DECREMENT NUMBERS IN LIST 16.COUNT PRIME NUMBERS IN RANDOM LIST 17.SEARCH ELEMENT IN LIST/TUPLE 18.STUDENT DETAILS (MARKS > 75) 19. STATE-CAPITAL DICTIONARY LOOKUP 20.CAR MANUFACTURER DICTIONARY LOOKUP CERTIFICATE This is to certify that Nitin Tomar of Class XI Science, Section B, Roll No 24, has completed his practical work entitled (Project Title) as a part of the paper of Computer Science (083) under my supervision and guidance. To the best of my knowledge, it is an original piece of work and is worthy of consideration in practical fulfillment of the requirement of CBSE, Delhi for the award of the Senior School Certificate in Science for the session 2024-25. Signature of Examiner: PRINCIPAL Practical 18 « Create a dictionary with the roll number, name and marks of n students in a class and display the names of students who have marks above 75. Code std = {} int(input( peur CD) roll_no = int(input¢ Cress a ise marks = float(input( » Bae an Been, cue cre’ Pita aco Cau oes CE tO rncrecan 1 Pecos eel mee Output Enter the number of students: 2 uh SOM Oe Enter Name: Nitin tomar ah oe) Liha Co OP Phe ee ila ee) Se em CCTM Ta oe Dros es Practical 19 « Create a dictionary having state name as key and its capital name as value for at least 5 states, Now input a state name from user and print corresponding capital. Code ey Output Somes mC eaC sec Capital: Jaipur Practical 20 * Create a dictionary “Vehicle” that contain details of vehicles like {Car_Name : Maker} Like {‘Santro”:"Hyundai”, “Tiago”:"TATA, "Nexon”:"Tata’, “Safan'":"tata’} Now input car manufacture name (including all possible cases like Tata, tata, TATA) and print the names of car. Code rere Hl Fy ri a > Ce Ceo ).strip() nt Cty coe ecrry Perc Taco) Output Greta ce ed ee ear e) creed Nexon Sories

You might also like