Professional Documents
Culture Documents
Paper 2.
Paper 2.
2.b. print(df.iloc[::-1])
3.a. print(df.size)
34.
FROM YourTableName;
FROM YourTableName;
FROM YourTableName;
33.
# Given data
Month = [1, 2, 3, 4]
plt.plot(Month, Scoring_rate )
plt.xlabel('Month')
plt.ylabel('Scoring Rate')
plt.show()
32.1.
Human Resource
2.satellite link
3.switch/hub
5. cb---hrb
fb/
31.1.CURDATE()
2.UPPER('Kendriya')
3.RTRIM('Kvs RO Jammu')
4.month(curdate());
5.POWER(n1, n2)
29.
28.import pandas as pd
# i. Add a column called Qty with the following data: [100, 150, 300, 500]
df['Qty'] = [100, 150, 300, 500]
27.import pandas as pd
# List of data
data = [['Shreya', 20], ['Rakshit', 22], ['Srijan', 18], ['Rahul', 25]]
# Column headings
columns = ['Name', 'Age']
# Create a DataFrame
df = pd.DataFrame(data, columns=columns)
# Display the DataFrame
print(df)
26.1
not 8 it is 4
2.
3.
24.1 25
2 35
dtype: int64
23.Recycling:
E-Waste Collection Events:
Manufacturer Take-Back Programs:
Public Awareness and Education:
22.import pandas as pd
students_dict = {'Class 9': 45, 'Class 10': 50, 'Class 11': 43, 'Class 12': 35}
# Create a pandas Series
students_series = pd.Series(students_dict)
# Display the Series
print(students_series)
21.The GROUP BY clause in SQL is used to group rows based on one or more columns and apply
aggregate functions to each group.
20.
1.COUNT(*) counts all rows, regardless of whether any specific column (in this case, marks) has NULL
values.The output, in this case is 6, indicating that there are 6 rows in the STUDENT table.
2.COUNT(marks) excludes rows where the marks column has NULL values from the count.The output,
in this case, is 5, indicating that there are 5 non-NULL values in the marks column.
19.Web Server:
A web server is a software or hardware system that serves content to users over the internet. It
processes incoming network requests over HTTP (Hypertext Transfer Protocol) and delivers web pages,
images, videos, or other resources to clients (web browsers).
Web Client:
A web client, commonly referred to as a browser, is a software application that enables users to access
and view content on the World Wide Web. Web clients interpret HTML (Hypertext Markup Language)
documents and render them into multimedia content, such as text, images, and interactive elements.
16.ii. Plagiarism
14.iii. MONTH()
13.iv. Edge
10.iii. S.head(7)
9.i. MAX( )
8.ii. LENGTH()
5.i) 500
4.iii. DELETE
1.(B) HTTP