Skip to main content

Posts

Showing posts from November, 2023

GRADE XI - PYTHON DICTIONARY ASSIGNMENT

  PYTHON DICTIONARY PRACTICAL QUESTIONS GRADE XI #to add new values into the dictionary d={} n=int(input("how many elements u want to enter")) for i in range(n):     r=input("enter rollno")     n=input("enter name")     m=int(input("enter marks"))     d[r]=n,m   print(d) ''' #--------------------------------------------- #to display elements of a dictionary d={'a001': ('teena', 65), 'a002': ('sheena', 78), 'a003': ('piyush', 87)} print(d)   #to search a particular key according to user's choice and display values s=input("enter the key which u want to search") for i in d:     if(i==s):         print(d[i])     Dictionary Q1 Explain the following functions in reference to dictionary. a.          Items() b.          Keys()...

GRADE XI - PYTHON DICTIONARY

  PYTHON DICTIONARY  PRACTICAL QUESTIONS  IP - GRADE XI Q1. WAP to create a dictionary containing names of competition winner students as KEY and number of their wins as values. n=int(input("How Many Students ?"))  compwinner={ } for i in range(n):     key=input("Enter Name of the Student:")     value=int(input("Enter No of Wins:"))     compwinner[key]=value print("The Dictionary is:", compwinner) Q2. WAP TO INPUT TOTAL NO OF SECTIONS AND STREAM IN 11TH CLASS  AND DISPLAY ALL. cxi={} n=int(input("Enter n no of sections:")) i=1 while i<=n:     sec=input("Enter section:")     stre=input("Enter Stream:")     cxi[sec]=stre     i+=1 print("class section  stream") for i in cxi:     print("XI", i , cxi[i]) Q3. WAP to create a dictionary containing roll number of students and percentage as values for n number of students display the total number of students  scoring more than 80...

GRADE X - AI REVISION SHEET

AI REVISION GRADE X Q1. Answer the following: 1. What is Data Science? 2. Explain three formats of saving datasets in a tabular format. 3. Explain types of data. 4. Write any four applications of Data Science. 5. Explain at least three different uses of Data Science in the financial sector. 6. What are the components of Data Science? 7. What is the full form of CSV? 8. Define Data Visualisation. 9. Name five plots used in data visualisation. 10. What is problem scoping?