Class 12 Computer Science MCQ Important Question Answer solution with pdf. Here We Provides Class 1 to 12 all Subjects NCERT Solution with Notes, Question Answer, CBSE and HBSE Important Questions, MCQ and old Question Papers for Students.
- Also Read :- HBSE Class 12 Important Question Answer
HBSE ( Haryana Board ) Solution of Class 12 Computer Science MCQ important Question And Answer solution for 2023-24 exams.
HBSE Class 12 Computer Science Important MCQ Question Answer 2024
1. In C++, _________ operator is also known as insertion operator.
(a) >>
(b) >
(c) <<
(d) <
Answer
Ans – (c) <<
2. In C++, __________ cannot be passed to a function.
(a) Reference variable
(b) Array
(c) Object
(d) Header file
Answer
Ans – (d) Header file
3. ________ is not a correct variable type in C++ .
(a) Float
(b) Real
(c) Double
(d) int
Answer
Ans – (b) Real
4. A C++ code line end with ________.
(a) ; (semicolon)
(b) . (full stop)
(c) , (comma)
(d) / (slash)
Answer
Ans – (a) : (semicolon)
5. In C++, members of a class are ________ by default.
(a) Public
(b) Private
(c) Protected
(d) Static
Answer
Ans – (b) Private
6. C++ was developed by _________.
(a) Charles Babbage
(b) Dennis Ritchie
(c) Bjarne Stroustrup
(d) None
Answer
Ans – (c) Bjarne Stroustrup
7. The number of attributes in a relation is called
(a) Tuple
(b) Cardinality
(c) Degree
(d) Row
Answer
Ans – (c) Degree
8. There are ________ attributes of font tag.
(a) 1
(b) 2
(c) 3
(d) 4
Answer
Ans – (c) 3
9. _________ are network spread over a city.
(a) LAN
(b) MAN
(c) WAN
(d) None
Answer
Ans – (b) MAN
10. All HTML tags are enclosed in ________.
(a) # #
(b) <>
(c) !!
(d) None
Answer
Ans – (b) <>
11. There are __________ number of headings in HTML.
(a) 6
(b) 5
(c) 4
(d) 3
Answer
Ans – (a) 6
12. A system designed to prevent unauthorized access to a network is called ______.
(a) Gateway
(b) Router
(c) Bridge
(d) Firewall
Answer
Ans – (d) Firewall
13. Stack is based on _______ principle.
(a) LIFO
(b) FIFO
(c) LILO
(d) None
Answer
Ans – (a) LIFO
14. A WWW client is called _______.
(a) Server
(b) Web page
(c) Web browser
(d) None
Answer
Ans – (c) Web browser
15. ________ tag is used for adding links to HTML page.
(a) <li>
(b) <l>
(c) <al>
(d) <a>
Answer
Ans – (d) <a>
16. If the derived class is struct, then default visibility mode is ______.
(a) Protected
(b) Public
(c) Private
(d) None
Answer
Ans – (b) Public
17. In 1-D array size of array is ________.
(a) UB – LB + 1
(b) LB
(c) UB + 2
(d) None
Answer
Ans – (a) UB – LB + 1
18. HTML tag is used to make text italic.
(a) <it>
(b) <italic>
(c) <i>
(d) None
Answer
Ans – (c) <i>
19. A computer on Internet is identified by ________.
(a) E-mail address
(b) IP address
(c) FTP address
(d) Telnet address
Answer
Ans – (b) IP address
20. A websites main page/front page/first page is called __________.
(a) Browser page
(b) Search page
(c) Home page
(d) Book mark
Answer
Ans – (c) Home page
21. ________ attribute of image tag specifies the path to the image.
(a) alt
(b) Scr
(c) pth
(d) src
Answer
Ans – (d) src
22. ________ character is used to represent closing of a tag in HTML.
(a) \
(b) /
(c) !
(d) !!
Answer
Ans – (b) /
23. Queue works on ________ principle.
(a) LIFO
(b) FIFO
(c) FILO
(d) None of the above
Answer
Ans – (b) FIFO
24. In Stack, Insertion operation is also called _______ operation.
(a) PUSH
(b) POP
(c) Both (a) & (b)
(d) None
Answer
Ans – (a) PUSH
25. A collection of hyperlinked documents on the internet will form ________ .
(a) World Wide Web (WWW)
(b) E-mail system
(c) Mailing list
(d) Hypertext markup language
Answer
Ans – (a) World Wide Web (WWW)
26. Among the following, which is the HTML paragraph tag?
(a) <p>
(b) <pre>
(c) <hr>
(d) <a>
Answer
Ans – (a) <p>
27. iv. If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?
(a) ABCD
(b) DCBA
(c) DCAB
(d) ABCD
Answer
Ans – (a) ABCD
28. _______ is not an attribute of Body Tag.
(a) alink
(b) vlink
(c) html
(d) bgcolor
Answer
Ans – (c) html
29. _________ is an empty tag.
(a) <B>
(b) <BR>
(c) <U>
(d) <HEAD>
Answer
Ans – (b) <BR>
30. Video conferencing requires a microphone, speaker and a _________ attached to your Computer.
(a) Mouse
(b) Keyboard
(c) Camera
(d) Scanner
Answer
Ans – (c) Camera
31. _________ is an empty tag.
(a) <TITLE>
(b) <B>
(c) <U>
(d) <HR>
Answer
Ans – (d) <HR>
32. _______ tag is the line break tag in HTML.
(a) <LB>
(b) <BR>
(c) <B>
(d) <L>
Answer
Ans – (b) <BR>
33. A _______ is a set of rules applicable on a network.
(a) Switch
(b) Network
(c) Internet
(d) Protocol
Answer
Ans – (d) Protocol
34. In the Web address, “http://www.abc.com”, http is _________.
(a) URL
(b) Domain name
(c) Protocol
(d) Extension
Answer
Ans – (c) Protocol
35. _________ program is used to preview the output of an HTML document.
(a) Text Editor
(b) Web Browser
(c) Graphics Program
(d) Office Program
Answer
Ans – (b) Web Browser
36. _________ is the smallest heading tag in HTML
(a) <H1>
(b) <H2>
(c) <H4>
(d) <H6>
Answer
Ans – (d) <H6>
37. ________ is a container tag.
(a) <HR>
(b) <TITLE>
(c) <BR>
(d) <Img>
Answer
Ans – (b) <TITLE>
38. Transferring information from Computer to Internet is called _________.
(a) Downloading
(b) Downsizing
(c) Uploading
(d) Pasting
Answer
Ans – (c) Uploading
39. _______ tag makes horizontal line.
(a) <SUP>
(b) <BODY>
(c) <HR>
(d) <HTML>
Answer
Ans – (c) <HR>
40. ________ is the largest heading tag in HTML.
(a) <H1>
(b) <H3>
(c) <H5>
(d) <H6>
Answer
Ans – (a) <H1>
41. ________ is the container tag.
(a) <BR>
(b) <HR>
(c) <B>
(d) <Img>
Answer
Ans – (c) <B>