SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 1 of 13
Q.1. Plagiarism.
Q.2. matplotlib. pyplot.
Q.3. 3500.
Q.4. import pandas as pd
x=6
S1=pd.Series(x, index= [1,2,4,6,8,9])
print(S1)
Output: -
1 6
2 6
4 6
6 6
8 6
9 6
dtype: int64
Q.5. index.
Q.6. Line Chart.
Q.7.Bus.
Q.8.All of the above.
Q.9. Multiple Values.
Q.10.Microsoft Edge.
Q.11.ORDER BY.
Q.12.Open Source.
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 2 of 13
Q.13.import pandas as pd
I=['Apple','Banana','Mango','Orange','Litchi']
df=pd.DataFrame(I,index= [1,2,3,4,5])
print(df.iloc[1:3])
Output: -
2 Banana
3 Mango
Q.14.IT Act (ITA).
Q.15.Website, Webpage.
Q.16.Blind Carbon Copy (BCC).
Q.17.All of the above.
Q.18.USE.
Q.19.indexof ().
Q.20. MAN.
Q.21. Extension and Plugin.
Q.22.
import pandas as pd
t={'rollno':[1,2,3,4,5,6],
'Name':['Krishna','Pranshu','Gurusha','Arpit','Rani','Aurobindo'],
'Age':[15,14,14,15,16,15],
'marks':[70.4,60.9,80.3,87.5,67.8,86.0],
'class':['11A','12B','11B','12B','12B','11B']}
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 3 of 13
df=pd.DataFrame(t, index=[10,20,30,40,50,60])
print(df)
Output: -
rollno Name Age marks class
10 1 Krishna 15 70.4 11A
20 2 Pranshu 14 60.9 12B
30 3 Gurusha 14 80.3 11B
40 4 Arpit 15 87.5 12B
50 5 Rani 16 67.8 12B
60 6 Aurobindo 15 86.0 11B
1).Print (df. iloc [1])
2).Print(df[‘marks’].max ())
3).df. insert (loc=2, column=’fee’, values=[3200,3400,4500,3100,3200,4000])
4).df. drop (‘Age’, axis=1, inplace = True)
5).df. rename (columns={‘marks’:’Term1’}, inplace = True)
Q.23. click for codes to create table.
1). select * from HOTEL where Location = ‘London’;
2). select Hotel_Id, H_Name, Location, Room_Type, Price, Star from HOTEL where Price >
6000 order by Price;
3). select H_Name from HOTEL where H_Name like “%e”;
4). select count (distinct Room_type) from HOTEL;
5). select H_Name from HOTEL order by H_Name desc;
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 4 of 13
Q.24.
import pandas as pd
h= ['H','a','p','p','y']
s = pd.Series(data=h)
print(s[0:3])
Output: -
0 H
1 a
2 p
dtype: object
Q.25.(A). Erro: SQL is case sensitive language. In given command the starting with
uppercase and the continue with lower case cause the error.
Solution: select emp_name from emp where comm = NULL;
OR SELECT emp_name FROM emp WHERE comm = NULL;
In the solution, all the functions are in same case from starting to end except the table date
names.
(B). No, because WHERE clause specifies search conditions for the rows returned by the
Query and limits rows to a specific row-set. If a table has huge number of records and if
someone wants to get the particular records then using ‘where’ clause is useful. Whereas
GROUP BY clause summaries identical rows into a single/distinct group and returns a
single row with the summary for each group, by using appropriate Aggregate function in the
SELECT list, like COUNT(), SUM(), MIN(), MAX(), AVG(), etc.
Having clause is used to restrict the number of records returned by the Group by clause.
Q.26. The count (*) returns all rows whether column contains NULL value or not, while
count (<Column Name>) returns the number of rows except NULL valued row / rows.
E.g.: - >> create table school (St_name char (25), Class int (3), Attendance int (4));
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 5 of 13
>> select count (*) from school where Attendance < 45;
It will show all the name and classes which have attendance less than 45.
Q.27.
import pandas as pd
A=pd.Series([2,4,6], index = [0,1,2])
B=pd.Series([1,3,5], index = [1,2,3])
print(A)
print(B)
1).S = (A+B)
2).S = (A*B)
Q.28.
1).5.
2).Sun Cream 678
Beauty Cream 5400
Beauty Cream 1200
Q.29. (A).1). Substr (“Innovation”,3,4)
nova
2). ation
(B). 1). 3.
2).1.
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 6 of 13
Q.30.
import pandas as pd
stu = {'Admno':[1001,1002,1003,1004,1005],
'Firstname':['Amit','Rohit','Shyam','Manan','Raman'],
'Lastname':['Sehgal','Malik','Bhatia','Gupta','Bajaj'],
'Age':[18,17,18,16,18],
'Pretest':[87,89,90,79,922],
'Posttest':[67,78,84,69,70]}
d=pd.DataFrame(stu)
print(d)
1). d.loc[::-1].head()
2). g = {'Admno':1006, 'Firstname':'Sujal', 'Lastname':'Sharma', 'Age':17, 'Pretest':87,
'Posttest':89}
d = d.append(g,ignore_index=True)
print(d)
Q.31. VoIP stands for (Voice Over Internet Protocol) is the technology that converts your
voice into a digital signal, allowing you to make a call directly from a computer, VoIP phone, or
other data – driven devices. Examples of software / apps are: Skype, IMO, Instagram,
Facebook, etc.
Q.32.There is main health hazard that can occur due to excessive use of computer / smart
phone screes,
→ Physical health Effects:
1. Eyestrain,
2. Poor Posture,
3. Sleeping Problems,
4. Reduced Physical Activities.
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 7 of 13
→ Psychological Effects:
1. Isolation,
2. Depression,
3. Irritation,
4. Decrement in creativity thinking skills.
Q.33.
1. URL stands for Uniform Resource Locator,
2. It was invented with the development of www by Tim Berners – Lee.
3. A URL is a web address of a given unique resource on the web.
4. It is the mechanism used by browsers to retrieve any published resource on the web.
5. E.g.: - https://www.google.com . (Https://) – Protocol; (www.google.com) – Domain
name.
Q.34.
import pandas as pd
S1 = pd.Series(data=[2,3,1])
print(S1)
1).
0 8
1 27
2 1
dtype: int64
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 8 of 13
2).
0 6
1 9
2 3
dtype: int64
Q.35. (A). → For copyright: -
• It exists, without me doing anything to assert it, from the moment of creation.
• Unless explicitly assigned, or surrendered, it persists regardless of license chosen
for the software.
• It grants the creator very specific legal rights and remedies (although, these may
vary by jurisdiction).
• Most forms of copyright have a defined duration (usually life + 'n' years).
• In an open-source project, every contributor retains copyright in their own
contributions.
→For the License: -
• It is a legal document
• I have to explicitly choose, or create, the license. It does not apply automatically.
• It grants users of the software specific, and limited, rights.
• Unless stated in the License itself, or until it is revoked, it remains enforceable in
perpetuity.
(B). Intellectual property rights are the rights given to persons over the creations of
their minds. They usually give the creator an exclusive right over the use of his/her creation
for a certain period of time.
The protection of Intellectual Property Rights (IPR) is important for the economy and for
its further growth in areas such as research, innovation and employment. Effective IPR
enforcement is also essential to health and safety. ... For these reasons, IP rights are worth
protecting, both domestically and internationally.
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 9 of 13
Q.36. (A).import matplotlib.pyplot as plt
import numpy as np
plt.plot([1.0,2.0,3.0,4.0,5.0], [12,14,13,14.8,18.9])
plt.xlabel('Tests')
plt.ylabel('Marks Secured')
plt.show()
(B).import matplotlib. pyplot as pl
info = ['Gold', 'Silver', 'Bronze', 'Total']
Australia = [80,59,59,198]
pl.bar(info,Australia)
pl.title("AUSTRIALIA MEDAL PLOT")
pl.xlabel("Medals Won by Austraila")
pl.ylabel("Marks won")
pl.show()
*Questions for visually impaired:
(A). Data visualization is the graphical representation of information and data. By
using visual elements like charts, graphs, and maps, data visualization tools provide an
accessible way to see and understand trends, outliers, and patterns in data.
In the world of Big Data, data visualization tools and technologies are essential to analyze
massive amounts of information and make data-driven decisions.
Like matplotlib , Pandas, etc.
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 10 of 13
(B).1). Plot (): - The plot () function in pyplot module of matplotlib library is used to make
a 2D hexagonal binning plot of points x, y. Parameters: This method accept the following
parameters that are described below: x, y: These parameters are the horizontal and vertical
coordinates of the data points. x values are optional.
2). Show (): - The show () function in pyplot module of matplotlib library is used to display
all figures.
3). Savefig (): - Savefig () As the name suggests Savefig () method is used to save the figure
created after plotting data. The figure created can be saved to our local machines by using
this method.
Q.37. 1). select House, count(House)
-> from School
-> group by House
-> having count(House) >2;
2). select avg (Percentage) from School;
3). select min (Percentage) from School where Class = 10;
Q.38.(A).import pandas as pd
d = {'country':['Italy', 'Spain','Greece', 'France', 'Portugal'],
'population':[61,46,11,65,10],
'percent':[0.83,0.63,0.15,0.88,0.14]}
df1 = pd.DataFrame(d, index=['IT','ES','Gr','Fr','Po'])
print(df1)
Output: -
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 11 of 13
(B). 1).print(df1[df1.columns[0:2]])
2). print (df1[(df1[“population”]>40)])
3).df1.drop(df1.tail(2).index, inplace=True)
Q.39.(A). 1).select dayname(‘2000-07-05’);
2).select lcase(“e-mail-id”);
3).select length(“King”);
4).select substring (“King”,1,1);
5).select avg (marks) from class;
(B). 1).select substring (Itemname,1,3) from ITEM;
2).select monthname (Stockdate) from ITEM; //given
date is not correct format to use ‘monthname’ function. You have to change the format in
‘YYYY-MM-DD’ then you will able to get the correct output.
3).select sum (Price) from ITEM;
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 12 of 13
4).select avg (Price) from ITEM;
5).select round (Price,2) from ITEM;
Q.40. a).Star Topology.
b).Administrative Wing (W1), because at W1 all of the record will store and easy to
access in all conditions.
c). LAN, because it covers up to 10 kms’ of radius.
d).As per suggested layout separate repeaters need not to be installed as each
building or wing, will be having a hub that acts as repeater. One hub per wing is
enough.
e).School can use cloud-based applications for sharing any type of data, like: Google
drive, One Drive, AWS drive services, etc. to share their files and make it save for future
use.
*Questions for visually impaired:
(a). A network switch connects devices (such as computers, printers, wireless access points) in
a network to each other, and allows them to 'talk' by exchanging data packets. Switches
can be hardware devices that manage physical networks, as well as software-based virtual
devices.
(b). Bus Topology and Star Topology.
(c). A modulator-demodulator, or simply a modem, is a hardware device that converts data
from a digital format, intended for communication directly between devices with specialized
wiring, into one suitable for a transmission medium such as telephone lines or radio.
(d). A gateway is a network node used in telecommunications that connects two
networks with different transmission protocols together. Gateways serve as an entry and
Informatics Practices (New) Solution
CBSE – 2021 Compt., Improvement Examination
Page 13 of 13
exit point for a network as all data must pass through or communicate with the gateway prior
to being routed.
(e). Voice over Internet Protocol (VoIP), is a technology that allows you to make voice calls
using a broadband Internet connection instead of a regular (or analog) phone line.

Mais conteúdo relacionado

Mais procurados

Data structure new lab manual
Data structure  new lab manualData structure  new lab manual
Data structure new lab manualSANTOSH RATH
 
Machine learning ( Part 1 )
Machine learning ( Part 1 )Machine learning ( Part 1 )
Machine learning ( Part 1 )Sunil OS
 
Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output) Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output) Aman Deep
 
Computer science project work
Computer science project workComputer science project work
Computer science project workrahulchamp2345
 
Computer Practical
Computer PracticalComputer Practical
Computer PracticalPLKFM
 
Python Programming Strings
Python Programming StringsPython Programming Strings
Python Programming StringsSreedhar Chowdam
 
Networking & Socket Programming In Java
Networking & Socket Programming In JavaNetworking & Socket Programming In Java
Networking & Socket Programming In JavaAnkur Agrawal
 
Computer Science Practical Science C++ with SQL commands
Computer Science Practical Science C++ with SQL commandsComputer Science Practical Science C++ with SQL commands
Computer Science Practical Science C++ with SQL commandsVishvjeet Yadav
 
C++ classes tutorials
C++ classes tutorialsC++ classes tutorials
C++ classes tutorialsMayank Jain
 
Python-02| Input, Output & Import
Python-02| Input, Output & ImportPython-02| Input, Output & Import
Python-02| Input, Output & ImportMohd Sajjad
 
12th CBSE Practical File
12th CBSE Practical File12th CBSE Practical File
12th CBSE Practical FileAshwin Francis
 
Practical File of C Language
Practical File of C LanguagePractical File of C Language
Practical File of C LanguageRAJWANT KAUR
 

Mais procurados (20)

Data structure new lab manual
Data structure  new lab manualData structure  new lab manual
Data structure new lab manual
 
Machine learning ( Part 1 )
Machine learning ( Part 1 )Machine learning ( Part 1 )
Machine learning ( Part 1 )
 
Java practical
Java practicalJava practical
Java practical
 
Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output) Practical Class 12th (c++programs+sql queries and output)
Practical Class 12th (c++programs+sql queries and output)
 
Computer science project work
Computer science project workComputer science project work
Computer science project work
 
Java Class Design
Java Class DesignJava Class Design
Java Class Design
 
A*
A*A*
A*
 
Computer Practical
Computer PracticalComputer Practical
Computer Practical
 
Python Programming Strings
Python Programming StringsPython Programming Strings
Python Programming Strings
 
Python Programming Essentials - M12 - Lists
Python Programming Essentials - M12 - ListsPython Programming Essentials - M12 - Lists
Python Programming Essentials - M12 - Lists
 
Networking & Socket Programming In Java
Networking & Socket Programming In JavaNetworking & Socket Programming In Java
Networking & Socket Programming In Java
 
Arrays
ArraysArrays
Arrays
 
Dictionary
DictionaryDictionary
Dictionary
 
Computer Science Practical Science C++ with SQL commands
Computer Science Practical Science C++ with SQL commandsComputer Science Practical Science C++ with SQL commands
Computer Science Practical Science C++ with SQL commands
 
C++ classes tutorials
C++ classes tutorialsC++ classes tutorials
C++ classes tutorials
 
Python-02| Input, Output & Import
Python-02| Input, Output & ImportPython-02| Input, Output & Import
Python-02| Input, Output & Import
 
Dynamic method dispatch
Dynamic method dispatchDynamic method dispatch
Dynamic method dispatch
 
GUI components in Java
GUI components in JavaGUI components in Java
GUI components in Java
 
12th CBSE Practical File
12th CBSE Practical File12th CBSE Practical File
12th CBSE Practical File
 
Practical File of C Language
Practical File of C LanguagePractical File of C Language
Practical File of C Language
 

Semelhante a Informatics Practices (new) solution CBSE 2021, Compartment, improvement examination.

PPT on Data Science Using Python
PPT on Data Science Using PythonPPT on Data Science Using Python
PPT on Data Science Using PythonNishantKumar1179
 
09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structuresjntuworld
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyKimikazu Kato
 
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its authorKaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its authorVivian S. Zhang
 
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKApplying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKJeremy Chen
 
Machine Learning With R
Machine Learning With RMachine Learning With R
Machine Learning With RDavid Chiu
 
Lecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learningLecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learningmy6305874
 
Log Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningLog Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningPiotr Tylenda
 
Log Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningLog Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningAgnieszka Potulska
 
maXbox starter65 machinelearning3
maXbox starter65 machinelearning3maXbox starter65 machinelearning3
maXbox starter65 machinelearning3Max Kleiner
 
Python 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptxPython 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptxTseChris
 

Semelhante a Informatics Practices (new) solution CBSE 2021, Compartment, improvement examination. (20)

Java Basics - Part1
Java Basics - Part1Java Basics - Part1
Java Basics - Part1
 
Xgboost
XgboostXgboost
Xgboost
 
PPT on Data Science Using Python
PPT on Data Science Using PythonPPT on Data Science Using Python
PPT on Data Science Using Python
 
06slide.ppt
06slide.ppt06slide.ppt
06slide.ppt
 
09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPy
 
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its authorKaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
 
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPKApplying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPK
 
ELAVARASAN.pdf
ELAVARASAN.pdfELAVARASAN.pdf
ELAVARASAN.pdf
 
Python Manuel-R2021.pdf
Python Manuel-R2021.pdfPython Manuel-R2021.pdf
Python Manuel-R2021.pdf
 
Machine Learning With R
Machine Learning With RMachine Learning With R
Machine Learning With R
 
Lecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learningLecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learning
 
Log Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningLog Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine Learning
 
Log Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningLog Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine Learning
 
maXbox starter65 machinelearning3
maXbox starter65 machinelearning3maXbox starter65 machinelearning3
maXbox starter65 machinelearning3
 
Python for data analysis (ITP and NPV)
Python for data analysis (ITP and NPV)Python for data analysis (ITP and NPV)
Python for data analysis (ITP and NPV)
 
Chapter 2 Java Methods
Chapter 2 Java MethodsChapter 2 Java Methods
Chapter 2 Java Methods
 
Chapter 2 Method in Java OOP
Chapter 2   Method in Java OOPChapter 2   Method in Java OOP
Chapter 2 Method in Java OOP
 
Python 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptxPython 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptx
 
Java exercise1
Java exercise1Java exercise1
Java exercise1
 

Mais de FarhanAhmade

Exploration of Volcanos by using the robots ppt.
Exploration of Volcanos by using the robots ppt.Exploration of Volcanos by using the robots ppt.
Exploration of Volcanos by using the robots ppt.FarhanAhmade
 
Highway Wind Turbine Electricity generation PPT.
Highway Wind Turbine Electricity generation PPT.Highway Wind Turbine Electricity generation PPT.
Highway Wind Turbine Electricity generation PPT.FarhanAhmade
 
Engineering Mathematics for 4th Semester.
Engineering Mathematics for 4th Semester. Engineering Mathematics for 4th Semester.
Engineering Mathematics for 4th Semester. FarhanAhmade
 
Casio fx-991EX classWiz user manual and commands.
Casio fx-991EX classWiz user manual and commands.Casio fx-991EX classWiz user manual and commands.
Casio fx-991EX classWiz user manual and commands.FarhanAhmade
 
Discrete mathematical structure complete notes of 3rd semester B.tech.
Discrete mathematical structure complete notes of 3rd semester B.tech.Discrete mathematical structure complete notes of 3rd semester B.tech.
Discrete mathematical structure complete notes of 3rd semester B.tech.FarhanAhmade
 
Short note on Peripheral devices Operating System.
Short note on Peripheral devices Operating System.Short note on Peripheral devices Operating System.
Short note on Peripheral devices Operating System.FarhanAhmade
 
All types computer calculations.
All types computer calculations. All types computer calculations.
All types computer calculations. FarhanAhmade
 
Network Security in brief.
Network Security in brief. Network Security in brief.
Network Security in brief. FarhanAhmade
 
OSI model networking internet.
OSI model networking internet.OSI model networking internet.
OSI model networking internet.FarhanAhmade
 
Book referencing single, two, three and multiple authors; Newspaper referenci...
Book referencing single, two, three and multiple authors; Newspaper referenci...Book referencing single, two, three and multiple authors; Newspaper referenci...
Book referencing single, two, three and multiple authors; Newspaper referenci...FarhanAhmade
 
Report on cloud computing
Report on cloud computingReport on cloud computing
Report on cloud computingFarhanAhmade
 
Fire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPTFire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPTFarhanAhmade
 
Radiation detector arduino UNO PPT
Radiation detector arduino UNO PPTRadiation detector arduino UNO PPT
Radiation detector arduino UNO PPTFarhanAhmade
 

Mais de FarhanAhmade (13)

Exploration of Volcanos by using the robots ppt.
Exploration of Volcanos by using the robots ppt.Exploration of Volcanos by using the robots ppt.
Exploration of Volcanos by using the robots ppt.
 
Highway Wind Turbine Electricity generation PPT.
Highway Wind Turbine Electricity generation PPT.Highway Wind Turbine Electricity generation PPT.
Highway Wind Turbine Electricity generation PPT.
 
Engineering Mathematics for 4th Semester.
Engineering Mathematics for 4th Semester. Engineering Mathematics for 4th Semester.
Engineering Mathematics for 4th Semester.
 
Casio fx-991EX classWiz user manual and commands.
Casio fx-991EX classWiz user manual and commands.Casio fx-991EX classWiz user manual and commands.
Casio fx-991EX classWiz user manual and commands.
 
Discrete mathematical structure complete notes of 3rd semester B.tech.
Discrete mathematical structure complete notes of 3rd semester B.tech.Discrete mathematical structure complete notes of 3rd semester B.tech.
Discrete mathematical structure complete notes of 3rd semester B.tech.
 
Short note on Peripheral devices Operating System.
Short note on Peripheral devices Operating System.Short note on Peripheral devices Operating System.
Short note on Peripheral devices Operating System.
 
All types computer calculations.
All types computer calculations. All types computer calculations.
All types computer calculations.
 
Network Security in brief.
Network Security in brief. Network Security in brief.
Network Security in brief.
 
OSI model networking internet.
OSI model networking internet.OSI model networking internet.
OSI model networking internet.
 
Book referencing single, two, three and multiple authors; Newspaper referenci...
Book referencing single, two, three and multiple authors; Newspaper referenci...Book referencing single, two, three and multiple authors; Newspaper referenci...
Book referencing single, two, three and multiple authors; Newspaper referenci...
 
Report on cloud computing
Report on cloud computingReport on cloud computing
Report on cloud computing
 
Fire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPTFire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPT
 
Radiation detector arduino UNO PPT
Radiation detector arduino UNO PPTRadiation detector arduino UNO PPT
Radiation detector arduino UNO PPT
 

Último

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

Informatics Practices (new) solution CBSE 2021, Compartment, improvement examination.

  • 1. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 1 of 13 Q.1. Plagiarism. Q.2. matplotlib. pyplot. Q.3. 3500. Q.4. import pandas as pd x=6 S1=pd.Series(x, index= [1,2,4,6,8,9]) print(S1) Output: - 1 6 2 6 4 6 6 6 8 6 9 6 dtype: int64 Q.5. index. Q.6. Line Chart. Q.7.Bus. Q.8.All of the above. Q.9. Multiple Values. Q.10.Microsoft Edge. Q.11.ORDER BY. Q.12.Open Source.
  • 2. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 2 of 13 Q.13.import pandas as pd I=['Apple','Banana','Mango','Orange','Litchi'] df=pd.DataFrame(I,index= [1,2,3,4,5]) print(df.iloc[1:3]) Output: - 2 Banana 3 Mango Q.14.IT Act (ITA). Q.15.Website, Webpage. Q.16.Blind Carbon Copy (BCC). Q.17.All of the above. Q.18.USE. Q.19.indexof (). Q.20. MAN. Q.21. Extension and Plugin. Q.22. import pandas as pd t={'rollno':[1,2,3,4,5,6], 'Name':['Krishna','Pranshu','Gurusha','Arpit','Rani','Aurobindo'], 'Age':[15,14,14,15,16,15], 'marks':[70.4,60.9,80.3,87.5,67.8,86.0], 'class':['11A','12B','11B','12B','12B','11B']}
  • 3. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 3 of 13 df=pd.DataFrame(t, index=[10,20,30,40,50,60]) print(df) Output: - rollno Name Age marks class 10 1 Krishna 15 70.4 11A 20 2 Pranshu 14 60.9 12B 30 3 Gurusha 14 80.3 11B 40 4 Arpit 15 87.5 12B 50 5 Rani 16 67.8 12B 60 6 Aurobindo 15 86.0 11B 1).Print (df. iloc [1]) 2).Print(df[‘marks’].max ()) 3).df. insert (loc=2, column=’fee’, values=[3200,3400,4500,3100,3200,4000]) 4).df. drop (‘Age’, axis=1, inplace = True) 5).df. rename (columns={‘marks’:’Term1’}, inplace = True) Q.23. click for codes to create table. 1). select * from HOTEL where Location = ‘London’; 2). select Hotel_Id, H_Name, Location, Room_Type, Price, Star from HOTEL where Price > 6000 order by Price; 3). select H_Name from HOTEL where H_Name like “%e”; 4). select count (distinct Room_type) from HOTEL; 5). select H_Name from HOTEL order by H_Name desc;
  • 4. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 4 of 13 Q.24. import pandas as pd h= ['H','a','p','p','y'] s = pd.Series(data=h) print(s[0:3]) Output: - 0 H 1 a 2 p dtype: object Q.25.(A). Erro: SQL is case sensitive language. In given command the starting with uppercase and the continue with lower case cause the error. Solution: select emp_name from emp where comm = NULL; OR SELECT emp_name FROM emp WHERE comm = NULL; In the solution, all the functions are in same case from starting to end except the table date names. (B). No, because WHERE clause specifies search conditions for the rows returned by the Query and limits rows to a specific row-set. If a table has huge number of records and if someone wants to get the particular records then using ‘where’ clause is useful. Whereas GROUP BY clause summaries identical rows into a single/distinct group and returns a single row with the summary for each group, by using appropriate Aggregate function in the SELECT list, like COUNT(), SUM(), MIN(), MAX(), AVG(), etc. Having clause is used to restrict the number of records returned by the Group by clause. Q.26. The count (*) returns all rows whether column contains NULL value or not, while count (<Column Name>) returns the number of rows except NULL valued row / rows. E.g.: - >> create table school (St_name char (25), Class int (3), Attendance int (4));
  • 5. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 5 of 13 >> select count (*) from school where Attendance < 45; It will show all the name and classes which have attendance less than 45. Q.27. import pandas as pd A=pd.Series([2,4,6], index = [0,1,2]) B=pd.Series([1,3,5], index = [1,2,3]) print(A) print(B) 1).S = (A+B) 2).S = (A*B) Q.28. 1).5. 2).Sun Cream 678 Beauty Cream 5400 Beauty Cream 1200 Q.29. (A).1). Substr (“Innovation”,3,4) nova 2). ation (B). 1). 3. 2).1.
  • 6. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 6 of 13 Q.30. import pandas as pd stu = {'Admno':[1001,1002,1003,1004,1005], 'Firstname':['Amit','Rohit','Shyam','Manan','Raman'], 'Lastname':['Sehgal','Malik','Bhatia','Gupta','Bajaj'], 'Age':[18,17,18,16,18], 'Pretest':[87,89,90,79,922], 'Posttest':[67,78,84,69,70]} d=pd.DataFrame(stu) print(d) 1). d.loc[::-1].head() 2). g = {'Admno':1006, 'Firstname':'Sujal', 'Lastname':'Sharma', 'Age':17, 'Pretest':87, 'Posttest':89} d = d.append(g,ignore_index=True) print(d) Q.31. VoIP stands for (Voice Over Internet Protocol) is the technology that converts your voice into a digital signal, allowing you to make a call directly from a computer, VoIP phone, or other data – driven devices. Examples of software / apps are: Skype, IMO, Instagram, Facebook, etc. Q.32.There is main health hazard that can occur due to excessive use of computer / smart phone screes, → Physical health Effects: 1. Eyestrain, 2. Poor Posture, 3. Sleeping Problems, 4. Reduced Physical Activities.
  • 7. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 7 of 13 → Psychological Effects: 1. Isolation, 2. Depression, 3. Irritation, 4. Decrement in creativity thinking skills. Q.33. 1. URL stands for Uniform Resource Locator, 2. It was invented with the development of www by Tim Berners – Lee. 3. A URL is a web address of a given unique resource on the web. 4. It is the mechanism used by browsers to retrieve any published resource on the web. 5. E.g.: - https://www.google.com . (Https://) – Protocol; (www.google.com) – Domain name. Q.34. import pandas as pd S1 = pd.Series(data=[2,3,1]) print(S1) 1). 0 8 1 27 2 1 dtype: int64
  • 8. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 8 of 13 2). 0 6 1 9 2 3 dtype: int64 Q.35. (A). → For copyright: - • It exists, without me doing anything to assert it, from the moment of creation. • Unless explicitly assigned, or surrendered, it persists regardless of license chosen for the software. • It grants the creator very specific legal rights and remedies (although, these may vary by jurisdiction). • Most forms of copyright have a defined duration (usually life + 'n' years). • In an open-source project, every contributor retains copyright in their own contributions. →For the License: - • It is a legal document • I have to explicitly choose, or create, the license. It does not apply automatically. • It grants users of the software specific, and limited, rights. • Unless stated in the License itself, or until it is revoked, it remains enforceable in perpetuity. (B). Intellectual property rights are the rights given to persons over the creations of their minds. They usually give the creator an exclusive right over the use of his/her creation for a certain period of time. The protection of Intellectual Property Rights (IPR) is important for the economy and for its further growth in areas such as research, innovation and employment. Effective IPR enforcement is also essential to health and safety. ... For these reasons, IP rights are worth protecting, both domestically and internationally.
  • 9. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 9 of 13 Q.36. (A).import matplotlib.pyplot as plt import numpy as np plt.plot([1.0,2.0,3.0,4.0,5.0], [12,14,13,14.8,18.9]) plt.xlabel('Tests') plt.ylabel('Marks Secured') plt.show() (B).import matplotlib. pyplot as pl info = ['Gold', 'Silver', 'Bronze', 'Total'] Australia = [80,59,59,198] pl.bar(info,Australia) pl.title("AUSTRIALIA MEDAL PLOT") pl.xlabel("Medals Won by Austraila") pl.ylabel("Marks won") pl.show() *Questions for visually impaired: (A). Data visualization is the graphical representation of information and data. By using visual elements like charts, graphs, and maps, data visualization tools provide an accessible way to see and understand trends, outliers, and patterns in data. In the world of Big Data, data visualization tools and technologies are essential to analyze massive amounts of information and make data-driven decisions. Like matplotlib , Pandas, etc.
  • 10. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 10 of 13 (B).1). Plot (): - The plot () function in pyplot module of matplotlib library is used to make a 2D hexagonal binning plot of points x, y. Parameters: This method accept the following parameters that are described below: x, y: These parameters are the horizontal and vertical coordinates of the data points. x values are optional. 2). Show (): - The show () function in pyplot module of matplotlib library is used to display all figures. 3). Savefig (): - Savefig () As the name suggests Savefig () method is used to save the figure created after plotting data. The figure created can be saved to our local machines by using this method. Q.37. 1). select House, count(House) -> from School -> group by House -> having count(House) >2; 2). select avg (Percentage) from School; 3). select min (Percentage) from School where Class = 10; Q.38.(A).import pandas as pd d = {'country':['Italy', 'Spain','Greece', 'France', 'Portugal'], 'population':[61,46,11,65,10], 'percent':[0.83,0.63,0.15,0.88,0.14]} df1 = pd.DataFrame(d, index=['IT','ES','Gr','Fr','Po']) print(df1) Output: -
  • 11. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 11 of 13 (B). 1).print(df1[df1.columns[0:2]]) 2). print (df1[(df1[“population”]>40)]) 3).df1.drop(df1.tail(2).index, inplace=True) Q.39.(A). 1).select dayname(‘2000-07-05’); 2).select lcase(“e-mail-id”); 3).select length(“King”); 4).select substring (“King”,1,1); 5).select avg (marks) from class; (B). 1).select substring (Itemname,1,3) from ITEM; 2).select monthname (Stockdate) from ITEM; //given date is not correct format to use ‘monthname’ function. You have to change the format in ‘YYYY-MM-DD’ then you will able to get the correct output. 3).select sum (Price) from ITEM;
  • 12. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 12 of 13 4).select avg (Price) from ITEM; 5).select round (Price,2) from ITEM; Q.40. a).Star Topology. b).Administrative Wing (W1), because at W1 all of the record will store and easy to access in all conditions. c). LAN, because it covers up to 10 kms’ of radius. d).As per suggested layout separate repeaters need not to be installed as each building or wing, will be having a hub that acts as repeater. One hub per wing is enough. e).School can use cloud-based applications for sharing any type of data, like: Google drive, One Drive, AWS drive services, etc. to share their files and make it save for future use. *Questions for visually impaired: (a). A network switch connects devices (such as computers, printers, wireless access points) in a network to each other, and allows them to 'talk' by exchanging data packets. Switches can be hardware devices that manage physical networks, as well as software-based virtual devices. (b). Bus Topology and Star Topology. (c). A modulator-demodulator, or simply a modem, is a hardware device that converts data from a digital format, intended for communication directly between devices with specialized wiring, into one suitable for a transmission medium such as telephone lines or radio. (d). A gateway is a network node used in telecommunications that connects two networks with different transmission protocols together. Gateways serve as an entry and
  • 13. Informatics Practices (New) Solution CBSE – 2021 Compt., Improvement Examination Page 13 of 13 exit point for a network as all data must pass through or communicate with the gateway prior to being routed. (e). Voice over Internet Protocol (VoIP), is a technology that allows you to make voice calls using a broadband Internet connection instead of a regular (or analog) phone line.