Write test cases to test a new defined "data type" designed as required for a client? - asked in a interview, company - "Oracle".

Showing Answers 1 - 3 of 3 Answers

Hi Isk,

       Question is not clear, which environment he wants to define a new datatype.

  i.e he wants to in Java or C,C++,.Net  ect

  For Example he wants define a new data type in any language or any   package what we have to test in that means

 1 First we have to check the new defined data type is available in that particular  environment or not.

2 whether the new defined data type is supported that particular environment or not. 

 2 whether the new defined data type is accepted specified Data or not.

 

  

 

  Was this answer useful?  Yes

Mohd. ShahNawab

  • May 4th, 2006
 

We can also check for-1) Lower bound for that datatype (as each datatype has some lower limit), also check lower limit -1 2) Upper bound for that datatype (as each datatype has some upper limit too), also check lower limit +13) also check any intermediate value too.All this is valid for scalar data types.

  Was this answer useful?  Yes

Test Cases :

1.Check with giving alphabets
2.check with numerics
3.check with maximium characters
4.check with null value
5.check with same data for different time

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions