devBistro logo
  • search jobs
  • search resumes
  • tech articles
  • tech interviews
  • job seekers
  • employers

Windows Interview Questions

ASP, ADO and IIS interview questions

This came in the mail from the reader who recently went through a job interview process. He didn’t mention the company name.

  1. Why do you use Option Explicit?
  2. What are the commonly used data types in VBScript?
  3. What is a session object?
  4. What are the three objects of ADO?
  5. What are the lock-types available in ADO? Explain.
  6. What are the cursor types available in ADO? Explain.
  7. What is a COM component?
  8. How do you register a COM component?
  9. What is a virtual root and how do you create one?
  10. What is a database index, how do you create one, discuss its pros and cons?
  11. How do you use multiple record sets (rs.NextRecordSet)?
  12. As soon as you fetch a record set, what operations would you perform?
  13. Define a transaction. What are ACID properties of a transaction?
  14. How would you remotely administer IIS?
  15. What is RAID? What is it used for?
  16. What is normalization? Explain normalization types.
  17. What is the disadvantage of creating an index in every column of a database table?
  18. What are the uses of source control software?
  19. You have a query that runs slowly, how would you make it better? How would you make it better in .NET environment?
  20. What is a bit datatype? What is it used for?
  21. How would you go about securing IIS and MS-SQL Server?
  22. What is the difference between Request(”field”) and Request.Form(”field”)?

^Back to Top

Windows code security questions

  1. What’s the difference between code-based security and role-based security? Which one is better? Code security is the approach of using permissions and permission sets for a given code to run. The admin, for example, can disable running executables off the Internet or restrict access to corporate database to only few applications. Role-based security most of the time involves the code running with the privileges of the current user. This way the code cannot supposedly do more harm than mess up a single user account. There’s no better, or 100% thumbs-up approach, depending on the nature of deployment, both code-based and role-based security could be implemented to an extent.
  2. How can you work with permissions from your .NET application? You can request permission to do something and you can demand certain permissions from other apps. You can also refuse permissions so that your app is not inadvertently used to destroy some data.
  3. How can C# app request minimum permissions?

    using System.Security.Permissions;
    [assembly:FileDialogPermissionAttribute(SecurityAction.RequestMinimum, Unrestricted=true)]

  4. What’s a code group? A code group is a set of assemblies that share a security context.
  5. What’s the difference between authentication and authorization? Authentication happens first. You verify user’s identity based on credentials. Authorization is making sure the user only gets access to the resources he has credentials for.
  6. What are the authentication modes in ASP.NET? None, Windows, Forms and Passport.
  7. Are the actual permissions for the application defined at run-time or compile-time? The CLR computes actual permissions at runtime based on code group membership and the calling chain of the code.

^Back to Top

Windows 2000 administration questions

  1. Explain hidden shares. Hidden or administrative shares are share names with a dollar sign ($) appended to their names. Administrative shares are usually created automatically for the root of each drive letter. They do not display in the network browse list.
  2. How do the permissions work in Windows 2000? What permissions does folder inherit from the parent? When you combine NTFS permissions based on users and their group memberships, the least restrictive permissions take precedence. However, explicit Deny entries always override Allow entries.
  3. Why can’t I encrypt a compressed file on Windows 2000? You can either compress it or encrypt it, but not both.
  4. If I rename an account, what must I do to make sure the renamed account has the same permissions as the original one? Nothing, it’s all maintained automatically.
  5. What’s the most powerful group on a Windows system? Administrators.
  6. What are the accessibility features in Windows 2000? StickyKeys, FilterKeys Narrator, Magnifier, and On-Screen Keyboard.
  7. Why can’t I get to the Fax Service Management console? You can only see it if a fax had been installed.
  8. What do I need to ensure before deploying an application via a Group Policy? Make sure it’s either an MSI file, or contains a ZAP file for Group Policy.
  9. How do you configure mandatory profiles? Rename ntuser.dat to ntuser.man
  10. I can’t get multiple displays to work in Windows 2000. Multiple displays have to use peripheral connection interface (PCI) or Accelerated Graphics Port (AGP) port devices to work properly with Windows 2000.
  11. What’s a maximum number of processors Win2k supports? 2
  12. I had some NTFS volumes under my Windows NT installation. What happened to NTFS after Win 2k installation? It got upgraded to NTFS 5.
  13. How do you convert a drive from FAT/FAT32 to NTFS from the command line? convert c: /fs:ntfs
  14. Explain APIPA. Auto Private IP Addressing (APIPA) takes effect on Windows 2000 Professional computers if no DHCP server can be contacted. APIPA assigns the computer an IP address within the range of 169.254.0.0 through 169.254.255.254 with a subnet mask of 255.255.0.0.
  15. How does Internet Connection Sharing work on Windows 2000? Internet Connection Sharing (ICS) uses the DHCP Allocator service to assign dynamic IP addresses to clients on the LAN within the range of 192.168.0.2 through 192.168.0.254. In addition, the DNS Proxy service becomes enabled when you implement ICS.

^Back to Top

Microsoft platform and database technologies interview questions

  1. 3 main differences between flexgrid control and dbgrid control
  2. ActiveX and Types of ActiveX Components in VB
  3. Advantage of ActiveX Dll over Active Exe
  4. Advantages of disconnected recordsets
  5. Benefit of wrapping database calls into MTS transactions
  6. Benefits of using MTS
  7. Can database schema be changed with DAO, RDO or ADO?
  8. Can you create a tabletype of recordset in Jet - connected ODBC database engine?
  9. Constructors and destructors
  10. Controls which do not have events
  11. Default property of datacontrol
  12. Define the scope of Public, Private, Friend procedures?
  13. Describe Database Connection pooling relative to MTS
  14. Describe: In of Process vs. Out of Process component. Which is faster?
  15. Difference between a function and a subroutine, Dynaset and
  16. Snapshot,early and late binding, image and picture controls,Linked Object and Embedded Object,listbox and combo box,Listindex and Tab index,modal and moduless window, Object and Class,Query unload and unload in form.
  17. Declaration and Instantiation an object?
  18. Draw and explain Sequence Modal of DAO
  19. How can objects on different threads communicate with one another?
  20. How can you force new objects to be created on new threads?
  21. How does a DCOM component know where to instantiate itself?
  22. How to register a component?
  23. How to set a shortcut key for label?
  24. Kind of components can be used as DCOM servers
  25. Name of the control used to call a windows application
  26. Name the four different cursor and locking types in ADO and describe them briefly.
  27. Need of zorder method, no of controls in form, Property used to add a menus at runtime, Property used to count number of items in a combobox,resize a label control according to your caption.
  28. Return value of callback function, The need of tabindex property.
  29. Thread pool and management of threads within a thread pool.
  30. To set the command button for ESC, Which property needs to be changed?
  31. Type Library and what is it’s purpose?
  32. Types of system controls, container objects, combo box
  33. Under the ADO Command Object, what collection is responsible for input to stored procedures?
  34. VB and Object Oriented Programming
  35. What are the ADO objects? Explain them.

Microsoft Windows programming interview questions

  1. Which controls can not be placed in MDI ?
  2. List out controls which does not have events
  3. Which property of textbox cannot be changed at runtime. What is the max size of textbox?
  4. How many system controls are available
  5. ___,_____ and ____ container objects.
  6. strech___ Property is to compress a image in image control.
  7. ___,___ and __ are difference between image and picture controls.
  8. Is it possible to set a shortcut key for label.
  9. What is the default property of data control?
  10. ___,__,___ are the type of combo box?
  11. __ no of controls in form.
  12. OLE is used for _______
  13. What is the need of tabindex property is label control.
  14. ___ is the control used to call a windows application.
  15. Clear property is available in ____,___ control.
  16. ___ Property is used to count no. of items in a combobox.
  17. ___ is a property to resize a label control according to your caption.
  18. Which controls have refresh method.
  19. ___ property is used to change to ___ value to access a identity column in datacontrols.
  20. _____ is the property to ___,____,____ are valid for recordsource property of dat control.
  21. To find the current record position in data control.
  22. Timer control contains ________ no. of events.
  23. ____ property is used to lock a textbox to enter data.
  24. What is the need of z-order method?
  25. ____ is the difference between Listindex and Tab index.
  26. ____ property of menu cannot be set at run time.
  27. Can you create a tabletype of recordset in Jet - connected ODBC dbengine.
  28. Difference between listbox and combo box.
  29. What are the new events in textbox that has been included in VB
  30. 0
  31. Can you create a Updatecascade, Deletecascade relation in Ms- Access? If no, give on eample.
  32. _____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.
  33. ____ argument can be used to make a menu item into bold.
  34. What is the difference between Msgbox Statement and MsgboxQ function?
  35. What is.the difference between queryunload and unload in form?
  36. ___,___ arguments will be used to run a executable program in shell function
  37. ___ property used to add a menus at runtime.
  38. What is the difference between modal and module-less window?
  39. ___ VB constant make the menu item in centre.
  40. ___ method used to move a recordset pointer in nth position in DAG.
  41. To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
  42. What are 3 main differences between flexgrid control and dbgrid control?
  43. What is the difference between change event in normal combobox and dbcombobox?
  44. To populate a single column value which dbcontrols you to use?
  45. What is ODBC?
  46. Parts of ODBC?
  47. What is DSN?
  48. What is DAO?
  49. Types of cursors in DAO?
  50. Types of LockEdits in DAO? 51 .Types of Recordsets.
  51. Difference between Tabletype and Snapshot?
  52. Draw Sequence Modal of DAO? Explain.
  53. Difference between Dynaset and Snapshot?
  54. Difference between Recordset and Querydef?
  55. What is the use of Tabledef?
  56. Default cursor Type and LockEdit type in DAO?
  57. What is the default workspace?
  58. 1s it posible to Create Tables Through Querydef?
  59. It is possible to access Text (x.txt) files? Explain.
  60. What is ODBC Direct and Microsoft Jet Database Engine ?
  61. Is it possible to Manipulate data through flexgrid? Explain.
  62. Types of DBCombo boxes
  63. What do you mean by Databound Controls? Explain.
  64. What is RDO?
  65. Types of cursors in RDO.
  66. Types of LockEdits in RDO.
  67. Types of LockEdits in RDO.
  68. Types of Resultsets.
  69. Difference between Recordset and Resultsets.
  70. Explain Default cursor Type and LockEdits type in RDO
  71. Draw Sequence Modal of RDO? Explain.
  72. What is meant by Establish Connection in RDO?
  73. Is it possible to Access BackEnd procedures? Explain.
  74. What is OLE? Explain.
  75. What is DDE?
  76. Difference between Linked Object and Embedded Object?
  77. Explain OLE Drag and Drop.
  78. Difference between DDE and OLE.
  79. What is the difference between Object and Class?
  80. Give brief description about class?
  81. Does VB support object-oriented concepts? Explain..
  82. Difference between Class Module and Standard Module?
  83. Explain Get, Let, Set Properties.
  84. Difference Types of Procedures in VB?
  85. What is the use of NEW Keyword? Explain.
  86. What is constructors and distructors.
  87. Types of Modal windows in VB.
  88. What is ActiveX? Explain.
  89. Types of ActiveX Components in VB?
  90. Difference between ActiveX Control and Standard Control.
  91. Difference between ActiveX Exe and Dll.
  92. What is instantiating?
  93. Advantage of ActiveX Dll over Active Exe.
  94. Difference Types of Instancing Property in ActiveX Dll and Exe.
  95. What is ActiveX Dll and ActiveX Exe?
  96. Write the steps in Creating ActiveX Dll and Active Exe?
  97. Explain the differences between ActiveX Dll and ActiveX Exe?
  98. How would you use ActiveX Dll and ActiveX Exe in your application?
  99. How would you access objects created in ActiveX Exe and ActiveX D1T
  100. What is the use of ActiveX Documents?
  101. What is ActiveX Document?
  102. What is the use of Visual Basic Document file?
  103. What is hyperlink?
  104. How would you create Visual basic Document file?
  105. What is Internet Explorer and its uses?
  106. How would you navigate between one document to another document in Internet Explorer ?
  107. How would you run your ActiveX Document Dll?
  108. How would you view html code in Active Server Pages?
  109. How would you cre.ate your application in DHTML?
  110. What is ActiveX Control?
  111. Write the Steps in Creating an ActiveX Control?
  112. How would you attach an ActiveX control in Your Application?
  113. How would you create properties in ActiveX Control?
  114. What is the-use of property page Wizard in ActiveX Control?
  115. How would you add elements in TreevieW Control.
  116. What are the types of line styles available in Treeview Control?
  117. What is the use of Imagelist Controls
  118. How would you attach pictures in Treeview Control?
  119. What are the uses of List View Control?
  120. Explain the types of Views in Listview Control.
  121. How would you attach pictures in column headers of List View Control?
  122. How would you add column headers in listview control?
  123. How would you add elements and pictures to listitems in listview control?
  124. How would you activate animation control?
  125. What is the use of progress Bar Control?
  126. How would you find out the value property in Slider Bar Control?
  127. What is the use of Data Form Wizard?
  128. How would you map properties to controls by using ActiveX Control Interface Wizard?
  129. How would you convert a form into document?
  130. How would you Create a Query Builder and Explain its uses
  131. How would you create properties by using class Builder Wizard?
  132. HTML stands for What? Use of HTML ?
  133. Whether HTML supports multimedia: and document links?
  134. DHTML Is used for what?
  135. What do you mean by HTTP?
  136. What is the use of Hyperlink control for DHTML applications?
  137. How can you Navigate from the DHTML application to another DHTML application? .
  138. What are the Internet tools available in VB
  139. 0?
  140. Explain the usage of Web Browser Control?
  141. What do you mean by ADO?
  142. What is the difference Between ADO and other data access objects0
  143. What is OLEDB?
  144. What are the important components of OLEDB?
  145. Through which protocol OLEDB components are interfaced?
  146. It possible to call OLEDB’s Features directly in VB without using any control?
  147. What type of databases you can access through AD I Data Access Object?
  148. How many objects resides in ADO ?
  149. .

  150. What is the use of Connection object?
  151. What is the use of command Object?
  152. Record set object consists of what?
  153. What is the use of parameters collection?
  154. Which type of object requires this object?
  155. Is it possible to call backend procedures with ADO control?
  156. Is there any Edit method in ADO Data Access method?
  157. How can you check whether a record is valid record or Invalid record using ADO control or Object?
  158. What do you mean by provider?
  159. What type of record sets are available in ADO?
  160. Is it possible to call oracle database through ADO control or Object?
  161. How many File System Controls are there ? Explain.
  162. How can you filter out specific type of file using file system controls?
  163. How can you get selected file from file system Control?
  164. How many ways we can access file using VB?
  165. Which method is preferred to save data like database to the disk?
  166. How to get free file location in memory?
  167. How to find size of the file. Which method or function is used to occomplish this?
  168. Using which type we can access file line by line?
  169. Which method is used to write context Into file?
  170. How can you read content from file?
  171. Binary Access-method is used to access file in which manner?
  172. How can you check Beginning and End of the file?
  173. What is the use of Scalewidth and ScaleHeight Proeperty?
  174. What is the use of Active Control Property?
  175. How can you save and Get data from Clipboard/
  176. What are the types of Error?
  177. In which areas the Error occurs?
  178. What are the tools available for Debug in VB?
  179. What is the use of Immediate, Local Window?
  180. What is the use of debug Window?
  181. How can you Implement windows functionality in VB?
  182. How many types of API functions are available in VB?
  183. How can you Add API functions to your Application?
  184. How to get Cursor position using API?
  185. Is it possible to change menu runtime using API? If yes? Specify the function names.
  186. What are the types of API Types.
  187. Scope of API’s can be of types, what are they? Why API functions are Required?

Read more at TechInterviews.com


Looking for Windows Technologies jobs?

  • Browse Windows jobs »
  • Browse telecommute Windows jobs »
  • Get Windows jobs by email »
©2003-2008 Dev Bistro · About Us · Privacy Policy