MCQ questions are significant in evaluating learning by students on various issues related to computer science. Students should practice using these questions so that they get better at solving problems; remember the concepts they need for their exams. This article covers various MCQ questions in class 12 Computer Science that help student understand and master the concepts.
Class 12 Computer Science MCQ Questions with Answers
These questions and answers follow the NCERT pattern, you can prepare for the board examination and competition examination with the help of these Computer Science MCQ Questions with Answers.
Computer Science (C++) MCQ
1 . In C++ every statement end with
- colon(:)
- Comma (,)
- dot (.)
- Semicolon (;)
2. Base class is
- normal class
- derived class
- child class
- all of these
3. Which of the following is not a feature of C++.
- Operator overloading
- Inheritance
- Namespace
- Reflection
4. Which of the following is not a member of the class?
- Static function
- Friend function
- Virtual function
- Const function
5. Which of the following is the correct class of the object cout?
- iostream
- istream
- ostream
- ifstream
6. Which of the following is not a type of inheritance?
- Multiple
- Multilevel
- Distributive
- Hierarchical
7. In protected inheritance, a public data member of the base class will be treated in a derived class as.
- public
- private none of the above
- protected
- none of the above
8. main is a/an
- keyword
- object
- function
- none of the above
9. A set of arithmetic operators are.
- + , – , * , / , %
- < , > , >= , <=
- &&, ||, !
- none of the above
10. A set of logical operators are.
- + , – , * , / , %
- < , > , >= , <=
- &&, ||, !
- none of the above
11. Which of the following concepts means determining at runtime what method to invoke.
- Data hiding
- Dynamic loading
- Dynamic typing
- Dynamic binding
12. is a way of combining data with functions into an object.
- Object
- Encapsulation
- Inheritance
- Constructor
13. eof is an acronym of
- the ending of line
- ending of files
- end of file
- None of the above
14. C++ language has been developed by
- Dennis Ritchie
- Ken Thompson
- Martin Richard
- Bjarne Stroustrup
15. Which operator has the lowest precedence?
- Size
- Urinary
- Assignment
- Comma
16. The ternary operator operates on how many operands?
- 1
- 2
- 3
- 4
17. An instance of a class is called…….
- private
- object
- public
- None of the above
18. Which of the following library function below by default aborts the Program.
- end ( )
- terminate ( )
- abort ( )
- exit ( )
19. The individual elements in an array are called
- encrypted
- Decrypted
- Subscripted
- Identifier
20. The default access level assigned to members of the class is.
- Private
- Public
- Protected
- None of these
21. while loop is a …. controlled loop.
- count
- exit
- entry
- none of the above
22. The do-while loop is a …….. Controlled loop.
- count
- exit
- entry
- none of the above
23. Which of the following is an abstract data type?
- int
- string
- double
- class
24. For loop is a ….. Controlled loop.
- count
- exit
- entry
- none of the above
25. Which of the following approach is adopted by C++
- Bottom-up
- Top-down
- Right-left
- Left-right
26. Which of the following is the symbol for AND
operator?
- ll
- &&
- &
- None of these
27. cout is a/an ………..
- operator
- object
- function
- macro
28. Which operator has the lowest precedence?
- size
- Unary
- Assignment
- Comma
29, In object-oriented programming, by wrapping up Characteristic and behavior into one unit, we achieve.
- Data Abstraction
- Data Encapsulation
- Data hiding
- All of these
30. The use of the break statement in a switch statement is.
- optional
- compulsory
- to check an error
- none of these
Computer Science (Data Structure) MCQ
1. Which of the following sorting algorithms divide-and-conquer type?
- Bubble sort
- Insertion sort
- Quicksort
- All of the above
2. Which of the following data structure is a linear data structure?
- Trees
- Graphs
- Arrays
- None of the above
3. Which data structure allows deleting data elements from front and inserting at the rear?
- Stacks
- Queues
- Deques
- Binary search tree
4. The operation of processing each element in the list is known as
- Sorting
- Merging
- Inserting
- Traversal
5. Which of the following is not the type of queue?
- Ordinary queue
- Single-ended queue
- Circular queue
- Priority queue
6. How many nodes does a binomial tree of the order have?
- 0
- 1
- 2
- 3
7. Quicksort is faster than
- Selection sort
- Insertion sort
- Bubble sort
- All of these
8. Which type of linked does not store NULL in the next field?
- Singly-linked list
- Doubly linked list
- Circular linked list
- All of these
9. Disk piled up one above the other represent a
- Stacks
- Queues
- Linked list
- Array
10. Major operation performed on Data Structures are
- Sorting
- Searching
- Inserting
- All the above
11. Arranging elements of an array in a specific order is called
- Sorting
- searching
- Inserting
- Traversing
12. Processing all the elements of an array is called.
- Insertion
- Sorting
- Deletion
- Traversing
13. Which of the following data structures are indexed structures?
- Linear arrays
- Linked list
- Queue
- Stack
14. LIFO means
- Last In First Out
- Last In Fast Overflow
- Last In First Overflow
- None of the above
15. FIFO means
- First In First Out
- Fast In Fast Out
- Fast In First Out
- First In Fast Out
16. Which of the following data structures cant store the non-homogeneous data elements?
- Arrays
- Pointers
- Records
- None
17. A stack is a …….. data Structure.
- Dynamic
- Linear ‘
- Non-dynamic
- None of the above
18. Queue is work as.
- FIFO
- LIFO
- Both a and b
- None of the above
19. Elements can be added or removed at both ends is called
- Queue
- Deque
- Circular Queue
- All the above
20. Stack is work as.
- FIFO
- LIFO
- Both a and b
- None of the above
21. Deleting from an empty list is known as.
- Overflow
- Underflow
- Both (a) and (b)
- None of the above
22. A line in a grocery store represents a
- Stacks
- Linked list
- Queues
- Array
23. In a queue, insertion is done at.
- Rear
- Front
- Both (a) and (b)
- none of the above
24. Which data structure allows deleting data elements from front and inserting at the rear?
- Stacks
- Deques
- Queues
- Binary search tree
25. Which of the following data structure is non-linear type?
- Strings
- Stacks
- Lists
- None of above
26. Beginning address of an array is called
- Base Address
- Top Address
- Both (a) & (b)
- None of the above
27. Transform prefix operation /- + A*BCD * EF to an infix form
- (A + B * C – D) /E * F
- (A+ B – C / D) * E *F
- (A + B – C * D) /E * F
- None of the above
28. Transform infix operation (A+ B * C- D) /E * F to an postfix form
- A B C+ * D – EF */
- A B C* + D – EF * /
- A B C * + D – EF / *
- None of the above
Computer Science (Database) MCQ
- Key is an ….. in the database system.
- Attribute
- Condition
- Row
- Variables
2. Ordered by clause is used to ….. the query result.
- sort
- index
- order
- none of the above
3. A…….. is used to identify a particular record.
- Index
- Tuple
- Key
- All the above
4. A row in a relation is called
- Data
- Domain
- Tuple
- None of the above
5. The duplication of data is known as.
- Data redundancy
- Attribute
- domain
- None of these
6. Set of possible values that an attribute can have……
- Tuple
- Value
- Domain
- None of the above
7. A…….. is an integrated collection of related files.
- Database
- Software
- Record
- All the above
8. The number of tuples in a relation is called.
- Degree
- Attribute
- Cardinality
- None of the above
9. The following are components of a database except …….
- user data
- reports
- metadata
- indexes
10. Which of the following is NOT a type of SQL constraint?
- PRIMARY KEY
- FOREIGN KEY
- ALTERNATE KEY
- UNIQUE
11. Which of the following is a database element?
- Data
- Constraints and Schema
- Relationships
- All the above
12. Which of the following is not a Data Manipulation Language Statement?
- COMMIT
- DELETE
- UPDATE
- INSERT
13. SQL means.
- Simple Query Language
- Structured Quarter Language
- Structured Query Language
- None of the above
14. DDL means.
- Data Definition Language
- Data Dictionary Language
- Data Description Language
- None of the above
15. DML means.
- Data Manipulation Language
- Data Maintained Language
- Data Multiple Language
- None of the above
16. RDBMS means
- Relational Database Management System
- Restricted Database Management System
- Resolution Database Management System
- All the above
17. The number of tuples in a relation is called.
- Degree
- Attribute
- Cardinality
- None of the above
18. A transparent DBMS?
- Can not hide sensitive information from users
- Keep its logical structure hidden from users
- keeps its physical structure hidden from users
- Both (b) and (c)
Computer Science (BOOLEAN ALGEBRA) MCQ
1. How long is an IPv6 address?
- 32 bits
- 64 bits
- 128 bits
- 128 bits
2. Virus, Worms and Trojan horse are examples of
- Adware
- Malware
- Spyware
- All of these
3. A program that enables users to post messages or articles for other people to read.
- Gopher
- FTP
- Newsgroup
- Electronic Newspaper
4. Web Browser is/are –
- Google Chrome
- Internet Explorer
- Firefox
- All the above
5. MAN refers to
- Mega Area Network
- Medium Area Network
- Mini Area Network
- Metropolitan Area Network
6. Co-axial cables are made of
- Board
- Base
- Both a) & b)
- None of the above
7. SMTP means
- Simple Mail Trapping Protocol
- Simple Mail Transport Protocol
- Simple Mail Transpose Protocol
- Simple Mail Transfer Protocol
8. GIAS means
- Gateway Internet Access Service
- Gateway Intranet Access Service
- Getaway Internet Access Service
- None of the above
9. Home page is in the form of
- Text
- Hyperlink
- Hypertext
- All the above
10. A tool that makes the internet easy to work with.
- Internet
- Cable
- Gopher
- None of the above
11. …….. was the first network based on TCP/IP.
- NFS
- ARPANET
- NFSNET
- ARCNET
12. An interconnected collection of autonomous computers.
- Bridge
- Router
- Network
- None of these
13. ……… is a network of networks.
- Intranet
- Webpage
- Internet
- Browser
14. The data transmission rate is expected in……
- Base
- Baud
- Amplitude
- None of the above
15. Which of the following layer is not in the OSI model?
- Physical Layer
- Network Layer
- Internet Layer
- Transport Layer
16. An Internet utility used for remote login is.
- Telnet
- Cookies
- Firewall
- Crackers
17. What protocol does PPP use to identify the Network layer protocol?
- NCP
- ISDN
- LCP
- HDLC
18. Which protocol does DHCP use at the Transport layer?
- IP
- TCP
- UDP
- ARP
19. Which of the following is the correct format of Email address?
- www.nameofebsite.com
- name.website.com
- name@website@info
- name@website.info
Sir mujhe jac board class 12 (physics, chemistry, maths, computer science & English core) ka subjective questions chahiye