Company: IndusInd bank on-campus_19may
Difficulty: medium
This set contains two independent multiple-choice questions taken from the OOP 2.0 and ML 2.0 sections of the assessment. Each question is self-contained. How your answer is graded: your program reads no input. Print the option number you chose for each of the two questions, one per line, in order Q1, Q2. Q1 (OOP 2.0). What is the output of the following Swift code? class Wall { var length: Double var height: Double init(length: Double, height: Double) { self.length = length self.height = height } func calculateArea() -> Double { return length * height } } var wall1 = Wall(length: 10.5, height: 8.6) var wall2 = Wall(length: 8.5, height: 6.3) print("Area of Wall 1:", wall1.calculateArea()) print("Area of Wall 2:", wall2.calculateArea()) Area of Wall 1: 90.3 Area of Wall 2: 53.55 Area of Wall 1: 89.9 Area of Wall 2: 53.65 Area of Wall 1: 89.3 Area of Wall 2: 51.55 Error (missing argument for parameter 'length' in call) Q2 (ML 2.0). What could indicate a performance issue in RAG (Retri