Computer MCQs

Which of the following programming languages is object-oriented?
a) Java
b) C
c) Python
d) Assembly

What does HTML stand for?
a) HyperText Markup Language
b) HighText Machine Language
c) HyperLanguage Markup Text
d) HyperMarkup Text Language

Which data structure uses LIFO (Last In, First Out) principle?
a) Stack
b) Queue
c) Linked List
d) Tree

What is the purpose of an operating system?
a) To manage hardware resources
b) To write programs
c) To create websites
d) To design databases

What does CSS stand for?
a) Cascading Style Sheets
b) Creative Style Sheets
c) Computer Style Sheets
d) Colorful Style Sheets

Which of the following is a primary key in a database table?
a) Unique identifier of a record
b) Name of the table
c) Password field
d) Date and time

Which programming language is widely used for web development?
a) PHP
b) C++
c) Ruby
d) Swift

What does the acronym SQL stand for?
a) Structured Query Language
b) Simple Query Language
c) Standard Query Language
d) Sequential Query Language

What is the purpose of a firewall in computer networks?
a) To block unauthorized access
b) To speed up internet connection
c) To monitor system performance
d) To generate backup copies

Which of the following is a high-level programming language?
a) Python
b) Machine language
c) Assembly language
d) Binary code

Table: Question Bank

Question Options
1 a) Java
b) C
c) Python
d) Assembly
2 a) HyperText Markup Language
b) HighText Machine Language
c) HyperLanguage Markup Text
d) HyperMarkup Text Language
… …
Correct Answers:

a) Java
a) HyperText Markup Language
a) Stack
a) To manage hardware resources
a) Cascading Style Sheets
a) Unique identifier of a record
a) PHP
a) Structured Query Language
a) To block unauthorized access
a) Python

Search more quiz