SS354 Topecker werk® Informatics Practices (Python)—12
OR
ies a tuple/ row/ record uniquely,
“The Primary Key is an attribute’set of attributes that identi
Example:
Rollnumber in the table STUDENT
oR
“AccessionNumber in the table LIBRARY
OR
EmpNumber in the table EMPLOYEE
OR
PanNumber in the table INCOMETAX OR
‘MemberNumber in the table MEMBER OR
‘AccNumber in the table BANK
Mr Sharma was trying to enter the name of CITY in Table2 which is not present in Table1. Referentil Integr
that value must exist in referred table. “y ensres
30, The term ‘e-waste’ means the discarded consumer electronies produits which are unwanted orn non-working, condi
and this includes Computers, Laptop, Mobiles, Electronic Home Appliances, etc. ions,
CPCB- Central Pollution Control Board is government body who take care of e-Waste in India,
31. By “group by” we are referring to a process involving one or more of the following steps:
Splitting the data into groups based on some criteria
Applying a function to each group independently.
Combining the results into a data structure.
32, Developers that use the GNU GPL protect rights with two steps:
(0 assert copyright on the software,
(i) It offers this license giving legal permission to copy, distribute and modify it.
33. Cyber Fraud: A fraudulent scheme performed by a dishonest individual, group, or company in an attempt to obtain
money or something else of value on the internet. Examples of eyber fraud lottery scams, scam baiting, email spoofing,
phishing, or request for bits of help.
34. Privacy Law: It refers to the laws which deal with the regulation for storing and using personal data of individuals,
‘which can be collected by various organisations or individuals
35. The above statement will delete the columns total and order.
36.) 12 (ii) Output: .125 (ii) SE (i) RACHNA SAGAR
37. Cyber law emcompasses a wide variety of political and legal issues related to the internet and other communication
termnologies, including intellectual property, privacy, freedom of expression and jurisdiction.
OR
Social issues
(Deficits in social skills (ii) Sense of isolation
(iii) Technology and depression
38. batsman=[ ‘Tendulkar’, ‘Sehwag’, ‘Virat' ‘Dhoni, ‘Kapil Dev’
century=[50,28, 38, 23, 26,35]
plt. plot (batsman, century, marker='o')
Gavaskar’]
pit. shox)
39. (i) dfGane=pd. DataFrane({"Appnane”:App_Nane, “Price”: App Price_in Rs, Download":
print (d£Gane)
(i) étGane{{Pxice’]].nax()
— i -
fotal_Dounloads, "Year":Pet be eee Practice Papers 355
print(dfGane) Puzzle’, ’Sinpie
(fare, s02%_valU5 (by="Appmane*)
(0) o£Gone[{‘Dovntoad
(p, TablesStudent
Primary Key:Admno
Foreign Key:Hostel_id
Table:Hostel
+ 'Retion* .
+ Action’, ‘Simple’, ‘Action’, ‘Puzzle’ ]
“er
ear'}]groupby( Year ).a99( (sun, 1en)
Len]
Primary Key:Hostel_id
(i Cardinality: 8X4 Sarr
Degree: 7 +3 = 10 Columns
(ii) (A) Select admno,name,class from student whe
(B) Select lower(name) from student where Sane Ng
iS oan * a student where fee is NULL; a
ect name from st i
(E) Alter table student ae ae a
‘Sh;
‘year(adm_date) and year(adm_date);
(F) Sele,
g ) ‘ ee admno,name,block_name from student,hostel where studenthostelid
-hostelid =
(G) Select student.* from student,hostel where student hostel pce
(H) select admno, name, fee*12”Annual Fee” from student; A
hostel.hostel_id;
|i and incharge = ‘Chetna Gupta’;
M4
(2) Min(Deptid) —_ Max(Deptid)
2017-02-01 2019-01-01
(K) hostelid Count(Admno)
1 3
2 2
B 2
4 1
(L) AVG(FEE)
10000
OR :
(8) Select trim(upper(name)),loc ,salesamount from Store order by salesamount dese;
(ii) Select length(name),salesamount from store where name like “%6Fashion?¢
(iii) Select name,location,dateOpened from store where dateOpened<"2015-03-01";
(iv) Select * from store where year(dateopened)=2015
() Dese store;