Filter interviews by
I applied via Apna Jobs and was interviewed in Jul 2020. There were 3 interview rounds.
Composer is a dependency manager for PHP.
Composer manages packages and their dependencies for PHP projects.
It allows easy installation and updating of packages.
Composer uses a composer.json file to define project dependencies.
Packages can be sourced from Packagist or other repositories.
Composer is widely used in the PHP community for managing project dependencies.
Gate is a Laravel feature that provides a simple way to authorize user actions.
Gate allows defining authorization policies for specific actions or resources.
It can be used to check if a user is authorized to perform a certain action.
Gate can be used in controllers, views, and other parts of the application.
Example: Gate::allows('update-post', $post) checks if the user is authorized to update the given post.
PHP code can be written in Blade templates using the @php directive.
Use the @php directive to write PHP code in Blade templates
Wrap the PHP code in opening and closing PHP tags
Use Blade syntax to output the result of the PHP code
Example: @php echo 'Hello World'; @endphp
MVC stands for Model-View-Controller, a software design pattern used for developing web applications.
Model represents the data and business logic
View displays the data to the user
Controller handles user input and updates the model and view accordingly
Separation of concerns makes it easier to maintain and modify code
Used in popular PHP frameworks like Laravel and CodeIgniter
Postman is a popular API development tool used for testing, documenting, and sharing APIs.
Postman allows developers to easily make HTTP requests and view responses.
It also provides features like automated testing, mock servers, and collaboration tools.
Postman can be used for REST, SOAP, and GraphQL APIs.
It has a user-friendly interface and is available as a desktop application or a web-based tool.
The .env file needs to be updated with production-specific configurations.
Update the APP_ENV variable to 'production'
Set the APP_DEBUG variable to 'false'
Update the database connection details
Update the cache and session drivers
Set the log level to 'error' or 'warning'
Update any other environment-specific configurations
Top trending discussions
Identify the duplicate character in the string.
I was interviewed before Feb 2024.
The first round comprised of 4 sections online questions including aptitude, logical, Coding questions, and technical portions (Test Duration: 90 mins):
Debugging: We had to choose a language and debug up to 7 questions most probably. Codes were very basic like sorting, etc. I completed 6 of them.
Coding: There were two medium-hard level questions.
Work-style Assessment: Just try to answer as an ideal employee. Make sure you answers don’t contradict each other.
Aptitude: Around 25 questions.
I was interviewed in Jan 2025.
Trips for cracking interview
I was interviewed in Jan 2025.
I was interviewed in Dec 2024.
I chose Flask over Django and FastAPI due to its simplicity, flexibility, and ease of use for smaller projects.
Flask is lightweight and minimalistic, making it easier to set up and use for smaller projects.
Flask allows for more flexibility in terms of project structure and customization compared to Django.
Flask is well-suited for rapid prototyping and smaller applications where simplicity is key.
Django, on the other ha...
Flask request and response block code snippet
Use Flask's request object to access incoming request data
Use Flask's jsonify function to create a JSON response
Handle different HTTP methods like GET, POST, etc. in the route function
ORM stands for Object-Relational Mapping, a programming technique for converting data between incompatible type systems in object-oriented programming languages.
ORM is used to map objects from an application to tables in a relational database.
It simplifies data manipulation by allowing developers to work with objects instead of SQL queries.
Popular ORM tools include Hibernate for Java, Entity Framework for .NET, and Seq
Use ORM code to select item from a table in database.
Use ORM query methods like find(), findOne(), or where() to select items from a table.
Specify the table name and any conditions for the selection.
Example: User.find({ where: { id: 1 } }) will select a user with id 1 from the User table.
posted on 21 Dec 2024
I applied via Campus Placement
General aptitude, computer science fundamentals multiple-choice questions, and data structures and algorithms multiple-choice questions were asked.
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
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
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
I applied via Naukri.com and was interviewed in Dec 2024. There were 3 interview rounds.
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
Logical reasoning, quantitative analysis and computer test
TCS
Accenture
Wipro
Cognizant