0% found this document useful (0 votes)
12 views7 pages

New Doc 12-01-2024 07.27

Physics class 12

Uploaded by

prabhakar.kc1984
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
0% found this document useful (0 votes)
12 views7 pages

New Doc 12-01-2024 07.27

Physics class 12

Uploaded by

prabhakar.kc1984
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
You are on page 1/ 7
7 . = — ——— ws ¢code)-K6¥S(DR)/2024/4N KENDRr YAY 'DYALAYA saNGATHAN, DELHI REGION Class -XIL MARKING SCHEME tion 2024-25 *°- Board1 Exam jee »puter Science n QNo. — Section-A (21x 1 =21 Marks) Marks 1. Tru 6 I. e (1 mark for cor, 2. by Tre Fect answer) False , 1 (1 mark for correct answer) 3. <}may T (1 mark for correct answer) 4 a Jamesjames}amesfamesjamesjames 1 mark for correct answer) Ss. b) print(*hello\\example\\test.txt") 1 (1 mark for correct answer) 6 ) No because tuples are immutable T (1 mark for correct answer) 2 cz 1 (1. mark for correct answer) 8. ¢) (a, @7b@c@d') 1 [avbyevd') (1. mark for correct answer) 9, d) All of the above T (1.mark for correct answer), 10, ¢) accept T (1: mark for correct answer] 11. aj 10 56 s (1 mark for correct answer) 72, | €) Gatewsy 1 {1 mark for correct answer) 13. ‘a) char(n) t {1 mark for correct answer) 14. a) 272 {1 mark for correct answer) ; {is [ap Telnet LE | Gmarkefor correct answer) 1 a __ = © Scanned with OKEN Scanner 16 14% : (1 mark for correct answer) 17, a) IP address T (1 mark for correct answer) 18. [e)Distinet 1 (1 mark for correct answer 19. | Answer: d) SELECT DEPT, AVG(SAL) FROM EMP GROUP BY DEPT HAVING 1 COUNT(*)> 5; Cimark for correct answer) ¢) Ais True but Ris False 1 C.mark for correct answer) b) Both Aand Rare true and K is not the correct explanation for A 1 C.mark for correct answer) SECTION B(7X2=14) Marks Answer: ‘ 2 2 3 4 5 6 (2 mark for correct answer) 1 Marks should be deducted for wrong formatting. 23. z CP ys 0D 040) 6 3 | (141/2+1/2 mark for correct answer) 24. __ | A) Consider the following list of clements and write Python statementto 2 print the ‘output of cach questions. elements=[‘apple’,200,300/red'!bluc'grapes'] 1) print(clements[3:5]) 1i) print(elements(:+1)) grapes’, ‘blue’, ‘red’, 300, 200, ‘apple'] OR B) Consider the following list exam and write Python statement for the following questions: 1) To insert subject “maths” as last element exam.append{‘maths’) li) To display the list in reverse alphabetical order exam sort(reverse=True) (1 Marks for each correct answer) 25. __ | hARRYpOTTERS@SS z (2mark for correct answer) © Scanned with OKEN Scanner 28. AlDegree=ig Cardinatity =49 BY) I) D.Name c Mi) Command: aR {mark for each corredt answer) oR ‘olumn have one ar more NULL Value. SECTION C(3X3=9) Marks 29. | (Ay def Display feopen(*Chywsr) datas (readlines() for Sin range(len(dsta)} print(lend=") fcloseQ) (4: mark for correct loop) B) unt: with openl datafile case = bare ‘ange(len(data)); ferpeasell pte) range(}: forsee Ucas inislower Laas: 10. Of Uy ant °F Uppercace ietters: ort po often tet PeMfor COTTEC Fane rramect’, readlines() ‘Das file: ‘if H[0][O}lowerQ) not in “aeiou": (Vi mark for correct function header) (4 mark for correctly opening the file) (4 mark for correc reading from the fie) (mark forcorreetly displaying the desired city) oR * Ucase) “yLease) nheader) 9 ate lO8 SOTA oven the i) od ee ee © Scanned with OKEN Scanner (% mark for correctly reading from the file) U. mark for counting the letters) 30, (1/2 mark for correctly display) () Qo def PUSIL_CITY(CITY, new_city): CITYappend(new.city) ay def POP_CITY (CITY): Wot cry: print(Underflow") else: an CCMP000) def DISPLAY(CITY); if nat CITY; print(None"} else: print(CITV[-1]) (3x1 mark for correct function body; No marks for any function header as it was part of the question) oR NUMBERS = for numin L: if num % 3 == 0 or num %5 == 0; NUMBERS.append(num) return NUMBERS def POP_NUMQ: ifmot NUMBERS: print("Underflow") else: print(NUMBERS. pop()) def DISP_NUMQ: if not NUMBERS: print("None") else: print{NUMBERS[-1)} (1/2 for identifying multiple of 3 or 5) (1/2 mark for correctly adding data to stack) (1/2 mark for correctly poping data an the stack and 1/2 mark for checking condition) (1/2 mark for corcectly displaying the data with none) (1/2 mark for function call statements) _ 31. A) 108 (3 mark for correct answer.) OR By (L)@ (2,2)@ © Scanned with OKEN Scanner a B2.30 444,90 (5.5,5.5, 5)@ 142 mark forench corre Foy Marks Select su my Select May( MUR) Fam Loans where URAETO; 7 Select count’) from loans; Select Couns) 72M loans where Cust.Name like"%eSharma"s from loans whore Int.rate Is NULL: oR 293333 2800 2875 ACN) Custom [po : AimouTinstalime | Int Rat | Start Dat | Intere ——| SP Sinha | aggpr tot £ c st tha ) 20000 136 1250 [03-01-4500] i [> Re $, 2010 a z 7 Rie 0m 0 Gua fo |*° Pain [30000 [56 a SP 50000 | 48 Sharma_{o KS.Diall /$0000 | 48 Ta} o 05-03- | 3800 2008 i) 3 tv) 200000 (1 mark foreach eorreet answer) 33. 34. 5. 3) eww bjesvreadertft) c}reader fen(afo1Ps a eat aeeah correct answer) aca from Consumer where edness >DATE aaa tan ress Dar y ‘select * from Sratforary where price between Band 18; iy glee COPSUMETNOME,CAdSe555, Companys Pree From consume? Sationary ~ cS! ‘ ; yemae SsratlOnAry Sct prine 1 ices; OR 510, $Stationarytiames selet nsumer G Stationary Company, SPrice ¢$.1D= 35 1D and CAddresse" ee ~Address="Delh, “ wigjoreach coreectanswer) s8"Delht*; 00KO: oF cet my S4LOMeCtor as Myron on srnye-COMnectCho oy PassWds'Lib@ scorsevdbicurs © Scanned with OKEN Scanner [QNe. + 71) tyzine(inputl Ener OOK VALUES (O'0'4, o Inset NTS querysquer. format mycurexecute(query) mydbcommit() tb id,b.namespnty) IND_BOOKU: “anor aoe anector asmycon nyubsmyconconnect({hast="localhos passwd="Lib@123" database mycur=mydbcursor() mycurexccute("seleet * for rec in mycur: print(ree) trom BOOK wheFE TYPE =r ry (4 mark for correctly Importing the connector objecr) (Yi mark for correctly creating the connection abject) (¥i mark for correctly creating the cursor object) (4 mark for correctly inputting the data) (% mark for correct creation of first query) (4 mark for correctly exccuting the first query With commit) (4 mark for correctly executing the second query) (Yemark for correctly displaying the data) SECTIONE (2X 5= 10) Marks 36. i) import pickle def Update(): = open(“Gradedat'y'rb +") pickte.dump{rec,) print(“record Uiadated! ii) import pickle def display A.Grade(}: wy: swith open(’Grades dat’ ‘rb" 2 while True: maps try: candidate = pickleloadi ie ; spadtfie) icandidate|3] == A": # Check it Grae. briot( Candidate Indes Number sat =A ea Print(*Candidate Names’, candi ‘ist "didatelgyy 2 ea) © Scanned with OKEN Scanner |__4 37, print("----- except EQFError; break # End of file except FileNotFoundE rrp. rint("No candidate o (i re Thaker bie found, Please add candidates first.") (1/2 mark for openin (1/2 mark for using (1 mark for checkly: (imark for checkin "+ s*T1date(3]) ee ] Feached #8 file in correct mode) Correct load or dump function) iB the condit fon and updating the value) OR 6 the condition and displaying data correctly} {) Star Topology . mae for correct lopolopy & 4 mark for correct layout) (% mark for correct answer and % mark for explanation) ill) a)¥2 Mark for correct answer b) In each and every building (4% Mark for correct answer) Iv) MAN (% mark for correct answer and ¥ marks for explanation) v) 1 mark for correct answer. @ scanned with OKEN Scanner

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy