Skip to main content

Posts

Showing posts from May, 2024

COVID ANALYSIS | GRADE XII PROJECT (IP)

  COVID ANALYSIS GRADE XII PROJECT import pandas as pd import matplotlib.pyplot as plt #import numpy as np def showdata() :   df=pd.read_csv(r"D:\GRADE XII PYTHON\covid_19.csv")   print(df)   input("Press any key to continue....") def dataNoIndex():   df=pd.read_csv(r"D:\GRADE XII PYTHON\covid_19.csv",index_col=0)   print(df)   input("Press any key to continue...") def data_sorted():   df=pd.read_csv(r"D:\GRADE XII PYTHON\covid_19.csv")   print(df.sort_values(by=['Confirmed'])) def write_data():   print("Insert data of particular districts in list form:")   di=input("Enter Districts:")   con_cases=eval(input("Enter no. of confirmed cases:"))   rec=eval(input("Enter no. of recovered cases:"))   deaths=eval(input("Enter deaths:"))   active=eval(input("Enter active cases:"))   d={'Districts':[di],'Confirmed':[con_cases],'Recovered':[rec],'Deaths...

IP | CLASS XII RESULT ANALYSIS PROJECT SAMPLE

  # -*- coding: utf-8 -*- """ Created on Sat Jun 19 16:59:58 2021 @author: Kirti Hora """ # CLASS XII RESULT ANALYSIS PROJECT SAMPLE #CSV DATA #File name: result.csv #File location: g:\ import pandas as pd import matplotlib.pyplot as plt # Main Menu while(True):     print("Main Menu")     print("1. Fetch data")     print("2. Dataframe Statistics")     print("3. Display Records")     print("4. Working on Records")     print("5. Working on Columns")     print("6. Search specific row/column")     print("7. Data Visualization")     print("8. Data analystics")     print("9. Exit")     ch=int(input("Enter your choice"))     if ch==1:         result=pd.read_csv("D:\GRADE XII PYTHON/result.csv",index_col=0)              elif ch==2:         while (True):         print("Dataframe ...

CS GRADE XI - PRACTICAL FILE QUESTIONS- 19TH SEP

  PRACTICAL FILE QUESTIONS GRADE XI COMP  SC 1.  Write a program in python to calculate and print the simple interest. 2. Write a program to accept marks of 5 subjects and calculate total and percentage. 3. Write a Python program to accept time in seconds and convert it to equivalent hours, minutes and  seconds. 4. Write a program to enter name and basic salary of an employee. Given deduction as  15% of the basic salary and allowance as 1000. Calculate and display total salary as   basic + sal +allowance-deduction. 5.Write a program to obtain x, y, z and calculate 4x⁴+3y³+9z+6π. 6. Write a program to input in meters. Convert to its equivalent kilometers  and meters. 7. WAP to take the temperatures of all 7 days of the week and displays the average temperature of that week.  8. Write a Program to obtain temperature in Celsius and convert it into Fahrenheit           using formula – C X 9/5 + 32 = F ...

GRADE XI - PYTHON BASICS ASSIGNMENT

  PYTHON BASICS NOTEBOOK ASSIGNMENT Q1. What is Python? Write its features. Q2. Write few advantages & disadvantages of Python Languages. Q3. What is a difference between an expression and a statement? Q4. What do you mean by Mutable and Immutable Data Types. Explain with example. Q5. How will the following expression be evaluated in Python?        15.0 / 4 + (8 + 3.0) Q6. Give the output of the following when num1 = 4,num2 = 3, num3 = 2  (NCERT) a) num1 += num2 + num3      print (num1) b) num1 = num1 ** (num2 + num3)     print (num1) c) num1 **= num2 + num3 d) num1 = '5' + '5'      print(num1) e) print(4.00/(2.0+2.0)) f) num1 = 2+9*((3*12)-8)/10     print(num1) g) num1 = 24 // 4 // 2     print(num1) h) num1 = float(10) print (num1) i) num1 = int('3.14')     print (num1) j) print('Bye' == 'BYE') k) prin...