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

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

Short Answer▾

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. booleanflag =true; // proceeding to sorting
  2. array [ ] =[ 4, 5, 6 ]; // the list of numbers to be sorted
  3. intlen =length ( array ); // ( three numbers here )
  4. inti =0; // Index pointing to the member of the array or the list
  5. intbuffer =0; // temporary storage empty at the beginning
  6. while ( flag ) // sorting is not finished
  7. {
  8. ifarray [ 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.   elsei =0; // starting the bubble again
  16. }
  17. }

🎯 Select Paper

Developed by: