What is the full form of CPU?
a) Central Processing Unit
b) Central Program Unit
c) Computer Processing Unit
d) Computer Program Unit
Answer: a) Central Processing Unit
Which of the following is NOT an input device?
a) Keyboard
b) Mouse
c) Printer
d) Scanner
Answer: c) Printer
What is the primary function of RAM?
a) Permanent storage
b) Temporary storage
c) Processing data
d) Displaying output
Answer: b) Temporary storage
Which of the following is a volatile memory?
a) ROM
b) RAM
c) Hard Disk
d) SSD
Answer: b) RAM
What is the binary equivalent of the decimal number 10?
a) 1010
b) 1001
c) 1100
d) 1111
Answer: a) 1010
Which of the following is an open-source operating system?
a) Windows
b) macOS
c) Linux
d) iOS
Answer: c) Linux
What is the main function of an operating system?
a) Manage hardware resources
b) Run applications
c) Provide a user interface
d) All of the above
Answer: d) All of the above
Which operating system is developed by Apple?
a) Windows
b) Linux
c) macOS
d) Android
Answer: c) macOS
What is the extension of a batch file in Windows?
a) .exe
b) .bat
c) .txt
d) .cmd
Answer: b) .bat
Which of the following is NOT a mobile operating system?
a) Android
b) iOS
c) Windows Phone
d) Linux Mint
Answer: d) Linux Mint
What is the output of print(5 + 3 * 2)
in Python?
a) 16
b) 11
c) 10
d) 13
Answer: b) 11
Which language is used for web development?
a) Java
b) HTML
c) C++
d) Python
Answer: b) HTML
What is the extension of a Python file?
a) .java
b) .py
c) .cpp
d) .html
Answer: b) .py
Which of the following is a compiled language?
a) Python
b) Java
c) C++
d) JavaScript
Answer: c) C++
What does IDE stand for?
a) Integrated Development Environment
b) Internal Development Environment
c) Integrated Design Environment
d) Internal Design Environment
Answer: a) Integrated Development Environment
What is the full form of LAN?
a) Local Area Network
b) Large Area Network
c) Logical Area Network
d) Linear Area Network
Answer: a) Local Area Network
Which device is used to connect multiple computers in a network?
a) Router
b) Switch
c) Modem
d) Hub
Answer: b) Switch
What is the default IP address for localhost?
a) 192.168.1.1
b) 127.0.0.1
c) 10.0.0.1
d) 172.16.0.1
Answer: b) 127.0.0.1
Which protocol is used for sending emails?
a) HTTP
b) FTP
c) SMTP
d) TCP
Answer: c) SMTP
What is the full form of DNS?
a) Domain Name System
b) Data Name System
c) Dynamic Name System
d) Domain Network System
Answer: a) Domain Name System
What is the full form of SQL?
a) Structured Query Language
b) Simple Query Language
c) Standard Query Language
d) Sequential Query Language
Answer: a) Structured Query Language
Which of the following is NOT a relational database?
a) MySQL
b) Oracle
c) MongoDB
d) PostgreSQL
Answer: c) MongoDB
What is the primary key in a database?
a) A unique identifier for a record
b) A foreign key
c) A composite key
d) A secondary key
Answer: a) A unique identifier for a record
Which command is used to delete a table in SQL?
a) DELETE
b) DROP
c) REMOVE
d) ERASE
Answer: b) DROP
What is the extension of a MySQL database file?
a) .db
b) .sql
c) .mdb
d) .mysql
Answer: b) .sql
What is the full form of HTML?
a) HyperText Markup Language
b) HyperText Machine Language
c) HyperText Markup Link
d) HyperText Machine Link
Answer: a) HyperText Markup Language
Which tag is used to create a hyperlink in HTML?
a) <link>
b) <a>
c) <href>
d) <hyperlink>
Answer: b) <a>
What is the full form of CSS?
a) Computer Style Sheets
b) Cascading Style Sheets
c) Creative Style Sheets
d) Colorful Style Sheets
Answer: b) Cascading Style Sheets
Which of the following is a front-end framework?
a) React
b) Node.js
c) Django
d) Flask
Answer: a) React
What is the full form of URL?
a) Uniform Resource Locator
b) Universal Resource Locator
c) Uniform Resource Link
d) Universal Resource Link
Answer: a) Uniform Resource Locator
What is phishing?
a) A type of malware
b) A type of cyber attack to steal sensitive information
c) A type of hardware failure
d) A type of network protocol
Answer: b) A type of cyber attack to steal sensitive information
Which of the following is a strong password?
a) 123456
b) Password
c) P@ssw0rd!
d) admin
Answer: c) P@ssw0rd!
What is the full form of VPN?
a) Virtual Private Network
b) Virtual Public Network
c) Verified Private Network
d) Verified Public Network
Answer: a) Virtual Private Network
Which of the following is NOT a type of malware?
a) Virus
b) Worm
c) Firewall
d) Trojan
Answer: c) Firewall
What is two-factor authentication?
a) Using two passwords
b) Using a password and a biometric scan
c) Using two different networks
d) Using two firewalls
Answer: b) Using a password and a biometric scan
What is the full form of PDF?
a) Portable Document Format
b) Printable Document Format
c) Portable Data Format
d) Printable Data Format
Answer: a) Portable Document Format
Which of the following is a cloud storage service?
a) Google Drive
b) Dropbox
c) OneDrive
d) All of the above
Answer: d) All of the above
What is the full form of USB?
a) Universal Serial Bus
b) Universal System Bus
c) Unique Serial Bus
d) Unique System Bus
Answer: a) Universal Serial Bus
Which of the following is a programming language?
a) HTML
b) CSS
c) JavaScript
d) XML
Answer: c) JavaScript
What is the full form of AI?
a) Artificial Intelligence
b) Automated Intelligence
c) Advanced Intelligence
d) Applied Intelligence
Answer: a) Artificial Intelligence
9. Programming and Algorithms
What is the time complexity of a linear search algorithm?
a) O(1)
b) O(log n)
c) O(n)
d) O(n^2)
Answer: c) O(n)
Which data structure uses the LIFO principle?
a) Queue
b) Stack
c) Linked List
d) Tree
Answer: b) Stack
What is the output of print(2 ** 3)
in Python?
a) 6
b) 8
c) 9
d) 23
Answer: b) 8
Which of the following is NOT a programming paradigm?
a) Object-Oriented Programming
b) Procedural Programming
c) Functional Programming
d) Linear Programming
Answer: d) Linear Programming
What does the len()
function do in Python?
a) Returns the length of a string or list
b) Converts a string to lowercase
c) Sorts a list
d) Reverses a string
Answer: a) Returns the length of a string or list
Which tag is used to create an ordered list in HTML?
a) <ul>
b) <ol>
c) <li>
d) <dl>
Answer: b) <ol>
What is the purpose of the <div>
tag in HTML?
a) To create a hyperlink
b) To define a section in a document
c) To insert an image
d) To create a table
Answer: b) To define a section in a document
Which CSS property is used to change the text color?
a) font-color
b) text-color
c) color
d) background-color
Answer: c) color
What is the full form of XML?
a) Extensible Markup Language
b) Extended Machine Language
c) Extensible Machine Language
d) Extended Markup Language
Answer: a) Extensible Markup Language
Which of the following is a JavaScript framework?
a) Django
b) Flask
c) Angular
d) Laravel
Answer: c) Angular
What is the full form of HTTP?
a) HyperText Transfer Protocol
b) HyperText Transmission Protocol
c) HyperText Transfer Process
d) HyperText Transmission Process
Answer: a) HyperText Transfer Protocol
Which port is used for HTTPS?
a) 80
b) 443
c) 21
d) 25
Answer: b) 443
What is the full form of FTP?
a) File Transfer Protocol
b) File Transmission Protocol
c) File Transfer Process
d) File Transmission Process
Answer: a) File Transfer Protocol
Which device connects two different networks?
a) Switch
b) Hub
c) Router
d) Modem
Answer: c) Router
What is the full form of MAC address?
a) Media Access Control
b) Machine Access Control
c) Media Address Control
d) Machine Address Control
Answer: a) Media Access Control
Which SQL command is used to insert data into a table?
a) ADD
b) INSERT
c) UPDATE
d) CREATE
Answer: b) INSERT
What is the purpose of the WHERE
clause in SQL?
a) To filter records
b) To sort records
c) To group records
d) To join tables
Answer: a) To filter records
Which of the following is a NoSQL database?
a) MySQL
b) PostgreSQL
c) MongoDB
d) Oracle
Answer: c) MongoDB
What is the full form of DBMS?
a) Database Management System
b) Data Backup Management System
c) Database Manipulation System
d) Data Block Management System
Answer: a) Database Management System
Which SQL command is used to delete a database?
a) DELETE
b) DROP
c) REMOVE
d) ERASE
Answer: b) DROP
What is the purpose of a firewall?
a) To block unauthorized access
b) To speed up internet connectivity
c) To store data
d) To encrypt data
Answer: a) To block unauthorized access
Which of the following is an example of symmetric encryption?
a) RSA
b) AES
c) SSL
d) TLS
Answer: b) AES
What is the full form of SSL?
a) Secure Socket Layer
b) Secure System Layer
c) Secure Server Layer
d) Secure Software Layer
Answer: a) Secure Socket Layer
Which of the following is a type of cyber attack?
a) Phishing
b) Spoofing
c) DDoS
d) All of the above
Answer: d) All of the above
What is the purpose of antivirus software?
a) To detect and remove malware
b) To improve internet speed
c) To encrypt data
d) To create backups
Answer: a) To detect and remove malware
What is the full form of IoT?
a) Internet of Things
b) Internet of Technology
c) Internet of Tools
d) Internet of Tasks
Answer: a) Internet of Things
Which of the following is an example of IoT?
a) Smartwatch
b) Smart TV
c) Smart Refrigerator
d) All of the above
Answer: d) All of the above
What is the full form of AI?
a) Artificial Intelligence
b) Automated Intelligence
c) Advanced Intelligence
d) Applied Intelligence
Answer: a) Artificial Intelligence
Which of the following is a programming language used in AI?
a) Python
b) Java
c) C++
d) All of the above
Answer: d) All of the above
What is the full form of VR?
a) Virtual Reality
b) Visual Reality
c) Virtual Response
d) Visual Response
Answer: a) Virtual Reality
What is the full form of BIOS?
a) Basic Input Output System
b) Binary Input Output System
c) Basic Integrated Operating System
d) Binary Integrated Operating System
Answer: a) Basic Input Output System
Which of the following is a high-level programming language?
a) Assembly
b) Python
c) Machine Language
d) Binary Code
Answer: b) Python
What is the full form of GUI?
a) Graphical User Interface
b) General User Interface
c) Graphical Unified Interface
d) General Unified Interface
Answer: a) Graphical User Interface
Which of the following is a version control system?
a) Git
b) SVN
c) Mercurial
d) All of the above
Answer: d) All of the above
What is the full form of API?
a) Application Programming Interface
b) Advanced Programming Interface
c) Application Protocol Interface
d) Advanced Protocol Interface
Answer: a) Application Programming Interface
What is the full form of SaaS?
a) Software as a Service
b) System as a Service
c) Storage as a Service
d) Security as a Service
Answer: a) Software as a Service
Which of the following is a cloud service provider?
a) AWS
b) Microsoft Azure
c) Google Cloud
d) All of the above
Answer: d) All of the above
What is the full form of IaaS?
a) Infrastructure as a Service
b) Internet as a Service
c) Integration as a Service
d) Information as a Service
Answer: a) Infrastructure as a Service
Which cloud model provides both hardware and software resources?
a) Public Cloud
b) Private Cloud
c) Hybrid Cloud
d) Community Cloud
Answer: c) Hybrid Cloud
What is the full form of PaaS?
a) Platform as a Service
b) Program as a Service
c) Process as a Service
d) Protocol as a Service
Answer: a) Platform as a Service
Which data structure uses the FIFO principle?
a) Stack
b) Queue
c) Linked List
d) Tree
Answer: b) Queue
What is the time complexity of a binary search algorithm?
a) O(1)
b) O(log n)
c) O(n)
d) O(n^2)
Answer: b) O(log n)
Which of the following is a linear data structure?
a) Array
b) Tree
c) Graph
d) Heap
Answer: a) Array
What is the maximum number of children a binary tree node can have?
a) 1
b) 2
c) 3
d) 4
Answer: b) 2
Which data structure is used for implementing recursion?
a) Queue
b) Stack
c) Linked List
d) Tree
Answer: b) Stack
What is the main purpose of an operating system?
a) To manage hardware resources
b) To provide a user interface
c) To run applications
d) All of the above
Answer: d) All of the above
Which scheduling algorithm allocates CPU to the process with the shortest burst time?
a) FCFS
b) SJF
c) Round Robin
d) Priority Scheduling
Answer: b) SJF (Shortest Job First)
What is the full form of PCB in operating systems?
a) Process Control Block
b) Program Control Block
c) Process Communication Block
d) Program Communication Block
Answer: a) Process Control Block
Which of the following is NOT a state in the process lifecycle?
a) Running
b) Waiting
c) Terminated
d) Hibernating
Answer: d) Hibernating
What is the purpose of virtual memory?
a) To extend RAM using disk space
b) To speed up the CPU
c) To store permanent data
d) To manage input/output operations
Answer: a) To extend RAM using disk space
Which component is known as the brain of the computer?
a) RAM
b) CPU
c) Hard Disk
d) Motherboard
Answer: b) CPU
What is the full form of GPU?
a) Graphics Processing Unit
b) General Processing Unit
c) Graphical Performance Unit
d) General Performance Unit
Answer: a) Graphics Processing Unit
Which of the following is a secondary storage device?
a) RAM
b) ROM
c) Hard Disk
d) Cache Memory
Answer: c) Hard Disk
What is the purpose of a motherboard?
a) To connect all hardware components
b) To store data
c) To process data
d) To display output
Answer: a) To connect all hardware components
Which port is used to connect a monitor to a computer?
a) USB
b) HDMI
c) Ethernet
d) VGA
Answer: b) HDMI
Which phase of SDLC involves gathering requirements?
a) Design
b) Analysis
c) Implementation
d) Testing
Answer: b) Analysis
What is the purpose of the testing phase in SDLC?
a) To identify and fix bugs
b) To gather requirements
c) To design the system
d) To deploy the system
Answer: a) To identify and fix bugs
Which SDLC model follows a linear and sequential approach?
a) Agile
b) Waterfall
c) Spiral
d) Iterative
Answer: b) Waterfall
What is the full form of UML?
a) Unified Modeling Language
b) Universal Modeling Language
c) Unified Machine Language
d) Universal Machine Language
Answer: a) Unified Modeling Language
Which of the following is NOT a phase in SDLC?
a) Planning
b) Maintenance
c) Execution
d) Deployment
Answer: c) Execution