
black-box – black-box – কুইজ মডেল টেস্ট অনুশীলন – 2
1287. Consider the following state transitions of a two-speed hair dryer, which is operated by pressing its one button. The first press of the button turns it on to Speed 1(state A), second press to Speed 2 (state B) and the third press turns it off (state C). Which of the following series of state transitions below will provide 0-switch coverage?
- C
- B
- AA
- B
1288. Given the following code, which statement is true about the minimum number of test cases required for full statement and branch coverage? Read p Read q IF p+q > 100 THEN Print “Large” ENDIF IF p > 50 THEN Print “p Large” ENDIF
- 2 tests for statement coverage
- 2 for branch coverage1 test for statement coverage
- 3 for branch coverage1 test for statement coverage
- 2 for branch coverage1 test for statement coverage
1289. Analyze the following highly simplified procedure: Ask: “What type of ticket do you require, single or return?” IF the customer wants ‘return’ Ask: “What rate, Standard or Cheap-day?” IF the customer replies ‘Cheap-day’ Say: “That will be £11:20? ELSE Say: “That will be £19:50? ENDIF ELSE Say: “That will be £9:75? ENDIF Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given.
- 3
- 6
- 4
- 5
1290. What is an equivalence partition (also known as an equivalence class)?
- A set of test cases for testing classes of objects
- An input or output range of values such that every tenth value in the range becomes a test case.
- An input or output range of values such that each value in the range becomes a test case
- An input or output range of values such that only one value in the range becomes a test case
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।