Question: Please answer fast with the multiple choice answers only. Thanks a lot 45. The output of code shown below is: 48. Where are the arguments
45. The output of code shown below is: 48. Where are the arguments received fr command line stored? def f10): a) sys.argv b) os.argv c) argv d) none of the mentioned global x def f2(a,b): global x return a+b+x 49. The readlines() method returns a) str b) a list of lines c) a list of single characters d) a list of integers 10 total f2(1.2) print(total) a) Error b) 7 50. The number of attributes in the following t is CREATE TABLE employee ( d) 15 46. Which of the following is equivalent to random.randrange(3)? emp_name CHAR 30). emp id INT a) range(3) b) random.choice(range(0, 3) c) random.shuffle(range(3)) d) random.select(range(3)) a) 30 b) 1 c) 2 d) 3 47.What will be the output of the below code? word - 'aeioubcdfg' print word [3]+ word [3:] a) aeidfg b) aeioubcdfg c) dfgaei d) gfdcbuoiea 51. What is printed by the following code? string '123geeks456for789geeks count 0 newstring1 for a in string 48. What is the output of the followingcode: if (7 0) or False: newstring1+- a print(count) print(newstringl) string '123ayu456 count 0 for a in string print( love" print("geeksforgeeks") Run on IDE if (a.isnumericl)True: a) geeksforgeeks b) love c) abhi d) Error count+-1 else: newstring2+# a print(count) print(newstring2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
