Python Challange 1 Leave a Comment / By joydeep.jc / February 3, 2025 Welcome to Python Challange 1 Total Questions in this quiz are 84. Don't forget to download your certificate after completion of the quiz. Wish you all the best!!! Name Email What will print(1 < 2 1) output? None Error True False None Comment What will bool([ ]) return? None True False Error None Comment What is the output of print(list(map(lambda x: x+x, {1, 2, 3})))? [11, 22, 33] Error [1, 2, 3] [2, 4, 6] None Comment What is the output of print(bin(18)[2:].zfill(8))? 10010 10100000 100100 10010 None Comment What is the output of print(hash(3.0000000000000004) == hash(3))? False Error None True None Comment What is the output of print(len(" "))? None 0 1 Error None Comment What does sys.exit() do? Closes a file Terminates the script Does nothing Restarts Python None Comment Which of the following methods removes an item from a dictionary? discard() pop() delete() remove() None Comment What does print({True: 'yes', False: 'no'}[2 > 1]) return? None 'yes' 'no' Error None Comment What will print((lambda x: [x, x**2, x**3])(3)) return? 9 (3, 9, 27) Error [3, 9, 27] None Comment Which method is used to remove whitespace from the start and end of a string? trim() deleteWhitespace() removeSpaces() strip() None Comment What is the time complexity of checking an element in a set of n elements? O(1) O(n log n) O(log n) O(n) None Comment What is the output of print(hash(3.0000000000000004) == hash(3))? True Error None False None Comment What will print(all([])) return? True1 None Error False None Comment What is the output of print(divmod(10, 3))? (3, 1) Error (3.0, 1.0) 3.33 None Comment What does print(chr(ord('a') + 2)) output? 'c' 'a2' 97 'Error' None Comment How do you create an infinite loop in Python? While (1): Vdo while True: while True: for ( ; ; ) None Comment What does print('a' * 2 + 'b' * 3) output? Error a2b3 aabb aabbb None Comment Which of the following Python features ensures memory optimization in strings? String interning Garbage collection Memory Pooling Reference counting None Comment What is the output of print("abc"[::-1])? bac cba abc bca None Comment Time's upTime is Up!