Dos would be the best way to run Qbasic, but very few machines have true Dos anymore.
Windows 1.01 - 1.04 was Microsoft's first attempt at making a GUI. It didn't run DOS programs very well. Windows 2.03 is the best, it doesn't run it itself, it sends it to DOS and lets it run it Windows 3.1 is second best, it uses a Dos interpreter. Windows 95 is good, but it gets unstable when running Dos programs Windows 98 runs Dos programs alright, but it gets kinda slow. Windows 2000 and Windows ME are terrible for Dos programs, they get incredibly unstable Windows XP is more stable, Microsoft put huge effors in making XP stable. But they took a step backwards in supporting older programs. It pauses all other programs while running DOS .exes
Conclusion: The older the version, the better it is