Prepare company-level interview set (TCS, Infosys, Startup)

🚀 1. TCS Interview Set (Service-Based – Moderate Level)

🧠 Round 1: Aptitude + Basics

  • What is OOP?
  • Difference between == and === in PHP
  • Output-based questions (loops, arrays)
  • SQL: JOIN, GROUP BY, COUNT

💻 Round 2: Technical

PHP / Laravel

  1. What is MVC?
  2. How Laravel routing works?
  3. Difference between echo and print?
  4. What is session & cookie?
  5. Write a simple CRUD logic.

Coding Question

👉 Reverse a string without using built-in function

$str = "TCS";

👉 Find largest number in array

$arr = [10, 45, 2, 89, 32];

👨‍💼 Round 3: HR

  • Tell me about yourself
  • Why TCS?
  • Are you ready for relocation?
  • Strengths & weaknesses

🏢 2. Infosys Interview Set (Structured + Conceptual)

🧠 Round 1: Written Test

  • OOP concepts
  • DBMS basics
  • Output prediction
  • Basic coding

💻 Round 2: Technical Deep

Core Questions

  1. Explain OOP with example
  2. What is normalization?
  3. Difference between GET and POST
  4. What is framework?

Laravel Focus

  1. What is middleware?
  2. What is migration?
  3. Explain authentication

Coding Questions

👉 Palindrome check

madam

👉 Count vowels in string

👉 Fibonacci series


👨‍💼 HR Round

  • Why Infosys?
  • Describe a challenge you solved
  • Teamwork experience
  • Career goals

⚡ 3. Startup Interview Set (High-Level 🔥)

💻 Round 1: Practical Coding

Real Tasks

👉 Build simple API (CRUD)

GET /users
POST /users
PUT /users/{id}
DELETE /users/{id}

👉 Create login system

  • Email + password
  • Validation
  • Session handling

🧠 Round 2: Deep Technical

Laravel / Backend

  1. Explain request lifecycle
  2. How to optimize performance?
  3. What is caching?
  4. How authentication works internally?
  5. REST API best practices

Database

  1. Indexing?
  2. N+1 problem?
  3. Query optimization?

🔥 System Design (Basic)

  • Design a blog system
  • Design login system
  • How to scale API?

👨‍💼 Final Round (Founder/Manager)

  • Show your projects
  • Explain real problems you solved
  • How fast can you learn?
  • Salary expectation

💣 Startup Coding Test (IMPORTANT)

👉 Build this in interview:

  1. CRUD App (Laravel)
  2. Login + Auth
  3. API with JSON
  4. Database design

🎯 Preparation Strategy

For TCS / Infosys

  • Focus on basics + theory
  • Practice small coding
  • Clear concepts

For Startups 🔥

  • Focus on real projects
  • Strong Laravel knowledge
  • API + Authentication
  • Database optimization

💡 Pro Tip (Very Important)

👉 Service companies test knowledge
👉 Startups test skills + real work