Upload Button Icon Add office photos

Filter interviews by

Vedsar India PHP Web Developer Interview Questions and Answers

Updated 2 Oct 2021

7 Interview questions

A PHP Web Developer was asked
Q. Which function can convert a string to an array?
Ans. 

The function to convert string to array is explode().

  • The function takes two parameters: delimiter and string.

  • The delimiter specifies where to break the string into array elements.

  • The function returns an array of strings.

  • Example: $str = 'apple,banana,orange'; $arr = explode(',', $str);

  • This will result in an array with three elements: 'apple', 'banana', and 'orange'.

A PHP Web Developer was asked
Q. What are the types of inheritance in PHP?
Ans. 

There are three types of inheritance in PHP: single, multiple, and multilevel.

  • Single inheritance involves a child class inheriting from a single parent class.

  • Multiple inheritance involves a child class inheriting from multiple parent classes.

  • Multilevel inheritance involves a child class inheriting from a parent class, which in turn inherits from another parent class.

  • PHP only supports single inheritance natively, b...

PHP Web Developer Interview Questions Asked at Other Companies

Q1. What is the difference between mysqli_fetch_assoc() and mysqli_fe ... read more
asked in Neoistone
Q2. What is the name of the scripting engine in PHP?
asked in Neoistone
Q3. What are the ways to include a file in PHP?
asked in Neoistone
Q4. What is the difference between private and protected access modif ... read more
asked in Easy Tutors
Q5. Do you have a reliable internet connection and a high-performance ... read more
A PHP Web Developer was asked
Q. How can we call a parent class constructor in a derived class?
Ans. 

To call parent class constructor in derived class, use parent::__construct() method.

  • Use parent::__construct() method in derived class constructor.

  • Pass the required parameters to parent::__construct() method.

  • This will call the parent class constructor and initialize the parent class properties.

A PHP Web Developer was asked
Q. What is the use of pseudo-classes in CSS?
Ans. 

Pseudo classes are used to define a special state of an element.

  • Pseudo classes are preceded by a colon (:)

  • They are used to style elements based on their state or position

  • Examples include :hover, :active, :first-child, :nth-child

A PHP Web Developer was asked
Q. What is the difference between front end and back end development?
Ans. 

Front end is the user-facing part of a website, while back end is the behind-the-scenes part that handles data and functionality.

  • Front end is responsible for the design, layout, and user experience of a website.

  • Back end handles the server-side programming, database management, and server configuration.

  • Front end technologies include HTML, CSS, and JavaScript, while back end technologies include PHP, Python, and Rub...

A PHP Web Developer was asked
Q. Tell me about the 'meta' tag in HTML.
Ans. 

The 'meta' tag in HTML is used to provide metadata about the HTML document.

  • Meta tags are placed in the head section of an HTML document.

  • They provide information such as character set, viewport settings, keywords, and descriptions.

  • Example: <meta charset='UTF-8'>

A PHP Web Developer was asked
Q. What is the difference between mysqli_fetch_assoc() and mysqli_fetch_array()?
Ans. 

mysqli_fetch_assoc() returns an associative array while mysqli_fetch_array() returns both numeric and associative arrays.

  • mysqli_fetch_assoc() fetches a row from a result set as an associative array.

  • mysqli_fetch_array() fetches a row from a result set as both an associative and numeric array.

  • mysqli_fetch_assoc() is faster than mysqli_fetch_array() when fetching only associative arrays.

  • mysqli_fetch_array() has an op...

Are these interview questions helpful?

Vedsar India PHP Web Developer Interview Experiences

1 interview found

Interview Questionnaire 

7 Questions

  • Q1. What is the difference between mysqli_fetch_assoc() and mysqli_fetch_array() ?
  • Ans. 

    mysqli_fetch_assoc() returns an associative array while mysqli_fetch_array() returns both numeric and associative arrays.

    • mysqli_fetch_assoc() fetches a row from a result set as an associative array.

    • mysqli_fetch_array() fetches a row from a result set as both an associative and numeric array.

    • mysqli_fetch_assoc() is faster than mysqli_fetch_array() when fetching only associative arrays.

    • mysqli_fetch_array() has an optiona...

  • Answered by AI
  • Q2. What is types of inheritance in php?
  • Ans. 

    There are three types of inheritance in PHP: single, multiple, and multilevel.

    • Single inheritance involves a child class inheriting from a single parent class.

    • Multiple inheritance involves a child class inheriting from multiple parent classes.

    • Multilevel inheritance involves a child class inheriting from a parent class, which in turn inherits from another parent class.

    • PHP only supports single inheritance natively, but mu...

  • Answered by AI
  • Q3. How can we call parent class constructor in derived class?
  • Ans. 

    To call parent class constructor in derived class, use parent::__construct() method.

    • Use parent::__construct() method in derived class constructor.

    • Pass the required parameters to parent::__construct() method.

    • This will call the parent class constructor and initialize the parent class properties.

  • Answered by AI
  • Q4. Function by which, we can convert string to array ?
  • Ans. 

    The function to convert string to array is explode().

    • The function takes two parameters: delimiter and string.

    • The delimiter specifies where to break the string into array elements.

    • The function returns an array of strings.

    • Example: $str = 'apple,banana,orange'; $arr = explode(',', $str);

    • This will result in an array with three elements: 'apple', 'banana', and 'orange'.

  • Answered by AI
  • Q5. What is different between front end and back end?
  • Ans. 

    Front end is the user-facing part of a website, while back end is the behind-the-scenes part that handles data and functionality.

    • Front end is responsible for the design, layout, and user experience of a website.

    • Back end handles the server-side programming, database management, and server configuration.

    • Front end technologies include HTML, CSS, and JavaScript, while back end technologies include PHP, Python, and Ruby on ...

  • Answered by AI
  • Q6. What is the use of seudo class in css
  • Ans. 

    Pseudo classes are used to define a special state of an element.

    • Pseudo classes are preceded by a colon (:)

    • They are used to style elements based on their state or position

    • Examples include :hover, :active, :first-child, :nth-child

  • Answered by AI
  • Q7. Something tell about 'meta' tag in html.
  • Ans. 

    The 'meta' tag in HTML is used to provide metadata about the HTML document.

    • Meta tags are placed in the head section of an HTML document.

    • They provide information such as character set, viewport settings, keywords, and descriptions.

    • Example: <meta charset='UTF-8'>

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Fully complete the concept of core php, front end.

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
2w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about Vedsar India?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Company Website and was interviewed in Jun 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - One-on-one 

(2 Questions)

  • Q1. What is session? Wht is the uses of session?
  • Ans. 

    Session is a way to store information (variables) on the server to be used across multiple pages.

    • Session is used to maintain user-specific data across multiple pages.

    • It is created when a user logs in and destroyed when the user logs out.

    • Session data can be accessed and manipulated using the $_SESSION superglobal variable.

    • Examples of session data include user ID, username, and shopping cart items.

  • Answered by AI
  • Q2. Wht is php? Need of php?
  • Ans. 

    PHP is a server-side scripting language used for web development.

    • PHP stands for Hypertext Preprocessor.

    • It is an open-source language.

    • PHP is used to create dynamic web pages.

    • It can interact with databases like MySQL.

    • PHP is easy to learn and widely used in web development.

    • Popular CMS like WordPress, Drupal, and Joomla are built on PHP.

  • Answered by AI
Round 3 - Group Discussion 

How will manage our project?

Round 4 - Technical 

(1 Question)

  • Q1. Which version of html is getting at thid time and why?
  • Ans. 

    The latest version of HTML is HTML5, which is widely adopted for its improved functionality and features.

    • HTML5 is the current version of HTML being used

    • It offers new features like <video>, <audio>, <canvas>, and <svg> elements

    • HTML5 provides better support for multimedia and interactive content

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - All questions are vry simple and essey but u hv some knowledge about php , html and css etc.

Skills evaluated in this interview

PHP Web Developer Interview Questions Asked at Other Companies

Q1. What is the difference between mysqli_fetch_assoc() and mysqli_fe ... read more
asked in Neoistone
Q2. What is the name of the scripting engine in PHP?
asked in Neoistone
Q3. What are the ways to include a file in PHP?
asked in Neoistone
Q4. What is the difference between private and protected access modif ... read more
asked in Easy Tutors
Q5. Do you have a reliable internet connection and a high-performance ... read more

Interview Questionnaire 

1 Question

  • Q1. Any thing about php...

Interview Preparation Tips

Interview preparation tips for other job seekers - Any thing about php. Java script html j query

Interview Questionnaire 

6 Questions

  • Q1. Basic php and html css javascript
  • Q2. Opps concepts
  • Ans. 

    OOP concepts in PHP include encapsulation, inheritance, polymorphism, and abstraction, enhancing code organization and reusability.

    • Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: A class 'Car' with properties like 'color' and methods like 'drive()'.

    • Inheritance: Mechanism where a new class inherits properties and methods from an existing class. Example: 'ElectricCar' c...

  • Answered by AI
  • Q3. MySQL SQL how to fetch Last record
  • Ans. 

    To fetch the last record in MySQL SQL, use the ORDER BY and LIMIT clauses.

    • Use the ORDER BY clause to sort the records in descending order based on the primary key or any other column.

    • Use the LIMIT clause to limit the result set to one record.

    • Example: SELECT * FROM table_name ORDER BY primary_key DESC LIMIT 1;

  • Answered by AI
  • Q4. How to update data in table
  • Ans. 

    To update data in a table, use the UPDATE statement in SQL.

    • Use the UPDATE statement followed by the table name

    • Set the column name and new value using SET

    • Use WHERE to specify which rows to update

  • Answered by AI
  • Q5. Javascript basic information
  • Q6. Html css

Skills evaluated in this interview

I applied via Naukri.com

Interview Questionnaire 

2 Questions

  • Q1. Why Amazon?
  • Ans. 

    Amazon's innovation, customer focus, and diverse opportunities align with my career goals and values.

    • Customer Obsession: Amazon prioritizes customer satisfaction, evident in initiatives like Prime and personalized recommendations.

    • Innovation: The company is a leader in technology and logistics, constantly pushing boundaries with services like AWS and drone delivery.

    • Diversity of Roles: Amazon offers a wide range of caree...

  • Answered by AI
  • Q2. What do you expect from Amazon?
  • Ans. 

    I expect Amazon to foster innovation, provide growth opportunities, and maintain a customer-centric culture.

    • Opportunities for professional development, such as training programs and mentorship.

    • A collaborative work environment that encourages teamwork and idea sharing.

    • Access to cutting-edge technology and resources to drive innovation.

    • A strong focus on customer satisfaction, ensuring that every decision prioritizes the ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be open to anything, and keep your expectations low as your expectations might kill you. Just relax and take everything in a healthy way

Interview Questionnaire 

2 Questions

  • Q1. Technical
  • Q2. Be yourself

I applied via Naukri.com and was interviewed before Feb 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What are different types of cloud?
  • Q2. What is workflow,trigger, different types of reports, roles, profiles, permission set, sharing rules etc?
  • Ans. 

    Workflow, trigger, reports, roles, profiles, permission set, and sharing rules are all important features in Salesforce.

    • Workflow is a series of automated steps that can be used to streamline business processes.

    • Triggers are used to execute code before or after a record is inserted, updated, or deleted.

    • Reports are used to display data in a visual format, such as a table or chart.

    • Roles are used to define the hierarchy of ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Google the question related to your topic and also become 100% prepared with your resume.

Skills evaluated in this interview

Are these interview questions helpful?

I appeared for an interview before Jul 2020.

Interview Questionnaire 

1 Question

  • Q1. Is Infosys listed?
  • Ans. 

    Yes, Infosys is listed on the Indian stock exchanges as well as on the NYSE.

    • Infosys is listed on the Bombay Stock Exchange (BSE) and National Stock Exchange of India (NSE)

    • It is also listed on the New York Stock Exchange (NYSE)

    • Infosys has a market capitalization of over $80 billion as of 2021

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well in advance

I applied via Job Fair and was interviewed before Feb 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 
Round 2 - One-on-one 

(1 Question)

  • Q1. Basic accounting methods and journals

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident About what you are saying

I applied via Naukri.com and was interviewed in Nov 2019. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Why are you looking for the job change?
  • Ans. 

    I'm seeking new challenges and opportunities for growth that align with my career goals and aspirations.

    • Desire for professional growth: I'm looking to expand my skill set and take on more leadership responsibilities.

    • Seeking a better cultural fit: My current company has a different work culture than what I thrive in; I value collaboration and innovation.

    • Interest in new technologies: I'm excited about working with cuttin...

  • Answered by AI
  • Q2. Relevant technical questions, as per my current technology

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep it simple and be yourself. That's what the interviewers looked into. Also a thorough understanding of the technology is a must and that is what will help you in cracking the interview. You don't have to go in-depth, just the overview and what happens when is what they look for. Good communication skills is also an added incentive, something I always try to work on. All the best

Vedsar India Interview FAQs

What are the top questions asked in Vedsar India PHP Web Developer interview?

Some of the top questions asked at the Vedsar India PHP Web Developer interview -

  1. What is the difference between mysqli_fetch_assoc() and mysqli_fetch_array(...read more
  2. How can we call parent class constructor in derived cla...read more
  3. Function by which, we can convert string to arra...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.7
 • 8.7k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Amazon Interview Questions
4.0
 • 5.4k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.7
 • 3.4k Interviews
View all
Compare Vedsar India with

TCS

3.6
Compare

Accenture

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
write
Share an Interview