CS Fundamentals
Top interview questions on computer fundamentals with clear, concise answers. Perfect for exam preparation and job interviews.
Introduction
Whether you're preparing for a university viva, a technical interview, or a competitive exam, these questions cover the most commonly asked topics in computer fundamentals. Each answer is concise but complete — perfect for quick revision.
Basic Concepts
Q: What is a computer? A computer is an electronic device that accepts data as input, processes it according to stored instructions, and produces meaningful output. It can store data for later use.
Q: What is the difference between data and information? Data is raw, unprocessed facts (numbers, text). Information is processed, organized data that has meaning and context. Computers convert data into information.
Q: What are the main components of a computer? Five components: Input Unit, Central Processing Unit (CPU with ALU and CU), Memory Unit (RAM/ROM), Storage Unit (HDD/SSD), and Output Unit.
Q: What is the CPU and what are its parts? The CPU (Central Processing Unit) is the brain of the computer. It has three parts: ALU (performs arithmetic and logic), Control Unit (coordinates operations), and Registers (ultra-fast temporary storage).
Q: Explain the difference between RAM and ROM. RAM (Random Access Memory) is volatile (loses data on power-off), read-write, and stores active programs. ROM (Read Only Memory) is non-volatile, primarily read-only, and stores boot instructions (BIOS).
Hardware Questions
Q: What is the difference between primary and secondary memory? Primary memory (RAM/ROM) is directly accessible by the CPU, fast, volatile (RAM), and limited in size. Secondary memory (HDD/SSD) is permanent, larger, cheaper, but slower and not directly accessible by CPU.
Q: What is cache memory? Cache is ultra-fast memory between CPU and RAM that stores frequently accessed data. It reduces the time CPU spends waiting for data from slower RAM. Levels: L1 (fastest, smallest), L2, L3 (largest, shared).
Q: Name five input devices and five output devices. Input: Keyboard, mouse, scanner, microphone, webcam. Output: Monitor, printer, speakers, projector, headphones.
Software Questions
Q: What is the difference between system software and application software? System software manages the computer itself (OS, drivers, utilities). Application software helps users perform specific tasks (Word, Chrome, games).
Q: What is an operating system? Name its functions. An OS is system software that manages hardware resources and provides a platform for applications. Functions: process management, memory management, file management, device management, security, user interface.
Q: What is the difference between compiler and interpreter? A compiler translates the entire program into machine code before execution (produces an executable). An interpreter translates and executes code line by line during runtime (no separate executable produced).
Number Systems
Q: Why do computers use binary? Computers use binary because electronic circuits have two reliable states: ON (1) and OFF (0). This makes hardware simple, reliable, and fast.
Q: Convert 25 decimal to binary. 25 ÷ 2 = 12 R1, 12 ÷ 2 = 6 R0, 6 ÷ 2 = 3 R0, 3 ÷ 2 = 1 R1, 1 ÷ 2 = 0 R1. Answer: 11001
Q: What is hexadecimal and why is it used? Hexadecimal is base-16 (digits 0-9, A-F). It's used because each hex digit represents exactly 4 binary bits, making it a compact way to represent binary data (memory addresses, colors, error codes).
Networking
Q: What is a computer network? A computer network is two or more computers connected together to share resources (files, printers, internet) and communicate.
Q: What is the difference between LAN and WAN? LAN (Local Area Network) covers a small area (building/campus), is fast, and privately owned. WAN (Wide Area Network) covers large areas (cities/countries), is slower, and often uses public infrastructure. The Internet is the largest WAN.
Q: What is an IP address? An IP address is a unique numerical label assigned to every device on a network, used for identification and data delivery. IPv4 format: 192.168.1.1 (four numbers 0-255).
Key Takeaways
- Focus on understanding concepts, not memorizing word-for-word answers
- Use examples to illustrate your answers in interviews
- Practice explaining concepts simply — if you can teach it, you understand it
- Review regularly rather than cramming before exams
Operating System Questions
Q: What is an operating system? An operating system (OS) is system software that manages hardware resources and provides services to application programs. It acts as an intermediary between users and computer hardware, handling tasks like memory management, process scheduling, file management, and device control. Examples include Windows, Linux, and macOS.
Q: What is the difference between multitasking and multiprocessing? Multitasking means running multiple processes on a single CPU by rapidly switching between them (time-sharing). Multiprocessing uses multiple CPUs/cores to execute processes truly simultaneously. Modern computers use both — multiple cores each running multiple tasks via time-sharing.
Q: What is virtual memory? Virtual memory is a memory management technique that uses disk space to extend available RAM. When physical RAM is full, less-used pages are moved to disk (swap space). This gives programs the illusion of having more memory than physically available, though disk access is much slower than RAM.
Database and File System Questions
Q: What is the difference between a file and a folder? A file is a named collection of related data stored on disk (document, image, program). A folder (directory) is a container that organizes files and other folders into a hierarchical structure. Think of files as documents and folders as filing cabinet drawers.
Q: What is a database? A database is an organized collection of structured data stored electronically, designed for efficient retrieval, modification, and management. Unlike simple files, databases support concurrent access, data integrity constraints, backup/recovery, and powerful query languages like SQL.
Q: What is cloud computing? Cloud computing delivers computing services (servers, storage, databases, networking, software) over the internet. Instead of owning physical hardware, you rent resources from providers like AWS, Azure, or Google Cloud. Benefits include scalability, cost-effectiveness, and global accessibility.
Practical Tips for Interview Success
- Structure your answers: Start with a definition, explain the concept, then give an example
- Use analogies: Compare technical concepts to everyday things (CPU is like a brain, RAM is like a desk)
- Mention trade-offs: Show depth by discussing advantages AND disadvantages
- Stay updated: Know current trends like cloud computing, AI, and cybersecurity basics
- Practice whiteboard explanations: Draw diagrams for hardware architecture and data flow
Exam Focus
Revise definitions, diagrams, examples, and short-answer points for Computer Fundamentals Interview Questions.
Interview Use
Prepare one clear explanation, one practical example, and one common mistake for this Computer Fundamentals topic.
Search Terms
computer-fundamentals, computer fundamentals, computer, fundamentals, interview, preparation, questions, computer fundamentals interview questions
Related Computer Fundamentals Topics