I need 50 MCQS with right answer about the topic:
 General Programming,
 Object Oriented Programming, 
Data Structures & Algorithms, 
Database Systems, and 
Computing fundamentalsShare Prompt
user
here are 50 multiple choice questions (mcqs) covering various topics in the fields of general programming, object-oriented programming, data structures & algorithms, database systems, and computing fundamentals. the correct answers are marked in bold text.

1. which of the following is not a programming language?
a) python
b) javascript
c) ruby
d) microscope
   [answer: d) microscope]

2. what is the abbreviation of oop?
a) ordinary object programming
b) object-oriented programming
c) operational oriented programming
d) oriented object programming
   [answer: b) object-oriented programming]

3. which of the following data structures is non-linear?
a) array
b) stack
c) queue
d) tree
   [answer: d) tree]

4. what does sql stand for?
a) simple query line
b) structured query language
c) solid query layer
d) sequential query logic
   [answer: b) structured query language]

5. what is the time complexity of the binary search algorithm?
a) o(n)
b) o(n^2)
c) o(log n)
d) o(1)
   [answer: c) o(log n)]

6. which of the following is not an access specifier in c++?
a) public
b) primary
c) private
d) protected
   [answer: b) primary]

7. what is the primary data structure used in recursion?
a) stack
b) array
c) queue
d) circular queue
   [answer: a) stack]

8. what is a relational database?
a) a database made from a single table.
b) a collection of data items organized as a set of tables.
c) an indexed dataset optimized for record retrieval.
d) a single table with a primary key.
   [answer: b) a collection of data items organized as a set of tables.]

9. which of the following process is used to convert high-level language code to machine-level language code?
a) compiling
b) debugging
c) logging
d) encoding
   [answer: a) compiling]

10. in object-oriented programming, what does the term "encapsulation" refer to?
a) breaking down a complex problem into simpler parts.
b) combining data and operations on that data into a single unit.
c) obtaining a new class from an existing one.
d) creating objects from classes.
   [answer: b) combining data and operations on that data into a single unit.]

11. which algorithm uses the "divide and conquer" technique?
a) bubble sort
b) merge sort
c) selection sort
d) insertion sort
   [answer: b) merge sort]

12. what is a primary key in a database?
a) a unique identifier for a record in a table.
b) a key used to sort data.
c) a key used to encrypt data.
d) a key for indexing purposes.
   [answer: a) a unique identifier for a record in a table.]

13. what is the full form of ide?
a) internet development environment
b) integrated developer experience
c) indoor development experience
d) integrated development environment
   [answer: d) integrated development environment]

14. in java, which keyword is used to inherit a class?
a) include
b) inherits
c) extends
d) implements
   [answer: c) extends]

15. which data structure is used to implement lru (least recently used) cache?
a) linkedlist
b) stack
c) hashtable
d) queue
   [answer: a) linkedlist]

16. in mysql, which keyword is used to retrieve all records from a table?
a) get
b) select
c) retrieve
d) fetch
   [answer: b) select]

17. which programming paradigm is used by the haskell programming language?
a) procedural
b) object-oriented
c) logical
d) functional
   [answer: d) functional]

18. which of the following is an advantage of polymorphism in oop?
a) code reusability
b) faster execution
c) enhanced security
d) compact code
   [answer: a) code reusability]

19. which sorting algorithm has the best average-case complexity?
a) quick sort
b) bubble sort
c) selection sort
d) insertion sort
   [answer: a) quick sort]

20. what is the purpose of a foreign key in a database?
a) to ensure data integrity between two related tables.
b) to establish a relationship between two unrelated tables.
c) to encrypt a table.
d) to sort a table's content.
   [answer: a) to ensure data integrity between two related tables
assistant
Here are 50 Multiple Choice Questions (MCQs) covering various topics in the fields of General Programming, Object-Oriented Programming, Data Structures & Algorithms, Database Systems, and Computing Fundamentals. The correct answers are marked in bold text.

1. Which of the following is not a programming language?
a) Python
b) JavaScript
c) Ruby
d) Microscope
   [Answer: d) Microscope]

2. What is the abbreviation of OOP?
a) Ordinary Object Programming
b) Object-Oriented Programming
c) Operational Oriented Programming
d) Oriented Object Programming
   [Answer: b) Object-Oriented Programming]

3. Which of the following data structures is non-linear?
a) Array
b) Stack
c) Queue
d) Tree
   [Answer: d) Tree]

4. What does SQL stand for?
a) Simple Query Line
b) Structured Query Language
c) Solid Query Layer
d) Sequential Query Logic
   [Answer: b) Structured Query Language]

5. What is the time complexity of the Binary Search algorithm?
a) O(n)
b) O(n^2)
c) O(log n)
d) O(1)
   [Answer: c) O(log n)]

6. Which of the following is not an access specifier in C++?
a) Public
b) Primary
c) Private
d) Protected
   [Answer: b) Primary]

7. What is the primary data structure used in recursion?
a) Stack
b) Array
c) Queue
d) Circular Queue
   [Answer: a) Stack]

8. What is a relational database?
a) A database made from a single table.
b) A collection of data items organized as a set of tables.
c) An indexed dataset optimized for record retrieval.
d) A single table with a primary key.
   [Answer: b) A collection of data items organized as a set of tables.]

9. Which of the following process is used to convert high-level language code to machine-level language code?
a) Compiling
b) Debugging
c) Logging
d) Encoding
   [Answer: a) Compiling]

10. In Object-Oriented Programming, what does the term "encapsulation" refer to?
a) Breaking down a complex problem into simpler parts.
b) Combining data and operations on that data into a single unit.
c) Obtaining a new class from an existing one.
d) Creating objects from classes.
   [Answer: b) Combining data and operations on that data into a single unit.]

11. Which algorithm uses the "Divide and Conquer" technique?
a) Bubble Sort
b) Merge Sort
c) Selection Sort
d) Insertion Sort
   [Answer: b) Merge Sort]

12. What is a primary key in a database?
a) A unique identifier for a record in a table.
b) A key used to sort data.
c) A key used to encrypt data.
d) A key for indexing purposes.
   [Answer: a) A unique identifier for a record in a table.]

13. What is the full form of IDE?
a) Internet Development Environment
b) Integrated Developer Experience
c) Indoor Development Experience
d) Integrated Development Environment
   [Answer: d) Integrated Development Environment]

14. In Java, which keyword is used to inherit a class?
a) Include
b) Inherits
c) Extends
d) Implements
   [Answer: c) Extends]

15. Which data structure is used to implement LRU (Least Recently Used) cache?
a) LinkedList
b) Stack
c) HashTable
d) Queue
   [Answer: a) LinkedList]

16. In MySQL, which keyword is used to retrieve all records from a table?
a) GET
b) SELECT
c) RETRIEVE
d) FETCH
   [Answer: b) SELECT]

17. Which programming paradigm is used by the Haskell programming language?
a) Procedural
b) Object-Oriented
c) Logical
d) Functional
   [Answer: d) Functional]

18. Which of the following is an advantage of Polymorphism in OOP?
a) Code Reusability
b) Faster Execution
c) Enhanced Security
d) Compact Code
   [Answer: a) Code Reusability]

19. Which sorting algorithm has the best average-case complexity?
a) Quick Sort
b) Bubble Sort
c) Selection Sort
d) Insertion Sort
   [Answer: a) Quick Sort]

20. What is the purpose of a Foreign Key in a database?
a) To ensure data integrity between two related tables.
b) To establish a relationship between two unrelated tables.
c) To encrypt a table.
d) To sort a table's content.
   [Answer: a) To ensure data integrity between two related tables
assistant