Company: Exl_MCQ
Difficulty: medium
A certain sum of money has 20% compound interest and the amount gets doubled in a particular time of year. What will be the time period in which it will get doubled? 12 2 4 1 There are 5 children. All five children are born at an interval of 3 years which means that the difference between consecutive children is 3 years. What is the age of the oldest child? 21 years 6 years 12 years 18 years The average age of Alice, Mike, and Bob is 43 years, and the average of the ages of Alice, Mike, and Ben is 49 years. If Ben is 54 years old, what is Bob's age? 30 years 36 years 42 years 48 years What is the purpose of the following Python code: import ftplib ftp = ftplib.FTP('ftp.example.com') ftp.login(user='username', passwd='password') ftp.cwd('/directory') with open('example.txt', 'wb') as file: ftp.retrbinary('RETR example.txt', file.write) ftp.quit() It connects to a remote FTP server and uploads a file to it It connects to a remote FTP server and downloads a file from it It creates a new d