Software Interview Questions
Questions Answers Views Company eMail

Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student"

IBM,

6 9912

As you are working with cmmi level 5 company ,can you tell me what processes you r following as QA engineer?

Xansa, Zensar,

2038

what are the QA process u r following in your cmmi level 5 company

Zensar,

1 2852

what is your test strategy?

Zensar,

2 6054

wat is meant by oracle

Infosys,

3 13352

Please HELP me its urgent? If i want to EXPORT data from SQL server to ORACLE 11g then how can I replicate data from SQL to ORACLE?

3 3577

why we use binding directory and service pgm

TCS,

4 13142

What are testing techniques? What is difference between general and specific?

Wipro,

1640

what is the default ordinal identifier.what are the send keys in qTP.

1 9195

Why do we need different environments and different data? What is the other name for environment? Justify your explanation ? real time experts pls xplain?

Infosys, NCR,

2362

how to write the pass or fail message in winrunner for eg: in QTP we can write like "Reporter.reportEvenr,micDon,"Test Test pass"

2 4762

what are the files created after executing QTP script file, please specify the file names with extensions

Virtusa,

1 2206

How can we redirect QTP results in to a excel sheet after the execution

SAP Labs, Virtusa,

3 11525

My questions are- 1. If we have 1 week time in hand what will be the approch of testing. 2. If we have very lesstime in hand then how we will do the regration testing. 2. When there is a change in requirement in module A then what should be the approch to change in that module and in other module like B,C etc an whow we update the test case pls explain the scenario in detail. 3.How do you confirm that for perticular funtionality all the test cases has been written. Thanks

IBM,

1 3968

Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??

Virtusa,

6 14815


Un-Answered Questions { Software }

If a partner works as a dealer and distributor and have the same master data. How does the system identify if its a dealer or distributor function? Where is the differentiation done?

5479


What does the viewresolver class?

167


What is the Process to creating lookup transformation in informatica

587


What is the difference between synchronous and asynchronous requests?

506


What are the new navigation controls in asp.net 2.0?

538






Explain the use of Mutex in C#?

562


Can you define mapset?

608


What are some of the features of office 365 development tools?

422


Is numeric in php?

536


How do I change the order of my references in word?

328


What is the difference between supervised learning an unsupervised learning?

123


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

677


Can I use visual studio community at work?

429


How do I change page border in word?

362


Topics: Structures, Arrays, Searching and Sorting Assume there is a small mobile computer device including a hard disk and a slot for a memory card. The device shall be used to backup photos e.g. during holiday. Every time a memory card is connected all photos of the card are copied into a new folder automatically. And your task is to develop some basic controlling software to show, add, remove, search and sort the directories of photos. Step by Step Implementation 1.Define two symbolic constants, one to hold the total volume of the disk (e.g. VOLUME) and another one to hold the number of entries the files system of the device can handle (MAXFOLD). 2.Define a new structure data type named DATE to store a date consisting of year, month and day as unsigned values. 3.Define an other structure data type FOLDER to store the information of one folder of photos: ◦A title as character array of appropriate length ◦The location (event) the photos are taken as character array of appropriate length ◦The date of the day the photos are copied to the disk using the just defined data type DATE ◦The number of photos as natural number ◦And the size of the folder in MB as floating point value 4.Define the following global variables and initialise them: ◦disk as an array with MAXFOLD elements of data type FOLDER ◦folders as natural value to count the number of folders currently stored at the disk (valid elements in the array) TEST: Now you should be able to compile the code the first time without any warning or error. In the menu only "p" to print and "q" to quit will work!. 5.Now complete the functions given by their prototype: float freeSpace ();The function has to calculate the sum of the size component of all elements currently stored in the disk array. The function shall return the free space of the disk by the difference between the available total volume and the calculated sum. TEST: To test this function you only need to uncomment printing the "statusline" at the function actionmenu(). Compare the calculated value with a manual calculation of the example values given above. unsigned isBefore (DATE, DATE);The function checks if one date is before the other. There are 3 different possibilities which have to be handled. Imagine for example these 3 different combinations of values: ◦2010-01-01 : 2010-01-02 ◦2010-01-01 : 2010-02-01 ◦2010-01-01 : 2009-01-01 The function shall just return the result of the comparison. unsigned isEqual (DATE, DATE);The function checks if one date is equal to the other, all components have to be compared. The function shall just return the result of the comparison. int findByDate (DATE);As the array is should be kept in order (sorted by date) implement a binary search for a folder by its date here. You need only to adapt the binary search we used in the exercise. Use the 2 comparing functions above where appropriate. The function shall return the index of the element which was found or -1. TEST: Now you can try searching a folder by date via the "s" in the menu. Activate the corresponding part in the main function. int isSpaceLeft (FOLDER);This function compares the free space of the disk with the size of folder given with the parameter list. The function shall return 1 if there is enough space to add the folder, otherwise 0 (just the result of the comparison). void SortByDate ();This function shall implement the InsertionSort using the component date as key. Use the provided algorithm/souce code of the exercise as template. If you need a comparison between dates, use the function isBefore you have written again. void addFolder (FOLDER);The function has to check if the disk has additional capacities to add the new folder (number of folders and space left). If at least one of these conditions is false print an error message and return -1. Else there has to be added an other test to avoid 2 folder elements with the same date (use the findByDate function here. If there is no folder with the new date simply attach the new folder at the end of the array and call the sorting algorithm afterwards to keep the order in the array. TEST: Now you can try to add a folder via the "a" in the menu. Activate the corresponding part in the main function. void delDir (int);This function removes one element of the disk array. The input parameter contains the index of the element to delete. Deletion can simply be done by moving all elements at the right one to the left (overwriting the element to delete. The function may get a -1. This has to be checked first (certainly there is nothing to delete then!) Don't forget to decrement the counter of elements at the end. TEST: Now you can try to remove a folder by date via the "r" in the menu. Activate the corresponding part in the main function. unsigned findAllOfLocation(char[], FOLDER[]);This is an optional additional task: The function shall find all elements with the given value for the component location (first input parameter). The array elements which are found have to be added to the FOLDER array (second input parameter). As this parameter is an array we can use the result later in the main function. There kernel of function implements a modified linear search on the disk array (it does not stop if one element is found bat continues search until the location of all elements is checked). The finally function shall return the number of elements found in the disk array. TEST: Now you can try to add a folder by date via the "l" in the menu. Activate the corresponding part in the main function.

1957