ERRORS Interview Questions
Questions Answers Views Company eMail

How to develop a program using C language to convert 8-bit binary values to decimals. TQ

Amazon,

1 2969

WHAT IS A VECTOR ? HOW IS DIFFER FORM AN ARRAY

1968

Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL

3313

Display this kind of output on screen. 1 0 1 1 0 1 3. Display this kind of output on screen. 1 1 0 1 0 1 4. Display this kind of output on screen. 1 1 0 1 0 1 5.Display this kind of output on screen. 1 2 3 4 5 6 7 8 9 10

1 4527

void main() { int i=5; printf("%d",i+++++i); }

HCL,

14 41156

How to convert hexadecimal to binary using c language..

Bajaj, GAIL, Satyam, Zenqa,

1 5723

How to reverse a linked list without using array & -1? Thank you.

Access, Satyam,

2 5174

I am addicted towards facebo0k, pls suggest some way to leave it, it disturb my study :-(

1 4578

What is the difference between return code and completion code. When i was searching in the direct for the problem, the following errors displayed. Please can any1 explain these. Completion Code => 4 Message Id => XXDR012I Short Text => XDR field overflow. Key=SER. Len=8. Completion Code => 8 Message Id => XSQF009I Short Text => Sys call open() failed.Filename=/opt/apps/cdt3/USA/outbound/CD810O.errno=17. Completion Code => 8 Message Id => XCPR010I Short Text => Open failed for copy in OPEN_DEST_DATA. Errno=17. can you explain those 3 completion codes and also with difference between return code and completion code

10555

how many profit center can we assig to material master

1 4172

user type command ls -l it gives junk character...how to trubleshoot this problem

Zycus Infotech,

1 4438

my 1st friend gave me 1000 and 2nd gave me 500 i have loos 1000 rupees then i purchase some thing with the cost of 300 and gave 100 100 both friends 1st friend remaining 900 and 2nd remaining 400 900+400+300=1600 why

Accenture, Angel Broking, Apple, BPO, CP, DAS, Facebook, Infosys, Muthoot Group, Myntra, Patel, Suman Saurabh, TCS, UPSC, Vivek Engineers, WhatsApp, Zubi,

73 437923

hi friends , could u please suggest the best institute in hyd or bangalore for Oracle apps and pl/sql

1 3828

errors are known as?

EX, State Bank Of India SBI,

3 5590

mount: mount to NFS server failed: System Error: Connection timed out

3289


Un-Answered Questions { ERRORS }

ORA-26076: cannot set or reset value after direct path structure is allocated

1472


how to run the application using winrunner for data driven test?

1904


how to overload main method in java?

2506


NZE-28890: Entrust Login Failed

1409


hi all, I am in the process of learning qtp. i havve windows vista in my system whenever i try to run flight reservation application , i am getting the following error "Operation must use an updateable query Fractional truncation (null) . And am unable to open Mercury tours web application due to some other error Can anyone help me please

4907






mount: mount to NFS server failed: System Error: Connection timed out

3289


hii..i am doin a project called Forecaster..wat it does is it asks user to enter a zip code..then it establishes urlconnection with a weather website n fetches data n data is converted into graphical representation..but it doesnt show any output..i am not able it figure out the reason..can u plzzzz help me out..i am givin u code import java.io.*; import java.awt.*; import java.net.*; import java.awt.image.*; import java.awt.event.*; public class Forecast extends Frame { OkCancelDialog textDialog; BufferedImage image = null; public static void main(String[] args) { new Forecast(); } public Forecast() { String zip =""; File zipFile = new File("zip.txt"); String hiTemperature[] = new String[4]; String loTemperature[] = new String[4]; try { if(zipFile.exists()){ FileReader filereader = new FileReader("zip.txt"); BufferedReader bufferedreader = new BufferedReader(filereader); zip = bufferedreader.readLine(); } else { textDialog = new OkCancelDialog(this, "Enter your five-digit zip code", true); textDialog.setVisible(true); zip = textDialog.data.trim(); FileOutputStream fileoutputstream = new FileOutputStream("zip.txt"); fileoutputstream.write(zip.getBytes()); } int character; URL url = new URL ("http://www.srh.noaa.gov/zipcity.php?inputstring=" + zip); URLConnection urlconnection = url.openConnection(); InputStream in = urlconnection.getInputStream(); String input = ""; String hiSearch; String loSearch; String inchar; char[] cc = new char[1]; while ((character = in.read()) != -1) { char z = (char)character; cc[0] = z; inchar = new String(cc); input += inchar; } in.close(); if(input.indexOf("Hi ") >= 0){ hiSearch = "Hi "; } else{ hiSearch= "Hi: "; } int currentPosition = 0; for(int loopIndex = 0; loopIndex < 4; loopIndex++){ int location = input.indexOf(hiSearch, currentPosition); int end = input.indexOf("°", location); hiTemperature[loopIndex] = input.substring(location + hiSearch.length(), end); currentPosition = end + 1; } if(input.indexOf("Lo ") >= 0){ loSearch = "Lo "; } else{ loSearch= "Lo: "; } currentPosition = 0; for(int loopIndex = 0; loopIndex < 4; loopIndex++){ int location = input.indexOf(loSearch, currentPosition); int end = input.indexOf("°", location); loTemperature[loopIndex] = input.substring(location + loSearch.length(), end); currentPosition = end + 1; } boolean evening = false; if(input.indexOf(loSearch) < input.indexOf(hiSearch)){ evening = true; hiTemperature[3] = hiTemperature[2]; hiTemperature[2] = hiTemperature[1]; hiTemperature[1] = hiTemperature[0]; } image = new BufferedImage(225, 201, BufferedImage.TYPE_INT_RGB); Graphics2D g = image.createGraphics(); g.setColor(Color.white); g.fillRect(0, 0, 224, 201); g.setColor(Color.gray); for(int loopIndex = 0; loopIndex < 21; loopIndex++){ g.drawLine(25, loopIndex * 10, 224, loopIndex * 10); g.drawLine(loopIndex * 10 + 25, 0, loopIndex * 10 + 25, 199); } g.setColor(Color.blue); Font font = new Font("Courier", Font.PLAIN, 18); g.setFont(font); for(int loopIndex = 20; loopIndex < 200; loopIndex += 20){ g.drawString(String.valueOf(100 - loopIndex / 2), 0, loopIndex + 5); } g.setColor(Color.red); if(!evening){ g.drawOval(65 - 4, 200 - (Integer.parseInt( hiTemperature[0]) * 2) - 4, 8, 8); } g.drawOval(105 - 4, 200 - (Integer.parseInt( hiTemperature[1]) * 2) - 4, 8, 8); g.drawOval(145 - 4, 200 - (Integer.parseInt( hiTemperature[2]) * 2) - 4, 8, 8); g.drawOval(185 - 4, 200 - (Integer.parseInt( hiTemperature[3]) * 2) - 4, 8, 8); if(!evening){ g.drawLine(65, 200 - (Integer.parseInt( hiTemperature[0]) * 2), 105, 200 - (Integer.parseInt(hiTemperature[1]) * 2)); } g.drawLine(105, 200 - (Integer.parseInt(hiTemperature[1]) * 2), 145, 200 - (Integer.parseInt(hiTemperature[2]) * 2)); g.drawLine(145, 200 - (Integer.parseInt(hiTemperature[2]) * 2), 185, 200 - (Integer.parseInt(hiTemperature[3]) * 2)); g.setColor(Color.blue); g.drawOval(65 - 4, 200 - (Integer.parseInt( loTemperature[0]) * 2) - 4, 8, 8); g.drawOval(105 - 4, 200 - (Integer.parseInt( loTemperature[1]) * 2) - 4, 8, 8); g.drawOval(145 - 4, 200 - (Integer.parseInt( loTemperature[2]) * 2) - 4, 8, 8); g.drawOval(185 - 4, 200 - (Integer.parseInt( loTemperature[3]) * 2) - 4, 8, 8); g.drawLine(65, 200 - (Integer.parseInt(loTemperature[0]) * 2), 105, 200 - (Integer.parseInt(loTemperature[1]) * 2)); g.drawLine(105, 200 - (Integer.parseInt(loTemperature[1]) * 2), 145, 200 - (Integer.parseInt(loTemperature[2]) * 2)); g.drawLine(145, 200 - (Integer.parseInt(loTemperature[2]) * 2), 185, 200 - (Integer.parseInt(loTemperature[3]) * 2)); g.setColor(Color.white); g.fillRect(55, 160, 140, 30); g.setColor(Color.blue); g.drawRect(55, 160, 140, 30); font = new Font("Courier", Font.PLAIN, 12); g.setFont(font); g.drawString("Four-Day Forecast", 65, 172); font = new Font("Courier", Font.PLAIN, 9); g.setFont(font); g.drawString("Source: Nat. Weather Srvce.", 58, 185); setTitle("The Forecaster"); setResizable(false); setSize(250, 240); setVisible(true); this.addWindowListener(new WindowAdapter(){ public void windowClosing( WindowEvent e){ System.exit(0); } } ); } catch (Exception e) { System.out.println(e.getMessage()); } } public void paint(Graphics g) { if(image != null){ g.drawImage(image, 10, 30, this); } } } class OkCancelDialog extends Dialog implements ActionListener { Button ok, cancel; TextField text; public String data; OkCancelDialog(Frame hostFrame, String title, boolean dModal) { super(hostFrame, title, dModal); setSize(280, 100); setLayout(new FlowLayout()); text = new TextField(30); add(text); ok = new Button("OK"); add(ok); ok.addActionListener((ActionListener)this); cancel = new Button("Cancel"); add(cancel); cancel.addActionListener(this); data = new String(""); } public void actionPerformed(ActionEvent event) { if(event.getSource() == ok){ data = text.getText(); } else { data = ""; } setVisible(false); } }

1912


Process of resolving a specific problem Problem helps to enhance your ability to live life happily. Yes, it looks stupid when somebody say something like this. But it is true. If you say, “how?” I explain how. When there is a problem in ones life, he tries to solve it. Once he solves the problem the satisfaction of solving the problem which he feels has no words. You can see it in his eyes, on his face, in his footsteps, and not the least all around where he is. So tell me, it works? So never give up in your life. Live the life with problem, because life’s other name is problem. No one on the earth saying he or she has no problem. One who does not say that I have problem but try hard to solve the problem is the person who live life happily. There are two system of solving the particular problems. One is: solve intuitively. Two is: solve systematically. From my point of view, solving the problem systematically is much easier, more balanced and logical. To solve the problem systematically there are some instruction like relaxing head for some time, think on problem and the solution. One must not mix two things together in such a way that you can not differentiate them. If essential, there should be different solutions for different problems. In solve problem systematically, one come across five types of questions or we can view it as steps to solve the problem. They are: 1 What are the sources of problem is means “establish the goal”: “To live is to have problems and to solve problems is to grow intellectually.” (J. P. Guilford) No problem exists in the absence of an objective. We need to know exactly what and where we want to arrive at in order for us to properly determine our track and direction. Knowing our direction is an important aspect in problem solving, as what Diana Ross said, “Do you know where you’re going to?” 2 What the problem is exactly means “identify and define the problem”: “Microsoft is company that manages imagination” (Bill Gates). It is definitely related to imagination i.e. asking ourselves what is the problem and to seek to understand more why we think there is the problem is recognized what caused it in order for us to get an objective. 3 What are the solutions of problem means “set your priorities”: “The best way to get a good idea is to get a lot of ideas” (Linus Pauling) Bifurcation between which solutions are “must” and which are “want” is difficult task. The solution which must be taken to solve the problem is listed out. Therefore it is said that “the only joy in the world is to begin.” (Cesare Pavese). 4. Which solution is best among all means “brainstorm for solution”: “That human mind is like a parachute – it functions better when it is open.” (Cole’s Rules) As per this narration, I can say that brainstorm for the solution to the problem is must. When you ask for the opinion of other, you can decide upon what to do and don’t. 5. What action to be taken to solve the problem means “plan your course of action”: “It is not enough to just do your best or work hard. You must know what to work on” (W. Edwards Deming). Plan your course of action with regard to the resources needed to implement the solution. In Living a Life That Matters, Harold S. Kushner (the Massachusetts rabbi whose best selling books include When Bad Things Happen to Good People) suggests that the most successful lives are the ones that most effectively manage and resolve that problem. In a nutshell, to solve the particular problem, Rene Descartes says that “It is not enough to have a good mind; the main thing is to use it well.” FIND OUT GRAMMATICAL ERROR?

5212


ORA-26079: file "string" is not part of table string.string

1520


I have got one job selection order from DECON ENGG(HRD), he told me to send 2000 rs of demand draff i have send the demand draff after some time a got a job selection order in banglore but he have written that u have to give 550 rs of Guidency fees in bangalore i dont understant what to do

2092


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

2859


In .net how many error will occur?

2413


wut is pre law

2240


RMAN-05017: no copy of datafile number found to recover

1883


When you get following error? Error 3154: The backup set holds a backup of a database other than the existing database.

2065