Quantitative Interview Questions

10,167 quantitative interview questions shared by candidates

What will be printed by this python program: class Parent: x = 0 class Child1(Parent): pass class Child2(Parent): pass Parent.x = 1 print(Parent.x, Child1.x, Child2.x) Child1.x = 2 print(Parent.x, Child1.x, Child2.x) Child2.x = 3 print(Parent.x, Child1.x, Child2.x)
avatar

Quantitative Analyst

Interviewed at HSBC

3.8
Jun 18, 2021

What will be printed by this python program: class Parent: x = 0 class Child1(Parent): pass class Child2(Parent): pass Parent.x = 1 print(Parent.x, Child1.x, Child2.x) Child1.x = 2 print(Parent.x, Child1.x, Child2.x) Child2.x = 3 print(Parent.x, Child1.x, Child2.x)

expected tosses to find 4 heads in a row? expected tosses for THHH ? which of these will take lesser tosses? If you sample in a random series, then, there’s equal probability of finding THHH and HHHH but THHH takes lesser time to come, how do you explain this discrepancy?
avatar

Quantitative Researcher/Strategy Developer

Interviewed at SUNRISE FUTURES

4.2
Feb 8, 2022

expected tosses to find 4 heads in a row? expected tosses for THHH ? which of these will take lesser tosses? If you sample in a random series, then, there’s equal probability of finding THHH and HHHH but THHH takes lesser time to come, how do you explain this discrepancy?

Viewing 7371 - 7380 interview questions

Glassdoor has 10,167 interview questions and reports from Quantitative interviews. Prepare for your interview. Get hired. Love your job.