NEW
Font size
WorksheetsComputer Science Quiz
Total questions: 48
Worksheet time: 48mins
Which memory is both static and non-volatile?
ROM
RAM
Cache
Register
In which generation of computers was Integrated Circuit (IC) technology introduced?
First
Second
Third
Fourth
Which scheduling algorithm is also called “time-sharing”?
FCFS
Round Robin
SJF
Priority Scheduling
Which of the following is NOT a RISC processor?
ARM
MIPS
SPARC
Intel 8086
Cache memory is located between:
RAM and Hard Disk
CPU and RAM
ALU and CU
Input and Output devices
Which of the following is a deadlock avoidance algorithm?
Peterson’s Algorithm
Banker’s Algorithm
Dekker’s Algorithm
Dijkstra’s Algorithm
Virtual memory is implemented using:
RAM
Cache
Hard Disk
Registers
Which Linux command is used to change file permissions?
chmod
chown
ls
ps
Which of the following is a distributed version control system?
SVN
CVS
Git
Mercurial
In UNIX, the inode stores:
File name only
File content
File metadata
File extension
Which layer of OSI model is responsible for routing?
Data Link
Network
Transport
Application
IPv6 addresses are of how many bits?
32
64
128
256
Which of the following is a symmetric encryption algorithm?
RSA
AES
ECC
Diffie-Hellman
What is the default port number for HTTPS?
21
25
80
443
Which of the following attacks is related to session hijacking?
SQL Injection
Cross-Site Scripting (XSS)
Man-in-the-Middle
Phishing
Which normal form removes transitive dependency?
1NF
2NF
3NF
BCNF
In SQL, which command is used to remove a table completely?
DELETE
REMOVE
DROP
TRUNCATE
In relational databases, candidate keys are:
Only primary keys
All possible keys
Composite keys only
Foreign keys
Which of the following is not an ACID property?
Atomicity
Consistency
Durability
Distribution
Which of these is NOT a functional programming language?
Lisp
Haskell
Prolog
Erlang
Time complexity of binary search algorithm is:
O(n)
O(log n)
O(n log n)
O(1)
Which sorting algorithm is NOT comparison-based?
Merge Sort
Quick Sort
Heap Sort
Counting Sort
The worst-case height of an AVL tree with n nodes is:
O(n)
O(log n)
O(n log n)
O(1)
Dijkstra’s algorithm is used to find:
Minimum spanning tree
Shortest path
Maximum flow
Topological order
Hashing mainly helps in:
Sorting
Searching
Multiplication
Compression
Which was the first search engine on the Internet?
Archie
Yahoo
Lycos
Moore’s law predicts that the number of transistors on a microchip doubles every:
6 months
12 months
18 months
24 months
Which company developed the first graphical web browser “Mosaic”?
Microsoft
Netscape
NCSA
CERN
In machine learning, overfitting means:
Model performs poorly on training data
Model performs well on test data but poorly on training data
Model performs well on training data but poorly on unseen data
Model ignores input features
Which of these is NOT a cloud computing service model?
IaaS
SaaS
PaaS
DaaS
Which data structure is used in recursion?
Queue
Stack
Linked List
Heap
Which protocol is used for sending emails?
FTP
SMTP
POP3
IMAP
In compiler design, which phase checks syntax errors?
Lexical Analysis
Syntax Analysis
Semantic Analysis
Code Generation
Which of the following is a volatile memory?
ROM
Flash
RAM
PROM
Which of the following is an example of NoSQL database?
MySQL
Oracle
MongoDB
PostgreSQL
Which of the following protocols is used to securely transfer files over the Internet?
FTP
SFTP
HTTP
SMTP
In OS, the technique that allows multiple processes to share a single CPU is called:
Multiprocessing
Multithreading
Time-sharing
Spooling
Which of the following is a client-side scripting language?
PHP
JavaScript
Python
Java
In object-oriented programming, which concept allows a class to inherit properties of another class?
Encapsulation
Polymorphism
Inheritance
Abstraction
Which type of cloud deployment model is shared among multiple organizations?
Private Cloud
Public Cloud
Community Cloud
Hybrid Cloud
Which of the following is NOT a type of firewall?
Packet Filtering
Circuit-level Gateway
Application-level Gateway
DNS Resolver
Which of the following represents a 32-bit IP address?
IPv4
IPv6
MAC Address
Subnet Mask
In Python, what is the output of len([1, [2, 3], 4])?
3
4
2
5
Which of the following is used to prevent deadlock in operating systems?
Banker's Algorithm
FCFS
Round Robin
SJF
Which topology connects all nodes in a closed loop?
Star
Ring
Mesh
Bus
Which HTTP status code represents “Not Found”?
200
301
404
500
Which of the following is a widely used data serialization format?
HTML
JSON
CSS
XML
Which operating system is developed by Apple Inc.?
Windows
Linux
macOS
Android
