Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
42 views
Paper 2
Uploaded by
badshahmohdtaazim
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Paper-2 For Later
Download
Save
Save Paper-2 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
42 views
Paper 2
Uploaded by
badshahmohdtaazim
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Paper-2 For Later
Carousel Previous
Carousel Next
Save
Save Paper-2 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 12
Search
Fullscreen
Time: Three Hours INFORMATICS PRACTICES (065) Max, Marke: 70 General Instructions : (i) This question paper contains five sections, Section A to E, (ii) All questions are compulsory, (iii) Section A have 18 questions carrying 01 mark each, (ia) Section B has 07 Very Short Answer type questions carrying 02 marks each. (v) Section C has 05 Short Answer type questions carrying 03 marks each. (wi) Section D has 03 Long Answer type questions carrying 05 marks each. to Seg co a ‘cach, One internal choice is given in Q35 oo eal ‘marks shoen (vill) Aree Wi nig yen Ln oycei. P.128 — Move FAST WITH INFORMATICS PRACTICES ~ Xil ae 8. Which one of the following is not an aggregate function ? ; (@) ROUND() (b) SUM() (0) COUNT( ) (4) AVG() 9. Which one of the following functions is used to find the largest value from the given data in MySQL ? (@) MAX() (6) MAXIMUM() —_(c) BIG( ) (@) LARGE( ) 10. To display last five rows of a series object ‘S’, you may write : i (a) SHead( ) (b) S.Tail(5) (0) S-Head(5) @) S.tail) 11. Which of the following statement will import pandas library ? 1 (a) Import pandas as pd () import Pandas as py (0) import pandas as pd (@) import panda as pd 12. Which of the following can be used to specify the data while creating a DataFrame? 1 (@) Series (®) List of Dictionaries (0) Structured ndarray (iv) All of these 13. Which amongst the following is not an example of a browser if: 1 (a) Chrome (b) Firefox (©) Avast (@) Edge 14. In SQL, which function is used to display current date and time ? 1 (a) Date () (0) Time () (©) Current () (@) Now () 15. Legal term to describe the rights of a creator of original creative or artistic work is: 1 (@) Copyright @) Copyleft (9 GPL (d) FOSS 16. ____ is the trail of data we leave behind when we visit any website (or use any online application or portal) to fill-in data or perform any transaction. 1 (a) Offline phishing (b) Offline footprint (©) Digital footprint (@) Digital phishing Q17 and 018 are ASSERTION AND REASONING based questions. Mark the correct choice as 17. ‘Assertion (A). Internet cookies are the text files that contain small pieces of data ike ‘a username, password and user’s preferences while surfing the Internet. Reasoning (R). To make browsing the Internet faster and easier, its required f0 10% certain information on the server's computer. 18. Assertion (A). DataFrame has both a row and column index. * Reasoning (R. A DataFrame isa two-dimensional labelled data structure ikea 3b of MySQL: Aube SECTION B | 19. Explain the terms Web page and Home Page. - | 2 ‘Mention any four networking goals.20. Rashmi, a database administrator needs to display house wise total number of records of ‘Red’ and ‘Yellow’ house. She is encountering an error while executing the following query : SELECT HOUSE, COUNT (*) FROM STUDENT GROUP BY HOUSE WHERE HOUSE = ‘RED? OR HOUSE = ‘YELLOW? ; Help her in identifying the reason of the error and write the correct query 2 suggesting the possible correction (s). 21. What is the purpose of Order By clause in SQL ? Explain with the help of suitable example. 2 22. Write a program to create a series object 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, i students respectively and pandas library has been imported as pid. 23, List any four benefits of e-waste management. 2 oe fi Or Mention any four net etiquettes. 24, What will be the output of the following code : >> import pandas as pd >>> A= pd.Senis = >>> print(A >, 2 (@) List the index of the DataFrame df 8 (a List the column names of DataFrame df. 2 ms "SECTION C 26. Wires peters dn Osea Table : PURCHASE (@ SELECT LENGTH(CNAME) FROM PURCHASE WHERE QUANTITY > 100; © (ii) SELECT CNAME FROM PURCHASE WHERE MONTH(DOP) = 35 (iii) SELECT MOD (QUANTITY, DAY(DOP) ) FROM PURCHASE WHERE CITY = ‘CHANDIGARH’ ; 3MOVE FAST WITH INFORMATICS PRACTICES — Xil “27. Weite a Python code to create a Datarame with appropriate column headings from r i the list given below: “Gurman’ ,98],[102, "Rajveer’ 95], [103, ‘Samar’ 196),[104, "Yuvraj",a)) bs ‘< a [{1e1,SECTION D 31. Write suitable SQL query for the following : 5 (@) Display 7 characters extracted from 7th left character onwards from the string ‘INDIA SHINING’. (i) Display the position of occurrence of string ‘COME’ in the string ‘WELCOME WORLD’. (iii) Round off the value 23.78 to one decimal place. (iv) Display the remainder of 100 divided by 9. (2) Remove all the expected leading and trailing spaces from a column userid of the table ‘USERS’. Or Explain the following SQL functions using suitable examples. (@) UCASE() (i) TRIM() (ii) MID() (2) DAYNAME() (7) POWER() . 32. Prime Computer services Ltd. is an International Educational Organization. It is planning to set up its India campus at Mumbai with its head office in Delhi. The Mumbai office campus has four main buildings : ADMIN, ACCOUNTS, EXAMINATION and RESULT... 8) 5 2 as a network expert have to suggest the best network related solutions for their ‘problems raised in (i) to (0), keeping in mind the distances between the buildings andP.132 MOVE FAST WITH INFORMATICS PRACTICES ~ XI (i) Suggest the most appropriate location of the server inside the MUMBAS campus (out of the four buildings) to get the best connectivity for maximum number of computers. Justify your answer, (li) Suggest and draw cable layout to efficiently connect various buildings within the MUMBAI campus for a wired connectivity. (ii) Which networking device will you suggest to be procured by the company to interconnect all the computers of various buildings of MUMBAI campus 7 Company is planning to get its website designed which will allow students to see their results after registering themselves on its server. Out of the static or dynamic, which type of website will you suggest ? (0) Which of the following will you suggest to establish the online face to face communication between the people in the ADMIN office of Mumbai campus and Delhi head office ? (@) Cable TY (¥) Email (©) Video conferencing sg RTOS Set 38. Write Python code to plot a bar chart for India’s medal tally as shown below (iv) viod bss REAR RY VBR, statement o save this chart, fa Ore &— SECTION E 34. sa a database administrator has designed a database for a clothing shop. Help t by writing answers of the following questions based on the given table : Table : CLOTH () Write a query to display cloth names in lower case. (ii) Write a query to display the lowest price of the cloths. (iii) Write a query to count total number of cloths purchased of medium size. ‘14142 Or (Option for part (iti) only) Write a query to count year wise total number of cloths purchased. 35. Mr. Som, a data analyst has designed the DataFrame df that contains data about Computer Olympiad with ‘COT’, ‘CO2’, ‘CO3’, ‘CO4’, ‘COS’ as indexes shown below. ‘Answer the following questions : “(@) Predict the output ofthe following python statement: (i) dfshape age (ii) dff2:4] (&) Write Python to CO4. statement to display the data of Topper ‘column of indexes CO2 Or (Option for part (b) only) i the difference of data of Write Python statement to compute and display 7 column of the above given Tot_students column and First_Runnerup 442 DataFrame.SOLUTION . (MAN ; (© Installing antivirus for protection (0 Unused old computers21. The ORDER BY clause lets arrange the result set in the order of a given column, multiple columns or on the basis of an expression. For example, a table student's records may be arranged Marks wise using ORDER BY. Table : Student jame_| Folin | Name | Marks 13 XYZ | 9250 14 Hy 80.00 oy ABC | 7625 12 DEF_| 63.50 22. St={'Beas' :18, 'Chenab' :20, ‘Ravi' :26, *Satluj' :18} S1=pd.Series(St) 23. The e-waste management : (i saves the environment and natural resources (ii) allows for recovery of precious metals (iii) protects public health and water quality (iv) saves landfill spaces. Or ( Ensure no copyright violation (ii) Share the expertise with others on the Internet (iii) Avoid cyber bullying (iv) Respect other's privacy and diversity 24. 0 False 1 False 2 True 3 False 25. (i) The index labels of df will include QU, Q2, Q3, Q4, A, B, C (ii) The column names of df will be : 1, 2 2. (i) 8 (i) No Output (i) 0 Bh} 27. import pandas as pd data = [[101, "Gurman' 98], [102, 'Rajveer",95], [1€3, ‘Samar’ ,96], [1e4, "Yuvraj", 88] ] df = pd.DataFrame(data, columns = ['Rno’, ‘Name’, 'Marks']) 28. (i Stock{’Special_Price’] = [135,150,200,400] (@) Stock loc{‘4’] = [‘The Secret’, 800] (iii) Stock = Stock.drop(‘Special_Price’, axis = 1)P.136 MOVE FAST Wied INFORMAMCS PRACTICES = XM 20. (i) This is an act of Cyber Bullying, a cyber crime. (ii) She should bring it to the notice of her parents and school authorities, and then report to the’ police: , : A (iii) Yes, there is a law to stop and counter cyber crimes. This law is known as IT Act 2000. : Or Tee Plagiarism is the act of using or stealing someone else's intellectual work, ideas ete, and passing it as your own work. In other words, plagiarismis a failure in giving credit to its source. ‘ ’ Plagiarism is a fraud and violation of Intellectual Property Rights. Since intellectual property holds a legal entity status, violating its owner's right is a legally punishable sort a 5%: offence. 62" 8S ‘dena?’ .8£: ‘2098 Two ways to avoid plagiarism are : Gejestase bg = f2 (® Using own creative work. tdremopsanm siesw~9 91 ¢ (i) Citing the source and giving the credibito the creator whervusing (their work with permission. alstem euolorg to yrovengi tol ewolls ( 30. (i) SELECT max(Marks) FROM Student GROUP BY Gender 7!” (i) SELECT min(Marks) FROM Student GROUP BY ‘City! s!27°! "v8" ©) (iii) SELECT Gender, count(Gender) FROM, student GROUP BY Gender ; or dighiyqoo ert aruentd fonrotrd oft Orersslto ctw seitregxe okt orale (i) The GROUP BY clause combines all those records;:that;have,identical values in a Particular field or a group of fields, This grouping, results.into one summary record per group if group-functions are used with SER ae HITS Given a table CommunityWork with the following fields : pela 0 Table : CommunityWork SetES ae ~~ £ : ei € > HRBYEO £0 SD 10 dBbuloni lliw th % aledsilxobal off 6) ec Amna Pravir Karan 8) — 0s Rose jugiaO oY (it) To get the total number of hours spent by male and female, we can write SOL query as: ‘SELECT Sex, SUM (HoursSpent) FROM CommunityWork 26 esbnsq troqnt XS < {ROUREN sexser} [2e,‘reSvteA* <6] .[8e, ‘nem wo" 16f]]} = s¢sb 31.) SELECT Mia@INDIA SHINING, 7, 7) ; ee Gi) SELECT inst WORLD’, “COMBS (ii) SELECT round(23.78, 1) ;1008.008.0"1, : (je) SELECT mod(100, 9) ; 008 (0) SELECT trim(userid) FROM users jl_le42))9 wh oboote ~ ArcOr wenten 1. UCASE( ). It converts the given string into upper ease, 10/7 Example: SELECT UCASE (‘hello world’ ); Output : HELLO WORLD i] 2. TRIM). Bs tag wl ing es a Example : SELECT TRIM( ‘Hello world’); (0. Output: Helo world ((y9_ Aso 97 oct Siac acne pete liste ows» POOH Example : SELECT MID( ‘Hello worddy4y;2)9) (1 0 Output: 10 {HTON9 Mona (49749 zt DAYNAMEC( ): It ‘retiittis the! Aamé’ Of the! Weekday for a inet date ae ‘SELECT DAYNAME ( ‘202209-22’) ; Output : ae CSO ANALG GORD HTOND Mo; (* cae eae ea 4442 5. POWER(). Itreturs the value ofa umber raise to the power of sitet number SELECT POW(9,2)5 ) trsensiate weirs Jpol. 4b) 20274 (iii) Hub/Switch (2) Dynan
You might also like
IP 12th
PDF
No ratings yet
IP 12th
45 pages
12 22 23sp Informaticspractices
PDF
No ratings yet
12 22 23sp Informaticspractices
17 pages
InformaticsPractices SQP
PDF
No ratings yet
InformaticsPractices SQP
9 pages
12TH InformaticsPractices
PDF
No ratings yet
12TH InformaticsPractices
11 pages
Xii Ip QP Second Set-1
PDF
No ratings yet
Xii Ip QP Second Set-1
6 pages
Ip PB1
PDF
No ratings yet
Ip PB1
6 pages
IP SQP 004
PDF
No ratings yet
IP SQP 004
9 pages
class12-IP SAMPLE PAPER3
PDF
No ratings yet
class12-IP SAMPLE PAPER3
8 pages
Ukg Ip 8
PDF
No ratings yet
Ukg Ip 8
6 pages
Xii PB 2023 Ip 201123
PDF
No ratings yet
Xii PB 2023 Ip 201123
6 pages
XII IP CHN 02 QP
PDF
No ratings yet
XII IP CHN 02 QP
5 pages
XII IP CHN 03 QP
PDF
No ratings yet
XII IP CHN 03 QP
6 pages
XIIInfo Pract S E 443
PDF
No ratings yet
XIIInfo Pract S E 443
6 pages
IP Sample Paper 3
PDF
No ratings yet
IP Sample Paper 3
7 pages
q-1006
PDF
No ratings yet
q-1006
8 pages
XIIInfo Pract S E 427
PDF
No ratings yet
XIIInfo Pract S E 427
5 pages
CBSE Sample Paper (IP XII)
PDF
No ratings yet
CBSE Sample Paper (IP XII)
10 pages
Practice paper(IP)
PDF
No ratings yet
Practice paper(IP)
28 pages
QP Ip Sample Papers
PDF
100% (3)
QP Ip Sample Papers
141 pages
XII IP SPECIAL QP SET A 2022-23
PDF
No ratings yet
XII IP SPECIAL QP SET A 2022-23
7 pages
Ip Sample Paper 1
PDF
No ratings yet
Ip Sample Paper 1
6 pages
IP PRACTICE PAPER -1 2024-25
PDF
No ratings yet
IP PRACTICE PAPER -1 2024-25
13 pages
IP SQP 003
PDF
No ratings yet
IP SQP 003
7 pages
IP preboard 2023-24
PDF
No ratings yet
IP preboard 2023-24
5 pages
Sample Paper 4 (Ip)
PDF
No ratings yet
Sample Paper 4 (Ip)
9 pages
Ip PP 4
PDF
No ratings yet
Ip PP 4
9 pages
Ip 1
PDF
No ratings yet
Ip 1
8 pages
InformaticsPractices - SET 1
PDF
No ratings yet
InformaticsPractices - SET 1
10 pages
Computer Paper12
PDF
No ratings yet
Computer Paper12
15 pages
XIIInfo Pract S E 434
PDF
No ratings yet
XIIInfo Pract S E 434
6 pages
Ip Sample Paper 8
PDF
No ratings yet
Ip Sample Paper 8
8 pages
InformaticsPractices PRE BOARD23 24
PDF
No ratings yet
InformaticsPractices PRE BOARD23 24
8 pages
TUTORIAL MS IP Class 12 for 2023
PDF
No ratings yet
TUTORIAL MS IP Class 12 for 2023
13 pages
IP - Paper Set A.pdf REA
PDF
No ratings yet
IP - Paper Set A.pdf REA
6 pages
IP SQP 002
PDF
No ratings yet
IP SQP 002
8 pages
CLASS_12_IP_PRE_BOARD_1_SET_B
PDF
No ratings yet
CLASS_12_IP_PRE_BOARD_1_SET_B
6 pages
XII IP JPR-MS-PB-1-SET-2
PDF
No ratings yet
XII IP JPR-MS-PB-1-SET-2
12 pages
XII IP QP
PDF
No ratings yet
XII IP QP
8 pages
Paper 1
PDF
No ratings yet
Paper 1
13 pages
b
PDF
No ratings yet
b
9 pages
Orange IP065 12 QP
PDF
No ratings yet
Orange IP065 12 QP
9 pages
ARMY PUBLIC SCHOOL,BANGALORE CLASS XII INFO SET 1.docx
PDF
No ratings yet
ARMY PUBLIC SCHOOL,BANGALORE CLASS XII INFO SET 1.docx
14 pages
Ip Sample Paper 9
PDF
No ratings yet
Ip Sample Paper 9
9 pages
Practice Paper - 5
PDF
No ratings yet
Practice Paper - 5
6 pages
Cbse Class 12 IP Question Paper Set 4
PDF
No ratings yet
Cbse Class 12 IP Question Paper Set 4
11 pages
Informatics Practices-Sahodaya QP New
PDF
No ratings yet
Informatics Practices-Sahodaya QP New
15 pages
XII IP CHD QP PB1
PDF
No ratings yet
XII IP CHD QP PB1
6 pages
2yt Ip 7
PDF
No ratings yet
2yt Ip 7
5 pages
IP Question Paper Class XII
PDF
No ratings yet
IP Question Paper Class XII
14 pages
SAMPLE PAPER - 2023-24 General Instruction:: Section A (18 Marks)
PDF
No ratings yet
SAMPLE PAPER - 2023-24 General Instruction:: Section A (18 Marks)
6 pages
XII-IP-Pre Board - II 2023-24 - Que Set-1
PDF
No ratings yet
XII-IP-Pre Board - II 2023-24 - Que Set-1
8 pages
12PB24IP01 QP
PDF
No ratings yet
12PB24IP01 QP
12 pages
Class Xii Informatics Practices (065) : Section A
PDF
No ratings yet
Class Xii Informatics Practices (065) : Section A
9 pages
Ip SQP 1
PDF
No ratings yet
Ip SQP 1
9 pages
Ancient.Aliens.S01E03.The.Mission.1080p.Hindi.English.Esubs.MoviezVerse.com
PDF
No ratings yet
Ancient.Aliens.S01E03.The.Mission.1080p.Hindi.English.Esubs.MoviezVerse.com
10 pages
12IPRevisionPapers2025 (3)
PDF
No ratings yet
12IPRevisionPapers2025 (3)
93 pages
Ip CLSS Xii 2024-25 Hy
PDF
No ratings yet
Ip CLSS Xii 2024-25 Hy
14 pages
Wa0038.
PDF
No ratings yet
Wa0038.
7 pages
Buomolecules Inportant Short Notes
PDF
No ratings yet
Buomolecules Inportant Short Notes
6 pages
Investigatory File Front Page and Certificate Format
PDF
No ratings yet
Investigatory File Front Page and Certificate Format
4 pages
CUET Chemistry Paper
PDF
No ratings yet
CUET Chemistry Paper
11 pages