Fundamentals interview questions and answers
300 Fundamentals questions asked in campus placements and backend job interviews. The model answer for every question, including fresher, is part of Pro.
- View
What are variables and data types? Explain common primitive types.
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
Explain conditional statements (if/else, switch) and loops (for, while, do-while).
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
What is a function? Explain parameters, return types, and function calls.
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
What is an array? How do you traverse, search, and perform basic operations?
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
What are common string operations in interviews (length, reverse, compare, concatenate)?
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
What is the difference between compile-time and runtime errors?
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
What is variable scope? Explain local, global, and block scope.
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What is pass by value vs pass by reference? How does it differ across languages?
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What is recursion? Explain base case, recursive case, and common examples.
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What is Big O notation? Explain O(1), O(n), O(log n), and O(n²) with examples.
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What are multi-dimensional arrays? How are they stored and accessed?
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What are pointers/references? Why do they matter in languages like C/C++ and Java?
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
How do you dry-run a program and debug logic errors in an interview?
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What is the difference between stack and heap memory?
Hard · Fresher, Fundamentals, Programming Fundamentals
- View
Explain basic bit manipulation: AND, OR, XOR, left/right shift with use cases.
Hard · Fresher, Fundamentals, Programming Fundamentals
- View
What is implicit vs explicit type conversion? Give examples that cause bugs in interviews.
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
How do stdin/stdout and file I/O work at a high level in any language?
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
What is the difference between ASCII and Unicode? Why does encoding matter?
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What is exception handling? Compare try/catch/finally across Java and Python.
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What is space complexity? How do auxiliary space and input space differ?
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
What is garbage collection? How do reference counting and mark-and-sweep differ?
Hard · Fresher, Fundamentals, Programming Fundamentals
- View
What are literals, constants, and magic numbers? Why avoid magic numbers?
Easy · Fresher, Fundamentals, Programming Fundamentals
- View
Explain operator precedence and associativity with a tricky expression example.
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
When would you choose a linked list over an array in an interview?
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
Explain hash maps intuitively: key, hash, bucket, collision — without language APIs.
Medium · Fresher, Fundamentals, Programming Fundamentals
- View
Explain the four pillars of OOP with a real-world example.
Easy · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is the difference between a class and an object?
Easy · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is encapsulation? Why use private fields and getters/setters?
Easy · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is inheritance? When is composition preferred over inheritance?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Explain compile-time vs runtime polymorphism with examples.
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is abstraction? How do abstract classes and interfaces differ?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is a constructor? Explain constructor overloading and chaining.
Easy · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What does static mean for variables and methods?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Explain this and super (or self/parent) in OOP languages.
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is method overloading vs overriding?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is an interface? Why use interfaces in backend services?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Give a fresher-friendly overview of SOLID principles.
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is coupling vs cohesion? Why do interviewers care?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Compare Java's static typing with Python's dynamic typing for interviews.
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What are stack frames, references, and object headers in Java (high level)?
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Why are strings often immutable? What problems does mutability cause?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Why must equals() and hashCode() stay consistent in Java?
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What are generics? Why List<String> is safer than raw List?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
When should you use enums instead of strings or integers?
Easy · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What are packages/namespaces and why organize code that way?
Easy · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Name three design patterns freshers should know and when to use them.
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Explain the Factory pattern with a simple API client example.
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is the Singleton pattern and why can it hurt testability?
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
How do you design an immutable class? Why immutability helps concurrency?
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Explain the Liskov Substitution Principle with a violation example.
Hard · Fresher, Fundamentals, OOP & Language Fundamentals
- View
For C/C++ interviews: pointer vs reference vs address-of operator.
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
What is a memory leak? How do GC languages still leak memory?
Medium · Fresher, Fundamentals, OOP & Language Fundamentals
- View
How do naming, parameters, and return types make APIs readable?
Easy · Fresher, Fundamentals, OOP & Language Fundamentals
- View
Write and explain Two Sum — brute force vs hash map approach.
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Reverse an array in-place. What is the time and space complexity?
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Implement binary search. What preconditions must hold?
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
When is linear search acceptable in production systems?
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain bubble sort and selection sort — complexity and when NOT to use them.
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Why is insertion sort useful for small or nearly sorted arrays?
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain merge sort — divide, conquer, merge. Complexity?
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain quick sort pivot choice and average vs worst case.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
What is a stable sort? Which common sorts are stable?
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Reverse a singly linked list iteratively and recursively.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
How do you detect a cycle in a linked list (Floyd)?
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Implement stack push/pop using an array. What is overflow?
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Implement a queue using two stacks — explain amortized cost.
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
Check balanced parentheses using a stack.
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain BFS on a graph — queue, visited set, use cases.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain DFS — recursion, stack, when preferred over BFS.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Compare inorder, preorder, postorder traversals with use cases.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
What is a BST? Search, insert, delete at interview level.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
What is a heap? How does a priority queue help in Top K problems?
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
Count character frequencies with a hash map — anagram detection.
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain the two-pointer technique with a sorted array example.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Solve maximum sum subarray of size k using sliding window.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain Kadane's algorithm for maximum subarray sum.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Fibonacci with recursion, memoization, and bottom-up DP.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Intro to coin change — overlapping subproblems and optimal substructure.
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
When is greedy correct vs when you need dynamic programming?
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
Draw a recursion tree for merge sort or Fibonacci — why it matters.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Solve T(n)=2T(n/2)+n — connect to merge sort analysis.
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
Adjacency matrix vs adjacency list — space/time trade-offs.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Explain Dijkstra's algorithm at a high level (non-negative weights).
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
What is topological sort? Where is it used (build systems, tasks)?
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
What is Union-Find (Disjoint Set)? Connected components use case.
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
Count set bits in an integer — Brian Kernighan's trick.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Check if a number is a power of two using bit manipulation.
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Rotate an array by k steps — juggling or reversal method.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Find missing number in 1..n — sum formula vs XOR approach.
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Find majority element — Boyer-Moore voting intuition.
Hard · Fresher, Fundamentals, Data Structures & Algorithms
- View
Merge overlapping intervals — sort and sweep.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
Compute height of a binary tree — recursive definition.
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
Level-order traversal of a binary tree using a queue.
Medium · Fresher, Fundamentals, Data Structures & Algorithms
- View
How do you communicate time/space complexity clearly in a live coding round?
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
What makes good pseudocode before you write real code?
Easy · Fresher, Fundamentals, Data Structures & Algorithms
- View
What is an Operating System and what are its main functions?
Easy · Fresher, Fundamentals, Operating Systems
- View
What is the difference between a process and a thread?
Easy · Fresher, Fundamentals, Operating Systems
- View
Explain the different states of a process in its lifecycle.
Easy · Fresher, Fundamentals, Operating Systems
- View
What is the difference between user mode and kernel mode?
Easy · Fresher, Fundamentals, Operating Systems
- View
What is a system call? Give a few common examples.
Easy · Fresher, Fundamentals, Operating Systems
- View
What are common CPU scheduling algorithms? Explain FCFS, SJF, and Round Robin.
Medium · Fresher, Fundamentals, Operating Systems
- View
What is a context switch and why is it considered expensive?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is a deadlock? What are the four necessary conditions for it to occur?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is the difference between a mutex and a semaphore?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is virtual memory? How does paging work?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is the difference between paging and segmentation?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is a page fault? What is thrashing and how do you avoid it?
Hard · Fresher, Fundamentals, Operating Systems
- View
What is Inter-Process Communication (IPC)? List common mechanisms.
Medium · Fresher, Fundamentals, Operating Systems
- View
What do fork(), exec(), and wait() do in Unix-like systems?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is a race condition and a critical section? How do you prevent them?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is the difference between preemptive and non-preemptive CPU scheduling?
Medium · Fresher, Fundamentals, Operating Systems
- View
Explain the Producer–Consumer problem and how semaphores solve it.
Hard · Fresher, Fundamentals, Operating Systems
- View
Compare deadlock prevention, avoidance, detection, and recovery.
Hard · Fresher, Fundamentals, Operating Systems
- View
What is the Banker's algorithm and what problem does it solve?
Hard · Fresher, Fundamentals, Operating Systems
- View
What is a file system? Explain inodes, directories, and permissions.
Medium · Fresher, Fundamentals, Operating Systems
- View
What is a Process Control Block (PCB)? What does the OS store in it?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is swapping? When does the OS move pages to disk?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is a TLB? How does it speed up address translation?
Hard · Fresher, Fundamentals, Operating Systems
- View
What is spooling? Printer queue example.
Easy · Fresher, Fundamentals, Operating Systems
- View
What are hardware interrupts vs software interrupts?
Medium · Fresher, Fundamentals, Operating Systems
- View
What is DMA and why does it matter for disk/network throughput?
Hard · Fresher, Fundamentals, Operating Systems
- View
Compare monolithic vs microkernel OS designs.
Hard · Fresher, Fundamentals, Operating Systems
- View
Explain the readers–writers problem and common solutions.
Hard · Fresher, Fundamentals, Operating Systems
- View
What is the dining philosophers problem teaching us about deadlocks?
Hard · Fresher, Fundamentals, Operating Systems
- View
How do ps, top, and kill help you debug a slow Linux server?
Medium · Fresher, Fundamentals, Operating Systems
- View
Explain the 7 layers of the OSI model with the role of each layer.
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between the OSI model and the TCP/IP model?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between TCP and UDP? When would you use each?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between an IP address and a MAC address?
Easy · Fresher, Fundamentals, Computer Networks
- View
What are the main differences between IPv4 and IPv6?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between a public IP and a private IP? What is NAT?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between a router, switch, and hub?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between latency, bandwidth, and throughput?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is a firewall and how does it protect a network?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is a port number? List some well-known ports and their services.
Easy · Fresher, Fundamentals, Computer Networks
- View
What is client–server architecture? How does it differ from peer-to-peer?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is an API? Explain REST APIs at a high level.
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between GET and POST HTTP methods?
Easy · Fresher, Fundamentals, Computer Networks
- View
Explain the TCP 3-way handshake.
Medium · Fresher, Fundamentals, Computer Networks
- View
What is a subnet mask and what does CIDR notation mean?
Medium · Fresher, Fundamentals, Computer Networks
- View
What happens when you type a URL in the browser and press Enter?
Medium · Fresher, Fundamentals, Computer Networks
- View
Explain the TCP 4-way connection termination.
Medium · Fresher, Fundamentals, Computer Networks
- View
What is the difference between HTTP and HTTPS?
Easy · Fresher, Fundamentals, Computer Networks
- View
List the common HTTP methods and explain when each is used.
Easy · Fresher, Fundamentals, Computer Networks
- View
What are HTTP status code classes (1xx–5xx)? Give a common example of each.
Easy · Fresher, Fundamentals, Computer Networks
- View
What is DNS and how does DNS resolution work?
Medium · Fresher, Fundamentals, Computer Networks
- View
What is DHCP and how does it assign IP addresses (DORA)?
Medium · Fresher, Fundamentals, Computer Networks
- View
What is ARP (Address Resolution Protocol) and why is it needed?
Medium · Fresher, Fundamentals, Computer Networks
- View
What is ICMP? How do ping and traceroute use it?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between SSH and Telnet? Why prefer SSH?
Easy · Fresher, Fundamentals, Computer Networks
- View
What is the difference between FTP, SFTP, and FTPS?
Easy · Fresher, Fundamentals, Computer Networks
- View
What are the core principles of a REST API?
Medium · Fresher, Fundamentals, Computer Networks
- View
What is the difference between cookies and sessions?
Medium · Fresher, Fundamentals, Computer Networks
- View
What is CORS and why does it exist?
Medium · Fresher, Fundamentals, Computer Networks
- View
How does the SSL/TLS handshake work at a high level?
Hard · Fresher, Fundamentals, Computer Networks
- View
What are the key differences between HTTP/1.1 and HTTP/2?
Hard · Fresher, Fundamentals, Computer Networks
- View
What is a WebSocket and how is it different from HTTP?
Hard · Fresher, Fundamentals, Computer Networks
- View
What is load balancing? Explain common strategies.
Hard · Fresher, Fundamentals, Computer Networks
- View
What is a CDN and how does it improve performance?
Hard · Fresher, Fundamentals, Computer Networks
- View
What is a reverse proxy? How does it differ from a forward proxy?
Hard · Fresher, Fundamentals, Computer Networks
- View
What is TCP sliding window flow control?
Hard · Fresher, Fundamentals, Computer Networks
- View
What is TCP congestion control (slow start, congestion avoidance)?
Hard · Fresher, Fundamentals, Computer Networks
- View
Name three real systems that use UDP and why.
Easy · Fresher, Fundamentals, Computer Networks
- View
What is QUIC / HTTP/3 and what problem does it solve?
Hard · Fresher, Fundamentals, Computer Networks
- View
What is a VPN? How does tunneling work at a high level?
Medium · Fresher, Fundamentals, Computer Networks
- View
What is an SSL/TLS certificate chain? Role of CA?
Medium · Fresher, Fundamentals, Computer Networks
- View
What is an API gateway vs a load balancer?
Medium · Fresher, Fundamentals, Computer Networks
- View
Why do PUT/DELETE need idempotency but POST often does not?
Medium · Fresher, Fundamentals, Computer Networks
- View
Explain Cache-Control, ETag, and conditional GET.
Hard · Fresher, Fundamentals, Computer Networks
- View
When would you pick gRPC over REST for fresher projects?
Hard · Fresher, Fundamentals, Computer Networks
- View
Give two product features that need WebSockets instead of polling.
Medium · Fresher, Fundamentals, Computer Networks
- View
What is a DBMS? How is it different from a plain file?
Easy · Fresher, Fundamentals, Database Fundamentals
- View
What is an RDBMS? Name popular engines.
Easy · Fresher, Fundamentals, Database Fundamentals
- View
Explain tables, rows, columns, and schemas with an example.
Easy · Fresher, Fundamentals, Database Fundamentals
- View
What is a primary key? Natural vs surrogate keys.
Easy · Fresher, Fundamentals, Database Fundamentals
- View
What is a foreign key? How does referential integrity work?
Easy · Fresher, Fundamentals, Database Fundamentals
- View
Explain 1NF with a violation example.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
Explain 2NF and 3NF — why normalize?
Medium · Fresher, Fundamentals, Database Fundamentals
- View
When is denormalization acceptable for performance?
Hard · Fresher, Fundamentals, Database Fundamentals
- View
Write SELECT with WHERE, ORDER BY, LIMIT — interview habits.
Easy · Fresher, Fundamentals, Database Fundamentals
- View
Explain INNER JOIN with a two-table example.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
Difference between LEFT, RIGHT, and FULL OUTER JOIN?
Medium · Fresher, Fundamentals, Database Fundamentals
- View
GROUP BY vs HAVING — filter rows vs filter groups.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
COUNT vs COUNT(*) vs COUNT(column) — NULL behavior.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
When use subquery vs JOIN?
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What is a database index? B-tree intuition.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
When can an index hurt performance?
Hard · Fresher, Fundamentals, Database Fundamentals
- View
Explain ACID properties with a bank transfer example.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
Name SQL isolation levels and the anomalies they prevent.
Hard · Fresher, Fundamentals, Database Fundamentals
- View
What is a database deadlock? How does the DB detect it?
Hard · Fresher, Fundamentals, Database Fundamentals
- View
Explain CAP theorem at fresher level — pick two.
Hard · Fresher, Fundamentals, Database Fundamentals
- View
SQL vs NoSQL — decision checklist for campus projects.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What is a document in MongoDB vs a row in SQL?
Easy · Fresher, Fundamentals, Database Fundamentals
- View
How is Redis used as a cache in front of a database?
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What is a connection pool and why not open a new connection per request?
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What is an ORM? Benefits and pitfalls for freshers.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What is a schema migration? Why version database changes?
Medium · Fresher, Fundamentals, Database Fundamentals
- View
How do you draw an ER diagram for a college placement system?
Easy · Fresher, Fundamentals, Database Fundamentals
- View
Model one-to-many and many-to-many relationships in SQL.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What is a SQL VIEW? When use it?
Easy · Fresher, Fundamentals, Database Fundamentals
- View
What are stored procedures? Pros and cons.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What does EXPLAIN do? How read a simple query plan.
Hard · Fresher, Fundamentals, Database Fundamentals
- View
Backup types: full, incremental — RPO/RTO in one sentence each.
Medium · Fresher, Fundamentals, Database Fundamentals
- View
What is a read replica? Eventual consistency caveat.
Hard · Fresher, Fundamentals, Database Fundamentals
- View
What is sharding? Horizontal vs vertical split.
Hard · Fresher, Fundamentals, Database Fundamentals
- View
Explain HTML document structure and essential tags used in web pages.
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
What is the CSS box model? Explain margin, border, padding, and content.
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
What are JavaScript fundamentals every fresher should know?
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
What is the DOM? How do events like click and submit work?
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
What is the difference between frontend and backend development?
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
What are essential Git commands and the basic workflow?
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
How do CSS Flexbox and media queries enable responsive layouts?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
Explain map, filter, and reduce with simple JavaScript examples.
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What is the JavaScript event loop? Explain call stack and callback queue.
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What are Promises, async, and await? How do they handle asynchronous code?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
How do you make HTTP requests from the browser using the Fetch API?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What are React components, props, and state? Explain with a simple example.
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
How do Git branches, merge, and pull requests work in team projects?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What is the difference between localStorage and sessionStorage?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What is the same-origin policy in browsers?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
How does JWT authentication work? Explain access tokens at a high level.
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
Compare session-based vs token-based authentication. When would you use each?
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
What is the difference between Server-Side Rendering (SSR) and Client-Side Rendering (CSR)?
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
How does CORS affect a full-stack app (e.g., React on :3000, API on :8080)?
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
What are common web performance optimizations for fresher-level apps?
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
Walk through a complete login flow: form → API → DB → token/session → protected route.
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
Break down an HTTP request: method, headers, body.
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
REST URL naming conventions — nouns, pluralization, nesting.
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
Difference between HTTP 401 Unauthorized and 403 Forbidden?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
Explain MVC — how does it map to Spring/React apps?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What is a three-tier architecture (presentation, business, data)?
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
Why do mentors say start with a monolith before microservices?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What are environment variables? Never commit secrets — how?
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
How does Docker help you ship a web app consistently?
Medium · Fresher, Fundamentals, Web & Full-Stack
- View
What is npm or Maven? Role of package managers.
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
What is CSRF and how do cookies + tokens mitigate it?
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
What is XSS? Encode output vs sanitize input.
Hard · Fresher, Fundamentals, Web & Full-Stack
- View
Why serve APIs over HTTPS even in campus projects?
Easy · Fresher, Fundamentals, Web & Full-Stack
- View
What is cloud computing? IaaS vs PaaS vs SaaS with examples.
Easy · Fresher, Fundamentals, Cloud Basics
- View
Explain the shared responsibility model on AWS.
Medium · Fresher, Fundamentals, Cloud Basics
- View
What are regions and availability zones?
Easy · Fresher, Fundamentals, Cloud Basics
- View
What is a virtual machine / EC2 instance for freshers?
Easy · Fresher, Fundamentals, Cloud Basics
- View
What is object storage (S3)? Buckets, keys, durability.
Easy · Fresher, Fundamentals, Cloud Basics
- View
How does a cloud load balancer differ from hardware LB?
Medium · Fresher, Fundamentals, Cloud Basics
- View
What is auto-scaling? Horizontal vs vertical scaling.
Medium · Fresher, Fundamentals, Cloud Basics
- View
Why use a managed database (RDS) instead of DB on EC2?
Medium · Fresher, Fundamentals, Cloud Basics
- View
What is serverless / AWS Lambda? Event-driven example.
Medium · Fresher, Fundamentals, Cloud Basics
- View
What is IAM? Users, roles, policies in one minute.
Medium · Fresher, Fundamentals, Cloud Basics
- View
What is a VPC? Public vs private subnets.
Hard · Fresher, Fundamentals, Cloud Basics
- View
How does Route 53 or cloud DNS map domain to load balancer?
Medium · Fresher, Fundamentals, Cloud Basics
- View
How does CloudFront CDN cache static assets?
Medium · Fresher, Fundamentals, Cloud Basics
- View
Containers vs VMs — what runs on the host?
Medium · Fresher, Fundamentals, Cloud Basics
- View
Why Kubernetes if Docker already packages apps?
Hard · Fresher, Fundamentals, Cloud Basics
- View
What is CI/CD in the cloud? GitHub Actions → deploy flow.
Medium · Fresher, Fundamentals, Cloud Basics
- View
Logs, metrics, traces — the three pillars on cloud apps.
Medium · Fresher, Fundamentals, Cloud Basics
- View
Cloud cost basics: pay-as-you-go, idle resources, tagging.
Easy · Fresher, Fundamentals, Cloud Basics
- View
AWS vs Azure vs GCP — what stays the same conceptually?
Easy · Fresher, Fundamentals, Cloud Basics
- View
Multi-AZ vs multi-region disaster recovery — fresher view.
Hard · Fresher, Fundamentals, Cloud Basics
- View
What is machine learning vs rule-based software?
Easy · Fresher, Fundamentals, AI & Machine Learning Basics
- View
Supervised vs unsupervised learning — examples of each.
Easy · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is model training vs inference?
Easy · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is overfitting? Train/validation/test split.
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is a feature? Simple feature engineering example.
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
Explain linear regression intuitively — line of best fit.
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is classification? Email spam example.
Easy · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is a neural network at a high level (layers, weights)?
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is a Large Language Model? Tokens and context window.
Easy · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is prompt engineering for developers (not researchers)?
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is RAG and why pair LLMs with your own documents?
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is hallucination in LLMs? How reduce it in apps?
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is model bias? Why it matters in hiring/finance products.
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What is MLOps? Version models like you version code.
Hard · Fresher, Fundamentals, AI & Machine Learning Basics
- View
Typical backend flow: client → your API → LLM provider.
Medium · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What are embeddings? Search by meaning example.
Hard · Fresher, Fundamentals, AI & Machine Learning Basics
- View
When should you NOT use ML/AI for a fresher project?
Easy · Fresher, Fundamentals, AI & Machine Learning Basics
- View
What are SDLC phases? Waterfall vs Agile one-liner each.
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
Explain Scrum roles, sprint, and daily standup.
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
What is a user story? Acceptance criteria example.
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
How write a good commit message?
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
Git merge vs rebase — when to use which?
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
How resolve a merge conflict step by step?
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
What do reviewers look for in a fresher's pull request?
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
What is a unit test? AAA pattern (Arrange, Act, Assert).
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
Unit vs integration vs end-to-end tests.
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
What is Test-Driven Development at a high level?
Hard · Fresher, Fundamentals, Software Engineering & Tools
- View
What runs in a typical CI pipeline on every push?
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
Why log at INFO/WARN/ERROR? Structured logging basics.
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
How reproduce a bug: logs, steps, minimal test case.
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
Name five clean code habits interviewers reward.
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
DRY, KISS, YAGNI — explain with examples.
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
What is an API contract? OpenAPI/Swagger role.
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
What is semantic versioning MAJOR.MINOR.PATCH?
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
What is technical debt? When is it acceptable?
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
Functional vs non-functional requirements — give examples.
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
How estimate a small feature in hours/story points?
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
What happens during on-call for a junior engineer?
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
What does shift-left security mean for developers?
Medium · Fresher, Fundamentals, Software Engineering & Tools
- View
What belongs in README vs wiki vs code comments?
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
STAR method for behavioral questions — quick template.
Easy · Fresher, Fundamentals, Software Engineering & Tools
- View
What is pair programming and mob programming? Pros for freshers.
Easy · Fresher, Fundamentals, Software Engineering & Tools