Manual Testing Interview Questions and answers


Question.1  What is the difference between the QA and software testing?
Answer:   The role of QA (Quality Assurance) is to monitor the quality of the process to produce a quality of a product. While the software testing, is the process of ensuring the final product and check the functionality of final product and to see whether the final product meets the user’s requirement.
Question.2  What is Testware?
Answer:    Testware is the subset of software, which helps in performing the testing of application.  It is a term given to the combination of software application and utilities which is required for testing a software package.
[sociallocker]
Question.3  What is the difference between build and release?
Answer:  Build: It is a number given to Installable software that is given to testing team by the development team.
Release: It is a number given to Installable software that is handed over to customer by the tester or developer.
Question.4  What are the automation challenges that QA team faces while testing?
Answer:  Exploitation of automation tool
Frequency of use of test case
Reusability of Automation script
Adaptability of test case for automation
Question.5  What is bug leakage and bug release?
Answer:  Bug release is when software or an application is handed over to the testing team knowing that the defect is present in a release.  During this the priority and severity of bug is low, as bug can be removed before the final handover.
Bug leakage is something, when the bug is discovered by the end users or customer, and missed by the testing team to detect, while testing the software.
Question.6   What is data driven testing?
Answer:  Data driven testing is an automation testing part, which tests the output or input values. These values are read directly from the data files. The data files may include csv files, excel files, data pools and many more. It is performed when the values are changing by the time.
Question.7   Explain the steps for Bug Cycle?
Answer:  Once the bug is identified by the tester, it is assigned to the development manager in open status. If the bug is a valid defect the development team will fix it and if it is not a valid defect, the defect will be ignored and marked as rejected . The next step will be to check whether it is in scope, if it is happen so that, the bug is not the part of the current release then the defects are postponed.
If the defect or bug is raised earlier then the tester will assigned a DUPLICATE status
When bug is assigned to developer to fix, it will be given a IN-PROGRESS status
Once the defect is repaired, the status will changed to FIXED at the end the tester will give CLOSED status if it passes the final test.
Question.8  What does the test strategy include?
Answer:  The test strategy includes introduction, resource, scope and schedule for test activities, test tools, test priorities, test planning and the types of test that has to be performed.
Question.9  Mention the different types of software testing?
Answer:
Unit testing
Integration testing and regression testing
Shakeout testing
Smoke testing
Functional testing
Performance testing
White box and Black box testing
Alpha and Beta testing
Load testing and stress testing
System testing
Question.10  What is branch testing and what is boundary testing?
Answer:  The testing of all the branches of the application, which is tested once, is known as branch testing.  While the testing, which is focused on the limit conditions of the software is known as boundary testing.
Question.11  What are the contents in test plans and test cases?
Answer:
Testing objectives
Testing scope
Testing the frame
The environment
Reason for testing
The criteria for entrance and exit
Deliverables
Risk factors
Question.12   What is Agile testing and what is the importance of Agile testing?
Answer:   Agile testing is software testing, which involves the testing of the software from the customer point of view.  The importance of this testing is that, unlike normal testing process, this testing does not wait for development team to complete the coding first and then doing testing. The coding and testing both goes simultaneously.  It requires continuous customer interaction.
It works on SDLC ( Systems Development Life Cycle) methodologies, it means that the task is divided into different segments and compiled at the end of the task.
Question.13  What is Test case?
Answer:   Test case is a specific term that is used to test a specific element.  It has information of test steps, prerequisites, test environment and outputs.
Question.14  What is the strategy for Automation Test Plan?
Answer:  The strategy for Automation Test Plan
Preparation of Automation Test Plan
Recording the scenario
Error handler incorporation
Script enhancement by inserting check points and looping constructs
Debugging the script and fixing the issues
Rerunning the script
Reporting the result
Question.15   What is quality audit?
Answer:   The systematic and independent examination for determining the quality of activities is known as quality audit.  It allows the cross check for the planned arrangements, whether they are properly implemented or not.
Question.16  How does a server or client environment affect software testing?
Answer:   As the dependencies on the clients are more, the client or server applications are complex.
The testing needs are extensive as servers, communications and hardware are interdependent. Integration and system testing is also for a limited period of time.
Question.17   What are the tools used by a tester while testing?
Answer:
Selenium
Firebug
OpenSTA
WinSCP
YSlow for FireBug
Web Developer toolbar for firebox
Question.18   Explain stress testing, load testing and volume testing?
Answer:   Load Testing: Testing an application under heavy but expected load is known as Load Testing.  Here, the load refers to the large volume of users, messages, requests, data, etc.
Stress Testing: When the load placed on the system is raised or accelerated beyond the normal range then it is known as Stress Testing.
Volume Testing:  The process of checking the system, whether the system can handle the required amounts of data, user requests, etc. is known as Volume Testing.
Question.19   What are the five common solutions for software developments problems?
Answer:   Setting up the requirements criteria, the requirements of a software should be complete, clear and agreed by all.  The next thing is the realistic schedule like time for planning , designing, testing, fixing bugs and re-testing Adequate testing, start the testing immediately after one or more modules development. Use rapid prototype during design phase so that it can be easy for customers to find what to expect  Use of group communication tools

Top Project Coordinator Interview Questions & Answers

What Are The Skills And Qualifications Needed For Project Coordinator?
Answer :

Project Coordinator Skills and Qualifications:

Performance Management
Project Management
Foster Teamwork
Supervision
Quality Management
Tracking Budget Expenses
Results Driven
Delegation
Time Management
Proactive
Staffing

What Was A Fairly Challenging Project You Managed?
Answer :

During the first year of my career, I was assigned a conference coordination involving 50 local delegates. Just a week before the big day, number of delegates was doubled and international speakers and facilitators were included in the guest list. The budget was raised but due to pressing time it was very challenging to arrange travel and stay including visa clearances of international partners. However I managed it and the conference went exactly the way client wanted.

What Are The Duties Of A Project Coordinator?
Answer :

Project Coordinator Job Duties:

Accomplishes work requirements by orienting, training, assigning, scheduling, and coaching employees.
Meets work standards by following production, productivity, quality, and customer-service standards; resolving operational problems; identifying work process improvements.
Meets cost standards by monitoring expenses; implementing cost-saving actions.
Updates job knowledge by participating in educational opportunities; reading professional publications.
Enhances department and organization reputation by accepting ownership for accomplishing new and different requests; exploring opportunities to add value to job accomplishments.

What Are Some Of The Things That You And Your Supervisor Have Disagreed About?
Answer :

Shifting priorities is usually the main reason for any type of disagreement. I may be working on a project that has a tight deadline and my supervisor may pull me from that project to work on something else. It can be frustrating to stop working on a project after I have built up a great deal of momentum only and to switch gears on the fly and start on something completely different.

How Do You Plan A Project?
Answer :

The first thing I do when making a plan for a said project is to create a feasibility study. The next step is to plan how a project will progress - this includes setting targets and milestones. Distributing responsibilities and allocating resources is next, followed by taking measures to ensure that deadlines are met.

How Do You Handle The Uncertainty In A Project Coordinator's Role?
Answer :

It is important to apply quick and creative thinking when dealing with uncertainties in a project. Team members may not get along and funding may stop - it is up to us to ensure the efficacy of a project by employing tolerance, tact and flexibility.

What Level Of Expertise Do You Have In Getting Bills Cleared By External Vendors?
Answer :

I have been in the field for a while now and most commonly needed vendors are on my personal contract panel. I have never had clearance issues with vendors since being a professional, I never commit or deliver any service on credit.

What Are The Main Steps Involved In Planning A Project?
Answer :

Project management has three main phases. The preliminary phase involves understanding the project requirements after meeting with the clients and setting a budget. The second phase is that of planning and time line development and the final phase involves implementation of the plan.

What Are The Personal Strengths That Aid You As A Project Coordinator?
Answer :

Remarkable interpersonal skills, ability to negotiate and working out conflict resolution in a win-win manner are three positives that have always supported me in this role.

Name The Accounting And Administrative Tasks That A Project Coordinator Has To Accomplish?
Answer :

Budget management, discrepancy balancing, timeline development and implementation are the core accounting and administrative tasks a project manager needs to master.

Which Internal Consulting Tools Are You Familiar With?
Answer :

I am well versed in Oracle, EBS and SalesForce. I am a tech savvy and computer friendly person and can adapt to any software preferred by the company or client.

What Are The Three Main Purposes Of A Project Coordinator Position?
Answer :

The position mainly exists to serve as a liaison among client and service providers, to develop the client's idea on a fixed budget and to support the clients and organization throughout the project planning till operational implementation.

How Would You Define The Typical Working Conditions Of A Project Coordinator?
Answer :

Busy, complex, involved with cross company teams and many levels of the organization management, its affiliates, and customers, all at once. Do not hesitate to say that because of the breadth of your field of work, a typical day is characterized by uncertainty and surprise. This requires quick and creative thinking, flexibility, tolerance, adaptability, and formidable multi-tasking skills.

What Is Involved In Planning A Project?
Answer :

A coordinator typically produces feasibility studies for project ideas. He then plans project progress: sub targets and tasks, goals, milestones, etc. Personnel planning means distributing responsibilities between the assigned employees in the most effective way.

Give An Example Of Working In A Team With Specialists As A Project Coordinator?
Answer :

If, for example, you have worked in a development company, an obvious example is working closely with the development team to define goals, coordinate resources, solve conflicts, and minimize risks. Project coordinators direct resources and are thus connected to resource managers and the procurement. They work to satisfy quality, deadlines, and budget limitations, and might also work closely with specialists like quality engineers.

What Is A Project Coordinator?
Answer :

The Project Coordinator is an integral member of the project team responsible for delivering building development projects of varying size and complexity.

Top Project Manager Interview Questions & Answers

How Will You Define A Project?
Answer :

A project is a set of task/activities undertaken to create a product, services or results. These are temporary, in the sense that they are not routine work like production activity but most often one time set of activities undertaken.

What Is Your View Of Project Management?
Answer :

Project management involves applying the knowledge & skills of the project team members including the project manager, application of tools and techniques available to ensure the defined tasks are completed properly. Proper completion means implies achievement of end results within given cost and time constraints. It usually means balancing of the constraints of scope, budget, schedule, quality, risks and resources.

Are There Distinct Kinds Of Activities In A Project?
Answer :

Most often any project goes through some easily identifiable set of activities during its lifetime. Some typical activities can be identified as related initiating a project. Planning set of activities are required to plan the activities to be undertaken to achieve the defined goals. Executing group of activities help getting the project done. A related set of activities are required to monitor and correct the course of actions to keep the project on the planned course charted for it. Final set of activities are related to the systematic closure of the project. Most important of which is, of course, to formally record what has been learnt during the execution of the project. When documented, this set of documents, related forms to be used, the way estimates are to be made, database of estimates of similar projects etc. are often referred to as Organizational process assets.

What Do You Think Is The Difference Between Projects, Programs And A Portfolio?
Answer :

Projects are undertaken for a specific or a set of related purposes. A program is a set of projects managed in a coordinated manner to achieve different parts of an overall goal. For example the NASA lunar landing program had the development of the command module and the lunar landing modules as separate projects. A portfolio is a collection of projects, programs and even other portfolios that help an organization achieve some common high level business purpose.

Who Is A Stakeholder?
Answer :

Any person, organization or an entity whose interest is affected, positively or negatively, because of the project. The influence of stakeholders is an important issue to take into account in any planning and subsequently during execution of it as well.

What Are Organizational Influences?
Answer :

Every organization has a certain way of doing things, collective wisdom about how things can best be done, etc. and these influences the planning and execution processes. These influences need to be taken into account when estimating, planning for activities related to projects. These are often mentioned as organizational environmental factors.

Can You Explain Project Life Cycle?
Answer :

A project has distinct phases when the range of activities required to carry out the project work differ. There is a distinct “start” phase, followed by an organizing and preparing phase. “Carrying out” is the actual execution part of the project. “Closing” phase makes sure the temporary activities related to the project are closed systematically. The points in time when the phase changes happen are named variously as phase gate, exits, milestones or kill points. If a project is to be closed, it is decided at these stages based on the performance or if the need of the project has disappeared.

What To You Understand By A Project Charter?
Answer :

This is a document where it all begins. Project authorization is done on this document and a project would be initiated with the top level requirements listed in this document. Initial requirements as seen by stakeholders and the outcomes of the project also are listed in it.

What Do You Understand By Plan Baselines?
Answer :

Baselines are the final version of all plans before the project execution starts. Project baselines are the starting versions of all related plans of a project, be it the time schedule, the quality plan, the communication plan or whatever. This acts as the reference against which project performance is measured.

What Qualifications Are Required To Be An Effective Project Manager?
Answer :

Besides being a good professional manager, the PM needs to have additional personal skills for being effective. It is not only essential for him to have project management skills but be proficient in them. Attitude, core personality characteristics and leadership qualities are needed. Team management and leadership skills that help the team reach common objectives and goals are required.

What Are Processes And Process Groups?
Answer :

A process is a defined way of doing things. Not only does the process define the actions to be taken but also in what sequence they are to be carried out. Process groups are a set of processes that are applicable to various stages of a project. For example, initiating process group, planning process group, etc. Each of the processes has a defined set of inputs and produce defined outputs by applying a set of tools and techniques on the input.

What Are The Knowledge Areas Relevant To Doing A Project?
Answer :

Scope management, time and cost management knowledge areas are quite obvious. Same goes for quality management too. To complete a project in all its aspects one needs to be aware of the project integration knowledge area. Communications is an essential issue so is the communication management knowledge. Procurement and risk management are two vital support areas. Since people get things done Human resources management is also an equally important area.

What Is Raid As It Related To Project Management?
Answer :

RAID stand for risks, assumptions, issues and dependencies. These are vital items that a PM should always be aware of. There are always risks about actions and a PM must take least risk actions. Unless assumptions about any estimates or actions are clear, these can go wrong. Issues and dependencies also limit the choices of actions often.

What Are The Important Processes For Project Integration Management?
Answer :

It starts with a project charter development. Project management plan development is another important activity. Direct and manage project execution and monitor and control are plans that are to be followed all through the project. Closing of the project (or the current phase) is the final set of activities for integration management. Since changes are often unavoidable an integrated change management plan must be developed to guide all changes systematically.

What Is A Sow?
Answer :

SOW or the statement of work is a detailed description of the outcomes of the project in terms of what products, services or results are expected from the project. Most detailed SOW are usually given by the customer if he is the one requesting the project.

What Does Scope Management Involve?
Answer :

Typically this process involves collecting requirements, defining scope, creating WBS, verifying scope and controlling the scope. The project scope statement, WBS and WBS dictionary defines the scope baseline. Controlling the scope process must minimize scope creep.

How Should Changes Controlled?
Answer :

Through the integrated change control process. Requested changes will have to be reviewed by a change control board. Only the approved changes shall be included in the document changes guiding project execution.

What Is Work Breakdown Structure (wbs) And How Does It Affect The Work Estimates Of Tasks/activities?
Answer :

Work breakdown structure defines the work activities required for the project and the sub activities of each of the work requirement. The breakdown goes down to levels where all the work required is clearly understood. Work need not be broken down further than that. Work breakdown dictionary includes additional details that help define the tasks. Time and effort estimates can be accurate when everything about the work and dependencies are known.

How Do You Define A Milestone?
Answer :

Milestone is a point in project schedule when some objective, a part of a result or a part of the planned services planned are achieved.




What Are Some Techniques Used For Defining Scope?
Answer :

Product breakdown, requirements analysis, systems engineering, systems analysis, value engineering, value analysis and alternatives analysis. Alternatives analysis can be helped by brain storming, lateral thinking and pair-wise comparisons, etc.

How Do Project Scheduling Help Achieve Project Execution?
Answer :
When the activity effort and resource estimates are known getting the work done depends on how the tasks are sequenced. Dependencies with other activities have to be clearly known. The basic sequence is determined by what activities should be carried out first and what should follow. Unconnected tasks/activities can be sequenced in parallel to reduce project time. Most optimized sequencing would give you the best possible time needed given the resources allocation is ideal and there are no constraints there. Scheduling is done from activities list prepared after WBS has been finalized.

How Is The “activity Time” Estimates Done?
Answer :
Parametric estimates, three point estimates and analogous estimates are the techniques used for estimating activity time estimates.

How Do You Estimate In The Three Point Estimating Method?
Answer :
One optimistic estimate, a pessimistic estimate and one “most likey” estimate is considered for an activity. (Op estimate+6 X most likely+ pess. Estimate) is calculated and divided by 6. This result then may be further iterated. This is the estimate to be used.

How In The Project Time Schedule Represented Most Often?
Answer :
Activity scheduling network diagram is the most common form of representation for the project time schedule. This is often accompanied by milestone chart, and bar charts.

What Is A Critical Path In Schedule Network Diagram?
Answer :
When activity scheduling is done there will be activities whose start time and/or end times are not critical. It may be possible, due to dependencies, to start a task later than the date on the schedule, similarly an activity could be completed later as there are no other activity waiting for its completion. These time pads are called floats. There is always a path from start to finish, which does not have any floats. Not only all the activities in the path must be carried out in planned time, but also there cannot be any delays. Any delays will directly reflect on project completion time. This chain of activities or the path from start to finish is known as the critical path.

What Are The Ways A Project Time Schedule Can Be Compressed?
Answer :
Crashing and fast tracking are two methods of accelerating a project time schedule. Crashing method tries to optimize the schedule making use of the time floats available while keeping costs under control. Fast tracking is to make selected activities faster by applying additional resources if necessary. It may mean paying team members overtime, paying for the time of a consultant, etc.

What Is Effort Variance?
Answer :
It is the difference in estimated effort and the effort actually needed. Work performance is monitored periodically to find if there is any variance in efforts so that corrective actions could be taken.

What Is Evm, Earned Value Management?
Answer :
At every monitoring point the planned value (PV), earned value (EV) and actual cost (AC) are monitored. PMB, performance measurement baseline is the aggregation of all planned values. Variances from baselines are determined and Schedule variance (SV) and cost variance (CV) are calculated. If earned value is equal to the planned value then the project is achieving what it is supposed to. If there is schedule or cost variance is significant, appropriate action needs to be taken to correct the slips. Estimate at completion (EAC) is estimated and compared with budget at completion. In case there is a slip, the cost consequences will be known.

What Does A Processes Ensure?
Answer :
According to a dictionary, “A is a way of systematic monitoring and evaluation of aspects of a project, service or facility to ensure that standards of quality are met”. Thus, whatever ensures products meet customer expectations are part of A efforts. Ensuring quality of everything that goes into making a product and that no mistakes are made while making it ensures quality.

What Is Quality Control?
Answer :
QC procedures include inspections to ensure quality requirements are being met

What’s The Need For Process Improvement Plans?
Answer :
A cornerstone of A is that processes are continuously improved. Process improvements help mistakes in processes and thus help improve quality.

What Is The Tool Used For Arriving At Improvements In Processes?
Answer :
GM, or the goals, questions and metrics is the method used. Goals are set, questions are asked about what improvements can be made and metrics (measurements that tell us something about the process) are carried out.

What Are The Important Aspects Of A Hr Plan For The Project Team?
Answer :
Acquiring the team, forming the team, assigning roles & responsibilities, appraisal policies, rewards & recognition are the areas where clear cut policies should exist and be well known to team members.

Why Is The Performance Management Process In The Hr Management Plan Important?
Answer :
People like to be recognized for their contributions. The project management team needs to recognize talent and reward and recognize the performers. The assessment should not only be fair but seen to be fair.

How Do You Determine The Communication Needs Of Stakeholders?
Answer :
The communication needs of stakeholders depend on their position in the power/influence grid, power/interest grid as also impact/influence grid. Salience modeling is another technique to determine who is the most effective for the interest of the project. This is a qualitative assessment and will determine the kind and details of communications they need on the project.

What Are The Types Of Risks You May Encounter In A Project?
Answer :
These could be categorized as technical, external, internal/organizational, etc. Depending on the type of projects other categories may have to be considered.

What Is A Risk Register?
Answer :
This is a register/document that contains all the identified risks of a project. List of actions of potential actions are also included.

Are There Any Positive Aspects Of The Risk Identification Process?
Answer :
The risk identification process may be able to come up with some opportunities too.

What Is Risk Impact And Probability?
Answer :
When assessing risks the project team also tries to determine the probability of the risk actually happening and the impact it will have on the project when it does.

What Is The Role Of Ishikawa/ Fishbone Diagrams In Determining Root Causes Of Risks?
Answer :
This is a graphical method of determining cause and effect relationships leading to a specific risk. One could then determine mitigation actions for that risk.

What Do You Understand Of Pareto (80/20) Principle/analysis?
Answer :
This is a statistical analysis method that helps decide priorities between several actions to be taken. The basis is that there are about 20% action which when executed gets you 80% of the results. In QA this is used to identify the 20% of causes that create 80% of the problems.

What Are Fixed Type Contracts In Procurement Processes?
Answer :
The seller must supply the contracted items at a fixed price determined at the time of contract.

What Are Time & Material Contracts?
Answer :
In this type of contracts the contractor gets paid for time used on the project and expenses for material used and other agreed upon expenses.

What Is The Primary Purpose Of Procurement Management Plan?
Answer :
To determine what exactly is to be procured, ensure they are procured at the best price and is made available to the project team at the right time.

What Does Procurement Administrator Involve?
Answer :
To keep monitoring and ensure that all open procurement contracts are progressing as expected

Why Does A Pm Need To Be Very Proactive?
Answer :
A PM needs to be able to see any signs of a deviation in time and/or cost to project progress as early as possible. This gives the team as much reaction time as possible to correct the situation or to minimize the impact.

Forming A Team, Developing The Team And Improving Knowledge Are Direct Responsibilities Of The Project Manager, Do You Agree?
Answer :
It is the team that executes the project. Thus ensuring you has right people is essential. Developing the team is important as whatever gaps are there need to be bridged. Improving self and the team knowledge is equivalent to the continuous improvement of A process and should impact the quality of the project outcome.

Do You Think Professionalism And Integrity Are Essential Qualities Of A Pm?
Answer :
PM is charged with managing all aspects of the project. Unless he is a professional and has integrity there are many things that can go wrong. Not so truthful progress reporting will easily boomerang on the PM but the organization will have a delayed or a failed project.

Explain The Team Forming Process?
Answer :
After the members are collected as a project team there is a turmoil before everything settles down. This is known as the forming-storming-norming-performing process. The team people go through a storming of relationships when before settling to the role assignment. Over time they then get used to the structure of the relationship, that is the norming phase. It is only after everybody has settled into their new roles that the team starts performing.

Top Answers to MySQL Interview Questions

1. What is SQL Server?
SQL Server is   one of the Database Management Systems (DBMS) and is designed by Microsoft.  DBMS are computer software applications with the capability of interacting with user, various other applications as well as the database itself. The objective is capturing and analyzing data and manages definition, querying, creation, updating as well as administration of database.

2. How and why use it?
SQL Server is free and anyone can download and use it. The application uses SQL (Structured Query Language) and is easy to use.

3. What are the features of MySQL?
MySQL provides cross-platform support, wide range of interfaces for application programming and has many stored procedures like triggers and cursors that helps in managing the database.

4. What is traditional Network Library for the system?
In either Windows or POSIX systems the named pipes provide ways of inter-process communications to connect different processes running on the same machine. It dispenses with the necessity of using the network stack and data can be sent without affecting the performance. Servers set up named pipes to listen to requests. Client process needs to know the specific pipe name to send the request.

5. What is the default port for MySQL Server?
The default port for MySQL Server is 3306. Another standard default is port 1433 in TCP/IP for SQL Server.

6. What do DDL, DML, and DCL stand for?
DDL is the abbreviation for Data Definition Language dealing with database schemas as well as the description of how data resides in the database. An example is CREATE TABLE command. DML denotes Data Manipulation Language such as SELECT, INSERT etc. DCL stands for Data Control Language and includes commands like GRANT, REVOKE etc.

7. What are meant by Joins in MySQL?
In MySQL the Joins are used to query data from two or more tables. The query is made using relationship between certain columns existing in the table. There are four types of Joins in MySQL. Inner Join returns the rows if there is at least one match in both the tables. Left Join returns all the rows form the left table even if there is no match in the right table. Right Join returns all the rows from the right table even if no matches exist in left table. Full Join would return rows when there is at least one match in the tables.

8. What are the common MySQL functions?
Common MySQL functions are as follows: • NOWO – function for returning current date and time as single value. • CURRDATEO – function for returning the current date or time. • CONCAT (X, Y) – function to concatenates two string values creating single string output. • DATEDIFF (X, Y) – function to determine difference two dates.

9. What is the difference between CHAR and VARCHAR?
When the table is created, CHAR is used to define the fixed length of the table and columns. The length value could be in the range of 1-255. VARCHAR command is given to adjust the column and table length as required.

10. What are HEAP Tables?
Basically HEAP tables are in-memory and used for high speed temporary storages. But TEXT or BLOB fields are not allowed within them. They also do not support AUTO INCREMENT.

11. What is the syntax for concatenating tables in MySQL?
The syntax for concatenating tables is MySQL is CONCAT (string 1, string 2, string 3)

12. What are the limits for using columns to create the Index?
The maximum limits of indexed columns that could be created for any table is 16.

13. What are the different types of strings in Database columns in MySQL?
Different types of strings that can be used for database columns are SET, BLOB, VARCHAR, TEX, ENUM, and CHAR.

14. How the user can get the current SQL version?
The syntax for getting the current version of MySQL is SELECT VERSION ();

15. Is there an object oriented version of MySQL library functions?
MySQLi is the object oriented version of MySQL and it interfaces in PHP.

16. What is the storage engine for MySQL?
Storage tables are named as table types. The data is stored in the files using multiple techniques such as indexing, locking levels, capabilities and functions.

17. What is the difference between primary key and candidate key?
Primary key in MySQL is use to identify every row of a table in unique manner. For one table there is only one primary key. One of the candidate keys is the primary key and the candidate keys can be used to reference the foreign keys.

18. What are the different types of tables in MySQL?
MyISAM is the default table that is based on the sequential access method.

HEAP is the table that is used for fast data access but data will be lost if the table or system crashes.
InoDB is the table that supports transactions using the COMMIT and ROLL BACK commands.
BDB can support transactions similar to InoDB but the execution is slower.

19. Can you use MySQL with LINUX operating system?
Yes, the syntax for using MySQL with LINUX operating system is /etc/init.d/mysqlstart

20. What is the use of ENUM in MySQL?
Use of ENUM will limit the values that can go into a table. For instance; the user can create a table giving specific month values and other month values would not enter into the table.

21. What are the TRIGGERS that can be used in MySQL tables?
The following TRIGGERS are allowed in MySQL:• BEFORE INSERT

AFTER INSERT
BEFORE UPDATE
 AFTER UPDATE
 BEFORE DELETE
 AFTER DELETE

22. What is the difference between LIKE and REGEXP operators in MySQL?
 LIKE is denoted using the % sign. For example:SELECT * FROM user WHERE user name LIKE “%NAME”.• On the other hand the use of REGEXP is as follows:SELECT * FROM user WHERE username REGEXP “^NAME”;

23. How to use the MySQL slow query log?
Information that is provided on the slow query log could be huge in size. The query could also be listed over thousand times. In order to summarize the slow query log in an informative manner one can use the third party tool “pt-qury-digest”.

24. How can one take incremental backup in MySQL?
User can take incremental backup in MySQL using percona xtrabackup.

25. How can you change the root password if the root password is lost?
In such cases when the password is lost the user should start the DB with – skip-grants-table and then change the password. Thereafter with the new password the user should restart the DB in normal mode.

26. How to resolve the problem of data disk that is full?
When the data disk is full and overloaded the way out is to create and soft link and move the .frm as well as the .idb files into that link location.

27. What is the difference between DELETE TABLE and TRUNCATE TABLE commands in MySQL?
Basically DELETE TABLE is logged operation and every row deleted is logged. Therefore the process is usually slow. TRUNCATE TABLE also deletes rows in a table but it will not log any of the rows deleted.  The process is faster in comparison. TRUNCATE TABLE can be rolled back and is functionally similar to the DELETE statement using no WHERE clause.

28. What are types of joins in MySQL?
There are four types of Joins in MySQL. Inner Join returns the rows if there is at least one match in both the tables. Left Join returns all the rows form the left table even if there is no match in the right table. Right Join returns all the rows from the right table even if no matches exist in left table. Full Join would return rows when there is at least one match in the tables.

29.What are the storage models of OLAP?
The storage models in OLA are MOLAP, ROLAP, and HOLAP.

30. How to define testing of network layers in MySQL?
For this it is necessary reviewing the layered architecture and determining hardware and software configuration dependencies in respect of the application put to test.

31. What is the difference between primary key and unique key?
While both are used to enforce uniqueness of the column defined but primary key would create a clustered index whereas unique key would create non-clustered index on the column. Primary key does not allow ‘NULL’ but unique key allows it.

32. What is meant by transaction and ACID properties?
Transaction is logical unit of work where either all or none of the steps should be performed. ACID is the abbreviation for Atomicity, Consistency, Isolation, and Durability that are properties of any transaction.

33. How can one restart SQL Server in single user or minimal configuration modes?
The command line SQLSERVER.EXE used with –m will restart SQL Server in single user mode and with –f will start it in minimal configuration mode.

34. What is the difference between BLOB and TEXT?
BLOBs are binary large object holding huge data. 4 types of BLOB are TINYBLOB, BLOB, MEDIBLOB, and LONGBLOB. TEXT is case-sensitive BLOB. 4 types of TEXT are TINY TEXT, TEXT, MEDIUMTEXT, and LONG TEXT.

35. What is the basic MySQL architecture?
The logical architecture of MySQL is made of ‘connection manager’, ‘query optimizer’, and ‘pluggable engines’.

Source from https://intellipaat.com/

Top PHP Interview Questions and Answers

1. what's PHP?
Ans:
PHP (Hyper text Pre Processor) may be a scripting language unremarkably used for internet applications. PHP will besimply embedded in hypertext markup language. PHP usually runs on an online server. it's out there for free of charge and might be used across a spread of servers, operational systems and platforms.

2. What ar the variations between GET and POST strategies in kind submitting, offer the case wherever will|we will|we are able to} use get and that we can use post methods?
Ans:
On the server facet, the most distinction between GET and POST is wherever the submitted is keep. The $_GET array stores information submitted by the GET methodology. The $_POST array stores information submitted by the POST methodology. 

On the browser facet, the distinction is that information submitted by the GET methodology are going to bedisplayed within the browser's address field. information submitted by the POST methodology won't be displayed anyplace on the browser. 

GET methodology is generally used for submitting atiny low quantity and fewer sensitive information. POST methodology is generally used for submitting an oversized quantity or sensitive information.

3. World Health Organization is that the father of php and make a case for the changes in php versions?
Ans:
Rasmus Lerdorf for version changes head to http://php.net/ Marco Tabini is that the founder and publisher of php|architect.

4. however will we have a tendency to submit from while not a submit button?
Ans:
We can use a straightforward JavaScript code coupled to an occurrence trigger of any kind field. within theJavaScript code, we are able to decision the document.form.submit() operate to submit the shape.

5. what number ways that we are able to retrieve the date in result set of mysql mistreatment php?
Ans:
As individual objects thus single record or as a group or arrays.

6. what's the distinction between $message and $message?
Ans:
They are each variables. however $message may be a variable with a hard and fast name. $message may be avariable who's name is keep in $message. as an example, if $message contains "var", $message is that the same as $var.

7. What ar the variations between need and embrace, include_once?
Ans:
File won't be enclosed over once. If we would like to incorporate a file once solely and more line of work of the file are going to be neglected then we've got to use the PHP operate include_once(). this may forestall issues with operate redefinitions, variable price reassignments, etc.

8. What ar the various tables gift in mysql?
Ans:
Total five sorts of tables we are able to produce 

1. MyISAM 

2. Heap 

3. Merge 

4. InnoDB 

5. ISAM 

6. BDB 

MyISAM is that the default storage engine as of MySQL three.23.

9. however am i able to execute a php script mistreatment command line?
Ans:
Just run the PHP CLI (Command Line Interface) program and supply the PHP script file name because the statementargument. as an example, "php myScript.php", forward "php" is that the command to invoke the CLI program. 

Be aware that if your PHP script was written for the net CGI interface, it should not execute properly in statementatmosphere.

10. what's meant by nl2br()?
Ans:
Nl2br Inserts hypertext markup language line breaks before all newlines in a very string string nl2br (string); For example: echo nl2br("god bless you")

will output "god bless you" to your browser.

11. What ar the present versions of apache, php, and mysql?
Ans:
PHP: php 5.3 
MySQL: MySQL five.5 
Apache: Apache a pair of.2

12. What ar the explanations for choosing lamp (Linux, apache, mysql, php) rather than combination of differentsoftware package programs, servers and operational systems?
Ans:
All of these ar open supply resource. Security of UNIX operating system terribly|is extremely|is incredibly} very overwindows. Apache may be a higher server that IIS each in practicality and security. Mysql is world preferred open supply information. PHP is a lot of quicker that asp or the other scripting language.

13. however will we have a tendency to inscribe and decode an information gift in a very mysql table mistreatment mysql?
Ans:
AES_ENCRYPT () and AES_DECRYPT ()

14. however will we have a tendency to inscribe the username and secret mistreatment php?
Ans:
You can inscribe a secret with the subsequent Mysql>SET PASSWORD=PASSWORD("Password"); we are able toinscribe information mistreatment base64_encode($string) and might rewrite mistreatmentbase64_decode($string);

15. What ar the various sorts of errors in php?
Ans:
E_ERROR: A fatal error that causes script termination 
E_WARNING: Run-time warning that doesn't cause script termination 
E_PARSE: Compile time break down error. 
E_NOTICE: Run time notice caused owing to error in code 
E_CORE_ERROR: Fatal errors that occur throughout PHP's initial startup (installation) 
E_CORE_WARNING: Warnings that occur throughout PHP's initial startup 
E_COMPILE_ERROR: Fatal compile-time errors indication drawback with script. 
E_USER_ERROR: User-generated error message. 
E_USER_WARNING: User-generated warning message. 
E_USER_NOTICE: User-generated notice message. 
E_STRICT: Run-time notices. 
E_RECOVERABLE_ERROR: Catchable fatal error indicating a dangerous error 
E_ALL: Catches all errors and warnings

16. what's the practicality of the operate htmlentities?
Ans:
Answer: htmlentities Convert all applicable characters to hypertext markup language entities This operate is clone ofhtmlspecialchars() all told ways that, except with htmlentities(), all characters that have hypertext markup languagecharacter entity equivalents ar translated into these entities.

17. what's meant by urlencode and urldocode?
Ans:
Urlencode() returns the uniform resource locator encoded version of the given string. uniform resource locatorsecret writing converts special characters under consideration signs followed by 2 hex digits. For example: urlencode("10.00%") can come back "10%2E00%25?. uniform resource locator encoded strings ar safe to be used as a part of URLs. 
urldecode() returns the uniform resource locator decoded version of the given string.

18. what's the distinction between the functions unlink and unset?
Ans:
Unlink() deletes the given file from the classification system. 
unset() makes a variable indefinable.

19. however will we have a tendency to register the variables into a session?
Ans:
We can use the session_register ($ur_session_var) operate.

20. however will we have a tendency to get the properties (size, type, width, height) of a picture mistreatment php image functions?
Ans:
To know the Image kind use exif_imagetype () operate 
To know the Image size use getimagesize () operate 
To know the image breadth use imagesx () operate 
To know the image height use imagesy() operate

21. what's the most size of a file {that will|which will|that may} be uploaded mistreatment php and the way can we alter this?
Ans:
You can modification most size of a file set upload_max_filesize variable in php.ini file.

22. however will we have a tendency to increase the execution time of a php script?
Ans:
Set max_execution_time variable in php.ini file to your required time in second.

23. however will we have a tendency to take a backup of a mysql table and the way will we have a tendency torestore it.?
Ans:
Create a full backup of your database: shell> mysqldump tab=/path/to/some/diropt db_name Or: shell> mysqlhotcopy db_name /path/to/some/dir the total computer file is simply a group of SQL statements, thus restoring it's terriblyeasy: 

shell> mysql "."Executed"; 
mysql_close($link2);

24. what number ways that will we have a tendency to get the worth of current session id?
Ans:
session_id() operate returns the session id for the present session.

25. however will we have a tendency to destroy the session, however will we have a tendency to unset the variable of a session?
Ans:
session_destroy
session_unset

26. however will we have a tendency to destroy the cookie?
Ans:
Set same the cookie in past

27. what's the distinction between ereg_replace() and eregi_replace()?
Ans:
eregi_replace() operate is clone of ereg_replace() except that this ignores case distinction once matching alphabetic characters.eregi_replace() operate is clone of ereg_replace() except that this ignores case distinction once matching alphabetic characters.

28. however will we all know the count/number of parts of AN array?
Ans:
2 ways 
a) sizeof($urarray) This operate is AN alias of count() 
b) count($urarray)
interestingly if u simply pass a straightforward volt-ampere rather than a AN array it'll come back one.

29. what's the most length of a table name, information name, and fieldname in mysql?
Ans:
Database name- sixty four 
Table name -64 Fieldname-64

30. what number values will the SET operate of mysql takes?
Ans:
Mysql set will take zero or a lot of values however at the most it will take sixty four values

31.What is most size of a information in mysql?
Ans:
If the package or filesystem places a limit on the amount of files in a very directory, MySQL is sure by that constraint. 
The potency of the package in handling giant numbers of files in a very directory will place a sensible limit on the amount of tables in a very information. If the time needed to open a go in the directory will increase considerablybecause the variety of files will increase, information performance will be adversely affected. 
The amount of obtainable disc space limits the amount of tables. 
MySQL 3.22 had a 4GB (4 gigabyte) limit on table size. With the MyISAM storage engine in MySQL three.23, the mosttable size was enhanced to 65536 terabytes (2567 â€" one bytes). With this larger allowed table size, the mosteffective table size for MySQL databases is sometimes determined by package constraints on file sizes, not by MySQL internal limits. 
The InnoDB storage engine maintains InnoDB tables among a tablespace that may be created from many files. this permits a table to exceed the most individual file size. The tablespace will embrace raw disk partitions, that permitsextraordinarily giant tables. the most tablespace size is 64TB. 
The following table lists some samples of package file-size limits. this is often solely a rough guide and isn't meant to be definitive. For the foremost up-to-date info, take care to envision the documentation specific to your package. 
Operating System File-size Limit 
Linux 2.2-Intel 32-bit 2GB (LFS: 4GB) 
Linux 2.4+ (using ext3 filesystem) 4TB 
Solaris 9/10 16TB 
NetWare w/NSS filesystem 8TB 
Win32 w/ FAT/FAT32 2GB/4GB 
Win32 w/ NTFS 2TB (possibly larger) 
MacOS X w/ HFS+ 2TB

32. what's meant by MIME?
Ans:
Multipurpose web Mail Extensions.
WWW ability to recognise and handle files of various sorts is essentially addicted to the employment of the MIME (Multipurpose web Mail Extensions) normal. the quality provides for a system of registration of file sorts with infoconcerning the applications required to method them. This info is incorporated into internet server and browser software package, and allows the automated recognition and show of registered file sorts.

33. what's meant by PEAR in php?
Ans:
PEAR is brief for "PHP Extension and Application Repository" and is pronounced similar to the fruit. the aim of PEAR is to provide: 
A structured library of open-sourced code for PHP users 
A system for code distribution and package maintenance 
A standard vogue for code written in PHP 
The PHP Foundation categories (PFC), 
The PHP Extension Community Library (PECL), 
A web site, mailing lists and transfer mirrors to support the PHP/PEAR community 
PEAR may be a community-driven project with the PEAR cluster because the organization. The project has been supported by Stig S. Bakken in 1999 and quite an heap of individuals have joined the project since then. 

http://pear.php.net/manual/en/about.pear.php

34. What ar the variations between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
Ans:
Mysql_fetch_array Fetch a result row as AN associative array, a numeric array, or both. 
mysql_fetch_object ( resource result ) 
Returns AN object with properties that correspond to the fetched row and moves the interior information pointer ahead. Returns AN object with properties that correspond to the fetched row, or FALSE if there aren't any a lot of rows 
mysql_fetch_row() fetches one row of information from the result related to the desired result symbol. The row is came back as AN array. every result column is keep in AN array offset, beginning at offset zero.

35. what's PHP?
Ans:
PHP Version three.0 is AN HTML-embedded scripting language. abundant of its syntax is borrowed from C, Java and Perl with a handful of distinctive PHP-specific options thrown in. The goal of the language is to permit internetdevelopers to jot down dynamically generated pages quickly.

36. what's the distinction between embrace and require?
Ans:
If you need a file and it can not be found, the script can terminate with a fatal error. If you employ embrace then {you can|you'll|you may} get miscalculation however the script will still execute. thus once the data you would like to reference from another file is crucial to the right running of a page, use need.

37. Is PHP a case sensitive programming language?
Ans:
PHP may be a partly case sensitive artificial language. we are able to use operate names, category names just in case insensitive manner.

38. what's mean by LAMP?
Ans:
LAMP means that combination of UNIX operating system, Apache, MySQL and PHP.

39.How does one get the user's science address in PHP?
Ans:
Using the server variable: $_SERVER['REMOTE_ADDR']

40. however does one build a technique cryptography for your passwords in PHP?
Ans:
Using md5 operate or sha1 operate

41. what's meant by PEAR in php?
Ans:
Answer1: PEAR is that the next revolution in PHP. This repository is transfer higher level programming to PHP. PEAR may be a framework and distribution system for reusable PHP elements. It eases installation by transfer an automaticwizard, and packing the strength and knowledge of PHP users into a nicely union OOP library. PEAR conjointlyprovides a command-line interface that may be accustomed mechanically install "packages" 
Answer2: 
PEAR is brief for "PHP Extension and Application Repository" and is pronounced similar to the fruit. the aim of PEAR is to provide: 
A structured library of open-sourced code for PHP users 
A system for code distribution and package maintenance 
A standard vogue for code written in PHP 
The PHP Foundation categories (PFC), 
The PHP Extension Community Library (PECL), 
A web site, mailing lists and transfer mirrors to support the PHP/PEAR community 
PEAR may be a community-driven project with the PEAR cluster because the organization. The project has been supported by Stig S. Bakken in 1999 and quite an heap of individuals have joined the project since then.

42. however will we have a tendency to repair a MySQL table?
Ans:
The syntex for repairing a mysql table is: 

REPAIR TABLE tablename 
REPAIR TABLE tablename fast 
REPAIR TABLE tablename EXTENDED 

This command can repair the table nominative. 
If fast is given, MySQL can do a repair of solely the index tree. 
If EXTENDED is given, it'll produce index row by row.

43. what's the distinction between echo and print statement?
Ans:
Echo() will take multiple expressions,Print cannot take multiple expressions. 

Print come back true or false supported success or failure whereas echo simply will what its told while not lease you recognize whether or not or not it worked properly.

44. What ar the options and benefits of OBJECT bound PROGRAMMING?
Ans:
One of the most benefits of OO programming is its simple modification; objects will simply be changed and added to a system there by reducing maintenance prices. OO programming is additionally thought-about to be higher at modeling the $64000 world than is procedural programming. It permits for a lot of difficult and versatile interactions. OO systems also are easier for non-technical personnel to grasp and easier for them to participate within themaintenance and improvement of a system as a result of it appeals to natural human psychological feature patterns.

Thanks!