GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  Software Testing
Go To First  |  Previous Question  |  Next Question 
 Software Testing  |  Question 9 of 266    Print  
Write test cases for char * my_itoa(int n) method? What if this function is mission critical? How will you test it? How can you speed up the implementation?

  
Total Answers and Comments: 1 Last Update: July 14, 2005   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 14, 2005 05:07:56   #1  
Kesari        

RE: Write test cases for char * my_itoa(int n) method? What if this function is mission critical? How wi...
char * my_itoa(int n) method
For this function :
First I will pass correct argument and checks weather it is functioning correctly or not for correct arguments.
I will pass float as argument and check weather type casting is happening or not.
I will pass char as argument check proper exception is instantiated or not.
I will pass Null as argument.
I will pass more then integer range value.
I will pass two integers as arguments.

Like that I will test this function this is more like unit test cases.. developed by developer

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : What is this stapler to be used for?  Is it a manual stapler or an electric?  If manual, is it a heavy-duty stapler used in construction?  Read the marketing literature and spec to determine test cases.  Is the color and graphics ...

Latest Answer : SRS, Function, Design documents enough to write the Test Cases. All the entry criteria's are gathered before the Coding phase. So there is no harm to write case under code development. ...

Latest Answer : I guess the answer for this question will differ from each one depending on the project you have done earlier. This is one other question which expects you to bring out your experience in generating test cases.If you ask me.. i wud say few words about ...

Latest Answer : As the name suggests, Replace String method is used to replace a string in any document/file etc. e.g. Replace function in MS-Word application. ...

Write test cases for char * my_itoa(int n) method? What if this function is mission critical? How will you test it? How can you speed up the implementation?

Latest Answer : 1.Random Text, try all characters, most common fonts.2.Graphics, design a page that uses the most memory possible, often laser printers run out of memory and fail to print part of the page. ...

Latest Answer : Hi, In case of a mouse wire being disconnected to a computer, then the functionality of keyboard plays a vital role in performing an action. Here are some of the scenarios:1. Check for the number of keys present depending on the type of keyboard say if ...

How will you test a newly installed elevator? What will you be the broad categories of your test cases.

Latest Answer : Also check the files after installing ,have they being modified or not. ...

Latest Answer : in winrunner we cant test dynamic images.it is done by using QuickTestProfessional(QTP)tool only.winrunner does not support dynamic images.this is one of drawback in WR. ...


 Sponsored Links

 
Related Articles

SQA Implementation

SQA Implementation Developers and the SQA team create a development plan before they build an application The developers write following the SDLC plan while the SQA team writes the Software Quality Assurance Plan to ensure that the SDLC plan was executed If these documents by the developers and the
 

High-Speed Serial Interface (HSSI)

High Speed Serial Interface HSSI HSSI is High Speed Serial Interface was first developed by Cisco systems and the main purpose was to solve high speed requirement issues The main application of HSSI is on the Wide Area Networks and it helps to enhance the data flow speed on these networks It can wor
 

SQA Software and Tools

SQA Software and Tools In quality assurance it is always important to get all the help we could get In other industries developers could easily check the products manually and discard those that do not meet the standard The length and the width of the product are checked to maintain standardization
 

What is Software Quality Assurance?

What is Software Quality Assurance Business software is never built overnight It takes a lot of planning consultation and testing to be able to come up with an initial version of the application If a business hurries up the development of a certain application they would end up spending more in addr
 

Software Quality Assurance Training

Software Quality Assurance Training In this training session you will learn about SQA Software Quality Assurance SQA Principles SQA Planning SQA Project Metrics SQA Software and Tools SQA Analysis SQA Approaches and Methodologies SQA Planning and Requirements SQA Lifecycle Standards SQA Implementati
 

EDI and Software Applications

EDI and Software Applications EDI and JAVA Java is a programming language originally developed by Sun Microsystems and launched in 1995 While generally compiled to byte code direct hardware execution of byte code by a Java processor is also possible Currently almost all of Java’ s software
 

ERP and DSS Implementation

ERP Implementation of DSS With the birth of electronic commerce and supply chains the call centers and other business initiatives supported by the information technologies had been worried about finding applications that join to decode interpret and take the opportunity to make good use of the risks
 

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

ERP Success cases

ERP Success cases You have probably heard a lot about ERP systems especially about their implementation and its advantages and disadvantages Here you will find that there are no unachievable targets and that every effort brings benefits These are the stories of people who found success through ERP i
 

C++ Function Passing Types

C Function Passing Types In this C tutorial you will learn about function passing types two types of arguments passing in functions passed by value  and  passed by reference are discussed here mosgoogle center The arguments passed to a function can be performed in two ways Passed
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape