Computer Science MCQs with Answers
- Best For students
- 1 Hrs
Get prepared for competitive exams, scholarship tests, job interviews, and academic assessments with our Computer Science MCQs. These cover key topics such as programming, networking, databases, operating systems, software engineering, and computer fundamentals. Perfect for CSS, PMS, FPSC, PPSC, NTS, ISSB, and other test preparations.
Who is known as the father of computers?
(A) Charles Babbage
(B) Alan Turing
(C) John Von Neumann
(D) Blaise Pascal
Answer: (A) Charles Babbage
Which language is known as the "mother of all programming languages"?
(A) Java
(B) FORTRAN
(C) C
(D) COBOL
Answer: (B) FORTRAN
The primary memory of a computer is also known as:
(A) Hard Disk
(B) RAM
(C) Cache
(D) ROM
Answer: (B) RAM
Which of the following is not an operating system?
(A) Windows
(B) Linux
(C) Oracle
(D) macOS
Answer: (C) Oracle
The smallest unit of data in a computer is:
(A) Byte
(B) Bit
(C) Nibble
(D) Word
Answer: (B) Bit
Which data structure uses FIFO (First In First Out)?
A) Stack
(B) Queue
(C) Array
(D) Tree
Answer: (B) Queue
IP address in IPv4 consists of:
(A) 32 bits
(B) 64 bits
(C) 128 bits
(D) 16 bits
Answer: (A) 32 bits
Which of the following is a relational database management system?
(A) MySQL
(B) MongoDB
(C) Redis
(D) Neo4j
Answer: (A) MySQL
The term "bug" in computers was first used by:
(A) Alan Turing
(B) Grace Hopper
(C) John McCarthy
(D) Bill Gates
Answer: (B) Grace Hopper
Which of the following is a volatile memory?
(A) ROM
(B) Hard Disk
(C) RAM
(D) CD-ROM
Answer: (C) RAM
Which company developed the first microprocessor?
(A) Intel
(B) AMD
(C) IBM
(D) Microsoft
Answer: (A) Int
The shortcut key "Ctrl + Z" is used for:
(A) Redo
(B) Undo
(C) Save
(D) Paste
Answer: (B) Undo
Which of the following is a programming paradigm?
(A) Object-Oriented
(B) Functional
(C) Procedural
(D) All of the above
Answer: (D) All of the above
Machine language is written in:
(A) Assembly
(B) Binary
(C) High-level code
(D) Pseudocode
Answer: (B) Binary
Which layer of the OSI model is responsible for error detection?
(A) Data Link Layer
(B) Network Layer
(C) Transport Layer
(D) Application Layer
Answer: (A) Data Link Layer
Which key is used to refresh a webpage in most browsers?
(A) F1
(B) F5
(C) F11
(D) Esc
Answer: (B) F5
The speed of a CPU is measured in:
(A) Bytes
(B) Hertz
(C) Megapixels
(D) RPM
Answer: (B) Hertz
In databases, SQL stands for:
(A) Structured Question Language
(B) Sequential Query Language
(C) Structured Query Language
(D) Systematic Query Language
Answer: (C) Structured Query Language
Which of the following is not a programming language?
(A) Python
(B) Java
(C) HTML
(D) C++
Answer: (C) HTML
Which one is the fastest memory?
(A) Cache
(B) RAM
(C) Hard Disk
(D) Pen Drive
Answer: (A) Cache
The process of converting source code into machine code is called:
(A) Interpretation
(B) Compilation
(C) Execution
(D) Debugging
Answer: (B) Compilation
Which of these is an example of system software?
(A) Browser
(B) Compiler
(C) Word Processor
(D) Spreadsheet
Answer: (B) Compiler
What is the extension of a Java compiled file?
(A) .java
(B) .js
(C) .class
(D) .exe
Answer: (C) .class
DNS stands for:
(A) Domain Name System
(B) Digital Network Service
(C) Data Number System
(D) Dynamic Naming Server
Answer: (A) Domain Name System
Which of these is not an input device?
(A) Keyboard
(B) Monitor
(C) Scanner
(D) Mouse
Answer: (B) Monitor
BIOS stands for:
(A) Basic Input Output System
(B) Binary Input Output Service
(C) Basic Integrated Operating System
(D) Bus Input Output System
Answer: (A) Basic Input Output System
Firewall in a computer is used for:
(A) Protecting from viruses
(B) Security against unauthorized access
(C) File backup
(D) Software updates
Answer: (B) Security against unauthorized access
The first search engine on the internet was:
(A) Google
(B) Yahoo
(C) Archie
(D) Bing
Answer: (C) Archie
ASCII stands for:
(A) American Standard Code for Information Interchange
(B) Advanced System Code for Internet Interaction
(C) Application Standard Code for Information Input
(D) None of the above
Answer: (A) American Standard Code for Information Interchange
Which of the following is an example of an open-source operating system?
(A) Windows
(B) Linux
(C) macOS
(D) iOS
Answer: (B) Linux
Which one is the shortcut for "Paste"?
(A) Ctrl + P
(B) Ctrl + C
(C) Ctrl + V
(D) Ctrl + X
Answer: (C) Ctrl + V
In computer networks, FTP stands for:
(A) File Transfer Protocol
(B) Fast Transmission Process
(C) File Tracking Program
(D) Folder Transfer Process
Answer: (A) File Transfer Protocol
The first computer virus was created in:
(A) 1986
(B) 1990
(C) 1975
(D) 1981
Answer: (A) 1986
In C programming, which symbol is used to terminate a statement?
(A) :
(B) ;
(C) .
(D) ,
Answer: (B) ;
Which component processes instructions in a computer?
(A) RAM
(B) CPU
(C) Hard Disk
(D) Motherboard
Answer: (B) CPU
Which of these is not an example of cloud computing?
(A) Google Drive
(B) Dropbox
(C) Microsoft Word (Offline)
(D) iCloud
Answer: (C) Microsoft Word (Offline)
The maximum number of characters in an IPv6 address is:
(A) 16
(B) 32
(C) 128
(D) 39
Answer: (D) 39
The device that converts digital signals to analog and vice versa is:
(A) Router
(B) Switch
(C) Modem
(D) Hub
Answer: (C) Modem
Which one is the shortcut for "Select All"?
(A) Ctrl + S
(B) Ctrl + A
(C) Ctrl + Shift + A
(D) Ctrl + E
Answer: (B) Ctrl + A
Which one is an example of an interpreted language?
(A) C++
(B) Java
(C) Python
(D) Assembly
Answer: (C) Python
Which generation of computers used vacuum tubes?
(A) First
(B) Second
(C) Third
(D) Fourth
Answer: (A) First
The term GUI stands for:
(A) Graphical User Interface
(B) General User Interaction
(C) Graphical Utility Interface
(D) General Utility Input
Answer: (A) Graphical User Interface
In networking, TCP stands for:
(A) Transfer Control Protocol
(B) Transmission Control Protocol
(C) Technical Communication Protocol
(D) Terminal Control Protocol
Answer: (B) Transmission Control Protocol
In C language, which function is used to print output?
(A) printf()
(B) echo()
(C) cout<<
(D) write()
Answer: (A) printf()
The term URL stands for:
(A) Universal Resource Locator
(B) Uniform Resource Locator
(C) Unified Reference Link
(D) Uniform Reference Locator
Answer: (B) Uniform Resource Locator
What does IP in IP Address stand for?
(A) Internal Protocol
(B) Internet Protocol
(C) Interconnected Program
(D) International Packet
Answer: (B) Internet Protocol
Which one is not a search engine?
(A) Google
(B) Bing
(C) Opera
(D) DuckDuckGo
Answer: (C) Opera
What is the full form of PDF?
(A) Portable Document Format
(B) Program Data File
(C) Process Document File
(D) Printable Data Format
Answer: (A) Portable Document Format
Which data structure works on LIFO (Last In First Out)?
(B) Stack
(C) Array
(D) Linked List
Answer: (B) Stack
Which shortcut is used to find a word in a document or browser?
(A) Ctrl + H
(B) Ctrl + F
(C) Ctrl + D
(D) Ctrl + L
Answer: (B) Ctrl + F
