Computer Science MCQs (Basic to Advanced)
-
Which component performs calculations in a computer?
- Monitor
- ALU
- Keyboard
- Mouse
-
Which memory is non-volatile?
- RAM
- Cache
- ROM
- Register
-
Which is an example of system software?
- MS Word
- Excel
- Linux
- Chrome
-
Binary number system is based on?
- 8 digits
- 10 digits
- 2 digits
- 16 digits
-
Which device is used for pointing?
- Scanner
- Mouse
- Printer
- Speaker
-
Which scheduling algorithm uses time slices?
- FCFS
- SJF
- Round Robin
- Priority
-
Which topology uses a single backbone cable?
- Star
- Ring
- Bus
- Mesh
-
In C language, which symbol ends a statement?
- :
- ,
- ;
- .
-
Which HTML tag is used for inserting images?
- <picture>
- <img>
- <src>
- <image>
-
Which data structure follows FIFO?
- Stack
- Queue
- Array
- Tree
-
Which SQL command retrieves data?
- INSERT
- UPDATE
- SELECT
- DELETE
-
Which protocol is secure version of HTTP?
- FTP
- HTTPS
- SMTP
- TCP
-
Which loop executes at least once?
- for
- while
- do-while
- foreach
-
Which CSS property changes text color?
- font-style
- color
- background
- text-align
-
Which layer of OSI handles encryption?
- Transport
- Network
- Presentation
- Physical
-
Which search algorithm works on sorted data?
- Linear Search
- Binary Search
- Depth First
- Breadth First
-
Which keyword is used for inheritance in C++?
- extends
- :
- inherit
- super
-
Which attack sends excessive traffic to crash a server?
- Phishing
- DDoS
- Sniffing
- Hacking
-
Which Python keyword defines a function?
- function
- def
- func
- define
-
Which data structure uses LIFO?
- Queue
- Stack
- Array
- Graph
-
Which database model uses tables?
- Hierarchical
- Network
- Relational
- Object
-
Which operator is used for logical AND in C?
- &
- &&
- ||
- !
-
Which file system is used by Windows?
- EXT4
- NTFS
- FATX
- HFS
-
Which AI technique mimics human brain?
- Genetic Algorithm
- Neural Network
- Sorting
- Searching
-
Which normal form removes partial dependency?
- 1NF
- 2NF
- 3NF
- BCNF
