1. IDispatch is an example of which kind of interface ?
2. Identify the incorrect statement :
3. How are ActiveX and COM related ?
4. An interface that can be seen everywhere the component is referenced, including a client application, is scoped as :
5. Which one is the best language to use for defining interfaces ?
6. Component objects always access other component objects :
7. Marshalling code is :
8. Identify the incorrect statement from the following :
9. Which method of the IDispatch interface is avoided through DispID binding ?
10. Which one is an incorrect statement regarding the requirements of an ActiveX control ?
11. In which case is marshalling code not used ?
12. Which one is not a type of identifier ?
13. IDL stands for :
14. You want to register a COM component named mydll.dll. Which one is the correct syntax for registering the component ?
15. Which is the base interface ?
16. Components can include :
17. How is the instancing property value of an externally creatable class different from a dependent object class ?
18. The component needs to be run in a separate space or separate thread from the client application.Which type of server would you use ?
19. An ActiveX control has persistent properties.Which interface must it implement ?
20. Which statement regarding marshalling code is not true ?
21. Which one is the only feature of COM ?
22. Which interface is used by a COM-using program to invoke a COM object's properties, methods and events by name ?
23. Under what registry key will the pathname of an out-of-process COM server be found ?
24. Which interface is for accessing type information ?
25. A proxy is :
26. The basic unit of thread safety in COM is called a :
27. How are interfaces versioned ?
28. IClassFactory is an example of which kind of interface ?
29. Which statement is incorrect regarding dispatch interfaces ?
30. Which statement regarding DCOM is incorrect ?
31. Which interface is to be implemented by a class which is designed especially to manufacture other COM objects ?
32. Which one is not a disadvantage of MIDL ?
33. What function can you use to add information about a type library to the system registry ?
34. IIDs are GUIDs that refer to :
35. What are the various types of marshalling ?
36. When a GUID is used to identify a COM object, it is known as a :
37. The LockServer method is used to :
38. Which is the incorrect statement about GUIDs ?
39. COM provides location transparency by :
40. What utility will you use to install and run servers remotely via DCOM ?
41. Which statement is incorrect regarding the IUnknown interface ?
42. The AddRef method of the IUnknown interface is :
43. How many bytes is a GUID ?
44. Which languages/tools can interact with COM through dispatch interfaces ?
45. How many different kinds of interfaces are there in COM?
46. Which one is not a feature of COM ?
47. Which interface must be supported by a COM object ?
48. MIDL stands for :
49. Identification of the COM object stored in the Windows registry is known as :
50. A component category is identified by :
51. Which approach to binding will result in the best performance ?
52. Which one is not an objective of COM ?
53. Which one is a COM interface for database access ?
54. Which statement is incorrect regarding the LockServer method ?
55. Identify the incorrect statement regarding vtables :
56. Which one is a disadvantage of MIDL ?
57. What technique does DCOM use to handle garbage collection of objects ?
58. Which are the methods of the IUnknown interface ?
59. Choose the false statement from the following regarding interfaces :
60. By which method of the IUnknown interface, can a client obtain pointers to other routines by requesting an interface pointer ?
61. The extension of a type library is :
62. An interface is :
63. Standard marshalling is provided by which file ?
64. If an object does not support a requested interface, QueryInterface returns:
65. Which statement is wrong about the benefits of type libraires ?
66. What is the mechanism used in COM to uniquely identify components ?
67. Following are some statements regarding interfaces. Which is the only incorrect one ?
68. Point out the incorrect statement regarding proxies :
69. The number of methods in the IUnknown interface is :
70. CLSID stands for :
71. Which compiled element does not run in-process ?
72. Which language does COM prescribe for the creation of components ?
73. Which statement is not true regarding interfaces ?
74. COM stands for :
75. A self-registering component is one :
76. What mechanism is provided by COM for reuse of code ?
77. The main goal of COM is :
78. How many fields does a HRESULT consist of ?
79. Which method would you use to create new GUIDs ?
80. GUID stands for :
81. When a GUID identifies an interface, it is known as a :
82. In which tool/language, can you make COM components ?
83. What is the similarity/relation between named pipes and DCOM ?
84. An interface that can be seen only in the class in which it is defined is scoped as :
85. A dual interface is one :
86. An interface that can be seen only within the object model or component in which it is defined is scoped as :
87. Identify the incorrect statement from the following :
88. The implementation of the interfaces is done through :
89. Which one is the correct statement regarding IDL ?
90. UDT stands for :
91. The threading model that defined a set of isolated but identical processing spaces for thread execution is called :
92. DCOM is an IPC mechanism.Here IPC stands for :
93. By which method of the IUnknown interface do clients dynamically discover at run-time whether or not an interface is supported by a component object ?
94. In which file is the Component Object Library implemented on Windows NT and Windows 95/98 ?
95. Which parameters do you have to pass to the CoCreateInstance function ?
96. COM calls it classes :
97. A stub is :
98. IID stands for :
99. Which one is a technology based on COM ?
100. Which COM interface supports automation ?
101. COM is not :
102. How many bits is a GUID ?
103. MTA stands for :
104. Other than DCOM, which other IPC mechanism can be used ?
105. DCOM is ideally suited to Internet technology for business applications. Which of the following would not support the above statement ?
106. Which is the incorrect statement regarding interfaces ?
107. CLSIDs are GUIDs that refer to :
108. Which interface is for accessing type libraries ?
109. IUnknown is an example of which kind of interface ?
110. As a COM programmer, by which method would you destroy a COM object ?