- How do you center a form?
- Can I send keystrokes to a DOS application?
- Convert an RGB value to a long, or a long to RGB.
- Implement smooth scrolling for either text, graphics or controls across a form.
- Implement some quick and easy encryption (can be something primitive).
- 4 different types of sorts: advantages and disadvantages.
- Compute CRC32 checksum, write a quick piece of code that accepts the packet of data and returns the CRC.
- How do you use the Mouse OFF event?
- How do I call Windows Help files from a VB program?
- How do I create a textbox that lets you insert tabs?
- How do I make text box that displays asterisks when the user types in data such as password?
- How do I create multi-column combo box?
- How do I make a menu popup from a CommandButton?
- How to create menus at run time in VB?
- Write a generic error handling routine.
- How to copy text to the Windows clipboard and from it.
- How can I call a Command button without clicking it?
- Write a simple app with Encrypt and Decrypt buttons and Textbox where the user can enter text for encryption and decryption.
- 3 main differences between flexgrid control and dbgrid control
- ActiveX and Types of ActiveX Components in VB
- Advantage of ActiveX Dll over ActiveX Exe .
- Advantages of disconnected recordsets . Benefit of wrapping database calls into MTS transactions 6. Benefits of using 23 MTS
- Can database schema be changed with DAO, RDO or ADO?
- Can you create a tabletype of recordset in Jet-connected ODBC database engine?
- Constructors and destructors
- Controls which do not have events
- Default property of datacontrol
- Define the scope of Public, Private, Friend procedures?
- Describe Database Connection pooling relative to MTS
- Describe: In of Process vs. Out of Process component. Which is faster?
- Difference between a function and a subroutine, Dynaset and 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, declaration and instantiation of an object?
- Draw and explain Sequence Model of DAO
- How can objects on different threads communicate with one another?
- How can you force new objects to be created on new threads?
- How does a DCOM component know where to instantiate itself?
- How do I register a component?
- How do I set a shortcut key for label?
- What kind of components can be used as DCOM servers?
- Name of the control used to call a Windows application
- Name the four different cursor and locking types in ADO and describe them briefly
- 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.
- Return value of callback function, The need of tabindex property
- Thread pool and management of threads within a thread pool
- To set the command button for ESC, Which property needs to be changed?
- Type Library and what is it’s purpose?
- Types of system controls, container objects, combo box
- Under the ADO Command Object, what collection is responsible for input to stored procedures?
- What are the ADO objects? Explain them.
- What are the different compatibility types when we create a COM component?
- What do ByVal and ByRef mean and which is the default?
- What does Option Explicit refer to? 36. What does the Implements statement do?
- What is OLE and DDE? Explain.
- What is the difference between Msgbox Statement and MsgboxQ function?
- What keyword is associated with raising system level events in VB?
- What methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?
- What types of data access have you used.
- What was introduced to Visual Basic to allow the use of Callback Functions?
- Which controls can not be placed in MDI?
- Which controls have refresh method, clear method
- Which Property is used to compress a image in image control?
- Which property of menu cannot be set at run time?
- Which property of textbox cannot be changed at runtime?
- What is the maximum size of a textbox?
- Which tool is used to configure the port range and protocols for DCOM communications?
Friday, June 17, 2011
Visual Basic interview questions
Good questions to ask during management interview
- Could you please describe the management team to me?
- Does the company have a Net-use policy?
- Will I receive my assignments from IT or from the business unit?
- Do developers have little contact with the business unit or significant contact?
- Can you show or sketch me an organizational chart?
- If for any reason you were unable to function as CEO, how would you like to see the company managed?
- To whom does the chief information or technology officer report?
- How would you describe the degree to which you want your heirs to have strategic or operational influence in the company until one of them is ready to assume the role of COO or CEO?
- What are you hoping to accomplish, and what will be my role in those plans?
- May I see a job description? What are the most important responsibilities of the job?
- How much time should be devoted to each area of responsibility?
- What is my spending/budget authority?
- What initial projects would I be tackling?
- What are the biggest technical challenges ahead for this department/ company?
- Presuming that I’m successful on this assignment, where else might I be of service to the company?
- Traditionally, companies have used IT to reduce bottom-line costs. But
- I am excited about the use of IT to advance top-line opportunities such as creating new products and identifying new markets. Can you talk about how IT is used in this company to create top-line value?
- What structured strategies for software testing have you found effective here?
- Does the company use an IT steering committee?
- If you put all the salespeople in a line from your best to the merely acceptable performer, what are the earnings of the 50th percentile? The 25th? The 75th?
- Can you describe the performance of the sales team?
- What is the commission structure, and what is my earning potential in 1, 3, 5, or 10 years?
- What percentage of salespeople attain objectives?
- What percentage of the current people are above and below their set goals?
WinRunner interview questions and answers
- Describe the process of planning a test in WinRunner?
- How do you record a new script? Can you e-mail a WinRunner script? How can a person run a previously saved WinRunner script?
- How can you synchronize WinRunner scripts?
- What is a GUI map? How does it work?
- How can you verify application behavior?
- Explain in detail how WinRunner checkpoints work. What are standard checkpoints?
- What is a data-driven test? What are the benefits of a data-driven test?
- How do you modify logical names on GUI map?
- Why would you use batch testing under WinRunner? Explain advantages and disadvantages. Give an example of one project where you used batch testing.
- How do you pass parameter values between the tests?
- Have you used WinRunner Recovery Manager?
- What is an exception handler? Wny would you define one in WinRunner?
- We’re testing an application that returns a graphical object (i.e., a map) as a result of the user query. Explain how you’d teach WinRunner to recognize and analyze the returned object.
- What is a TSL? Write a simple script in TSL.
Questions to ask HR between the interviews
- How do you like me so far?
- Do you have any concerns about my ability to do the job and fit in?
- Is there anything standing in the way of us coming to an agreement?
- Do you have any concerns about my experience, education, skills?
- How do I compare with the other candidates you have interviewed?
- Describe your ideal candidate. What do my qualifications lack compared to those of the theoretical ideal candidate?
- I’m ready to make a decision based on the information I have. Is there anything else I can elaborate on so that you would have a better understanding of my qualifications and suitability for this position?
- Are there any areas in which you feel I fall short of your requirements?
- Can you give me any feedback that would make me more attractive to the company in the future or that I could benefit from next time?
- Is there anything else you need from me to have a complete picture of my qualifications?
- Is there anything personally or professionally that you believe would prevent my being a solid contributor in this role?
- Your search is over. You will not find anyone else more qualified to do this job than I. If I were you, I’d cancel all the other interviews and make me an offer.
- I’m not going to keep it a secret. I really want this job, and I know I will be fantastic in it.
- Until I hear from you again, what particular aspects of the job and this interview should I be considering?
- I know I can meet the demands of the position and would make an outstanding contribution. Can I have the offer?
- What will be your recommendation to the hiring committee?
- I’m ready to make a decision based on the information I have. Is there anything else you need to make me an offer?
- I am very interested in this job, and I know your endorsement is key to my receiving an offer. May I have your endorsement?
- It sounds to me as if we have a great fit here. What do you think?
- It has been an interesting and fruitful discussion. l would very much like to take it to the next step.
ASP.NET interview questions and answers
- Describe the difference between a Thread and a Process?
- What is a Windows Service and how does its lifecycle differ from a “standard†EXE?
- What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?
- What is the difference between an EXE and a DLL?
- What is strong-typing versus weak-typing? Which is preferred? Why?
- What’s wrong with a line like this? DateTime.Parse(myString
- What are PDBs? Where must they be located for debugging to work?
- What is cyclomatic complexity and why is it important?
- Write a standard lock() plus double check to create a critical section around a variable access.
- What is FullTrust? Do GAC’ed assemblies have FullTrust?
- What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?
- What does this do? gacutil /l | find /i “about”
- What does this do? sn -t foo.dll
- What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
- Contrast OOP and SOA. What are tenets of each
- How does the XmlSerializer work? What ACL permissions does a process using it require?
- Why is catch(Exception) almost always a bad idea?
- What is the difference between Debug.Write and Trace.Write? When should each be used?
- What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
- Does JITting occur per-assembly or per-method? How does this affect the working set?
- Contrast the use of an abstract base class against an interface?
- What is the difference between a.Equals(b) and a == b?
- In the context of a comparison, what is object identity versus object equivalence?
- How would one do a deep copy in .NET?
- Explain current thinking around IClonable.
- What is boxing?
- Is string a value type or a reference type?
C and C++ questions for the interview
- What is the output of printf(”%d”)
- What will happen if I say delete this
- Difference between “C structure” and “C++ structure”.
- Diffrence between a “assignment operator” and a “copy constructor”
- What is the difference between “overloading” and “overridding”?
- Explain the need for “Virtual Destructor”.
- Can we have “Virtual Constructors”?
- What are the different types of polymorphism?
- What are Virtual Functions? How to implement virtual functions in “C”
- What are the different types of Storage classes?
- What is Namespace?
- What are the types of STL containers?.
- Difference between “vector” and “array”?
- How to write a program such that it will delete itself after exectution?
- Can we generate a C++ source code from the binary file?
- What are inline functions?
- What is “strstream” ?
- Explain “passing by value”, “passing by pointer” and “passing by reference”
- Have you heard of “mutable” keyword?
- What is a “RTTI”?
- Is there something that I can do in C and not in C++?
- What is the difference between “calloc” and “malloc”?
- What will happen if I allocate memory using “new” and free it using “free” or allocate sing “calloc” and free it using “delete”?
- Difference between “printf” and “sprintf”.
- What is “map” in STL?
- When shall I use Multiple Inheritance?
- Explain working of printf.
- Talk sometiming about profiling?
- How many lines of code you have written for a single program?
- How to write Multithreaded applications using C++?
- Write any small program that will compile in “C” but not in “C++”
- What is Memory Alignment?
- Why preincrement operator is faster than postincrement?
- What are the techniques you use for debugging?
- How to reduce a final size of executable?
- Give 2 examples of a code optimization.
Some PC and networking questions
- Workers can not print from the printer, there user log on are correct and are allowed to print from that printer in active directory. How would you resolve this issue?
- What is the difference between hub and switch?
- Your hard drive is partitioned as follows: 8 gigs for OS drive C, 8 gigs for Hot Swappable dirve D and rest is free as dirve E. Your drive C crashes, how would you reboot your system without installing a new operating system?
- Your computer gives you “non-disk error” before you log on what would you do to make your computer work?
Subscribe to:
Posts (Atom)