English

Science (English Medium) Class 12 - CBSE Important Questions for Informatics Practices

Advertisements
[object Object]
[object Object]
Subjects
Popular subjects
Topics
Advertisements
Advertisements
Informatics Practices
< prev  21 to 40 of 51  next > 

Explain the following SQL function using a suitable example.

DAYNAME()

Appears in 1 question paper
Chapter: [0.01] Querying and SQL Functions
Concept: Functions in SQL

Explain the following SQL function using a suitable example.

POWER()

Appears in 1 question paper
Chapter: [0.01] Querying and SQL Functions
Concept: Functions in SQL

Shreya, a database administrator has designed a database for a clothing shop. Help her by writing answers to the following questions based on the given table:

TABLE: CLOTH
CCODE CNAME SIZE COLOR PRICE DOP
C001 JEANS XL BLUE 990 2022-01-21
C002 T-SHIRT M RED 599 2021-12-12
C003 TROUSER M GREY 399 2021-11-10
C004 SAREE FREE GREEN 1299 2019-11-12
C005 KURTI L WHITE 399 2021-12-07
  1. Write a query to display cloth names in lowercase.
  2. Write a query to display the lowest price of the clothes.
  3. Write a query to count the total number of clothes purchased in medium size.
    OR
    Write a query to count the year-wise total number of clothes purchased.
Appears in 1 question paper
Chapter: [0.01] Querying and SQL Functions
Concept: Functions in SQL

To display the last five rows of a series object ‘S’, you may write ______

Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: A Series

Which of the following statement will import pandas library?

Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: A Series

Which of the following can be used to specify the data while creating a DataFrame?

Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: DataFrame

Assertion (A): DataFrame has both a row and column index.

Reasoning (R): A DataFrame is a two-dimensional labelled data structure like a table of MySQL.

Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: DataFrame

Write a program to create a series of objects using a dictionary that stores the number of students in each house of class 12D of your school.

Note: Assume four house names are Beas, Chenab, Ravi, and Satluj having 18, 2, 20, and 18 students respectively and pandas library has been imported as pd.

Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: A Series

What will be the output of the following code:

>>>import pandas as pd
>>>A = pd.Series(data = [35, 45, 55, 40])
>>>print(A > 45)

Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: A Series

Carefully observe the following code:

import pandas as pd
Year1 = {'Q1':5000,'Q2':8000,'Q3':12000,'Q4': 18000} Year2 = {'A' :13000,'B':14000,'C':12000}
totSales = {1:Year1,2:Year2}
df = pd.DataFrame(totSales)
print(df)

Answer the following:

  1. List the index of the DataFrame df
  2. List the column names of DataFrame df.
Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: DataFrame

Write a Python code to create a DataFrame with appropriate column headings from the list given below:

[[101,'Gurman',98], [102,'Rajveer',95], [103,'Samar' ,96], [104,'Yuvraj',88]]

Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: Introduction to Python Libraries

Consider the given DataFrame ‘Stock’:

  Name Price
0 Nancy Drew 150
1 Hardy boys 180
2 Diary of a wimpy kid 225
3 Harry Potter 500

Write suitable Python statements for the following:

  1. Add a column called Special_Price with the following data: [135,150,200,440].
  2. Add a new book named ‘The Secret' with a price of 800.
  3. Remove the column Special_Price.
Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: DataFrame

Mr. Som, a data analyst has designed the DataFrame df that contains data about Computer Olympiad with ‘CO1’, ‘CO2’, ‘CO3’, ‘CO4’, and ‘CO5’ as indexes shown below. Answer the following questions:

  School Tot_students Topper First_Runnerup
CO1 PPS 40 32 8
CO2 JPS 30 18 12
CO3 GPS 20 18 2
CO4 MPS 18 10 8
CO5 BPS 28 20 8
  1. Predict the output of the following python statement:
    i. df.shape
    ii. df[2:4]
  2. Write a Python statement to display the data of the Topper column of indexes CO2 to CO4.
    OR
    Write a Python statement to compute and display the difference of data of the Tot_students column and First_Runnerup column of the above given DataFrame.
Appears in 1 question paper
Chapter: [0.02] Data Handling using Pandas - I
Concept: DataFrame

Write Python code to plot a bar chart for India’s medal tally as shown below:

Also, give a suitable python statement to save this chart.

Appears in 1 question paper
Chapter: [0.04] Plotting Data using Matplotlib
Concept: The Pandas Plot Function (Pandas Visualisation)

Write a python program to plot a line chart based on the given data to depict the changing weekly average temperature in Delhi for four weeks.

Week=[1,2,3,4]
Avg_week_temp=[40,42,38,44]

Appears in 1 question paper
Chapter: [0.04] Plotting Data using Matplotlib
Concept: The Pandas Plot Function (Pandas Visualisation)

Which of the following is not an example of a browser?

Appears in 1 question paper
Chapter: [0.05] Internet and Web
Concept: Browsers

Assertion (A): Internet cookies are text files that contain small pieces of data, like a username, password, and user preferences while surfing the internet.

Reasoning (R): To make browsing the Internet faster & easier, it is required to store certain information on the server’s computer.

Appears in 1 question paper
Chapter: [0.05] Internet and Web
Concept: Browsers

Explain the term Web page.

Appears in 1 question paper
Chapter: [0.05] Internet and Web
Concept: Web Page

Mention any four networking goals.

Appears in 1 question paper
Chapter: [0.05] Internet and Web
Concept: Introduction to Computer Networks

Explain the term, Home Page.

Appears in 1 question paper
Chapter: [0.05] Internet and Web
Concept: Website
< prev  21 to 40 of 51  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×