हिंदी

For the SMIS System given in Chapter 5, let us do the following: Write a program to take in the roll number, name, and percentage of marks for n students of Class X. Write user-defined functions to - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

For the SMIS System given in Chapter 5, let us do the following: Write a program to take in the roll number, name, and percentage of marks for n students of Class X. Write user-defined functions to

  • accept details of the n students (n is the number of students)
  • search details of a particular student on the basis of roll number and display the result
  • display the result of all the students
  • find the topper among them
  • find the subject toppers among them

(Hint: use Dictionary, where the key can be roll number and the value is an immutable data type containing the name and percentage).

Let’s peer review the case studies of others based on the parameters given under “DOCUMENTATION TIPS” at the end of Chapter 5 and provide feedback to them.

एक पंक्ति में उत्तर

उत्तर

Do it Yourself.

shaalaa.com
Introduction to Dictionaries
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 10: Tuples and Dictionaries - Exercise [पृष्ठ २२५]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
अध्याय 10 Tuples and Dictionaries
Exercise | Q 1 | पृष्ठ २२५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×