240 PRACTICE QUESTIONS

Information Technology Mock Interview Questions & Practice

Prepare for Information Technology placement and job interviews with 240 technical practice questions across 8 subjects: Web Technologies, Software Engineering, Information & Cyber Security, Data Structures & Algorithms, Operating Systems, Database Management Systems, Computer Networks and Object-Oriented Programming. Below are sample Information Technology interview questions with the key points a strong answer covers. Practice them out loud in a scored mock interview — your first session is free.

Subjects covered in the Information Technology mock interview

Web Technologies

  • HTML, CSS & Client-Side Fundamentals
  • JavaScript & the DOM
  • Web Architecture & APIs

Software Engineering

  • SDLC Models & Requirements
  • Software Testing & Quality
  • Version Control & Agile Practices

Information & Cyber Security

  • Security Fundamentals & Threats
  • Cryptography Basics
  • Web & Application Security

Data Structures & Algorithms

Shared with Computer Science Engineering

  • Arrays & Strings
  • Linked Lists & Trees
  • Sorting, Searching & Complexity

Operating Systems

Shared with Computer Science Engineering

  • Process & Thread Management
  • Memory Management
  • Concurrency & Synchronization

Database Management Systems

Shared with Computer Science Engineering

  • Relational Model & SQL
  • Normalization & Schema Design
  • Transactions & Indexing

Computer Networks

Shared with Computer Science Engineering

  • Networking Fundamentals & OSI Model
  • TCP/IP & Routing
  • Application Layer Protocols & Security

Object-Oriented Programming

Shared with Computer Science Engineering

  • Core OOP Principles
  • Design Patterns
  • Inheritance, Polymorphism & SOLID

Sample Information Technology interview questions

A selection from the Information Technology question bank. In a MockManthan session the interviewer asks each question aloud and you answer on camera — these key points show what a complete answer should include.

Web Technologies interview questions

  1. What is the difference between CSS Flexbox and CSS Grid, and when would you use each?

    HTML, CSS & Client-Side Fundamentals

    Key points to cover:

    • Flexbox is one-dimensional (row or column) layout
    • Grid is two-dimensional (rows and columns simultaneously)
    • Flexbox suits component-level alignment, Grid suits overall page layout
  2. What is the difference between synchronous and asynchronous JavaScript code?

    JavaScript & the DOM

    Key points to cover:

    • Synchronous code executes line by line, blocking further execution
    • Asynchronous code lets other code run while waiting for an operation
    • Mentions callbacks/promises/async-await as mechanisms
  3. What is the difference between a GET request and a POST request in the context of a REST API?

    Web Architecture & APIs

    Key points to cover:

    • GET retrieves a resource without side effects, typically cacheable
    • POST creates/submits data
    • POST typically has side effects on the server

Software Engineering interview questions

  1. What is the purpose of a Software Requirements Specification (SRS) document?

    SDLC Models & Requirements

    Key points to cover:

    • Formally documents functional and non-functional requirements
    • Agreed upon with stakeholders
    • Serves as a reference throughout development and validation
  2. What is regression testing, and when is it performed?

    Software Testing & Quality

    Key points to cover:

    • Re-running existing tests after a code change
    • Ensures previously working functionality still works
    • Performed after bug fixes, new features, or refactors
  3. What is the difference between a Git merge and a Git rebase?

    Version Control & Agile Practices

    Key points to cover:

    • Merge combines two branches via a new merge commit
    • Merge preserves both histories
    • Rebase replays commits on top of another branch, producing a linear history

Information & Cyber Security interview questions

  1. What is the difference between authentication and authorization in a security context?

    Security Fundamentals & Threats

    Key points to cover:

    • Authentication verifies identity (who you are)
    • Authorization determines what an authenticated identity is permitted to do
    • Notes the two are checked at different stages of a request
  2. What is the difference between symmetric and asymmetric encryption?

    Cryptography Basics

    Key points to cover:

    • Symmetric uses the same key for encryption and decryption, fast
    • Asymmetric uses a public/private key pair
    • Asymmetric avoids needing to share a secret key, but is slower
  3. What is Cross-Site Request Forgery (CSRF), and how does it differ from XSS?

    Web & Application Security

    Key points to cover:

    • Tricks a logged-in user's browser into submitting an unwanted request
    • To a site they're authenticated with
    • Unlike XSS, doesn't inject/execute attacker script in the victim's browser

Data Structures & Algorithms interview questions

  1. Explain how you would detect if two strings are anagrams of each other.

    Arrays & Strings

    Key points to cover:

    • Character frequency count comparison
    • Sorting approach as an alternative, O(n log n)
    • Discusses the time/space trade-off between the two approaches
  2. How would you find the lowest common ancestor of two nodes in a binary search tree?

    Linked Lists & Trees

    Key points to cover:

    • Uses the BST property while traversing from the root
    • States O(h) time complexity
    • Contrasts with general binary-tree LCA needing a full traversal
  3. How does quicksort's pivot selection affect its performance?

    Sorting, Searching & Complexity

    Key points to cover:

    • Poor pivot choice (e.g. first element on sorted input) degrades to O(n^2)
    • Randomized or median-of-three pivot selection helps avoid the worst case
    • Connects pivot quality to partition balance

Operating Systems interview questions

  1. Explain the difference between multithreading and multiprocessing.

    Process & Thread Management

    Key points to cover:

    • Multithreading shares memory within one process, lower overhead
    • Needs synchronization to avoid shared-state issues
    • Multiprocessing uses separate memory spaces, higher isolation and overhead
  2. Compare paging and segmentation as memory management schemes.

    Memory Management

    Key points to cover:

    • Paging uses fixed-size units, transparent to the programmer
    • Segmentation uses variable-size logical units (code/data/stack)
    • Notes segmentation can suffer external fragmentation
  3. How does a condition variable work, and what problem does it solve?

    Concurrency & Synchronization

    Key points to cover:

    • Lets a thread wait/block until a specific condition becomes true
    • Signaled by another thread
    • Solves busy-waiting inefficiency compared to polling a flag

Database Management Systems interview questions

  1. What is a subquery, and give an example of when you'd use one.

    Relational Model & SQL

    Key points to cover:

    • A query nested inside another query
    • Useful for filtering based on an aggregate or related table result
    • Gives a concrete example (e.g. rows above a subquery-computed average)
  2. Explain Third Normal Form (3NF) and what problem it solves.

    Normalization & Schema Design

    Key points to cover:

    • 2NF plus no transitive dependency
    • Non-key columns must depend only on the primary key
    • Removes redundancy caused by indirect (transitive) dependencies
  3. Explain the difference between the READ COMMITTED and REPEATABLE READ isolation levels.

    Transactions & Indexing

    Key points to cover:

    • READ COMMITTED prevents dirty reads
    • READ COMMITTED still allows non-repeatable reads within a transaction
    • REPEATABLE READ additionally prevents non-repeatable reads

How to practice Information Technology interview questions on MockManthan

  1. Create a free account and complete a quick camera, microphone and face calibration.
  2. Pick the Information Technology subject, chapter and topic you want to practice.
  3. Answer each question out loud to the animated interviewer, then review your scored report — Confidence, Professionalism, Eye Contact and Body Language — with a clickable video timeline.

Mock interview questions for other engineering branches