software design pattern mcq question and answer software question answer paper software