I am international sophomore student studying computer science in US. Recently I decided to apply for PhD in the future so I try to find a professor who can offer a research opportunity in summer. However, I could not find any after numerous asking. Right now I decide to try again in next summer after I finish all the core requirement courses. But just prepare for the worst case, if I still cannot find any research opportunity after the junior summer. Should I consider to apply for the research-based MS instead of applying directly to PhD? If so, which MS programs are suitable for those who want to apply for PhD?