Microsoft Basics Interview Questions And Answers

Download Microsoft Basics Interview Questions and Answers PDF

Optimize your Microsoft Basics interview preparation with our curated set of 18 questions. These questions are specifically selected to challenge and enhance your knowledge in Microsoft Basics. Perfect for all proficiency levels, they are key to your interview success. Don't miss out on our free PDF download, containing all 18 questions to help you succeed in your Microsoft Basics interview. It's an invaluable tool for reinforcing your knowledge and building confidence.

18 Microsoft Basics Questions and Answers:

Microsoft Basics Job Interview Questions Table of Contents:

Microsoft Basics Job Interview Questions and Answers
Microsoft Basics Job Interview Questions and Answers

1 :: What is MFC?

MFC provides stricter type checking for the return and parameter types of message handler functions. This new behavior notifies the developer of potential problems by flagging potentially unsafe message handlers with an error message. MFC now uses static casts for ON_MESSAGE, ON_REGISTERED_MESSAGE, ON_THREAD_MESSAGE, and ON_REGISTERED_THREAD_MESSAGE.
Read More

2 :: What is Marshalling?

Marshalling is the process of gathering data from one or more applications or non-contiguous sources in computer storage, putting the data pieces into a message buffer, and organizing or converting the data into a format that is prescribed for a particular receiver or programming interface.
Read More

3 :: Explain MFC?

MFC provides stricter type checking for the return and parameter types of message handler functions. This new behavior notifies the developer of potential problems by flagging potentially unsafe message handlers with an error message. MFC now uses static casts for ON_MESSAGE, ON_REGISTERED_MESSAGE, ON_THREAD_MESSAGE, and ON_REGISTERED_THREAD_MESSAGE.
Read More

4 :: How to create Virtual Root in IIS?

To create a virtual directory by using IIS Manager
1.
In IIS Manager, expand the local computer, expand the Web Sites or FTP Sites folder, right-click the site or folder within which you want to create the virtual directory, point to New, and then click Virtual Directory. The Virtual Directory Creation Wizard appears.

2.
Click Next.

3.
In the Alias box, type a name for the virtual directory. (Choose a short name that is easy to type because the user types this name.)

4.
Click Next.

5.
In the Path box, type or browse to the physical directory in which the virtual directory resides, and then click Next.

6.
Under Allow the following permissions, select the check boxes for the access permissions you want to assign to your users, and then click Next.

Important

For security reasons, when selecting access permissions, consider allowing only the default Read permission. By restricting permissions in this way, you can help avoid attacks against your Web site by malicious users. For more information about setting access permissions, see Securing Virtual Directories and Access Control in Help and Support Center for Windows Server 2003.

7.
Click Finish. The virtual directory is created below the currently selected folder level.


To create a virtual directory by using Windows Explorer
1.
Open Windows Explorer.

2.
Right-click the folder you want to be a virtual directory, and click Sharing and Security.

3.
Click the Web Sharing tab.

4.
Click Share this folder.

5.
In the Alias box, type the name for the virtual directory.

6.
Click OK twice.


To create a Web virtual directory by using the Iisvdir.vbs script
1.
From the Start menu, click Run.

2.
In the Open box, type cmd, and then click OK.

3.
At the command prompt, type the following:

cscript %SystemRoot%system32iisvdir.vbs /create SampleWebSite[/Path] VirtualDirectorydrive:path

where SampleWebSite, VirtualDirectory, and path is the physical directory, as appropriate.


For more information about creating Web virtual directories by using the Iisvdir.vbs command and its parameters, type the following at the command prompt: iisvdir /create /?.

To create an FTP virtual directory by using the Iisftpdr.vbs script
1.
From the Start menu, click Run.

2.
In the Open box, type cmd, and then click OK.

3.
At the command prompt, type the following:

cscript %SystemRoot%system32iisftpdr.vbs /create FTPSite[/Path] VirtualDirectory drive:path

where FTPSite, VirtualDirectory, and path is the physical directory, as appropriate.


For more information about creating FTP virtual directories by using the Iisftpdr.vbs command and its parameters, type the following at the command prompt: iisftpdr /create /?.

This is the right Answer.

To create a virtual directory by using IIS Manager

1. In IIS Manager, expand the local computer, expand the Web Sites or FTP Sites folder, right-click the site or folder within which you want to create the virtual directory, point to New, and then click Virtual Directory. The Virtual Directory Creation Wizard appears.

2. Click Next.

3. In the Alias box, type a name for the virtual directory. (Choose a short name that is easy to type because the user types this name.)

4. Click Next.

5. In the Path box, type or browse to the physical directory in which the virtual directory resides, and then click Next.

6. Under Allow the following permissions, select the check boxes for the access permissions you want to assign to your users, and then click Next.

Important

For security reasons, when selecting access permissions, consider allowing only the default Read permission. By restricting permissions in this way, you can help avoid attacks against your Web site by malicious users. For more information about setting access permissions, see Securing Virtual Directories and Access Control in Help and Support Center for Windows Server 2003.

7. Click Finish. The virtual directory is created below the currently selected folder level.
Read More

5 :: Explain Difference between Dim Object as object AND dim obj as myform?

Dim object as object --> the general VB object was created

Dim obj as myform --> the myform object was created.

The first one is general object and second one is the specified object.
Read More

6 :: How to create Drop Down Combos in HTML? select Tag?

Drop down can done through (<select

<option> <option>



if you are creating a drop down for City then
<select name="ddlcity" multiple=true>
<option value="ohio">ohio</option>

<option value="nyc">nyc</option>

In the same way u can create for any thing.In this drop down a person can select more than one choice.If u want a user to restrict to only one value then don't set multiple=true
Read More

7 :: Explain the file needed to boot win-xp?

Bootable files in widow XP are
Boot.ini, Ntldr,Ntdetect, Ntfs.sys.
Read More

8 :: Explain the difference between web service and web application?

web services are mechanism to acess remote programmeble logical unit by using http and xml combinly called SOAP(simple object access protocol)

Soap has some methods to access programmeble application logic by get, and post method.

a client of web services has nothing to do with the internal logic of web services.

they only have to know how to send and get for xml request ie SOAP. while

web applications are accessible by clients and they are boud with assemblies.

what is the difference between webserviweb services are mechanism to acess remote programmeble logical unit by using http and xml combinly called SOAP(simple object access protocol)

Soap has some methods to access programmeble application logic by get, and post method.

a client of web services has nothing to do with the internal logic of web services.

they only have to know how to send and get for xml request ie SOAP. while

web applications are accessible by clients and they are boud with assemblies.
Read More

9 :: Explain How many data types are supported in Vbscript?

VBScript consists of only one data type (Variant)
Read More

10 :: Explain session variables?

Variabiles saved between the sessions (ASP, PHP etc.)
Can be stored in server side or client side (with cookies).
Read More

11 :: What is IUnknown and what are its three parts?

The COM interface class from which all other interface classes are derived. This interface allows all COM objects to manage their own lifetime, ie, to release themselves from memory when they are no longer connected to any clients.

IUnknown Interface is the Interface which every COM should have.
The Three parts are:
1. QueryInterface
2. Addref
3. release
Read More

12 :: Explain Why do we use Option Explicit?

Option Explicit requires that all variable names be defined (with the Dim statement).
Read More

13 :: How to remotely administer MS IIS?

using these steps

1)IIS Manager

2) Terminal Services

3)Remote Administration (HTML) Tool
Read More

14 :: What is Marshalling not necessary?

Marshalling is the process of packaging and sending interface method parameters across thread, process or machine boundaries.
Read More

15 :: Explain The Hardware Inventory Client Agent is
enabled with the default configuration settings. You need to ensure that the Hardware Inventory
Client Agent is run every Tuesday at 19:00. What should you do?
A. Configure the Hardware Inventory Client Agent to use a Full schedule.
B. Add an IDMIF file to each client that sets the new schedule.
C. Configure the Hardware Inventory Client Agent to use a Simple schedule.
D. Change the SMS_def.mof to comply with the new schedule.?

A. Configure the Hardware Inventory Client Agent to use a Full schedule.
Read More

16 :: Explain All servers run Microsoft Windows Server
2003. All desktop computers run Microsoft Windows XP Professional. The company has a single
SMS site. The SMS Advanced Client is installed on all computers on the network. You need to
inventory the network to discover only the followinG.
1. The version of Microsoft Word that is being used by each computer
2. A list of applications that is installed on each computer
3. The version of the definition file named Av.dat that is used by the antivirus software
You need to modify the default settings for the SMS Software Inventory Client Agent to collect
this information. You need to achieve this goal by using the least amount of administrative effort.
Which entry or entries should you add? (Choose all that apply.)
A. *.exe
B. Av.dat
C. Winword.exe
D. *.*?

C. Winword.exe
Read More

17 :: Explain Which Network Discovery method will be unavailable?
A. DHCP
B. Domains
C. SNMP
D. SNMP Devices
E. Subnets?

A. DHCP
Read More

18 :: Explain All servers run Microsoft Windows Server
2003. All desktop computers run Windows XP Professional. You want to install the SMS
Advanced Client on all computers on the network. You use the Client Push
Installation Wizard to install the SMS client software on the computers. You discover that some of
the computers failed to install the SMS client. You need to identify the cause of the problem.
Which three log files could you examine on both the SMS client and the SMS site server? (Each
correct answer presents a complete solution. Choose three.)
A. Ccm.log
B. Ccmsetup.log
C. Cidm.log
D. Client.msi.log
E. Ddm.log
F. Smsexec.log?

A. Ccm.log
B. Ccmsetup.log
D. Client.msi.log
Read More