| Tech Interview Questions| Interview Questions and Answers |
|
| Description: |
|
| Format: |
RSS 2.0 |
| Feed URL: |
http://interviewright.blogspot.com/rss.xml |
| |
| Latest Headlines |
|
Mainframe interview questions and answers
Mon, 11 Feb 2008 21:36:00 +0000
. Name the divisions in a COBOL program. IDENTIFICATION DIVISION, ENVIRONMENT DIVISION, DATA DIVISION, PROCEDURE DIVISION.1. What are the different data types available in COBOL? Alpha-numeric (X), alphabetic (A) and numeric (9).2. What does the INITIALIZE verb do? – Alphabetic, Alphanumeric fields & alphanumeric edited items are set to SPACES.Numeric, Numeric edited items set to ZERO.FILLER , OCCURS DEPENDING ON items left untouched.3. What is 77 level used for ?Elementary level item. Cannot be subdivisions of other items (cannot be qualified), nor can they be subdivided themselves.4. What is 88 level used for ? For condition names.5. What is level 66 used for ? For RENAMES clause.6. What does the IS NUMERIC clause establish ? IS NUMERIC can be used on alphanumeric items, signed numeric & packed decimal items and usigned numeric & packed decimal items. IS NUMERIC returns TRUE if the item only consists of 0-9. However, if the item being tested is a signed item, then it may contain 0-9, + and - .7. What does the IS NUMERIC clause establish ? IS NUMERIC can be used on alphanumeric items, signed numeric & packed decimal items and usigned numeric & packed decimal items. IS NUMERIC returns TRUE if the item only consists of 0-9. However, if the item being tested is a signed item, then it may contain 0-9, + and - .8. Can the OCCURS clause be at the 01 level? No.9. What is the difference between index and subscript? Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the array. An index can only be modified using PERFORM, SEARCH & SET.Need to have index for a table in order to use SEARCH, SEARCH ALL.10. What is the difference between SEARCH and SEARCH ALL? SEARCH - is a serial search.SEARCH ALL - is a binary search & the table must be sorted ( ASCENDING/DESCENDING KEY clause to be used & data loaded in this order) before using SEARCH ALL11. What should be the sorting order for SEARCH ALL? It can be either ASCENDING or DESCENDING. ASCENDING is default. If you want the search to be done on an array sorted in descending order, then while defining the array, you should give DESCENDING KEY clause. (You must load the table in the specified order).12. What is binary search? Search on a sorted array. Compare the item to be searched with the item at the center. If it matches, fine else repeat the process with the left half or the right half depending on where the item lies.13. My program has an array defined to have 10 items. Due to a bug, I find that even if the program access the 11th item in this array, the program does not abend. What is wrong with it?Must use compiler option SSRANGE if you want array bounds checking. Default is NOSSRANGE.14. How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning. Syntax:SORT file-1 ON ASCENDING/DESCENDING KEY key....USING file-2GIVING file-3.USING can be substituted by INPUT PROCEDURE IS para-1 THRU para-2GIVING can be substituted by OUTPUT PROCEDURE IS para-1 THRU para-2.file-1 is the sort workfile and must be described using SD entry in FILE SECTION.file-2 is the input file for the SORT and must be described using an FD entry in FILE SECTION and SELECT clause in FILE CONTROL.file-3 is the outfile from the SORT and must be described using an FD entry in FILE SECTION and SELECT clause in FILE CONTROL.file-1, file-2 & file-3 should not be opened explicitly.INPUT PROCEDURE is executed before the sort and records must be RELEASEd to the sort work file from the input procedure.OUTPUT PROCEDURE is executed after all records have been sorted. Records from the sort work file must be RETURNed one at a time to the output procedure.15. How do you define a sort file in JCL that runs the COBOL program? Use the SORTWK01, SORTWK02,..... dd names in the step. Number of sort datasets depends on the volume of data being sorted, but a minimum of 3 is required.16. What are the two ways of doing sorting in a COBOL program? Give the formats. See question 16.17. Give the format of USING and GIVING in SORT statement. What are the restrictions with it? See question 16. Restrictions - Cannot massage records, canot select records to be sorted.18. What is the difference between performing a SECTION and a PARAGRAPH? Performing a SECTION will cause all the paragraphs that are part of the section, to be performed. Performing a PARAGRAPH will cause only that paragraph to be performed.19. What is the use of EVALUATE statement? Evaluate is like a case statement and can be used to replace nested Ifs. The difference between EVALUATE and case is that no 'break' is required for EVALUATE i.e. control comes out of the EVALUATE as soon as one match is made.20. What are the different forms of EVALUATE statement? EVALUATE EVALUATE SQLCODE ALSO FILE-STATUSWHEN A=B AND C=D WHEN 100 ALSO '00'imperative stmt imperative stmt WHEN (D+X)/Y = 4 WHEN -305 ALSO '32'imperative stmt imperative stmtWHEN OTHER WHEN OTHERimperative stmt imperative stmtEND-EVALUATE END-EVALUATEEVALUATE SQLCODE ALSO A=B EVALUATE SQLCODE ALSO TRUEWHEN 100 ALSO TRUE WHEN 100 ALSO A=Bimperative stmt imperative stmtWHEN -305 ALSO FALSE WHEN -305 ALSO (A/C=4)imperative stmt imperative stmtEND-EVALUATE END-EVALUATE21. How do you come out of an EVALUATE statement? After the execution of one of the when clauses, the control is automatically passed on to the next sentence after the EVALUATE statement. There is no need of any extra code.22. In an EVALUATE statement, can I give a complex condition on a when clause? Yes23. What is a scope terminator? Give examples. Scope terminator is used to mark the end of a verb e.g. EVALUATE, END-EVALUATE; IF, END-IF.24. How do you do in-line PERFORM? PERFORM ... ... END PERFORM25. When would you use in-line perform?When the body of the perform will not be used in other paragraphs. If the body of the perform is a generic type of code (used from various other places in the program), it would be better to put the code in a separate para and use PERFORM paraname rather than in-line perform.26. What is the difference between CONTINUE & NEXT SENTENCE ?CONTINUE is like a null statement (do nothing) , while NEXT SENTENCE transfers control to the next sentence (!!) (A sentence is terminated by a period)27. What does EXIT do ? Does nothing ! If used, must be the only sentence within a paragraph.28. Can I redefine an X(100) field with a field of X(200)? Yes. Redefines just causes both fields to start at the same location. For example:01 WS-TOP PIC X(1)01 WS-TOP-RED REDEFINES WS-TOP PIC X(2).If you MOVE '12' to WS-TOP-RED, DISPLAY WS-TOP will show 1 while DISPLAY WS-TOP-RED will show 12. 29. Can I redefine an X(200) field with a field of X(100) ? Yes.
|
Unix Sys Admin Interview Questions
Sat, 02 Feb 2008 14:11:00 +0000
Q: How would you make the following SQL statement run faster? SELECT * FROM TABLEA WHERE COL1=’A’ AND COL2=’B';A: Make sure that COL1 and COL2 have indexes.Find out which condition will return less values and use that as the first conditonal.Q: What is Data MiningA: Data Minig is the process of sifting through extremeley large amounts of Data to find trends or relevent information.Q: Name the Seven layers in the OSI Model.A: Appication, Presentation, Session, Transport, Network, Data Link, PhyiscalQ: What is one way to view a unix network share on a Windows computer, within explorerA: NFS, The Unix computer can be running a NFS Server Daemon.Q: How would you find all the processes running on your computer.A: Unix, is ps -ef or ps -aux depending on version.Q: What is DHCPA: DHCP is a way to dynamically assign IP address to computers. Dyanmic Host Configuration ProtocolQ: What is HTTP TunnelingA: HTTP Tunneling is a security method that encryptes packets traveling throught the internet. Only the intended reciepent should be able to decrypt the packets. Can be used to Create Virtual Private Networks. (VPN)Q: Scenario: You have 9 identical looking balls, however one ball is heavier than the others. You have two chances to use a balance. How do you find out which ball is the heaviest?A: Split into groups of three, randomly choose two groups and use balance on them. If one group is heavier, then discard the other 6 balls. If the two groups are the same weight. The heavier ball must be in the group that was not on the scale. Now randomly choose two balls and test on balance. If they are the same weight, the heaviest ball is on one that was not tested. Else the heaviest ball is already known from the balance.
|
Job Interview Mistakes
Fri, 01 Feb 2008 01:27:00 +0000
Many people feel that the interview is the single most stressful part of the job search process. Any number of things can go wrong, and a big part of being successful is avoiding simple mistakes. The things you should avoid doing are as below: 1. Trying to wing the interview: Practice! Get a list of general interview questions, a friend, a tape recorder, and a mirror and conduct an interview rehearsal. Practice until your delivery feels comfortable but not canned. 2. Not being yourself: Be yourself and be honest! Don't pretend to understand a question or train of thought if you don't. The interviewer will pick up on this. If you don't know an answer, say so. Relax and be yourself. Remember you're interviewing the company as well as vice versa. 3. Not listening: Focus on the question that is being asked and don't try to anticipate the next one. It's OK to pause and collect your thoughts before answering a question. Pay special attention to technical or work process related subjects that are unique to a given firm or organization. The interviewer may have provided information you will need to answer the question earlier in the conversation. Employers will be looking for your ability to assimilate new information, retain it, and, most importantly, recognize that information as useful to you later in the interview. 4. Not providing enough details: When answering case questions, technical questions or solving technical problems, take the time to "talk through" your thought process. Recruiters are much more interested in seeing how your mind works and how it attacks a given type of problem, than the answer itself. Articulate your problem solving process and verbalize your thinking. 5. Lack of enthusiasm: Maintain eye contact, greet the interviewer with a smile and a firm handshake (not too weak, not too strong), and show common courtesy. Don't be afraid to display your passion for the job/industry and to show confidence.
|
Successfully Navigating a Tech Interview: Part 2
Mon, 28 Jan 2008 15:25:00 +0000
Successfully Navigating a Tech Interview: Part 2While tech interviews differ in some major ways from non-technical interviews, when it comes down to it, an interview is an interview. To be successful and land a job, you have to not only prove that you are capable to perform the job, but also that you are likeable and that you will fit into the company culture. Because when it comes to tech jobs, you are unlikely to even secure an interview if you don’t have the correct certifications, you will need to find other ways to prove that you are the perfect person for the job. We will discuss some of the ways you can accomplish this below.1. Be Courteous: This is a very simple thing but very important and powerful. With all things being equal, your ability to work well with others, becomes very important. Show simple courtesies by being polite to the receptionist, other people in the office and of course to the person interviewing you.2. Be prepared: Before you step into the interview, you should have already considered some answers to potential questions, and should understand well what type of qualifications your interviewer is looking for.3. Do Your Research: This is another interview basic. Do your research on the company. Know their history and where they are trying to go. Be sure to be aware of any major changes and announcements. Incorporate this information into your answers whenever you are able to. This will show the interviewer that you have put some thought into how your skills will be an asset to the company. A careful look at the company’s website and on Google or Yahoo news will give you a good amount of background and breaking information.4. Be On Time: This is another interview basic. Being on time shows a certain level of respect and responsibility, that is necessary to being a good employee. Make a dry run to the interview spot before the big day, to ensure that you are able to get where you need to go on time.5. Dress Appropriately: Even if you assume that a particular workplace is a casual, you should always show up in business professional attire. It is much better to be appropriately and over dressed then to be underdressed.6. Ask Questions: Have some well, thought-out questions prepared before you show up to your interview. Also take notes during your interview and jot down some questions you might want to ask at the end of the interview so that you don’t forget.7. Follow Up: After you interview, be sure to follow up with a thank-you email or card sent through the mail no matter how the interview turns out. This simple gesture may cause the interviewer to keep you in mind the next time there is an opening.A tech interview, like any other interview can be incredibly nerve wracking. The important thing to remember is that if you get the interviewing basics down, you will be able to perform well at any interview. The basics include being courteous, being prepared, do your research, be on time, dress appropriately, ask questions, and follow up.
|
Tech Interview Tips and Prep
Mon, 28 Jan 2008 15:23:00 +0000
Tech Interview Tips and PrepPreparing for any type of interview can be nerve racking. Facing rejection is difficult for everyone. For tech professionals, additional stressors include getting a good return on investment on the costs of tech courses as well as being able to showcase your highly technical skills on the spot. The recent squeeze on IT jobs, makes every interview that you can secure very, very important. In this article, we will provide some tips to help you successfully navigate your tech interviews and land the job.1. Understand the Job Requirements: Before you step into an interview, be sure that you know what the job requires. This will allow you to explain to the interviewer why and how you are qualified. Also, if you don’t have all of the stated qualifications, knowing this will give you an opportunity to explain why you are still the person for the job and how your past experiences can help you quickly get up to speed. Understanding the job requirements will also show the interviewer that you have carefully read the job description, something that a great number of people do not.2. Don’t Be Too Hard on Yourself: It is ok if you don’t know everything. Most employers don’t expect you to. You obviously know enough, or you wouldn’t have even scored the interview. If you find that you can not answer a particular question during the interview, make sure that you mention that you know where to go in order to get that information.3. Chill Out: Being relaxed allows you to think more clearly. If you are nervous, you may not be able answer questions that you know the answers to. Being relaxed also gives off an air of confidence. Confidence is very attractive. If you believe that you can do the job, they will to.4. Take Notes: Take notes during your interview. Jot down the questions that the interviewer asks. This will enable you to get a better grasp of what the interviewer is trying to get out. Taking notes will even help you if you do not get the job. If your interview bombs, you will still have a great list of potential questions that you might be asked at your next interview.5. Create a List of Practice Questions: Visit some tech websites and forums. You will be able to find other people in the profession that have already been through or who are going through the interview process. They may be able to help you come up with a list of potential interview questions. Some tech sites will also have an interview section with tips to help you ace your interview. So be sure to check them out.6. Be Able to Provide Examples: Tech interviews are a bit different than normal interviews in that you are unable to offer generalized answers. You have to be able to demonstrate that you know a specific skill. Because of this, you will need to understand the job description, determine what the employer is looking for and be able to provide examples that prove that you can perform a specific task.7. Be Able Communicate Effectively: Even if you are tech guy or gal, you will still need to be able to communicate with others. Showing the ability to be patient and interact effectively and positively with others will help you stand out from the crowd.
|
Top Tech Certifications with the Greatest ROI
Mon, 28 Jan 2008 15:20:00 +0000
Top Tech Certifications with the Greatest ROIFor individuals looking to receive tech certification, there are many available options. There are vendor-sponsored certifications that hold a lot of weight, from companies such as Microsoft or Cisco. There are also equally powerful certifications that are not-affiliated with any particular sponsor.One will quickly find that tech certification is not cheap. In fact, in some cases, it is extremely expensive. This means that going after and receiving the certifications, with the greatest Return on Investment (ROI) is vitally important. In this article, we list the tech certifications that will pay off biggest in the job market.1. MCSE: The Microsoft Certified Systems Engineer (MCSE) certification is still a premiere certification. The test is quite a bit harder then it once was. It is primarily performance based and the questions are much more difficult. You must past seven tests to receive your MCSE.2: MCA: Microsoft Certified Architect (MCA) is the top certification that Microsoft gives. To successfully attain your MCA you need to have three years or more of an advanced level of IT architecture experience. You will have to pass a review board given by a review board.. This is a very prestigious certification. In fact, there are less than 100 Microsoft Certified Architects (MCA’s) in the world.3. CCIE: The Cisco Internetwork Expert (CCEI) is a very expensive certification that is very hard to obtain. It is sponsored by Cisco. The test has two parts. You will need to successfully pass the written portion of the exam, before you are allowed to take the labs. The written portion of the test costs $300. The lab examination will cost you $1250 for each track to choose to be tested on. You can choose from Routing and Switching, Security, Storage Networking, Voice and Service Provider. Keep in mind as well, that lab exams are only given in certain cities so you will have to pay for any travel expenses. As a CCEI, you must be recertified every two years.4. CCSP: Cisco Certified Security Professional (CCSP) is a certification that will enable you to secure Cisco networks. To receive this certification, you must take and pass 5 written tests. Recertification is required every 3 years. It is important to note that even before you are able to take the CCSP, you must have already received your CCNA or CCIP.5. CISSP: Security jobs continue to be hot in the IT field. One certification that will help you land a good IT security gig is the Certified Information Systems Security Professional (CISSP). The process to receive the certification is very rigorous and the test itself is pretty expensive, but the payoff is great.6. SSCP: If you aren’t yet able to qualify to sit for the CISSP, try the Systems Security Certified Practitioner (SSCP) certification. You will only need one year of security experience.7. GSE: The GIAC certificate is another well known security certificate. However, you will need to have already received your GSEC, GCIA and GCIH certifications before you can sit for it.8. RHCE/RHCA: Linux is becoming more and more popular. Some companies are interested in switching to a Linux based system and they need tech professionals to run them. For $749 you can take the Red Hat Certified Engineer exam (RHCE) and become certified.9. ITIL: If you have aspirations in becoming an IT manager, you may want to consider obtaining your Information Technology Infrastructure Library (ITIL) certification.10. Other considerations: If none of the above certifications float your boat, you may want to consider certifications in Database administration, wireless networking, Health Insurance Portability and Accountability Act (HIPPA) or Voice Over Protocol. All of these will be hot tech areas in the future.
|
Java Interview Questions and Answers
Sat, 19 Jan 2008 15:59:00 +0000
What are the different types of inner classes?A checked exception is some subclass of Exception (or Exception itself), excluding class RuntimeException and its subclasses.Making an exception checked forces client programmers to deal with the possibility that the exception will be thrown. eg, IOException thrown by java.io.FileInputStream’s read() methodUnchecked exceptions are RuntimeException and any of its subclasses. Class Error and its subclasses also.Can I import the same package/class twice? Will the JVM load the package twice at runtime?One can import the same package or same class multiple times. Neither compiler nor JVM complains abt it. And the JVM will internally load the class only once no matter how many times you import the same class.Can I have multiple main methods in the same class?No the program fails to compile. The compiler says that the main method is already defined in the class.Can an application having multiple classes have a main method?Yes it is possible. While starting the application we mention the class name to be run. The JVM will look for the Main method only in the class whose name you have mentioned. Hence there is not conflict amongst the multiple classes having main method.What environment variables do I need to set on my machine in order to be able to run Java apps?CLASSPATH and PATH are the two variables.How can one prove that the array is not null but empty?Print args.length. It will print 0. That means it is empty. But if it would have been null then it would have thrown a NullPointerException on attempting to print args.length.What is the first argument of the string array in main method?The String array is empty. It does not have any element. This is unlike C/C++ where the first element by default is the program name.
|
Tech Interview Question Board
Wed, 16 Jan 2008 17:08:00 +0000
My intentions with this blog is to provide questions that stimulate the reader and promote research, discovery and discussion with you peers. I will provide answers to some questions, but I really hope that you, the readers, will participate and provide your opinions as well. In the long run that will benefit us all. Thanks
|
Bluetooth Interview Questions
Tue, 15 Jan 2008 14:48:00 +0000
How does a bluetooth work?What kind of modulation processes are used in Bluetooth technology?How do you extend Bluetooth technology for long range applications by increasing power and down converting ism band freq into uhf frequency?What is the difference between TCP and UDP?What is RJ-45 and full name of RJ-45?Explain TCP connection establishment and tear down.Explain the function of SSL?
|
Help Desk Interview Questions
Tue, 15 Jan 2008 14:38:00 +0000
What is meant by active directory?How do you create a policy and organizational unit in windows 2003 server?How do you apply users to the policy and organizational unit in windows 2003 server?Which protocol(s) does ADS require?What is the scope of DHCP server?What is the difference between 2000 Server and 2003 Server?What is the difference between domain and domain name server?How does a protocol work?What is a ISP and how does it work?How can we configure a router over switch and which IP Address has to be assigned?How do you configure Microsoft Exchange in windows 2000 server?What is VSS and What is its functionality?What is CVS and What is its functionality?What are the different version of Windows 2003 and the differences between them?
|
Webmasters - Another button for your collection
|