Python

You might also like

Download as pdf
Download as pdf
You are on page 1of 14
111722, 9:07 PM Nandha Inttutons Result & Analysis Student: RAJARAAJESHWAR... Test: Python Basic Assessme... Course: 2023 Batch Weekly A. IP Address: 2409:4072:914:9718:30f9:b6ee:da60:8084 Tab switches: 0 © OS used: Windows Browser used: Chrome Test Duration: 00:07:55 Test Start Time: Mar 11, 2022 | 05:50 PM Test Submit Time: Mar 11, 2022 | 05:58 PM Overall score Technical MCQ -~ Rank: NA Rank NA 2 Topper score: 45.00 / 45 2 Topper score: 15.00/15 745 Average score: 17.83 / 45 aS Average score: 9.07/15 Least score: 0.00/45 Least score: 0.00/15 Coding Rank: NA Topper score: 30.00/30 730 Average score: 11.66 / 30 Least score: 0.00/30 Overall Question Status Technical MCQ - Question Status Total Questions: 18 Total Questions: 15 Questions Attempted: 15, Questions Attempted: 15, {5 Questions Correct: 2 Questions Correct: 2 418 Question Wrong: 13, Question Wrong: 13, Partially Correct: 0 Partially Correct: 0 Question Not Viewed: 2 Question Not Viewed: 0 Coding - Question Status hitpssnancha682.examlyofresulltestId=U2FsdGVWX 1 8Saq0Z6a"h2B/PSHacoclHPopVsINWw%k2Bx)k5z1 JpzaZAeVIBKECBUSFT 1 311122, 907 PM Nanda Istutions Total Questions: 3 Questions Attempted: 0 o Questions Correct: 0 fa Question Wrong: 0 Partially Correct: 0 Question Not Viewed: 2 Topic wise Analysis Coding Y Question No: 1 Multi Choice Type Question Fill the code to in order to get the following output. Output: Tuple: (1,3, 4) Max value: 4 t-(1,) print("Tuple:" ,t) print("Max value waune 1) t=t+(3,4) 2) tmax() 1) t=t+(3,4) 2) maxit) CORRECT 1) tet+(3,4) hitpsnancha682examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z63°h28/PSHacoclHPopVsINWw%k2Bx)k5z1 JpzoZAeVIBKgECBUSET ana st122, 907 PM Nanda instatons 2) Max(t) Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Tuples Question No: 2 Multi Choice Type Question Fill the code to in order to get the following output. Output: 11,2,4,5,5, 7, 8] 1 15[5,7,8,4,2,1,5] 2 print( ) 3 sorted(!) CORRECT Lsort() sorted) Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: List hitpssnancha682.examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z63°h28/PSHacociHPopVsINWw%k2Bx)k5z1 JpzaZAeVIBKqECBUSFT ana 111722, 9:07 PM Nandha Inttutons Question No: 3 Multi Choice Type Question Fill the code to in order to get the following output. Output: Count of 10: 4 L1 = [10,25,3@,10,35,10,50]; print (“Count of 10:", BUNK 1) L1insert(8,10) 2) L1.count("10") 1) L1.insert(8,10) 2) L1.count(10) CORRECT 1) L1.insert(8) 2) L1.count(10) Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: List Question No: 4 Multi Choice Type Question Fill the code to in order to get the following output. Output: hitpsnancha682examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z63°h28/PSHacoclHPopVsINWw%k2Bx)k5z1 JpzoZAeVIBKgECBUSET ana si1172, 907 PM Nanda Istutions [1, ‘ABC’, 2, ‘XYZ’, 3, QRS] La = [1,"ABC",2,"XYZ"] L2 = [3,"QRS"] print (11) wewne L1extend(L2) CORRECT L1.add(L2) L1upload(L2) Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: List Question No: 5 Multi Choice Type Question Fill the code to in order to get the following output. Output: [1, ‘ABC’, 2, "XYZ; [3, QRS] Li = [1,"ABC",2,"xvz"] L2 = [3,"QRS"] print( (1) wauwne hitpsnancha682examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z63°h28/PSHacoclHPopVsINWw%k2Bx)k5z1 JpzoZAeVIBKgECBUSET ena 111722, 9:07 PM Nandha Inttutons L1.append(L2) CORRECT Liadd(L2) L1.upload(L2) Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: List Question No: 6 Multi Choice Type Question Fill the code to in order to get the following output. Output: New Dictionary : (Salary’: None, ‘Age’: None, ‘Name’: None} 1 q@) 2 s = (‘Name", ‘Age’, Salary") 3 se =-(2) 4 jew Dictionary : %s" %str(d)) hitpsnancha682examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z63°h28/PSHacoclHPopVsINWw%k2Bx)k5z1 JpzoZAeVIBKgECBUSET ona 111722, 9:07 PM Nandha Inttutons 1) d=Dict 2) d= d.fromkeys(s) 1) 2) d= d.fromkeys(s) CORRECT 1) d=) 2) d= d.fromkey(s) Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Engineering Subject: Computer Science Subject: Python Question No: 7 Multi Choice Type Question Fill the code to in order to get the following output. Output: [(Marks’, 90%’), (Name’, ‘Abc), (Id', 123)] 1 dis {'Name’:'Abc',‘Id':123, ‘Marks’: 2 print( ) 3 90%") dikeys() hitps:nancha682.examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z6a%h28/PSHacoclHPopVsINWw%k2Bxjk5z1 JpzaZAeVIBKECBUSFT m4 111722, 9:07 PM Nanda Inttutons divalues) diupleQ Status: Correct Mark obtained: 1/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Dictionary Question No: 8 Multi Choice Type Question Fill the code to in order to get the following output. Output: Name: Abe Subject: None {(Marks': '90%, 'Name': ‘Abc’, ‘Subject': None, Id’: 123} dis ('Name':'Abc','Id':123, ‘Marks’ :'90%'} print("Name:", +) print( "Subject: print(di) -(1) (2) waune 1) di.setdefault(‘Name’, None) CORRECT 2) di.setdefault(‘Subject’, None) 1) di.set('Name’, None) 2) di.set(‘Subject’, None) hitpssnancha682.examlyofresulltestId=U2FsdGVWX 1 8Saq0Z6a%h28PSHacociHPopVsINWw%k2Bx)k5z JpzaZAeVIBKECBUSET ana 111722, 907 PM Nandha Inttutons None of the above Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Dictionary Question No: 9 Multi Choice Type Question Which of the following is not a function of tuple? update() CORRECT min) max() Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Easy Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Tuples Question No: 10 Multi Choice Type Question What is the output of the following? 1 x = 20 2 3. if not x == 50: 4 5 print(‘the value of x different from 50") 6 7 else: 8 9 print(‘the value of x is equal to 50") 18 hitps:nancha682.examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z6a%h28/PSHacoclHPopVsINWw%k2Bxjk5z1 JpzaZAeVIBKECBUSFT ona 111722, 9:07 PM Nanda Inttutons the value of x different from 50 CORRECT none of the mentioned Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Easy Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Branching and Looping Question No: 11 Multi Choice Type Question What is the output of the following? 1 x = False y = True if x and y: 2 3 4 5 6 print(*Both x and y are True’) 7 8 else: 9 e 1@ —print('x is False or y is False or both x and y are False’) Both x and y are True xis False or y is False or both x CORRECT and y are False hitpssnancha682.examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z63°h28/PSHacociHPopVsINWw%k2Bx)k5z1 JpzaZAeVIBKqECBUSFT ron 111722, 9:07 PM Nandha Inttutons Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Branching and Looping Question No: 12 Multi Choice Type Question What is the output of the below code? * " True y = False z = False if x or y and z: print("Hello") 11 else: 13 print("world") Hello CORRECT World Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Branching and Looping Question No: 13 Multi Choice Type Question Find the output of the below code. 1 x = True hitpssnancha582examly.ofresull7estId=U2FsdGV¥X 1 8Saq0Z63%h2BrPSHacocPopVsINWwk2Bx)k5z1 JpzaZAeVIBKqECBUSFT sna 111722, 907 PM Nanda Inttutons y = raise z = False Z 3 4 5 if not x or y: 6 7 print(1) 8 9 elif not x or not y and z: 10 11 print(2) 12 13 elif not x or y or not y and x: 14 15 print(3) 16 1 2 3 CORRECT Status: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Branching and Looping Question No: 14 Multi Choice Type Question What is the output of the following? 1 age = 38 2 if (age >= 11): 3 print ("You are eligible to see the Football match.") 4 5 if (age <= 20 or age >= 60): 6 7 print("Ticket price is $12") 8 9 else: 18 1 print("Ticket price is $20") 12 else: hitpssnancha682.examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z63°h28/PSHacociHPopVsINWw%k2Bx)k5z1 JpzaZAeVIBKqECBUSFT vane 111722, 9:07 PM Nanda Inttutons 3B 14 Stat Ques print ("You're not eligible to buy a ticket.") You are eligible to see the Football match. CORRECT Ticket price is $20 You are eligible to see the Football match. Ticket price is $12 None of the mentioned us: Wrong Mark obtained: 0/1 Hints used: 0 Level: Medium sstion type: MCQ Single Correct Subject: Programming Subject: Python Subject: Branching and Looping Questi What 1 wavauaun 10 a ion No: 15 Multi Choice Type Question is the output of the following? x = False y = True if x and y: print(‘Both x and y are True’) else: print('x is False or y is False or both x and y are False’) Both x and y are True hitpssnancha682.examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z6a%h28/PSHacociHPopVsINWw%k2Bx)k5z1 JpzaZAeVIBKqECBUSFT rane 111722, 9:07 PM Nandha Inttutons None of the mentioned Status: Correct Mark obtained: 1/1 Hints used: 0 Level: Easy Question type: MCQ Single Correct Subject: Programming Subject: Python Subject: Branching and Looping hitps:nancha682.examlyofrsulltestId=U2FsdGVWX 1 8Saq0Z6a%h28/PSHacoclHPopVsINWw%k2Bxjk5z1 JpzaZAeVIBKECBUSFT vane

You might also like