Upload Button Icon Add office photos

Filter interviews by

K Hospitality Corp PHP Developer Interview Questions and Answers

Updated 11 Oct 2021

K Hospitality Corp PHP Developer Interview Experiences

1 interview found

PHP Developer Interview Questions & Answers

user image Anonymous

posted on 11 Oct 2021

I applied via Recruitment Consultant and was interviewed in Sep 2021. There was 1 interview round.

Interview Questionnaire 

4 Questions

  • Q1. What is session and cookies.
  • Ans. 

    Session and cookies are used to store data on the client-side for a specific period of time.

    • Session stores data on the server-side while cookies store data on the client-side

    • Session data is destroyed when the user closes the browser while cookies can have an expiration date

    • Session data is more secure than cookies as it is not accessible by the client-side

    • Cookies are commonly used for user authentication and personaliza

  • Answered by AI
  • Q2. What is unset and unlink in php
  • Ans. 

    unset and unlink are functions in PHP used to remove variables and files respectively.

    • unset is used to destroy a variable and free up memory

    • unlink is used to delete a file from the server

    • Both functions return a boolean value indicating success or failure

    • unset can be used on arrays, objects, and variables

    • unlink can be used with a file path or a file handle

  • Answered by AI
  • Q3. Helpers in laravel and codeigniter framework.
  • Q4. Access modifiers in oops
  • Ans. 

    Access modifiers define the scope of class properties and methods.

    • Public: accessible from anywhere

    • Private: accessible only within the class

    • Protected: accessible within the class and its subclasses

    • Examples: public function getName() { ... }, private $age, protected $salary

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Ask question from each section.

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected
Round 1 - Technical 

(2 Questions)

  • Q1. Tell me about yourself
  • Q2. Oops concepts in PHP
  • Ans. 

    Object-oriented programming concepts in PHP

    • Encapsulation: bundling data and methods that operate on the data into a single unit

    • Inheritance: allowing a class to inherit properties and methods from another class

    • Polymorphism: ability to present the same interface for different data types

    • Abstraction: hiding the complex implementation details and showing only the necessary features

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Little difficult for the freshers

Round 2 - Coding Test 

A little programming oriented questions were there

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice more for good opportunities

I applied via Naukri.com and was interviewed in May 2022. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic knowledge of php
  • Q2. Laravel framework & structure knowledge of laravel

Interview Preparation Tips

Interview preparation tips for other job seekers - Please clear the basic structure...
Good knowledge of oops concept

I applied via Recruitment Consultant and was interviewed in May 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. What level of this company

Interview Preparation Tips

Interview preparation tips for other job seekers - The interview was a technical one but was majorly a easy test.The interview wanted to test bothmy knowledge and communication skills. The interview was computer science related . Please go throughly word by word and recheck my resume to ensure that you are a best yit for the position
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Aptitude Test 

General aptitude, computer science fundamentals multiple-choice questions, and data structures and algorithms multiple-choice questions were asked.

Round 2 - Technical 

(2 Questions)

  • Q1. Given a string, write a function to reverse the string.
  • Ans. 

    Function to reverse a given string

    • Create an empty string to store the reversed string

    • Iterate through the input string in reverse order and append each character to the new string

    • Return the reversed string

  • Answered by AI
  • Q2. Given a sorted array of integers, write a function to perform a binary search to find the index of a target value. If the target value is not found, return -1.
  • Ans. 

    Binary search function to find target value in sorted array

    • Define function that takes sorted array and target value as input

    • Initialize variables for start, end, and middle indices

    • Use while loop to iterate until start is less than or equal to end

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. About the company
  • Q2. What are three significant achievements in your life?
  • Ans. 

    Graduating with honors, winning a hackathon, volunteering in a developing country

    • Graduated with honors from university with a degree in Computer Science

    • Won first place in a hackathon competition by developing a unique and innovative software solution

    • Volunteered in a developing country to help build schools and provide education to underprivileged children

  • Answered by AI
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Mostly js questions, not so many of angular or react.
  • Q2. Like fizbuzz or things like that.

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't apply here, the culture here is horrible.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Ui development and component related
  • Q2. Performance of technology and challenges
Round 2 - HR 

(2 Questions)

  • Q1. Personal introduction and location details
  • Q2. Negatition of salries excepectations

Interview Preparation Tips

Interview preparation tips for other job seekers - It's very good organization. Freindly nature in team operation is good from leads hikes also ok
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. JavaScript Related Questions
  • Q2. ReactJs Related Questions
Round 2 - One-on-one 

(2 Questions)

  • Q1. Reactjs Use Effects and UseRef
  • Q2. JavaScript Closures,Map,CallBack

Interview Preparation Tips

Interview preparation tips for other job seekers - NA
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Sliding Window find the subarray with sum equal to k
  • Ans. 

    Using sliding window technique to find subarray with sum equal to k.

    • Initialize two pointers at the start of the array.

    • Move the right pointer to expand the window until the sum is greater than or equal to k.

    • Move the left pointer to shrink the window if the sum exceeds k.

    • Repeat until the end of the array is reached.

    • Example: Input array [1, 4, 20, 3, 10, 5], k=33. Output: [20, 3, 10].

  • Answered by AI

K Hospitality Corp Interview FAQs

What are the top questions asked in K Hospitality Corp PHP Developer interview?

Some of the top questions asked at the K Hospitality Corp PHP Developer interview -

  1. What is unset and unlink in ...read more
  2. What is session and cooki...read more
  3. Access modifiers in o...read more

Tell us how to improve this page.

People are getting interviews through

based on 1 K Hospitality Corp interview
Recruitment Consultant
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.1k Interviews
Accenture Interview Questions
3.9
 • 7.8k Interviews
Infosys Interview Questions
3.7
 • 7.4k Interviews
Wipro Interview Questions
3.7
 • 5.5k Interviews
Cognizant Interview Questions
3.8
 • 5.4k Interviews
Amazon Interview Questions
4.1
 • 4.9k Interviews
Capgemini Interview Questions
3.8
 • 4.7k Interviews
Tech Mahindra Interview Questions
3.6
 • 3.7k Interviews
HCLTech Interview Questions
3.6
 • 3.6k Interviews
Genpact Interview Questions
3.9
 • 2.9k Interviews
View all
Marketing Manager
12 salaries
unlock blur

₹5.5 L/yr - ₹17.5 L/yr

Restaurant Manager
8 salaries
unlock blur

₹3.5 L/yr - ₹6 L/yr

General Manager
7 salaries
unlock blur

₹12.9 L/yr - ₹28 L/yr

Manager
7 salaries
unlock blur

₹9.2 L/yr - ₹13.9 L/yr

Asst.Marketing Manager
6 salaries
unlock blur

₹9 L/yr - ₹11 L/yr

Explore more salaries
Compare K Hospitality Corp with

The Indian Hotels Company

4.3
Compare

ITC Hotels

4.1
Compare

Taj Hotels Resorts and Palaces

4.2
Compare

Oberoi Group of Hotels

4.2
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview