C Questions
Note : All the programs are tested under Turbo C/C++
compilers.
It is assumed that,
Programs run under DOS environment,
The underlying machine is an x86 system,
Program is compiled using Turbo C/C++ compiler.
The program output may depend on the information based on
this assumptions (for example sizeof(int) == 2 may be assumed).
Predict the output or error(s) for the following:
1. void main()
{
int const * p=5;
printf("%d",++(*p));
}
2. main()
{
char s[ ]="man";
int i;
for(i=0;s[ i ];i++)
printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]);
}
3. main()
{
float me = 1.1;
double you = 1.1;
if(me==you)
printf("I love U");
else
printf("I hate U");
}
4. main()
{
static int var = 5;
printf("%d ",var--);
if(var)
main();
}
5. main()
{
int c[ ]={2.8,3.4,4,6.7,5};
int j,*p=c,*q=c;
for(j=0;j<5;j++) {
printf(" %d ",*c);
++q; }
for(j=0;j<5;j++){
printf(" %d ",*p);
++p; }
}
6. main()
{
extern int i;
i=20;
printf("%d",i);
}
7. main()
{
int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf("%d %d %d %d %d",i,j,k,l,m);
}
8. main()
{
char *p;
printf("%d %d ",sizeof(*p),sizeof(p));
}
9. main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}
}
10. main()
{
printf("%x",-1<<4);
}
11. main()
{
char string[]="Hello World";
display(string);
}
void display(char *string)
{
printf("%s",string);
}
12. main()
{
int c=- -2;
printf("c=%d",c);
}
13. #define int char
main()
{
int i=65;
printf("sizeof(i)=%d",sizeof(i));
}
14. main()
{
int i=10;
i=!i>14;
Printf ("i=%d",i);
}
15. #include
VISUAL BASIC QUESTIONS Does VB/Win make standalone .EXE files? What is the current version of Visual Basic for Windows? [++] Where can I get updated VB and other Microsoft files? Where can I get good up-to-date information about VB? [++] Are there any examples of commercial applications built using Visual Basic? What's the difference between MODAL and MODELESS forms? [++] When/Why should I use Option Explicit? Why does everybody say I should save in TEXT not BINARY? Is the Variant type slower than using other variable types? How do I make a text box not beep but do something else when I hit the Enter key? How do I implement an incremental search in list/dir/combo/file boxes? How do I get the Tab key to be treated like a normal character? How do I make an animated icon for my program? What is passing by reference? I get a "file not found" error on the IIF function when I distribute by program. Why? Is there any way to pass a variable to a form apart from using global variables? How should dates be implemented so they work with other language and country formats? Can a VB application be an OLE server? How do I dial a phone number without using the MSCOMM VBX? I have [several] megabytes of memory. Why do I get an "out of memory" error? [++] How do I mimic a toggle button? [++] How do I get my application on top? Is there a way to break long lines in VB code? How do I remove/change the picture property of a control at design time? Is a [foo] VBX/DLL available as shareware/freeware? How do I make my applications screen-resolution independent? How do I do Peek and Poke and other low-level stuff? [++] Why doesn't "my string" & Chr$(13) do what I want? How do I prevent multiple instances of my program? How do I implement an accelerator key for a text box? How do I force a file dialogue box to reread the currect disk? How do I get the number of free bytes on a disk? [++] Data Control missing from toolbox when I use VB under NT 3.5. Why? How do I tell when an application executed using the SHELL command is finished? How do I access C style strings? How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation? How do I speed up control property access? How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic? How do you make a TEXTBOX read only? Or, how do I prevent the user from changing the text in a TEXTBOX? How can I create a VBX? How do you change the system menu (on the Control-Menu Box)? How do I play MID, WAV or other multimedia files? How can I call a 'hidden' DOS program from VB? How do I do drag & drop between applications? How do I use GetPrivateProfileString to read from INI files? How do I implement Undo? How do I create a window with a small title bar as in a floating toolbar? What is Pseudocode? Does VB support pointers to functions? How do I program the Novell NetWare API from VB? How do you change the icon and otherwise manipulate the DOS box? How do I make the mouse cursor invisible/visible? How do I create controls dynamically (at run-time)? How do I set the Windows wallpaper at runtime? How do I call help files from a VB program? [**] What is the Windows API? How do I call a DLL? What about DLL calls that require callbacks? Why can't I use an index with my VB accessed database? Is the Access Engine and Visual Basic Pro good enough for database work? How do you avoid the "Invalid use of null" error when reading null values from a database? What is "NULL"? How can I access a record by record number? How about Access 2.0 compatibility? How come I get a "No Current Record" error when I use a a Data Control on an empty table? How can I speed up my VB database application? How do I get a bitmap picture in a field in an Access database? What is "Reserved Error -1209"? I'm getting error message "Reserved Error [-nnnn] ("There is no message for this error")" from Jet Engine 2.0.Why? Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table? Visual Basic 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. ___ Property is to compress a image in image control. 7. ___,___ and __ are difference between image and picture controls. 8. To.set the command button for ESC ___ Property has to be changed. 9. Is it possible to set a shortcut key for label. 10. What is the default property of datacontrol. 11. ___,__,___ are the type of combo box? 12. __ no of controls in form. 13. OLE is used for _______ 14. What is the need of tabindex property is label control. 15. ___ is the control used to call a windows application. 16. Clear property is available in ____,___ control. 17. ___ Property is used to count no. of items in a combobox. 18. ___ is a property to resize a label control according to your caption. 19. Which controls have refresh method. 20. ___ property is used to change to ___ value to access a identity column'in datacontrols. 21. _____ is the property to ___,____,____ are valid for recordsource property of dat control. 22. To find the current recordposition in data control. 23. Timer control contains ________ no. of events. 24. ____ property is used to lock a textbox to enter a datas. 25. What is the need of zorder method? 26. ____ is the difference between Listindex and Tab index. 27. ____ property of menu cannot be set at run time. 28. Can you create a tabletype of recordset in Jet - connected ODBC dbengine. 29. Difference between listbox and combo box. 30. What are the new events in textbox that has been included in VB6.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 menuitem 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 moduless 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. PartsofODBC? 47. WhatisDSN? 48. WhatisDAO? 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. Is 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? 74.1s it possible to Access BackEnd procedures? Explain. 73. What is OLE? Explain. 74. What is DDE? 75. Difference between Linked Object and Embedded Object? 76. Explain OLE Drag and Drop. 77. Difference between DDE and OLE. 78. What is the difference between Object and Class? 79. Give brief description about class? 80. Does VB Supports OOPS Concepts? Explain.. 81. Difference between Class Module and Standard Module? 82. Explain Get, Let, Set Properties. 83. Difference Types of Procedures in VB? 84. What is the use of NEW Keyword? Explain. 85. What is constructors and distructors. 86. Types of Modal windows in VB. 87. What is ActiveX? Explain. 88. Types of ActiveX Components in VB? 89. Difference between ActiveX Control and Standard Control. 90. Difference between ActiveX Exe and Dll. 91. What is instantiating? 92. Advantage of ActiveX Dll over Active Exe. 93. Difference Types of Instancing Property in ActiveX Dll and Exe. 94. What is ActiveX Dll and ActiveX Exe? 95. Write the steps in Creating ActiveX Dll and Active Exe? 96. Explain the differences between ActiveX Dll and ActiveX Exe? 97. How would you use ActiveX Dll and ActiveX Exe in your application? 98. How would you access objects created in ActiveX Exe and ActiveX D1T 99. What is the use of ActiveX Documents? 100. What is ActiveX Document? 101. What is the use of Visual Basic Document file? 102. What is hyperlink? 103. How would you create Visual basic Document file? 104. What is Internet Explorer and its uses? 105. How would you navigate between one document to another document 106. 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 VB6.0? 139. Explain the usage of Web Browser Control? 140. What do you mean by ADO? 141. What is the difference Between ADO and other data access objects0 142. WhatisOLEDB? 143. What are the important components of OLEDB? 144. Through which protocol OLEDB components are interfaced? 145. It possible to call OLEDB's Features directly in VB without using any control? 146. What type of databases you can access through AD I Data Access Object? 147. How many objects resides in ADO ? 148. What is the use of Connection object? 149. What is the use of command Object? 150. Recordset object consists what? 151. What is the use of parameters collection? 152. Which type of object requires this object? 153. Is it possible to call backend procedures with ADO control? 154. Is there any Edit method in ADO Data Access method? 155. How can you check whether a record is valid record or Invalid record using ADO control or Object? 156. What do you mean by provider? 157. What type of recordsets are available in ADO? 158. Is it possible to call oracle database through ADO control or Object? 159. How many File System Controls are there ? Explain. 160. How can you filter out specific type of file using file system controls? 161. How can you get selected file from file system Control? 162. How many ways we can access file using VB? 163. Which method is preferred to save datas like database? 164. How to get freefile location in memory? 165. How to find size of the file. Which method or function is used to occomplish this? 166. Using which type we can access file line by line? 167. Which method is used to write context Into file? 168. How can you read content from file? 169. Binary Access-method isused to access file in which manner? 170. How can you check Beginning and End of the file? 171. What is the use of Scalewidth and ScaleHeight Proeperty? 172. What is the use of Active Control Property? 173. How can you save and Get data from Clipboard/ 174. What are the types of Error? 175. In which areas the Error occurs? 176. What are the tools available for Debuggiu in VB? 177. What is the use of Immediate, Local Window? 178. What is the use of debug Window? 179. How can you Implement windows functionality in VB? 180. How many types of API functions are availble in VB? 181. How can you Add API functions to your Application? 182. How to get Cursor position using API? 183. Is it possible to change menu runtime using API? If yes? Specify the function names. 184. What are the types of API Types.
3573Java Questions 1. Can a main() method of class be invoked in another class? 2. What is the difference between java command line arguments and C command line arguments? 3. What is the difference between == & .equals 4. What is the difference between abstract class & Interface. 5. What is singleton class & it's implementation. 6. Use of static,final variable 7. Examples of final class 8. Difference between Event propagation & Event delegation 9. Difference between Unicast & Multicast model 10. What is a java bean 11. What is synchronized keyword used for. 12. What are the restrictions of an applet & how to make the applet access the local machines resources. 13. What is reflect package used for & the methods of it. 14. What is serialization used for 15. Can methods be overloaded based on the return types ? 16. Why do we need a finalze() method when Garbage Collection is there ? 17. Difference between AWT and Swing compenents ? 18. Is there any heavy weight component in Swings ? 19. Can the Swing application if you upload in net, be compatible with your browser? 20. What should you do get your browser compatible with swing components? 21. What are the methods in Applet ? 22. When is init(),start() called ? 23. When you navigate from one applet to another what are the methods called? 24. What is the difference between Trusted and Untrusted Applet ? 25. What is Exception ? 26. What are the ways you can handle exception ? 27. When is try,catch block used ? 28. What is finally method in Exceptions ? 29. What are the types of access modifiers ? 30. What is protected and friendly ? 31. What are the other modifiers ? 32. Is synchronised modifier ? 33. What is meant by polymorphism ? 34. What is inheritance ? 35. What is method Overloading ? What is this in OOPS ? 36. What is method Overriding ? What is it in OOPS ? 37. Does java support multi dimensional arrays ? 38. Is multiple inheritance used in Java ? 39. How do you send a message to the browser in JavaScript ? 40. Does javascript support multidimensional arrays ? 41. Is there any tool in java that can create reports ? 42. What is meant by Java ? 43. What is meant by a class ? 44. What is meant by a method ? 45. What are the OOPS concepts in Java ? 46. What is meant by encapsulation ? Explain with an example 47. What is meant by inheritance ? Explain with an example 48. What is meant by polymorphism ? Explain with an example 49. Is multiple inheritance allowed in Java ? Why ? 50. What is meant by Java interpreter ? 51. What is meant by JVM ? 52. What is a compilation unit ? 53. What is meant by identifiers ? 54. What are the different types of modifiers ? 55. What are the access modifiers in Java ? 56. What are the primitive data types in Java ? 57. What is meant by a wrapper class ? 58. What is meant by static variable and static method ? 59. What is meant by Garbage collection ? 60. What is meant by abstract class 61. What is meant by final class, methods and variables ? 62. What is meant by interface ? 63. What is meant by a resource leak ? 64. What is the difference between interface and abstract class ? 65. What is the difference between public private, protected and static 66. What is meant by method overloading ? 67. What is meant by method overriding ? 68. What is singleton class ? 69. What is the difference between an array and a vector ? 70. What is meant by constructor ? 71. What is meant by casting ? 72. What is the difference between final, finally and finalize ? 73. What is meant by packages ? 74. What are all the packages ? 75. Name 2 calsses you have used ? 76. Name 2 classes that can store arbitrary number of objects ? 77. What is the difference between java.applet.* and java.applet.Applet ? 78. What is a default package ? 79. What is meant by a super class and how can you call a super class ? 80. What is anonymous class ? 81. Name interfaces without a method ? 82. What is the use of an interface ? 83. What is a serializable interface ? 84. How to prevent field from serialization ? 85. What is meant by exception ? 86. How can you avoid the runtime exception ? 87. What is the difference between throw and throws ? 88. What is the use of finally ? 89. Can multiple catch statements be used in exceptions ? 90. Is it possible to write a try within a try statement ? 91. What is the method to find if the object exited or not ? 92. What is meant by a Thread ? 93. What is meant by multi-threading ? 94. What is the 2 way of creating a thread ? Which is the best way and why? 95. What is the method to find if a thread is active or not ? 96. What are the thread-to-thread communcation ? 97. What is the difference between sleep and suspend ? 98. Can thread become a member of another thread ? 99. What is meant by deadlock ? 100. How can you avoid a deadlock ? 101. What are the three typs of priority ? 102. What is the use of synchronizations ? 103. Garbage collector thread belongs to which priority ? 104. What is meant by time-slicing ? 105. What is the use of 'this' ? 106. How can you find the length and capacity of a string buffer ? 107. How to compare two strings ? 108. What are the interfaces defined by Java.lang ? 109. What is the purpose of run-time class and system class 110. What is meant by Stream and Types ? 111. What is the method used to clear the buffer ? 112. What is meant by Stream Tokenizer ? 113. What is serialization and de-serialisation ? 114. What is meant by Applet ? 115. How to find the host from which the Applet has originated ? 116. What is the life cycle of an Applet ? 117. How do you load an HTML page from an Applet ? 118. What is meant by Applet Stub Interface ? 119. What is meant by getCodeBase and getDocumentBase method ? 120. How can you call an applet from a HTML file 121. What is meant by Applet Flickering ? 122. What is the use of parameter tag ? 123. What is audio clip Interface and what are all the methods in it ? 124. What is the difference between getAppletInfo and getParameterInfo ? 125. How to communicate between applet and an applet ? 126. What is meant by event handling ? 127. What are all the listeners in java and explain ? 128. What is meant by an adapter class ? 129. What are the types of mouse event listeners ? 130. What are the types of methods in mouse listeners ? 131. What is the difference between panel and frame ? 132. What is the default layout of the panel and frame ? 133. What is meant by controls and types ? 134. What is the difference between a scroll bar and a scroll panel. 135. What is the difference between list and choice ? 136. How to place a component on Windows ? 137. What are the different types of Layouts ? 138. What is meant by CardLayout ? 139. What is the difference between GridLayout and GridBagLayout 140. What is the difference between menuitem and checkboxmenu item. 141. What is meant by vector class, dictionary class , hash table class,and property class ? 142. Which class has no duplicate elements ? 143. What is resource bundle ? 144. What is an enumeration class ? 145. What is meant by Swing ? 146. What is the difference between AWT and Swing ? 147. What is the difference between an applet and a Japplet 148. What are all the components used in Swing ? 149. What is meant by tab pans ? 150. What is the use of JTree ? 151. How can you add and remove nodes in Jtree. 152. What is the method to expand and collapse nodes in a Jtree 153. What is the use of JTable ? 154. What is meant by JFC ? 155. What is the class in Swing to change the appearance of the Frame in Runtime. 156. How to reduce flicking in animation ? 157. What is meant by Javabeans ? 158. What is JAR file ? 159. What is meant by manifest files ? 160. What is Introspection ? 161. What are the steps involved to create a bean ? 162. Say any two properties in Beans ? 163. What is persistence ? 164. What is the use of beaninfo ? 165. What are the interfaces you used in Beans ? 166. What are the classes you used in Beans ? 167. What is the diffrence between an Abstract class and Interface 168. What is user defined exception ? 169. What do you know about the garbate collector ? 170. What is the difference between C++ & Java ? 171. How do you communicate in between Applets & Servlets ? 172. What is the use of Servlets ? 173. In an HTML form I have a Button which makes us to open another page in 15 seconds. How will do you that ? 174. What is the difference between Process and Threads ? 175. How will you initialize an Applet ? 176. What is the order of method invocation in an Applet ? 177. When is update method called ? 178. How will you communicate between two Applets ? 179. Have you ever used HashTable and Dictionary ? 180. What are statements in JAVA ? 181. What is JAR file ? 182. What is JNI ? 183. What is the base class for all swing components ? 184. What is JFC ? 185. What is Difference between AWT and Swing ? 186. Considering notepad/IE or any other thing as process, What will Happen if you start notepad or IE 3 times? Where 3 processes are started or 3 threads are started ? 187. How does thread synchronization occurs inside a monitor ? 188. How will you call an Applet using a Java Script function ? 189. Is there any tag in HTML to upload and download files ? 190. Why do you Canvas ? 191. How can you push data from an Applet to Servlet ? 192. What are the benefits of Swing over AWT ? 193. Where the CardLayout is used ? 194. What is the Layout for ToolBar ? 195. What is the difference between Grid and GridbagLayout ? 196. How will you add panel to a Frame ? 197. What is the corresponding Layout for Card in Swing ? 198. What is light weight component ? 199. What is bean ? Where it can be used ? 200. What is difference in between Java Class and Bean ? 201. What is the mapping mechanism used by Java to identify IDL language ? 202. Diff between Application and Applet ? 203. What is serializable Interface ? 204. What is the difference between CGI and Servlet ? 205. What is the use of Interface ? 206. Why Java is not fully objective oriented ? 207. Why does not support multiple Inheritance ? 208. What it the root class for all Java classes ? 209. What is polymorphism ? 210. Suppose If we have variable ' I ' in run method, If I can create one or More thread each thread will occupy a separate copy or same variable will be shared ? 211. What is Constructor and Virtual function? Can we call Virtual 212. Funciton in a constructor ? 213. Why we use OOPS concepts? What is its advantage ? 214. What is the difference in between C++ and Java ? can u explain in detail? 215. What is the exact difference in between Unicast and Multicast object ? Where we will use ? 216. How do you sing an Applet ? 217. In a Container there are 5 components. I want to display the all the components names, how will you do that one ? 218. Why there are some null interface in java ? What does it mean ? 219. Give me some null interfaces in JAVA ? 220. Tell me the latest versions in JAVA related areas ? 221. What is meant by class loader ? How many types are there? When will we use them ? 222. What is meant by flickering ? 223. What is meant by cookies ? Explain ? 224. Problem faced in your earlier project 225. How OOPS concept is achieved in Java 226. Features for using Java 227. How does Java 2.0 differ from Java 1.0 228. Public static void main - Explain 229. What are command line arguments 230. Explain about the three-tier model 231. Difference between String & StringBuffer 232. Wrapper class. Is String a Wrapper Class 233. What are the restriction for static method Purpose of the file class 234. Default modifier in Interface 235. Difference between Interface & Abstract class 236. Can abstract be declared as Final 237. Can we declare variables inside a method as Final Variables 238. What is the package concept and use of package 239. How can a dead thread be started 240. Difference between Applet & Application 241. Life cycle of the Applet 242. Can Applet have constructors 243. Differeence between canvas class & graphics class 244. Explain about Superclass & subclass 245. What is AppletStub 246. Explain Stream Tokenizer 247. What is the difference between two types of threads 248. Checked & Unchecked exception 249. Use of throws exception 250. What is finally in exception handling Vector class 251. What will happen to the Exception object after exception handling 252. Two types of multi-tasking 253. Two ways to create the thread 254. Synchronization 255. I/O Filter 256. Can applet in different page communicate with each other 257. Why Java is not 100 % pure OOPS ? ( EcomServer ) 258. When we will use an Interface and Abstract class ? 259. How to communicate 2 threads each other ? JAVA QUESTIONS What is the difference between an Abstract class and Interface? What is user defined exception? What do you know about the garbage collector? What is the difference between java and c++? In an HTML form I have a button which makes us to open another page in 15 seconds. How will you do that? What is the difference between process and threads? What is update method called? Have you ever used HashTable and Directory? What are statements in Java? What is a JAR file? What is JNI? What is the base class for all swing components? What is JFC? What is the difference between AWT and Swing? Considering notepad/IE or any other thing as process, What will happen if you start notepad or IE 3 times ? Where three processes are started or three threads are started? How does thread synchronization occur in a monitor? Is there any tag in HTML to upload and download files? Why do you canvas? How can you know about drivers and database information ? What is serialization? Can you load the server object dynamically? If so what are the 3 major steps involved in it? What is the layout for toolbar? What is the difference between Grid and Gridbaglayout? How will you add panel to a frame? Where are the card layouts used? What is the corresponding layout for card in swing? What is light weight component? Can you run the product development on all operating systems? What are the benefits if Swing over AWT? How can two threads be made to communicate with each other? What are the files generated after using IDL to java compiler? What is the protocol used by server and client? What is the functionability stubs and skeletons? What is the mapping mechanism used by java to identify IDL language? What is serializable interface? What is the use of interface? Why is java not fully objective oriented? Why does java not support multiple inheritance? What is the root class for all java classes? What is polymorphism? Suppose if we have a variable 'I' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared? What are virtual functions? Write down how will you create a Binary tree? What are the traverses in binary tree? Write a program for recursive traverse? What are session variable in servlets? What is client server computing? What is constructor and virtual function? Can we call a virtual function in a constructor? Why do we use oops concepts? What is its advantage? What is middleware? What is the functionality of web server? Why is java not 100% pure oops? When will you use an interface and abstract class? What is the exact difference in between Unicast and Multicast object? Where will it be used? What is the main functionality of the remote reference layer? How do you download stubs from Remote place? I want to store more than 10 objects in a remote server? Which methodology will follow? What is the main functionality of Prepared Statement? What is meant by Static query and Dynamic query? What are Normalization Rules? Define Normalization? What is meant by Servelet? What are the parameters of service method? What is meant by Session? Explain something about HTTP Session Class? In a container there are 5 components. I want to display all the component names, how will you do that? Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA? Tell some latest versions in JAVA related areas? What is meant by class loader? How many types are there? When will we use them? What is meant by flickering? What is meant by distributed application? Why are we using that in our application? What is the functionality of the stub? Explain about version control? Explain 2-tier and 3-tier architecture? What is the role of Web Server? How can we do validation of the fields in a project? What is meant by cookies? Explain the main features? Why java is considered as platform independent? What are the advantages of java over C++? How java can be connected to a database? What is thread? What is difference between Process and Thread? Does java support multiple inheritance? if not, what is the solution? What are abstract classes? What is an interface? What is the difference abstract class and interface? What are adapter classes? what is meant wrapper classes? What are JVM.JRE, J2EE, JNI? What are swing components? What do you mean by light weight and heavy weight components? What is meant by function overloading and function overriding? Does java support function overloading, pointers, structures, unions or linked lists? What do you mean by multithreading? What are byte codes? What are streams? What is user defined exception? In an HTML page form I have one button which makes us to open a new page in 15 seconds. How will you do that? Advanced JAVA QUESTIONS What is RMI? Explain about RMI Architecture? What are Servelets? What is the use of servlets? Explain RMI Architecture? How will you pass values from HTML page to the servlet? How do you load an image in a Servelet? What is purpose of applet programming? How will you communicate between two applets? What IS the difference between Servelets and Applets? How do you communicate in between Applets and Servlets? What is the difference between applet and application? What is the difference between CGI and Servlet? In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify the same information whether it will connect to the database or it will be used previous information? What are the difference between RMI and Servelets? How will you call an Applet using Java Script Function? How can you push data from an Applet to a Servlet? What are 4 drivers available in JDBC? At what situation are four of the drivers used? If you are truncated using JDBC , how can you that how much data is truncated? How will you perform truncation using JDBC? What is the latest version of JDBC? What are the new features added in that? What is the difference between RMI registry and OS Agent? To a server method, the client wants to send a value 20, with this value exceeds to 20 a message should be sent to the client . What will you do for achieving this? How do you invoke a Servelet? What is the difference between doPost method and doGet method? What is difference between the HTTP Servelet and Generic Servelet? Explain about their methods and parameters? Can we use threads in Servelets? Write a program on RMI and JDBC using Stored Procedure? How do you swing an applet? How will you pass parameters in RMI? Why do you serialize? In RMI ,server object is first loaded into memory and then the stub reference is sent to the client. true or false? Suppose server object not loaded into the memory and the client request for it. What will happen? What is the web server used for running the servelets? What is Servlet API used for connecting database? What is bean? Where can it be used? What is the difference between java class and bean? Can we sent objects using Sockets? What is the RMI and Socket? What is CORBA? Can you modify an object in corba? What is RMI and what are the services in RMI? What are the difference between RMI and CORBA? How will you initialize an Applet? What is the order of method invocation in an Applet? What is ODBC and JDBC? How do you connect the Database? What do you mean by Socket Programming? What is difference between Generic Servlet and HTTP Servelet? What you mean by COM and DCOM? what is e-commerce?
6061suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
1796Hi i am a canadian my wife has PR card but wife can't speak english properly.i am thinking to go us for visit with my wife.my qus.is can i go to embassy with her when she got the interview date? Thank you.
20111. what is 3 point calibration & 5 point calibration? 2. If we use hart communicator to set the LRV & URV of a smart transmitter, did we calibrate the transmitter? why? 3. Make a complet list if meterials needed to properly connect a pressure gauge to a steam pipe using 1/2 inch stainless steel tubing. The gauge connections is 1/2 inch NPT-M and the steam pipe tap has a 1/2 inch female coupling, compression fittings are use. 4. What are the tools in loop checking? 5. What would the ISA symbol of a square root extractor look like? 6. What would you do to completely prepare for the configuration? 7. What safety measures must you undertake when doing configuration? 8. what are the two most commonly use programming languages used when we configure a PLC? 9. What would you do if you accidentally skipped a step in the configuration procedure? 10. How would you know if the configuration were sucessful? 11. Name at least 3 selections available when we configure the burnout protection of a controller?
3 36218I have 2 yrs 10 months experience in manual testing. there is a gap of 3 yrs in between. just 3 months before i rejoined the same company. I am looking for new & better job.What I have to enhance my career to up level, should I have to do Automation course or any other. Guide me properly.
1831what's prime importance of protection in electrical system.if protection system don't work properly what can happen in electrical system?
1864I attended an interview with CGI last week for network engineer and here are the questions that might help you guys who are going to attend interviews.
CGI,
1 6587Hi all, i have a requirement in Conditional drill through. I have a list report with Cities India, UK, USA, China, japan, Canada.... In the above cities i want to give Hyperlinks(Drill) for Only India & UK. Could you please send me the steps????
1 5324My rtd working well at the same time r/i converter is not working properly.when power is given to rtd..it is giving 30mA and getting 2.4 mA if i remove the compensate leads No matter how many ohms.why it is happening like so?what is the solution?rtd range-0-200deg c& 4-20 mA o/p.please give me solutiin anyone......
1 4262IN THE REPORT I WANNA APPLY HYPERLINK FOR A CELL IN THE COLUMN/ROW HOW TO ACHIEVE THIS? EG: YEAR COLUMN : 2001,2002,2003,2004 I WANNA APPLY FOR 2001 ONLY
2 10268Dear Friends, Need your help for connecting APFC panel, Quotation : I have 2 No’s 1000 KVA Transformers, both transformers are having separate APFC panels, ( Tr-1,400KVAR, TR-2,450 KVAR) Now I want to stop One transformer, present load is 650Amps, Max, So One transformer is enough, I have switched OFF TR-1, but PF is not maintaining properly, its 0.5, So now I want to connect TR-2 APFC also in TR-1 Loads, Can any one answer for my Quotation with drawing, how to connect TR-2 APFC panel in TR-1 Loads,
L&T,
4 6444phase association of 3PH L&T static CT meter is wrong. means 1PH & 1 CT connected properly and other 2 voltage and CT's inter changed. what would be the impact in the reading?
KSEB,
3 8639
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category