How to handle academic gap while applying for a job?
Some people have to experience what’s known as “academic gap” (or academic break down, as others would call it) due to several reasons, it could be that they had suffered an illness or faced financial constraints, which hindered them from graduating right away. If you had to go through...
Career options for bca graduates
The bachelor of computer applications or bca is a three-year undergraduate program that is equivalent to a bachelor of technology course. Bca is designed to produce graduates who have the necessary skills and knowledge not only in computer and information technology, but also in communication, organization,...
what should i do after my BCA ?? MBA is a good option??
I am doing BCA but I do not know any program. I am not understanding program so help me
Careers and higher education options for bba graduates
Bba, better known as bachelor of business administration, is a 4-year program that includes business administration, commerce, and general business courses in its curriculum. If you are a bba degree holder or will soon be graduating as one, it would be best if you know what your career options are once...
I am final year BBA student....after BBA I want to do job so please help for the opportunities for build my career
I am a student of BBA 2nd yr I don't want 2 do MBA. After my graduati0n. Tell me about other options?
Bpo career for btech graduates
Bachelor of technology, popularly known as btech, is a 4-year program (8 semesters) offered in many colleges and universities. Because of peoples increasing dependence on computers and the internet, btech degree holders are assured of great career opportunities. Most btech graduates find work as operations...
You (as a tester) discovered a bug in the application you are testing. You created a bug report and assigned it to the developer. Developer followed all the instructions given in the bug report but is...
Is there hiring happening for informatica? Actually i am from B.Sc background with PGDCA. Currently working in Infosys BPO. Usually hiring happens for 2-3 yrs experience people. Is there any scope for me like people.
Anticipating your response
Jose
How to overcome employment gap during interview.
So you were out of work for a while and are now planning to re-enter the workforce. The idea of hunting for a job is stressful enoughand it will be even more so when you have to think about how to explain to potential employers why you were out of work for a certain period of time. Whether you got laid...
Hi,
I have done my MBA hr in 2006 from pune. after marriage and family responsibilities i was at home around 2.5 years. i joined wipro bpo in 2010 and worked there for 2.8 years. I would like to restart my career in HR filed.need help
I completed degree in 2009 but now I am trying for jobs in BPO sector in these 3 years I helped to my father in agriculture
Importance of an mba for an entrepreneur
More often than not, aspiring entrepreneurs approach me with this question how important is an mba degree?. College graduates who dream of putting up their own business are faced with the dilemma of getting an mba or not. The truth is, there is no clear-cut answer to this question, and the decision...
MBA just after college or after 2-3 years ??
I am a software engineer.I will get any advantage if I do MBA.
What are my options when I do not get a job after graduation?
Dear all, often, I receive questions from users asking me for suggestion and solution when they do not get a job even after completing their studies. While everyone aim to get a good job right after completing their studies, most of them will find it difficult to find a job. The reason could vary from...
I got the Job But i m not satisfied with my Job because of Low salary package 10000 Rs. /Month & 2 years Bond aggrement .No saving from the Earning.
I am feeling uncomfortable here,What should i do?????? either continue or Leave it out
Please suggest me
My name is siva and i am a BE CSE 2010 passout .I have also done dotnet course and not getting any nice job in IT field.can u just tell what to do mam.It will be more useful
Aptitude test preparation tips
Are you anxious about an upcoming job aptitude test? Are you taking the test for the first time? It is quite understandable for you to feel nervous about aptitude test. Remember that with the proper preparation, information and knowledge you can pass any test with relative ease and I will provide...
Hi,
I am totally not good in aptitude test solving because I do not have proper educational background I have not done +2 directly I have done my graduation by correspondence, so what could help me to solve all the mathematical and analytical problems?
Devadas Guduri
How to face aptitude test for placement in engg. college and what study to do for that?
What are the career options available in software testing industry?
If you want to have an exciting career that pays well, then you should consider finding employment in the software testing industry. It is a relatively new industry, but it is highly in-demand today due to the popularity of computers and the internet. But before you make the decision to work as...
I would like to become a software tester, but i dont have experience in that field, I am a hard worker, i dont know how to get a job without experience .Please help me to get a job.
Hi, I want to ask u is any scope to s/w testing now
What is the role of a mechanical engineer in the software industry?
Are you a mechanical engineering graduate looking for a job? Then like many others, you must be wondering how your profession will flourish today where computers, electronic products, and the internet have become widely used. Mechanical engineering is perhaps one of the oldest disciplines in the field...
hello madam,i am doing final year in mechanical branch i would like to know that after completing of betch which feild gives more salary and i can go in software also are else any software company giving offers to us.pls give me important advise to me.
Helo mam, this is Debashish kundu and currently I am pursuing my mechanical engineering.Right now I am in Final year of my graduation. I want to ask about my career opportunities after my graduation....
What are the career opportunities available for mca graduates?
Now that we live in the age of information technology, there is a world of opportunities waiting for mca graduates like you. Although understandably, you might be apprehensive about your future considering that workforce competition can be quite stiff, you need not worry as long as you plan your career...
Sir/Madam I have done B.Sc(Bio) and MCA(2007) and also D.Y.N.S. Now I am teaching in a U.P.(govt) but want a job in delhi and I want to utilize my education. D.O.B.25/08/79...
Dear Sir/Maam,
I have just completed MCA. I am working in Automotives Company, because of money problem, But I want to join in IT company. What should i do.
What do you think about our company?
Most employers do give good impressions to job applicants who take the initiative to study and conduct intelligent research on their company profile and background. If you will be asked this question in your interview, be aware that they want to measure your level of interest toward the company...
Do you have any questions that you want to ask?
In any form of interview such as that of a job interview procedure, it is normal process for an interviewer to ask the applicant to ask questions, if there are any. Since an interview is a two-way communication, both the interviewer and interviewee can exchange questions to each other. Yet, in...
explain different hashing functions in searching technique
Can a Flexfiled qualifier be changed after it has been created?
What are the things you wish to achieve in 5 years?
Individuals who make serious plans in their career even if they are just starting out are sought after by potential employers. These are the people who strive hard to achieve their goals so they do everything to attain their objectives in the long run. This can be a common question during job interviews,...
Give me good reasons why should I choose you over others.
There are 12 applicants vying for this job. Give me good reasons why should I choose you over them. most of the time, the interviewers want to gauge how an applicant views herself or himself at par with the rest of the competition. This gives them a way to test ones self confidence and competitiveness....
Does a problem make you a better person?
Have you been through a difficult situation? How does a problem make you a better person? in job interviews, your answers to the questions that interviewers or the employers ask are very crucial in the selection process. Notice that they scribble notes on their paper or your curriculum vitae in...
Describe a time when you had to work under pressure.
Work can sometimes take its toll on an individual and only highly efficient people are able to take the challenge of beating the pressure. When employers search for potential job candidates, they highly consider the work efficiency as well as the endurance of the individual. So, they ask this question...
Has anyone asked you for help? What did you do?
Part of measuring your personality or individual character is testing your ability to establish and keep good relations with people. Aside from that, the employer also wants to check your interpersonal skills or how you effectively deal with people. It is utterly important that an employee knows...
You might wonder why the interviewer would ask such a question during the interview. This type of question is not commonly asked during job interviews. one reason they would ask it is to know if you have been making yourself productive even while on the job hunt. People who are keeping themselves...
How do you handle workplace problems?
The way you deal with other people tells so much about you. If you are actively searching for a job, you must consider enhancing your personality and getting yourself ready for the corporate world. Employers favor those candidates who have the right attitude and personality for the job apart from...
How do you handle pressure and stress?
Job interview questions are normally meant to test the different skills and competencies of the applicant for the job position as well as to certify the correctness of information stipulated on the curriculum vitae. Questions can vary from the easy ones to the most challenging type. {mosgoogle} interviewers...
1). What goals do you have in your career? 2). How do you plan to achieve this goals? 3). Can you work well under deadlines or pressure? 4)Tell us about a time when you failed to meet a deadline? What...
when you lose controller of steam turbine what you do ?
How do you handle difficult situations?
The set of questions you will probably get in a job interview may address both your personal and work experiences. In essence, your individual personality, work attitude, and skills are the main elements that the interviewers assess during the interview. These experts believe that a persons character...
First i have time to take decision for this type of problem we take these kind of decision after tat i have to, discuss my opinion to my boss like this i handle in difficult situation
How do you deal and overcome major challenges?
Was there a time when you had to deal with a major challenge? How did you overcome it? interview questions are targeted to help the interviewer know you better and find out if your skills and abilities would make you suitable for the job position that you are applying for. Even the most basic...
Do you find yourself busy most of the time? Why?
Tough questions are not always easy to answer, but if you plan ahead and structure your response to such questions, then for sure, you will be able to impress your interviewer. Because there are lots of applicants vying for the job position that you are hoping to get, it is imperative that you...
Tell me about a time when you had a conflict with someone. How did you handle it? there is always a reason why an interviewer would ask a particular question. it could be that the interviewer would want to know about an experience, skill, personality, attitude, knowledge, or ability that you...
How do you approach a problem?
What is the biggest problem you ever had to face? How did you approach the problem? questions such as the one given above are something that job applicants should anticipate during their interview. Companies want to hire people who know how to solve problems because problems are inherent in every...
Have you experienced being given too many tasks?
Have you experienced being given too many tasks? What did you do to meet your deadlines? when you are in a job interview, one of the questions that you are going to be asked will have something to do with time management. Although there are job positions that have higher priorities for time...
Describe a time when you had to convince a friend ?
Describe a time when you had to convince a friend or colleague about an idea that you have. this interview question is more commonly asked to job candidates for a supervisory or managerial position as it seeks to find out the ability of the person to convince or influence others. Yet, even on a regular...
What do you think about continuous learning?
Your interviewer would like to know if you are open for continuous learning so this question is asked during the interview. Your approach toward self-improvement is being evaluated. Employers see professionals as individuals who continually strive to develop themselves. It gives them an idea that such...
I am currently woking in one organization as a software engineer,but here no competative enviornment.am like a shadow resoruce.am planning to change ny company,but here my security bond is there.what should i do?whether to continue in same company or moving ahead in diffrent companies?
Describe a time when you had to listen to someone.
Describe a time when you had to listen to someone. How did you show that person you were listening? when your interviewer asks you this question, you are obviously being assessed on your ability as a listener. Listening is very necessary for proper communication among and between individuals. In a workplace...
What do you do when someone criticizes you?
Here is another example of a behavior-based type of question. But this time, the focus of assessment is on your personality. Interviewers use your personal character as one of the basis in gauging your work personality. Remember that how you are as a person also reflects how you can be as a working professional....
Do you like working in a team or alone? Explain.
Employers would like to find out the ability of a candidate to work in a team so during interviews, this common question is asked. While they prefer potential their employees to be self-supervised individuals, they also want them to understand the value of teamwork by easily getting immersed in teams....
Have you gone above and beyond your job description?
Have you tried going above and beyond your job description just to get the job done? Why did you do it? when you are being asked with this kind of open-ended question, the employer seeks to know how you can market yourself or showcase your skills by placing an edge against the rest of the candidates...
What was the most important decision you ever had to make?
What was the most important decision you ever had to make? How did you arrive at that decision? an important part of assessing your skills and personal character is to test your behavior towards trying or challenging situations. This is another type of behavioral-based questioning in which your answer...
Do you seek advice from others when you have a question?
Do you seek advice from others when you have a question? Will you evaluate their inputs before you consider their advice? a question such as this is asked by interviewers with a goal of determining an individual's preference in terms of who to look up to as their role models especially in decision-making...
Hi..I am manual tester. I have 2 Years of exp in it. I would like to move on ETL development. Iw ant to know which tool is the best to learn and what are things i have to learn?
Can anyone Please suggest me?
Tell me about a skill you recently acquired or improved.
Tell me about a skill you recently acquired or improved. How did you do it? every employer that seeks for qualified individuals to fill in vacancies in their company has a list of qualifications for a suitable candidate. The field of profession is an essential element for a job position but given...
What will you do when you are not able to get your message across to your audience?
Have you experienced a time when you felt you could not get your message across to your audience? What did you do to remedy the problem? in a job interview, potential employers would want to know the communication strengths of jobseekers. This is especially true for job positions that require excellent...
What support do i need from my manager or supervisor in order to produce quality work?
What is your way of building rapport with a person you just met?
Recruitment officers would, more often than not, ask a question about rapport building. They want to find out if a candidate has the necessary skills to converse with people and feel comfortable in their presence. Whether it is a behavioral interview, or just the traditional type of interview, you will...
what kind of things are asked in interviews..? is this neccessary for the people to be interactive?
Has there been a time when you were presented a problem and solved it?
Has there been a time when you were presented a problem and solved it effectively through the use of your good judgment? Explain this question may be rephrased or restructured in different job interviews but the objective of the interviewer remains the same: they want to know your ability to solve...
Which physical things needs to avoid in Personal interview ?
Provide an example of a goal that you successfully attained.
This question is something that an interviewer would ask in order to know how well you establish goals. Having the ability to set goals and achieve them is something that most companies would look for in a job applicant because this will say a lot about your performance as a potential employee,...
What do you do when things do not go as planned? Cite an example.
This question will gauge your ability to adapt to certain situations. interviewers ask this question because they want to know how well you can manage problems and changes at work. A lot of people might be tempted to simply say, "i have never had problems when things do not go as planned" or worse,...
Tell me three things about you, which are not found in your resume
When an interviewer asks this open-ended question, you have to structure your answer carefully. Although it seems quite simple enough and you may be inclined to give out just any information about yourself that you can think of, such as your favorite dish, music, and color, it really is not as simple...
How do you find the users who are running the script ?
Hcl placement paper held at anna university
Hcl paper held at anna university on 16 th oct..This may be useful to others.The paper consists of 4 sections.1.Computer concepts -15 -1 mark -1/4 -ve2.C programming -20 -1 mark -1/4 -ve3.Analysing the programs -10 -2marks - 1 -ve4.Aptitude -20 -1 mark -1/4 -ve.I remember...
2]QUES}
main()
{
printf("%d%d"size of ("Hcl
technologies"),strlen("HCL Technologies"));
)
ANS]17,16
Micrsoft puzzles, riddles placement paper
Puzzles, riddles and others0. Classic: if a bear walks one mile south, turns lEFT and walks one mile to the east and then turns lEFT again and walks one mile north and arrives at its original position, what is the color of the bear. Ans. The color of the bear is trivial. The possible solutions to it...
1st take only 6 balls,leave d 2 a) Divide 6 balls into 3 and 3, then weigh it, if any of the 2 divisions weigh less, means that 3 balls have a defective balls. b) Out of that 3 balls take 1 in your h...
9. The answer is in question itself. Here, if you stand "under" the mirror vertical will take place.
Microsoft personality interview questions
Personalityit is best to read some website or a book for questions like these. 1. Tell me the courses you liked and why did you like them. 2. Give an instance in your life in which you were faced with a problem and you tackled it successfully. 3. What is your ideal working environment. 4. Why do you...
I think you should know all development and research centers across the globe. Like I dint know there is one research center in Beijing. During Lunch interview I was asked how much did I know about microsoft work and their centers. I told them about cambridge, Haifa(israel) and more..
Algorithms and programming1. Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife ? 2. You're given an array containing both positive and negative...
Microsoft networks and security written test
1. How do you use rsa for both authentication and secrecy?2. What is arp and how does it work?3. What's the difference between a switch and a router?4. Name some routing protocols? (rip,osPF etc..)5. How do you do authentication with message digest(md5)? (usually md is used for finding tampering of data)6....
What is ARP and how does it work?Defination:ARP (Address Resolution Protocol) is a protocol for mapping link layer addresses to a physical machine address that is recognized in the local networkWorkin...
Java1. How do you find the size of a Java object (not the primitive type) ? Ans. Type cast it to string and find its s.Length() 2. Why is multiple inheritance not provided in Java? 3. Thread t = new thread(); t.Start(); t = null; now what will happen to the created thread? 4. How is garbage collection...
4. storage memory allocation can be used in the garbage collection finalize also used in the garbage collection polymorphism also used in the run time entities in virtual functions of garbage collection
. Why is multiple inheritance not provided in Java? 3. Thread t = new Thread(); t.start(); t = null; now what will happen to the created thread? 4. How is garbage collection done in java? 5. How do yo...
Which tool is used to configure the port range andprotocols for dcom communications?
Which property of textbox cannot be changed atruntime and whats the maximum size of a textbox?
The property of textbox which we cannot change at run time are:
name
multiline.
Hi All,
We can not change the 'Multiline' proprty of TextBox at the Run Time.
and TextBox has No Limits
Which property of menu cannot be set at run time?
Name property cannot set at run time
Which property is used to compress a image in image control?
strech
Which controls have refresh method, clear method
datagrid,listbox,combobox,label,button have refresh methodand textbox has clear methodalmost all controls have refresh method
Which controls can not be placed in mdi?
The Controls which do not have Align property can't be placed on MDI Form
Image Box can't be paste into a MDI form.
The Controls which do not have Align property can't be placed on MDI Form.
E.g., Picturebox only has Align property in Standard Components of VB other controls dont have align property an hence can't be drawn on MDI Form.
What was introduced to visual basic to allow the use of callback functions?
DTPicker
What types of data access have you used?
i hv used ADO for data access. In ADO there r 3 mian objects(a) connection(b) Command(c) Recordset
setabort and setcomplete
What keyword is associated with raising system level events in vb?
What is the difference between msgbox statement and msgboxq function?
MsgBox is a built in VB function which displays a Message Box and MsgBoxQ is a function defined by the user.
Object Linking and Embedding (OLE) is a distributed object system and protocol developed by Microsoft. OLE allows an editor to "farm out" part of a document to another editor and then reimport it. Fo...
Object Linking and Embedding (OLE) is a distributed object system and protocol developed by Microsoft.OLE allows an editor to "farm out" part of a document to another editor and then reimport it. For ...
What does the implements statement do?
Hi, This Implements Statemets generally used for the purpose of Inheritance. If you want to impelments properties,method & events of super class&...
Implements statement Specifies one or more interfaces, or interface members, that must be implemented in the class or structure definition in which it appears.
What does option explicit refer to?
Option Explicit is used for declaring variables mandatory.
Ex:Option Explicit
This has to declared in General
Option Explicit makes the declaration of Variables Mandatory
What do byval and byref mean and which is the default?
If you pass an argument by reference when calling a procedure, the procedure access to the actual variable in memory. As a result, the variable's value can be changed by the procedure.If you pas...
What are the different compatibility types when we create a com component?
no compatibility - creates new GUIDproject compatibility binary compatibility - maintains the references
What are the ADO objects? Explain them.
Hi all, There are 3 main objects od ADO(1) Connection - Used to make connection with Database(2) command - with this we can execyte command like(select* from)(3) Recordset - The inmemory Representation of records in ADO is known as RecordSet Thanks & Regards Dharmendra K Dixit Jr. Software Engg
Vb and object oriented programming
Yes VB 6.0 Supports OOPS, Because VB6.0 is an Object Based Progarmming Language, and it also known as 'Event Driven Programming'it supports Polymorphism - Yes Encapsulation - Yes Inheritance - Partially support (Not full) Thanks & Regards Dharmendra K Dixit
VB do supports oops.
Polymorphism - Yes , Encapsulation -Yes, Inheritance - NO
Under the ADO command object, what collection is responsible for input to stored procedures?
The Parameters collection
Type library and what is its purpose?
Type libraries are files that explicitly describe some or all of the contents of components. This includes information about the methods, properties, constants, and other members exposed by the compon...
To set the command button for esc, which property needs to be changed?
Thread pool and management of threads within a thread pool
Return value of callback function, the need of tabindex property
Name the four different cursor and locking types in ADO and describe them briefly
Dear All,Four type of Cursor 1.Satic 2.KeySet 3.Dynamic 4. Forwar Only .Static Cursor :we can't delete,update and Insert data.It can't display any modification of data by other users.This one faster f...
Cursor types:1. Forwardonly, 2. Static, 3. Keyset 4. Dyanmic
Lock types : 1. lockpessimistic, 2. lockoptimistic,3. lockbatchoptimistic 4. lockreadonly
Name of the control used to call a windows application
OLE is the control used to call a windows application.
Kind of components can be used as dcom servers
Hai,
DataBase Components can be used as DCOM Servers...
How to set a shortcut key for label?
By setting the UseMnemonic property to true
To register component use
run command prompt type:
c: regsvr32 nameofcomp
How does a dcom component know where to instantiate itself?
Hai,
When Client App requests some COM component in different machine server creates proxy object on client through which client app access the server component.
How can you force new objects to be created on new threads?
How can objects on different threads communicate with one another?
Tab index is associated with tab button, i.e. when we press tab then it moves to next element
snd list index is associated with List box controls items present in List Box
Early Binding: Manually binding the OLB file is called early binding. Its "early" because you are exposing the object model during design-time, as opposed to during run-time. Sub CheckBinding() ...
Describe: in of process vs. Out of process component. Which is faster?
Dear All,In of process component running in same address space but out of Process component running in different address spaces. Out of Process component create separate thread & run in that thread....
Describe database connection pooling relative to mts
This enables MTS to reuse database connections. Database connections are sent to "sleep" mode as against normal constructions and destructions. This can be revoked upon request.
Define the scope of public, priVATe, friend procedures?
Dear All,when we declare private procedure that procedure can be access with in the current module.It can't be access out side the module.private key word use for data hiding purpose.In case of F...
Default property of datacontrol
Connect Property
Controls which do not have events
Shape and Line Controls
Line Control
Constructors have same name as class has, constructor's need not any call through objects, they are called automatically when an instance of class is created.
Destructors are used to make the memory free used by constructor variable, it do it's job just defining a destructor at the end of pro.
when we initialize the form at that time if we want to set any variable's value then we can set it by defining in constructor. constructor 's name always same as class name.and destructor is used to recover memory occupied by any variable defining in constructor.
Can you create a tabletype of recordset in jet - connected ODBC database engine?
object pooling....
Benefit of wrapping database calls into mts transactions
Can some one answer for this question.
Question: Benefit of wrapping database calls into MTS transactions
thank you
suga sandra
Benefit of wrapping database calls into MTS transa...
Advantages of disconnected record sets
Dear All,disconnected record gives more advantages in Database connection free.when user open a recordset using table/vew ,it will lock the table/view as user not free its.As result other user can't d...
Advantage of activex dll over active exe
Advantages of ActiveX Dll1) An in-process component shares its clients address space, so property and method calls dont have to be marshaled. This results in much faster performance. Disadvanta...
Activex and types of activex components in vb
ACTIVEX: ActiveX are reusable software components or simply a class by which we can call a member functions or datamembers on creating object or simply drag & drop a control to access its functionality.
3 Types:
ActiveX dll
ActiveX exe
ActiveX control
3 main differences between flexgrid control and dbgrid control
1. Datagrid is Editable, flexgrid is Diplay only.
2. DBGrid allows full data binding while MSFlexGrid allows read-only binding
3. MSFlex grid is smaller and allows cell merging while Datagrid is larger and does not allow cell merging.
3 main differences between flexgrid control and dbgrid control
Difference between "applet" and "application"
An Applet is a special kind of java program that is designed to transmit over internet and automatically executed by java compatible web browser. An Applet can react to user input and dynamically change.Application can be an execution of a program in the host system.
Application is a program that run in a standalone machine, whilw applet is a application that can be run on web browser.
How to use C++ code in Java program?
C++ can be used in java program by using Native API. There are 4 types of drivers in JDBC. Native API/Partly java driver is one of the type, which is used to connect the C++ code in Java Program
c and c++ methods can be used as native methods,but you need to load the class before that as a library!
What are interfaces? Or how to support multiple inheritance in Java?
An interface is a specification that exists between software components that specifies a selected means of interaction, by means of properties of other software modules, which abstract and encapsulate...
Why Java is not 100% pure object oriented language?
Because of multithreading its not pure OOP.
Purely object oriented language is one which deals only with the objects.
e.g. SmallTalk is the only pure object oriented language.
As java also deals with datatypes as int, float etc. which are not objects of any class, it is not purely object oriented language.
Explain garbage collection mechanism in Java
Like in c and c++ we have some mechanism to create the object and some mechnaishm to distroy the object .but in java we have mechanism to create the object but we dont have any mechanism t...
Garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaim garbage, or memory used by objects that will never be accessed or mutated again by the application.
Can I create final executable from Java?
u can thru batch process
yes u can create executable for java just download install4j and use it
What is the meaning of "final" keyword?
Final Variable :: Constant
Final Method :: Can't Override
Final Class :: Can't instatiate
fianl key word is use to declare a mamber as constant
Goto keyword is there but not we used why?
in java we have keyword goto but we are not using it is putted as reserve
What gives Java it's "write once and run anywhere" nature?
BYTE code is a code genrated by JVM its in binary form and can be understood by JVM only
Bytecode is a term (others are p-code etc) used to denote a form of intermediate code, a binary representation of an executable program designed to be executed by an interpreter or virtual machine rat...
Java has the following disadvantages. Because programs written in Java language runs on a virtual machine, it runs somewhat slowly compared to other programs. However, it is unlikely that it feels ann...
Java language runs on a virtual machine, it runs somewhat slowly compared to other programs. It is difficult to write a perfect program, especially if it is as big as a virtual machine
Swing has built in support for Look and Feel, but Awt has not it has to be get support from OS in which it is running.
1. AWT is written in platform specific code where as Swing componets are written entirely in java , thus its totally platform independent.2.AWT components are heavy-weight components means these are k...
Difference: Java beans, servlets
Servlets are java classes designed to serve content from the web, like a web server serves HTML pages. A servlet is used to receive requests, process them, and then return responses to the program tha...
HI
What is meant by reusable?
we can use instance of a class as we want more times. Then, and diff between bean and class.
Prem
Explain working of Java virtual machine (jvm)
Java Virtual Machine is the heart of entire java program execution process. It is responsible for taking the .class file and converting each byte code instruction into the machine language instruct...
* Creation of bytecode
* Verifying the byte code
* Linking the code withlibrary
* Maintaining garbage collection
In java, we have Sand box Security Model. Some Features Structured Memory Access(No Pointer Arithematics) Type-safe reference casting Automatic ga...
Difference between == and equals method
Hai,
== will check the equality of the references of the objects where as
.equals will check the equality of the content.
for ur answer refer to text books,
my question here, are session thread safe??, also execute method of the action class is thread safe??, i mean can multiple request process with in the execute method,.? pls email me to arun_hyd@msn.com
Meaning - abstract classes, abstract methods
Abstract Class: There are two ways to create abstract class, one is by mentioning abstract key before the class declaration, and second one is by mentioning abstract key before the method declaration ...
In java a class has a well defined structure and behaviour. There are times where we do not need to implement a method such methods are written in the class where the class is preceded by keyw...
How to create a database link?
Create [shared/public] database link
Any problem Don't hesitate write to rahultripathi@myway.com
Difference between "Oracle" and "Microsoft access" databases?
Oracle is more secure than MS Access.
Oracle stores unlimited data while MS
Access is not.
Sequence creation is not possible in MS Access.
Oracle is scalable but not
MS Access.
Oracle is ORDBMS (Object Oriented Relational DataBase) while Access is RDBMS(Relational DataBase) only.
Truncate:Deletes all the record from the table.keeps no entry in log file.so rollback is not possiblefast in operation than delete.Its a DDL statementReset the identity column value to 1 (specific to ...
Delete is a DML Statement
Truncate is a DDL Statement
Delete can be rolledback
Truncate cannot be rolledback
The memory occupied by the table will be released in Truncate.
That is Not the case with Delete
Truncate cannot use a where clause
Delete can use a where clause
Truncate is faster than Delete.
Difference between "varchar" and "varchar2" datatypes?
Varchar2 in Oracle is equal to varchar in SQL Server. There is no varchar2 data type in SQL Server
VARCHAR is used to store alphanumeric values without padding unused memory locations. But VARCHAR2 is used to store alphanumeric values with padding unused memory locations. so using VARCHAR2 we are saving memory locations.
SQL*Loader is a bulk loader utility used for moving data from external files into the Oracle database. Its syntax is similar to that of the DB2 Load utility, but comes with more options. SQL*Loader su...
The SQL Loader is bulk loader utility which is used to move the data from a external file to database.One can use load data into database using sqlldr .Ex:- load datainfile 'C:\rahul.csv' i...
What are the large object types supported by Oracle?
Blob datatype is used for storing large Binary data Like Photos,signatures etc
Clob datatype is used for stoeing large character data upto 4GB like resume and other docs
clob, blob, used to unstructured data and binary data respectively.
What is a view? How to get script for a view?
View is a logical partition of one or more table in horizontally(by putting condition) or vertically (by including selected columns). View can be used to update table, provides sec...
View is the only part of existing table(Collection Cols) and we have to collect the no of col from table and we get one view.The Max no.of col in view as 1024.
What are "hints"? What is "index covering" of a query?
Hints are instructions given by the developer in the query to use a particular type of exectuion plan.Whenever a query is written then sql comipler creates n number of execution plans and opt for the ...
Hints are options or strategies specified for enforcement by the SQL Server 2005 query processor on SELECT, INSERT, UPDATE, or DELETE statements. The hints override any execution plan the query optimizer might select for a query.
Why can a "group by" or "order by" clause be expensive to process?
Group by: It clubs all the similar rows and display only the distinct data so here clubing and displaying distinct data is an overhead.
Order by: It sorts the data either in ascending order or in desending order as specified in the query. Sorting the data is an overhead.
Group by class will have to group all the data returing from the query in our specifed groups... so it is definitly an overhead from execution point of view... imagine that the number of rows returned...
A trigger is a special kind of stored procedure that automatically executes when an event occurs in the database server. There are three types of triggers: 1. DML trigger &nbs...
Trigger is a self executing event in sql server where a relevent action is occured.
triggers are useful in master-child relation ship in a table.
Trigger can be created as,
create trigger triggername on tablename for insert,update,delete as "necessory action"
How functional dependency is related to database table design?
Normalization is the technique of breaking the complex tables into much understandable smaller one to improve the optimzation of the database structure. The concept of "Fucntional Dependancy"...
In database table design we are providing Primary key and Foreign keys.And according to primary and Foreign keys tables are functionaly dependent on each other.
Difference between primary key and aggregate key?
primary key:is a key on ( 1 or group of columns) used to identify a record uniquely.builds clustered index automaticallyAlternate key:is a key which is a unique key but not a primary key.no...
aggregate fact tables have two types of keys
-composite key
-serrogate key (system generated key)
So aggregate-key is a primary key
How to convert raw data type into text?
You can use Bulk copy program (BCP) to convert a data from row to text or text to row
When do you get constraint violation? What are the types of constraints?
Ans:Database returns an error message when a constraint is violated.Differnet type of constrains;1.Domain Constraints:A Domain constraint deals with one or more columns2.Entity Constraints3.Referentia...
Explain normalization and denormalization with examples?
It is good.I understood if you put some brief explanation with data, is very usable to the persons who are not understanding about normalization like me. ...
Your Explnation may be good but it was too dificult to understand with out examples
What is a "transaction"? Why are they necessary?
A transaction is a group of operations combined into a logical unit of work. Developer uses transactions to control and maintain the consistency and integrity of each action in a transaction, despite errors that might occur in the system
BEGIN Trnasaction
Commit Transaction
Transactions are an atomic piece of instructions in SQL which have to be executed all or none.The word atomic signifies the all or none character of a transaction.
How to run SQL script from a UNIX shell?
Rownum is the id which is assigned to recored, by the time of record set selected (executed).
Rowid is, the id which is assigned physically to each record in table.
Regads
Sarele
sql dbname < script_filename > output.out 2>&1
What is the use of analyzing the tables?
1. Optimise DB performance
What is the use of ANALYZing the tables?
How to remove duplicate records from a table?
SELECT ID FROM TBLSAMPLE GROUP BY ID OR SELECT DISTINCT (ID) FROM TBLSAMPLE
Code
SELECT ID FROM TBLSAMPLE GROUP BY ID OR SELECT DISTINCT (ID) FROM TBLSAMPLE
Good Code...however the code will delete all the duplicates... you may want to add:
delete top(n) clause in your delete statement to exactly delete the required number of records.
If we are speaking about SQL Server and Dynamic SQL, then the following is the answer.Some queries in SQL Server might be given during run-time as we may not know the table that we might use in the pr...
In dynamic SQL method 4 in queries(select ) there are variable number of column and bind variable . Other word we can say that until run time we don't how many bind varible there. Exemple...
What is the difference between "translate" and "replace"?
Answered by: jayaprakash.raman
View all answers by jayaprakash.raman
Member Since Apr-2007 | Answered On : Apr 24th, 2007
Please refer that here we are discussing about Sql Server only. There is no function named 'Translate' in Sql Server. 'Translate' function exists in Oracle for translating a single character to some other character.
Replace fucntion in Sql server is used to replace a string as well as character to another string or character. No need to have a seperate function like Transalate in Oracle:
Find below the examples to get the clear idea:
Ex 1: Sql Server replace function similar to Oracle Replace function
Declare @Str varchar(100)
set @Str='India is my country'
print @Str
print replace(@Str,'India','Pakistan')
India is my country
Pakistan is my country
Declare @Str varchar(100)
set @Str='Think You'
print @Str
print replace(@Str,'i','a')Think You
Thank You
Note: Please try to post Sql server questions only here. Ther is a seperate section available for Oracle. If we mix both, it will confuse the people who are specializing their skill in particular area. Thank you.
Please refer that here we are discussing about Sql Server only. There is no function named 'Translate' in Sql Server. 'Translate' function exists in Oracle for translating a single cha...
Translate is a character wise function
where as replace is a string wise
Give some examples of analytical functions?
Examples for Analytical functions in Sql Server 2005:
AVG, COMPUTE, DENSE RANK, NTile, Over, RANK, Row Number, STDEV, SUM, VAR, VARP, WITH ROLLUP
Analytical Function:- return the infornation that about the relative possition of record (ROW_NUMBER,Rank,DENSE_RANK) and allow to campare with succesor and precedessors when the...
Can anyone tell the exact diff b/w Pro*C and OCI
Pro *C is a Oracle database pre-compiler. It acts as a database connectivity. We can also embed the SQL statement within C or C++ programming code which will execute successfully.
What is the difference between "null in c" and "null in Oracle?"
null in c is some garbage value which cannot be predicted . If you are not intialising any value to the variable then null value is present in auto variables.null in oracle is used in sql queries for ...
This is not truely the right answer.When you store data in oracle its terminated with a zero byte. For example when you store HELLO its stored as 5HELLO where is the zero byte. When you don...
Talk about "exception handling" in PL/SQL?
A warning or error condition is called an exception. An exception may raise in a pl/sql block due to designing faults, coding mistakes or hardware failure. If an exception raises in a block ...
You can handle exception in two ways:– Trap it with a handler : If the exception is raised in the executable section of the block, processing branches to the corresponding exception handler...
How to find out the database name from SQL*plus command prompt?
select * from global_name;
How will you copy the structure of a table without copying the data?
sql server:
select * into
from
where 1=2
oracle:
create table
select * from
where 1=2
select column_list into new_table_name from old_table_name where false_condition(ex. 1!=1)
What is the difference between "procedure" and "function"?
* Stored procedure contains all DML stmt to perform operation With permanent table where user define function does not contain insert, update, delete stmt to modify the permanent table.* Stored proc...
The major difference between procedure and function is that 1. Procedure can be compiled only once and vice versa. 2. Execution of procedure is faster then function 3. Function can be used in select Q...
Difference between a "where" clause and a "having" clause?
Answered by: Ankush Sharma
Answered On : Sep 13th, 2011Though the HAVING clause specifies a condition that is similar to the purpose of a WHERE clause, the two clauses are not interchangeable. Listed below are some differences to help distinguish between the two:
1. The WHERE clause specifies the criteria which individual records must meet to be selcted by a query. It can be used without the GROUP BY clause. The HAVING clause cannot be used without the GROUP BY clause.
2. The WHERE clause selects rows before grouping. The HAVING clause selects rows after grouping.
3. The WHERE clause cannot contain aggregate functions. The HAVING clause can contain aggregate functions.
for Example: if for an "Select" statement we use the "where" clause then the the result based on the "where" condition results and then we can use "group by" clause to arrange in some order, Now if we want to impose the condition on that group then we use "having" clause.
The main reason for using WHERE clause is to select rows that are to be included in the query. For example, assume table Test.Suppose I want the names, account numbers, and balance due of all customers from California and Los Angles. Since STATE is one of the fields in the record format, I can use WHERE to select those customers.
Using the code
Suppose I want the total amount due from customers by state. In that case, I would need to use the GROUP BY clause to build an aggregate query.Code
SELECT cusnum, lstnam, init FROM Test WHERE state IN ('CA', 'LA') CUSNUM LSTNAM INIT BALDUE ====== ============ ==== ======== 938472 John G K 37.00 938485 Mark J A 3987.50 593029 Lily E D 25.00
Using HavingCode
SELECT state,SUM(baldue) FROM Test GROUP BY state ORDER BY state State Sum(Baldue) ===== =========== CA 250.00 CO 58.75 GA 3987.50 MN 510.00 NY 589.50 TX 62.00 VT 439.00 WY .00
Code
SELECT state,SUM(baldue) FROM Test GROUP BY state HAVING SUM(baldue) > 250 State Sum(Baldue) ===== =========== GA 3987.50 MN 510.00 NY 589.50 VT 439.00
Though the HAVING clause specifies a condition that is similar to the purpose of a WHERE clause, the two clauses are not interchangeable. Listed below are some differences to help distinguish between ...
Though the HAVING clause specifies a condition that is similar to the purpose of a WHERE clause, the two clauses are not interchangeable. Listed below are some differences to help distinguish between ...
What cursor type do you use to retrieve multiple record sets?
ref cursor can be used to retrieve and return the multiple records
we are using explicit cursor to retrieve multiple row
Explain normalization with examples?
Normalization--To Reduce or to remove the redundancy in table we used Normalization and the normalization we can achieve by breaking of tables by this table is in Normalized.
0NF "sql CUSTOMER ORDER (CustName, OrderNo, ProdNo, ProdDesc, Qty, CustAddress, DateOrdered) 1NF - remove multivalued attributes "sql CUSTO...
Difference - loading and linking?
A linker takes several object files and libraries as input and produces one executable object file (or) Linking is simply the process of placing the address of a called function into the calling funct...
Load -> Puts the CSECT(smallest executable unit) into main memory.Linking is a different cup of tea, this is done to make a module executable.The only way you can draw a relation between is wh...
The process of packing one or more items of data into a message buffer, prior to transmitting that message buffer over a communication channel. The packing process not only collects together values wh...
In a distributed environment, client sends its request as a bundle. its like adding header to the data. This process of bundling data is called marshelling.
What are the different process states?
This varies by individual Operating System Vendor (AIX, HPUX, etc...) -here's what the man page for the ps command in hpux 11i v1 says: &...
Explain the following file systems: ntfs, macintosh (hpfs), and fat?
NTFS--NTFS is a high-performance and self-healing file system proprietary to Windows XP 2000 NT, which supports file-level security, compression and auditing. It also supports large volumes and powerf...
In simple terms a Semaphore is a unit or resource which is used for synchrosation between two processes , it is kind of flag (in abstract terms) which every process will check before processing ahead to avoid the deadlock situationAshish
A semaphore is a type of Interprocess communication resource used for synchronization and mutual exclusion between any two asynchronous processes.
Hi
Yes, What you said is some what correct. But it doesnot fill what it supposed to. I mean operating system security is the preventic usage of hardware and software of system from viruses and invalid users.
Operating system security means in simple to secure your data from external attack, either from intruder or any damage.
Regards
Safar
It is a process by whichuser work will proceed at the proper time, whether user is there or not.
scheduling
Explain memory partitioning, paging, segmentation?
Memory Partitioning- means partitioning the memory into small units or blocks & load the data or code into the blocks, & use this data & code when required by a process.Paging- i...
explain segmentation and paging?
What are your solution strategies for "dining philosophers problem?
P: philoshoferf1: forksOne solution is to order the forks and require the philosophers to pick the forks up in increasing order. In this solution the philosophers are labeled P1, P2, P3, P4, and P5 an...
/* here is a c code may help u by suraj */#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <semaphore.h>#include <pthread.h>#include "msecond....
What is concurrency? Explain with example deadlock and starVATion?
Deadlock:Two processes are said to be in deadlock situation if process A holding onto resources required for process B and where as B holding onto the resources required for process A.Starvation:This ...
A { wait_for(lock_1) { do something that takes time wait_for(lock_2) { do something } }}B { wait_for(lock_2) { do somet...
Kernel is base foundation of operating system .The kernel provide services such as hardware and software interaction
and memory management. Efficiency of operating system is depend on efficiency of kernel.
Unix operating system derived into three different levels and the inner most level is Kernel. Who is the sole responsible of all the activites as scheduler, memory manager etc. The outmost level is Shell which connect to end user with the Kernel.
How does windows NT supports multitasking?
Windows NT supports multitasking with the help of preemptive multitasking which is based on preemptive operating system. The operating system takes control of the processor from a task in two ways: W...
preemptive multitask
Explain the working of virtual memory?
It is capacity of hard disk which is used by RAM for paging.
virtuval memory meabns separation of logical memory from physical memory.it is implemented by demand paging
an inode is a data structure on a traditional Unix-style file system such as UFS. An inode stores basic information about a regular file, directory, or other file system object
http://en.wikipedia.org/wiki/Inode
A unique number associated with each filename. This number is used to look up an entry in the inode table which gives information on the type, size, and location of the file and the userid of the owner of the file.
What is the difference between a 'thread' and a 'process'?
Program in execution is called Process
Thread is a flow of control in a program
Process is nothing but a program execution, each pogram having atleast a sequence, where thread is nothing but a sequence of program execution.
Mutex is a mechanism which is useful in coordinating mutually exclusive access to a shared resource. For example, to prevent two threads from writing to shared memory at the same time, each thread wai...
1. Mutexes can synchronize threads within the same process or in other processes. 2. Mutexes can be used to synchronize threads&...
How to handle Java tree in QTP
please explain what is the abbreviation and the meaning of DOM.why it is used for.
plz mail the answer to aru576@yahoo.co.in also
Hi, first of all we need to have a java add-in to handle a java tree.In tools option we have the "object identification" drop down list.There we have the java option to recognise the...
object and instance both are sameI think you want know the difference between reference and object.If so thenreference of any class type is a variable that can hold the reference(more or less we can s...
An object is part of a process/thread which demands processor time through the JVM.
The act of creating the object from a class is called instantiation.
In literary sense an instance is existance/occurrence of an object.
In this case a duplicate copy(instance) of an object is still the same object.
What is the basic difference between Java and .Net
JAVA is platform independent while .Net works only for the MS platforms. .Net supports an array of languages while for working with J2EE you have only one option and that is 'JAVA". .Net work...
No thats not true. Java has a byte code editor too..
Refer : http://www.cs.ioc.ee/~ando/jbe/
Combo Box will be useful in this Scenario
The Combo Box is the best option for this cause it is only accept the user input when
compare with other list styles.
Can we set the time (by user) explicitly for garbage collection.?
Use ...System.gc() method
Even calling the garbage collector method doesn't ensure that garbage collection will take place. Its just a request method.
Is Java a fully object oriented programming or not? If not why?
No, 100% sure Java is not fully object oriented programming language. Because multiple inheritance is one of the main concept in oops. But java doesnt support multiple inheritance and it uses primitive data types. hence its not object oriented language
Java is fully Oops language ..even though it is having primitive datatypes again it is having corresponding wrapper classes for each and every primitive datatype..
Aggregate and ROLLUP generates records that summarize groups of records. But Roll-up provides more control over record selection, grouping, and aggregation.
Rollup is multistage component. It is working as a text mode and package mode.
In package mode user has to develop own logic. In text mode it work as a aggregate component.
It is one type of facility in roll up.
What are kinds of layouts does ab initio supports
Basically there are serial and parallel layouts supported by AbInitio. A graph can have both at the same time. The parallel one depends on the degree of data parallelism. If the multi-file system is 4...
In Oracle varchar2 takes dynamic space for storage then why char is still in Oracle?
To Provide backward compatibility. i.e. program written in older version of Oracle might have CHAR used in it. The newer version should be compatible with it. Thats why CHAR is still there in Oracle ..
Since Char is fixed length , the processing speed will be more as there is no need of extra work to measure how much an instance of column is used the memory space. But in Varchar, the processor has ...
What is the difference between process and thread?
A process is a collection of one or more threads thread is a subset of a process multitasking of two or more process is known as process based multitasking multitasking of two or more threads is kn...
Process is program that is in execution, but threads are the division of process in multiple task simultaneously.
To retrieve data with SQL one row at a time you need to use cursor processing.Not all relational databases support this, but many do.Here I show this in Oracle with PL/SQL, which is Procedural Languag...
To retrieve data with SQL one row at a time you need to use cursor processing. Not all relational databases support this, but many do.Here I show this in Oracle with PL/SQL, which is Procedural Langua...
Difference between store procedure and trigger?
Below are the few difference between Stored Procedure and Triggers
Both are stored objects and stored in data base dictionaries
Stored Procedure
- Can pass parameters
- Manual execution required
Triggers:
- No parameters can be passed
- Automatical executed when the event occurs
Stored procedure and Trigger both will be in the database in precompiled formate which ready execute, the main difference between these two isto execute the stored procedure programe need to type...
What do you meant by priVATe constructor? Why somebody declare only priVATe constructor.
QA is the entire software development process-monitoring and improving the process, to make sure that any agreed upon standards and procedures are followed,ensuring the problems are found and deal wit...
Testing involves Quality control and quality Assurance.Quality assurance is giving adiquate confidence to the customers
What is the disadvantage of paint method in applet
The paint() method is called each time a Applet must be redrawn.
Give example of : high severity & low priority
Thr is a module in the application which is not at all working so it is given high severity but it will be have low priority if that module gets discarded for the release.
The example is :Suppose you have an login screen on which if you will enter a 100 word password (normally no one is using) than it will come under high severity but at the release time if you are not ...
Is there any difference between smoke testing & sanity testing ?
A smoke test is a series of test cases that are run prior to commencing with full-scale testing of an application. The idea is to test the high-level features of the application to ensure that the es...
Smoke testing is a DAY BY DAY TESTING.
sanity testing is done after recording or any modifications or chages are done.
What is the differences between JSP lifecycle and servlet lifecycle?
theoritically no difference.programatically jasper javac/jikesjsp----------> servlet(java file)---------------->servlet(class file)---------------------->
in servlet we can implement init,service and destroy method but in jsp we dont have any implementation for that i.e jsp container taking care of that implimentation . Finally only translation phase is different i.e jsp converted into servlet
One simple answer:Static(per class) members are created one instance/class loader/class instance. so they will reside until the class unloads(application closes).Meaning,they will stay during the life...
Static variables and classesIn Java, usually a class member (variable or method) is accessed in conjunction with an object of its class. In the case of static variables and methods, it is possible to ...
What are the advantages and disadvantages of using views in ABAP porgramming ?
Advantages: View is used to retrieve the data very fast from the database tables *memory wastage is reduced *faster than joins to retrieve the data from database tables Dis...
hi shivanagalakshmi garu my name is prashanth iam complited my mca in 2005 june 15.i learned testing but testing have more compition and but in testing they want 3+ years exp.can give one advise 2 me ...
You can use descriptive programming.
We have to divide existing scripts (actions) into two or more scripts and use action based object repository where each action has its own repository.
So can we managewith storage limit of shared object repository.
Conduct a testing Java application which add-in's selected in winrunneer?
what is the cost of licensed version of winrunner?can we use trial version for complete testing of software?
Junit,Jmeter....etc., These are open source.............
What is the process of functionality testing?
when you do the testing in the project just we can check the functionality how to work the project here we cant test the code just how it works this module.
How to conduct testing in broken-links using winrunner?
web_link_valid ("WinRunner", valid);with the above buit in function you can validate link................
If u r using jsp then
ur form should look like this
<..form name="frmAddElement" method="post" enctype="multipart/form-data">
and a file upload tag
<..input name="fileupload" type="file" value="aaa"/>
and from the java side use the any open source file reader like
import org.apache.commons.fileupload.*;
which will read the file from http request content
Regards
Ramesh
<input type=file name=f>
Fff0explanation :-1 is internally represented as all 1's. When lEFT shifted four times the least significant 4 bits are filled with 0's.The %x format specifier specifies that the integer value be printed as a hexadecimal value
Depending on the machine implementation it will result in FFFFFF0 (for 32bit ) or FFF0 (16 bit )
Threeexplanation :the default case can be placed anywhere inside the loop. It is executed only when all other cases doesn't match.
loop? or block?
the output will be three because when execution takes place ,inside the switch the corresponding case 3(since i=3)is selected and as there is a break statement after it, it cmes out of the loop.
Viii) main(){ char *p; printf("%d %d ",sizeof(*p),sizeof(p));}
1 2explanation:the sizeof() operator gives the number of bytes taken by its operand. P is a character pointer, which needs one byte for storing its value (a character). Hence sizeof(*p) gives a value of 1. Since it needs two bytes to store the address of the character pointer sizeof(p) gives 2.
ans is->1 4 as *p will give the value and char is 1 byte but p will print 4 because its an address so it will print 4 bytes
ans is 1 & 2 bcoz *p is pointing to some char data which must be 1 byte and size(p) is 2 byte bcoz it is holding the address which is an integer
Vii)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);}
0 0 1 3 1explanation :logical operations always give a result of 1 or 0 . And also the logical and (&&) operator has higher priority over the logical or (||) operator. So the expression i++ && j++ && k++ is executed first. The result of this expression is 0 (-1 && -1 && 0 = 0). Now the expression...
Although the answer posted above is correct. There is one mistake in the explanation. Beena says that && operator has higher precedence tha || operator so && is evaluated first. But in...
Vi) main(){ extern int i; i=20;printf("%d",i);}
Linker error : undefined symbol '_i'explanation: extern storage class in the following declaration, extern int i;specifies to the compiler that the memory for I is allocated in some other program and that address will be given to the current program at the time of...
Extern is a kind of variable declaration,if we declare a variable as extern it can be accessable anywhere in the program.the accessing of the variable is doesn't depends on the scope.
TahnkU
Ashok
Extern is a key word in C that indicates the scope of a variable or function.This key word can be used with a variable when it is used across different files of a typical project.The variable is ...
Main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j
Main() { static int var = 5; printf("%d ",var--); if(var) main(); } ans:5 4 3 2 1 explanation:when static storage class is given, it is initialized once. The change in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function,...
I hate uexplanation:for floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than...
ans is i hate u because the of float and doubles are different. if condition is false.
Different ways of expressing the same idea.
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]);} ans:mmmm aaaa nnnn explanation:s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea. Generally array name is the base address for that array. Here s is the base address. I is...
Answer: compiler error: cannot modify a constant value. Explanation: p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".
This is misleading in that "void main()" would also be a bad idea- can cause the application to crash in some runtime environments. Best to use int main(int argc, char **argv) instead.
error: increment of read-only location
Let x= current age 4(x+4) +5(x+5) =10x4x+16+5x+25=10x9x+41=10x10x-9x=41so x= 41 yearsnow the age is 41+3=44years
ANS: 44 YRS
Let x= current age
4(x+4) +5(x+5) =10x
4x+16+5x+25=10x
9x+41=10x
10x-9x=41
so x= 41 years
Now the age is 41+3=44years
A] see you don't need to sum it up. Since it's a knock out only 1 person emerges winner finally.So 15+1=16 because after 15 matches finally we should have 15losers and 1winner.B]49.Its always one less than no of players as perthe idea given above.
16, 49
as matches played 15 times,each time 2 player.so the game will end when one is out.so next person come.again game will start.there shoul be a winner at end of the whole game so total number of players are 31.
15*2+1
37(x-y) =x^2-y^2. You no that x^2-y^2=(x-y)(x+y).So (x-y) cancels on both sides to give x+y=37.So sum of unequal halves=37 which is the req answer.
the merchant is having n gold coins he divides it into x and y37times the difference is 37(x-y)the squares of the two numbers is x^2 and y^2 so 37(x-y)=X^2-Y^2 (X^2-Y^2 = ...
1. G+2=j-22. 2(g-2)=j+2.Solve these 2 to getj=14
Glenn said that if jason would give him 2 of his balls then they would have equal no of balls.
The no of balls of Glenn is G sayand jason is J say
given condition G+2 = J
another condition is that2 (G-2) = J+2
Solving these two condition we get J value as 10
Jason has 10 balls.
Glen+2=jason
2(glen-2)=jason
glen+2=2(gason-2)
glen+2=2jasong-4
so glen=6, jason=8
8m=48 m=6
1. Monkeys and bananas:Suppose 8 monkeys take 8 minutes to eat 8 bananas. (a) How many minutes would it take 3 monkeys to eat 3 bananas?My thought : 8 monkeys takes 8 minutes to eat 8 bananas So 1 monkey will take 8 minutes to eat 1 bananas So 3 monkey will take 8 minutes to eat 3 bananas.
8 monkeys take 8 mins to eat 8 bans.
so, 1 monkey take 8 min to eat 1 banana.
if 1 monkey eat for 48 mins it will eat 6 bananas
there are 48 bananas, so we need 8 monkeys giving 6 bananas each.
Use sets and venn diagram to solve such questions.A,b ,aub,anb etc.12=tennis+leave18=jog +leaveso jog-tennis=6again jog+tennis=14.So solve and get jog=10,leave=8,tennis=4.So tot=22
(1/4)y+(1/8)y+(1/2)y =p; where y =total life time.Y-p=8.Since p=(14/16)ywe've y=64active age=32
In case the above solution confuses.....
1. If x is total life
(1/4)x+(1/8)x+(1/2)x+px =x, where p is the proportion of oldage.
(1/4)+(1/8)+(1/2)+p =1
This gives px = 1/8x = 8 years,
2. This gives, total life, x = 64 years
3. One half of this is active age. So its 32 years.
C chickens can b fed for 9 days. So C chick can eat 1/9 in 1 day.So 1 chick can eat (1/9c) in one day. After his reduction one chick gets to eat only 90% of what it used to eat in one day.So new feed value=0.9*(1/9c) for 1day.But now he has only 12 chicks.That means as per new rule feed is suitable for...
Let the actual speed of train be x miles/hour. After fault its speed will be reduced to 3x/5 miles/hour. If we could find the speed of the train, we will get the solution!!!By seeing one can find that time difference( 45 minutes) occur between two cases, in the 50 miles distance traveled by the train...
I get 366.67 miles.Let v = train full velocityLet d = distanceCase 1 - train goes (1 hour * v) + (2 hours * 3 v / 5) = d Therefore d = v * 2.2 hoursCase 2 - train covers 50 miles...
Case first : let us assume speed to train be x miles/hours Total distance travelled in case 1 = x*1 + 3x/5*2 = 11x/5 milesCase 2 : Total distance travelled in case 2 = x+50 + 3x/5*(2-45/60) = 50 +7x/4...
Let the swimming speed of man be = a yds/min.Speed of stream = b yds/min.Then the man swims at (a-b) yds/min. Against the stream.And (a+b) yds/min in direction with the stream.Lets assume the man covered a distance of x in 10 min swim up the stream at speed (a-b).The time taken by him to cover the same...
Lets say a spent x and y rupees on hat and suit respectively. From the conditions we can say b spent y and x-1 rupees on hat and dress respectively. From what b told to a we can write that.....=> x + y = 15 = (3/2)x + (x-1)=> (3/2)x + (x-1) = 15=> (5/2)x - 1 = 15=> (5/2)x = 16=> x = 16 * (2/5)=> x =...
in ur equation (3/2)x + (x-1)
you havnt considered da cost of suit bought by A
6 balls
Remind that there's only one red ball
ANS: 6
Speed at which two trains travel towards each other = 60+60 = 120 miles/hour.Total length to be covered = (1/6)+(1/6) = 2/6 mile.Time to taken to cover 2/6 mile at speed of 120 miles/hour is.....(2/6)/120 = 1/360 hour = 10 seconds.
Hi, I am doing B.E IIyr.I ve doubt how come you could say that the velocity is 120mile/hr......actually it appears to be twice the velocity of each but actually.....so are you tr...
10 SECONDS
(a) no. Of small cubes with 3 faces colored red : 8(b) no. Of small cubes with 2 faces colored red: 12(c) no. Of small cubes with 1 face colored red : 6(d) no. Of small cubes with no faces colored red: 1
Extended CUBE sumHere we cut Cubes into 3 equal parts on each side n = 3, 3faces=8; 2faces=12; 1faces=6; 0faces=1; n = 5,  ...
I got your formula but not able to understand why did u take n=3
is that to do with 3cm size
From condition 1 and 3 we can say that the prisoner tried to escape inmethods a,b,c in order on 3 consecutive days. From conditions 2 and 3 andthe order for a,b,c we can say that the order for thursday and friday wase, d in order.So, the order from monday through friday will be a,b,c,e,d.
the order is: a,b,c,d,e.
ans- a,b,c,d,e
Let any two poles be placed x units apart. Distance between 1st and 10th pole=(10-1)x=9x units.Distance between 1st and 15th pole=(15-1)x=14x units.If time taken to cover 9x units is 10 seconds, then time taken to cover 14x units is..... (10*14x)/9x = 15.55 seconds.
The time taken to cross the poles from 1st pole to 10th pole(i.e, 9 poles ) is 10 sec.
Then the time taken to cross 1 pole is 10/9 sec.
Therefore the time taken to cross the poles from 1st pole to 15th pole(i.e, 14 poles) is (10/9)*14=15.55 sec.
B.V.Manohar
K.E.C
The clock strikes 1 sec for each intreval......tat means.....
if it is goin to strike for 10 sec.....it will be 11(am or pm)....
11 hrs after clock strikes for 10 sec means....11 hrs after 11
tat ia after 22 hrs
I guess......AM I RIGHT?
Sinc there are 10 sec betwn 11 hrs(11 hrs = 10 intervals), 1 sec is betwn 2 hrs.. so they meet after 2 hrs.
as one had won 12 games but still gave other 8 chocolates therefor total number if games is 12+12 +8=32 ans
32 days
A person is 80 years old in 490 and only 70 years old in 500 in which year is he born?
yeah he must have born in BC 570
hence in BC 500 he will be 70 years
and in BC 490 he will be 80 years
He must be born in 570 BC :)
ans - 45
Ans:-6
yes the ans is 21 only.1.00 clock train from newyork met the train8am to 6 pm trains from washington.u r all seeing only from 1.00 o clock train.there r also train b4 1 o clock tat is 12.30,12.00,1.30,1.00.............
Clark - Druggist
Jones - Grocer
Smith - Policeman
Morgan - Butcher
If we are having backlocks still we can able to attend for interview in Wipro?
i passed my 10th class in 1999 with 50%,12th in 2001 with 70%,i have a year gap 2001-2006,i am doing engineering in ece ,2006 batch,i got year back ,my eng marks is 59%,will i get job in mnc as a software devloper