Past ExamsRwanda ICT preparation

Topics / Database

Totals of salary payments in a payroll database are occasionally off by a few hundredths of a franc. The Amount column is of type FLOAT. What should it be?

Les totaux des versements de salaires d'une base de paie sont parfois faux de quelques centièmes de franc. La colonne Montant est de type FLOAT. Quel type faut-il ?

Answers
ATEXT, so that the amounts are stored exactly as they were typed inTEXT, pour que les montants soient stockés exactement comme ils ont été saisis
BINTEGER, dropping all decimal placesINTEGER, en supprimant toutes les décimales
CBOOLEANBOOLEAN
DDECIMAL/NUMERIC with fixed precisionDECIMAL/NUMERIC avec une précision fixe
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Database Management·3 marks·Hard

More Database questions