Microsoft Interview Questions

Q:

How do you handle errors in CICS programs?

Answer

Check EIBRESP after the call or use the HANDLE condition.


 

Report Error

View answer Workspace Report Error Discuss

0 1957
Q:

What exactly do you mean by UDP?

Answer

UDP (User Datagram Protocol) is a communications protocol that offers a limited amount of service when messages are exchanged between computers in a network that uses the Internet Protocol (IP).

Report Error

View answer Workspace Report Error Discuss

0 1945
Q:

What is the advantage of using ADO?

Answer

ADO or Active X Data objects, allows developers to create applications that can interoperate well with other data application services.

Report Error

View answer Workspace Report Error Discuss

0 1936
Q:

What File system is supported by Windows XP?

Answer

Windows XP supports four major file systems: FAT12, FAT16, FAT32 and NTFS. This means that Windows XP can be installed on these file systems. The use of NTFS is preferred especially when using a bigger hard drive space.

Report Error

View answer Workspace Report Error Discuss

0 1873
Q:

Explain about creating VB applications in excel ?

Answer

User defined functions can be created into the Microsoft spreadsheet. Spreadsheets can be customized according to the user needs by using VB applications. To create visual basic functions useful for spreadsheet you need to click Tools and select Macros where you will need to click on Visual basic editor.

Report Error

View answer Workspace Report Error Discuss

0 1855
Q:

Write a method to fill all the spaces in a string with '%20'

Answer

public class Test {


    public void replaseSpaces(char[] str, int length) {


        int spaceCount = 0, newLength = 0, i = 0;


        for(i = 0; i < length; i++) {


            if (str[i] == ' ') 


                spaceCount++;


        }


 


        newLength = length + (spaceCount * 2);


        str[newLength] = '\0';


        for(i = length - 1; i >= 0; i--) {


            if (str[i] == ' ') {


                str[newLength - 1] = '0';


                str[newLength - 2] = '2';


                str[newLength - 3] = '%';


                newLength = newLength - 3;


            }


            else {


                str[newLength - 1] = str[i];


                newLength = newLength - 1;


            }


        }


        System.out.println(str);


    }


 


    public static void main(String[] args) {


        Test tst = new Test();


        char[] ch = {'t', 'h', 'e', ' ', 'd', 'o', 'g', ' ', ' ', ' ', ' ', ' ', ' '};


        int length = 6;


        tst.replaseSpaces(ch, length);  


    }


}

Report Error

View answer Workspace Report Error Discuss

0 1844
Q:

How does Microsoft classify security threats to its software?

Answer

Microsoft classifies such threats into 4 indicators, which are low, moderate, important, and critical. Such indicators are available as reference under the Microsoft bulletin.

Report Error

View answer Workspace Report Error Discuss

0 1801
Q:

Can I call an XLM macro from within Excel VB?

Answer

With the help of Excel App instance. we can execute a Macro in VB code.


EXcelAppInstance.Application.Run("MacroName")

Report Error

View answer Workspace Report Error Discuss

0 1706