IGCSE Computer Science Paper-2: Specimen Questions with Answers 11 - 12 of 12

Glide to success with Doorsteptutor material for Bank-PO : get questions, notes, tests, video lectures and more- for all subjects of Bank-PO.

Question 11

Edit

Describe in Detail

Essay▾

What do you mean by Fact-finding in Database Management System? List some of the techniques.

Explanation

Fact-Finding in DBMS is defined as the technique used to collect facts about systems, requirements and preferences. The formal process of techniques such as interviews and questionnaires are used. These techniques are used in case of database design and the later stages of the lifecycle to a lesser extent.

Techniques used:

• Examining documentation
• Interviewing
• Observing the enterprise in action
• Research
• Questionnaires

Question 12

Edit

Write in Short

Write a Pseudo code or an algorithm to input any three numbers and then printing them in the ascending order.

Explanation

let՚s assume the three numbers as 6,5, 4. At the end it should look like 4,5, 6.

1. `boolean flag =true; // proceeding to sorting`
2. `array [ ] =[ 4, 5, 6 ]; // the list of numbers to be sorted`
3. `int len =length ( array ); // ( three numbers here )`
4. `int i =0; // Index pointing to the member of the array or the list`
5. `int buffer =0; // temporary storage empty at the beginning`
6. `while ( flag ) // sorting is not finished`
7. `{`
8. ` if array [ i ] is > array [ i +1 ] // if first element is greater than second`
9. ` {`
10. `  buffer =array [ i ]; // saving the first element in temporary storage`
11. `  array [ i ] =array [ i +1 ]; // installing first element in the second place`
12. `  array [ i +1 ] =buffer; // placing the first element`
13. `  if ( i < len ); // index increases if i is within the array length`
14. `  i =i +1; // concentrating on the next pair`
15. `  else i =0; // starting the bubble again`
16. ` }`
17. `}`

Developed by: