Posts

Showing posts with the label class 11

Q8 dfjzfjhdfd sopi eadjfosv poiwerjkrwekl;gtfgbe

Q1. Match the following clauses with their respective functions.   Answer :-   SNo Name Age Department Dateofadm Charges Sex 1 Arpit 62 Surgery 21-01-98 300 M 2 Zareena 22 ENT 12-12-97 250 F 3 Kareem 32 Orthopaedic 19-02-98 200 M 4 Arun 12 Surgery 11-01-98 300 M 5 Zubin 30 ENT 12-01-98 250 M 6 Ketaki 16 ENT 24-02-98 250 F 7 Ankit 29 Cardiology 20-02-98 800 F 8 Zareen 45 Gynaecology 22-02-98 300 F 9 Kush 19 Cardiology 13-01-98 800 M 10 Shilpa 23 Nuclear Medicine 21-02-98 400 F

q5 kjhgtishtglrhtvthghdghnnvcmnzbsd,nbdn neffjkghklen h

    P.I.P: - 1.1     Q2. Display and print the given values:   (i) 33 + 23 (ii) S = 24 + 9 (first assign 24 + 9 to S and then print (display S)) (iii) a = 3, b = 17, c = b - 10 (first assign these values to a, b and c in three separate statements and then print/display them.)   Answer =   (i) >>> 33 + 23 56 >>>    (ii) >>> S = 24 + 9 >>> print (S) 33 >>>    (iii) >>> a = 3 >>> b = 17 >>> c = b - 10 >>> print (a , b , c) 3 17 7 >>> 

Q6 rgeeeeeeeeeeeeeeeeeeeeeeeeeeeunlasfeuykanfyhawughnejnqwekluriryjqwkdjeydkqwreyfqwetguifyitfgquioygwetfgwe weqgbjdnkegyrjhmgykktw 3e444ee2jtyrbsvefsmse

    P.I.P:- 9.1   Q1. Suppose that D is the dictionary {"what" : 22, "are" : 11, "you" : 14, "doing" : 5, "next" : 9, "Saturday?" : 4} . Write down what the value of D is after each of the following Python statements. Evaluate each statement starting with the same value of the dictionary D, mentioned above and write what will be the change dictionary D?   (a) D ["what"] = D ["are"] (b) D.update ({"Sunday":25, "what":5}) (c) del D["you"] (d) D ["which"] = 19 (e) D.clear ()   Answer =   (a) >>> D = {"what" : 22, "are" : 11, "you" : 14, "doing" : 5, "next" : 9, "Saturday?" : 4} >>> D ["what"] = D ["are"] >>> D {'what': 11, 'are': 11, 'you': 14, 'doing': 5, 'next': 9, 'Saturday?': 4} ...