IF ASCII_CODE_OF_ENTERED_CHAR is less than 44
THEN reject it
ELSE IF ASCII_CODE_OF_ENTERED_CHAR is greater than 56
THEN reject it
ELSE it's a digit, so accept it
Which one of the following sets of ASCII codes do you use
to test the sample code above WITHOUT redundant coverage?



IF ASCII_CODE_OF_ENTERED_CHAR is less than 44 THEN reject it ELSE IF ASCII_CODE_OF_ENTERED_C..

Answer / Krati Vishnoi

To test your sample code without redundant coverage, you can use the following set of ASCII codes: 45, 46, 47, 48-55, and 57-126. This covers all digits (48-57) and alphanumeric characters that are not less than 44 or greater than 56.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

What is the smoke testing and sanity testing..?what is the difference?

10 Answers   TCS,


What are the methods you followed, while doing black box testing???

7 Answers   Oracle,


What is the V-Model Development Method and do you agree with this model?

2 Answers  


what are the testcases for Lift--

1 Answers   HP,


What is Regression Testing ? Why do Regression Testing ? Why all the testcase execuation in each time of Regression testing ?

2 Answers  


If we have show stopper bug then will Assign to Developer if he is not avialble then what we have to do.If it take one/Two day.

2 Answers  


plz can anyone tell me about agile in real time

1 Answers  


what is sychronization point in qtp how u put in yr application when it is put wat is its use how it is useful

3 Answers   Polaris, Quick Heal, SAP Labs,


10.What is stub?

5 Answers   Hewitt,


what are the different types of browser compatability u will test ?

7 Answers   ControlNet, FIC, First Indian Corporation,


Hi, i am looking job in perfomance testing using Loadrunner can any body help me a project in any domine plz(Usah) chs_29@rediffmail.com

0 Answers  


How can you report the defect using excel sheet?

7 Answers   AppLabs, WebEx,


Categories