← प्रश्न-पत्र

2025 · कंप्यूटर विज्ञान · 2025-11-03 · पाली 1

पेपर II · उच्च माध्यमिक · कक्षा 11–12

प्रश्न-पत्र निर्देश

150 प्रश्न · 50 प्रश्न प्रति पृष्ठ

विकल्प चुनें या “उत्तर देखें” खोलें। दिखाए गए उत्तर प्रकाशित उत्तर-कुंजी से लिए गए हैं।

भाषा विषय के प्रश्न अपनी मूल भाषा में रहते हैं।

पृष्ठ 1 / 3
अगला पृष्ठ →
Question 1
What is the main purpose of inheritance in OOP?
See answer

Correct answer: (C) To establish a parent-child relationship between classes
Inheritance establishes a subtype or parent-child relationship and can reuse or extend behavior, so C is correct. For example, a specialised class can inherit suitable methods from a base class. Inheritance should model a meaningful relationship, not merely avoid writing any repeated line.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 2
Microcontrollers find application in various fields. What is a typical application of microcontrollers in the automotive industry?
See answer

Correct answer: (C) Engine control in cars
A car's engine controller is a typical microcontroller application, so C is correct. It reads sensors, runs a control program and drives actuators. A microcontroller commonly combines a processor, memory and input/output peripherals for such embedded tasks.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 3
The term "FAT" is stands for_____
See answer

Correct answer: (B) File Allocation Table
FAT stands for File Allocation Table, so B is correct. The table records allocation and cluster-chain information for files. It is not expanded as 'tree' or 'graph', even though a file system may use other structures internally.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 4
What is CRUD an acronym for in database operations?
See answer

Correct answer: (A) Create, Read, Update, Delete
CRUD means Create, Read, Update and Delete, so A is correct. These are the main operations on stored records. Creating a record is different from creating a table; SQL organizes statements into more specific categories as well.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 5
Which principle ensures that only essential information is visible to the outside world?
See answer

Correct answer: (D) Abstraction
Showing essential features while leaving out implementation detail describes abstraction, D. Information hiding focuses on concealing internal design decisions; encapsulation groups state and operations and controls access. The concepts overlap, but the 'only essential information' wording points to abstraction rather than the source's B.
Source PDF key: (B). Read the review below; marking follows the reviewed answer where one can be established.

1 marks
Question 6
Contention-based MAC protocols are commonly used in:
See answer

Correct answer: (A) Ethernet networks
Classic shared-medium, half-duplex Ethernet uses contention-based CSMA/CD, so A is the intended answer. Token Ring uses token passing instead. Modern switched full-duplex Ethernet does not use collision contention in that same way, so avoid extending the old shared-medium description to every Ethernet link.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 7
Stealing someone's intellectual work and representing it as your own is known as ………….
See answer

Correct answer: (D) Plagiarism
Presenting another person's intellectual work as one's own is plagiarism, so D is correct. Proper quotation, attribution and independent work distinguish legitimate use from misrepresentation. Plagiarism and copyright infringement overlap in some situations but are not identical concepts.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 8
Even with two-factor authentication, users may still be vulnerable to_____________attacks
See answer

Correct answer: (C) Man-in-the-middle
Some two-factor methods can still be defeated by an intermediary phishing or man-in-the-middle attack, so C is the relevant option. The attacker may relay a login in real time. Phishing-resistant authentication reduces this risk; two factors do not make every implementation invulnerable.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 9
What is the term for the ability of a class to provide different implementations of a method based on the input parameters?
See answer

Correct answer: (A) Overloading
Overloading uses the same method name with different parameter lists, so A is the precise answer. Polymorphism is a wider concept. The exact language rules matter: Java overload resolution is not the same as dynamically redefining a Python function with the same name.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 10
Which of the following refers to creating products tailored to individual customers?
See answer

Correct answer: (A) Customization
Tailoring a product to an individual customer's requirements is customization, so A is correct. Examples include selecting a product configuration or a personalized design. An auction instead describes a pricing or allocation process.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 11
The length of an IPv6 address is:
See answer

Correct answer: (C) 128 bits
An IPv6 address is 128 bits long, so C is correct. IPv4 addresses are 32 bits. Textual IPv6 notation groups hexadecimal digits with colons; the written punctuation does not change the underlying address width.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 12
A website or online platform where individuals or groups regularly publish written content, typically in a reverse chronological order is known as :
See answer

Correct answer: (B) Blog
A blog commonly publishes dated posts in reverse chronological order, so B is correct. The newest post is usually shown first. A chat group emphasizes conversation, while a news group is a different discussion format.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 13
A text file song .txt contains the following contents in it: Life goes on as it never ends What will be the output of the following code snippet? f1 = open ("song.txt", "r") s1 = f1. read (5) s2 = f1. readline (4) s3 = f1. read (3) print (s1, s3, sep = "#")
See answer

Correct answer: (C) Life # on
read(5) consumes 'Life ' including the space. readline(4) then consumes 'goes', leaving the position immediately before the next space. read(3) returns ' on'. Printing s1 and s3 with # gives 'Life # on', so C is correct. Reads continue from the current position; they do not each restart at the beginning.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 14
Who used the term "IoT" fist?
See answer

Correct answer: (C) Kevin Aston
Kevin Ashton is associated with coining Internet of Things in 1999, so C is intended despite the misspelling 'Aston'. The term connects physical objects with networked identification, sensing or control. It is not attributed to Steve Jobs.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 15
Which programming languages are commonly supported by Dreamweaver for web development?
See answer

Correct answer: (B) HTML and CSS @
Dreamweaver supports common web technologies including HTML and CSS, so B is the best pair. HTML is markup and CSS a style-sheet language, not both general-purpose programming languages. MySQL is a database system, making that pair less appropriate as an answer to 'programming languages'.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 16
What is the purpose of a constructor in OOP?
See answer

Correct answer: (C) To initialize object properties
A constructor initializes a new object's state, so C is correct. It can set fields or validate initial values. An abstract class cannot be instantiated directly merely by calling its constructor, though its constructor participates in creating a concrete subclass object.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 17
What is the main advantage of using abstract classes over interfaces?
(A) Abstract classes can have multiple inheritance, unlike interfaces
(B) Interfaces can have constructors, while abstract classes cannot
(C) Abstract classes can provide default implementations of methods
(D) Interfaces allow for private access modifiers, unlike abstract classes
1 marks
Answer review

The claimed distinction depends on language and version. Modern Java interfaces can have default implementations, so C is not an exclusive abstract-class advantage. Abstract classes can instead share instance state and constructor behavior, which the choices do not state correctly. The item is ungraded.

Source PDF key: (C). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 18
Which of the following networking devices is used to regenerate and transmit the weakened signal ahead ?
See answer

Correct answer: (C) Repeater
A repeater regenerates a received signal before sending it onward, so C is correct. A traditional hub is also a multiport repeater, but 'repeater' is the direct general device name asked for. It does not select network-layer routes like a router.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 19
The maximum length (in bytes) of an IPv4 datagram is:
See answer

Correct answer: (D) 65535
The IPv4 Total Length field is 16 bits, so the largest datagram length is 216−1=65535 bytes, D. This includes the IPv4 header. A link's maximum transmission unit is a different limit and can require fragmentation or a smaller packet.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 20
Ginni has created a table, SCORES in MySQL to store runs scored by players in a cricket match. The table contains the following records: Table : Scores PLAYER SCORE Ranveer 50 Sukesh 35 Mirza 10 John 51 Murugan 70 Which of the following statements will give 10 as output?
See answer

Correct answer: (B) SELECT MIN (Score) FROM Scores;
MIN selects the smallest score. The values are 50,35,10,51,70, whose minimum is 10, so SELECT MIN(Score) FROM Scores, B, is correct. MAX would give 70, SUM 216, and AVG 43.2.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 21
…………………..data type is used to implement Queue data structure in Python.
See answer

Correct answer: (D) List
A list can implement a basic FIFO queue, so D is correct among these choices. Append at the end and remove from the front to preserve order. Python's collections.deque is generally more efficient for repeated front removals, but it is not an option here.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 22
In an ideal microcomputer, where is the Arithmetic Logic Unit (ALU) located?
See answer

Correct answer: (A) CPU
The ALU is a component of the CPU, so A is correct. It performs arithmetic and logical operations. Main memory stores instructions and data rather than being the location of the processor's arithmetic unit.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 23
What consists of the identification of risks or threats, the implementation of security measures, and the monitoring of those measures for effectiveness?
See answer

Correct answer: (C) Risk Management
Identifying risk, applying controls and monitoring them form risk management, so C is correct. Risk assessment is an important part but does not by itself describe the whole continuing treatment and monitoring cycle.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 24
Which of the following attributes is not a valid attribute of the tag in HTML ?
(A) text
(B) background
(C) bgcolor
(D) width
1 marks
Answer review

The HTML element's name is missing in the original PDF too. These attributes cannot be classified without knowing the element and historical HTML version. Some resemble obsolete body attributes, but guessing that omitted tag is not a sound answer. The item is ungraded.

Source PDF key: (D). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 25
SQL applies conditions on the groups through………clause after groups have been formed.
See answer

Correct answer: (B) having
HAVING filters groups after grouping, so B is correct. WHERE filters individual rows before grouping. For example, HAVING SUM(Score)>100 keeps groups whose total passes the condition; WHERE cannot serve the same aggregate-group role directly.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 26
Given binary numbers A = 101010 and B = 111111, what is the result of (A AND B) OR (A XOR B)?
See answer

Correct answer: (A) 111111
Compute bit by bit: A AND B is 101010 because every bit of B is 1. A XOR B is 010101. OR the two results: 101010 OR 010101 = 111111. Therefore A is correct. The complementary patterns fill all six positions with 1.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 27
A Language for which DFA exist is a________
See answer

Correct answer: (A) Regular Language
A language accepted by a deterministic finite automaton is regular, so A is correct. Conversely, every regular language has a DFA. Having a finite automaton is the defining restriction; a DFA cannot recognize every possible language.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 28
What is the difference between a website and a web page?
See answer

Correct answer: (A) A website is a collection of web pages, while a web page is a single document that is displayed on the web.
A website is a related collection of web pages, while a page is an individual web document, so A is correct. A single-page application can update content dynamically, but this basic distinction still separates the site from an individual document or view.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 29
The “Turing Machine” showed that you could use a/an _____ system to program any algorithmic task.
See answer

Correct answer: (A) binary
A universal computation can be encoded using a binary alphabet, so A is the intended answer. A Turing machine is a mathematical model, not necessarily a physical binary electronic circuit. Binary encodings suffice without claiming every machine uses only two tape symbols in its original description.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 30
What is the term for a condition that occurs during program execution that disrupts the normal flow of instructions?
See answer

Correct answer: (C) Exception
An exception is a condition that interrupts normal execution and may be handled, so C is correct. For example, an invalid conversion can raise an exception. It is different from inheritance or abstraction, which describe program organization.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 31
The term "Data" refers to:
See answer

Correct answer: (C) Raw Facts and figures
The intended wording is 'raw facts and figures', so C is correct. For example, individual temperature readings are data; organizing and interpreting them can produce information about a trend. The printed word 'Row' is a typo for 'Raw', not a reference to database rows.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 32
Which among the following was the first web browser ?
(A) Internet Explorer
(B) Mosaic
(C) Google Chrome
(D) Opera
1 marks
Answer review

The first web browser was Tim Berners-Lee's WorldWideWeb, later called Nexus, in 1990. Mosaic was an influential later graphical browser, not the first web browser. Since the actual first is absent, this item is ungraded.

Source PDF key: (B). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 33
Which among the following search algorithm requires least memory?
See answer

Correct answer: (B) Linear Search
Linear search can use constant auxiliary memory when it scans an array, so B is the least-memory choice here. DFS generally needs a stack and BFS a queue. The source's C would be a common comparison only if DFS were being contrasted with broader graph-search strategies, not constant-space linear search.
Source PDF key: (C). Read the review below; marking follows the reviewed answer where one can be established.

1 marks
Question 34
What is the primary role of the memory-mapped I/O technique in a microcontroller?
(A) It increases the speed of program execution
(B) It provides additional memory space for data storage
(C) It allows external devices to access the microcontroller's memory
(D) It eliminates the need for I/O operations
1 marks
Answer review

Memory-mapped I/O places device registers in the processor's address space so normal memory-access instructions can read or write them. Option C instead suggests a device accessing memory, closer to DMA. None states the main idea accurately, so the item is ungraded.

Source PDF key: (C). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 35
Context switching in an operating system refers to the process of:
See answer

Correct answer: (B) Switching between processes to allow multitasking
A process context switch saves one process's state and restores another's so execution can be shared, making B correct. Switching between user and kernel modes can occur without changing processes. The saved context may include registers and scheduling information.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 36
What is the typical operating voltage range for TTL logic family?
(A) 1.8 V to 3.3 V
(B) 3.3 V to 5.0 V
(C) 5.0 V to 12 V
(D) -5.0 V to 5.0 V
1 marks
Answer review

Classic TTL normally uses a supply near 5 V, often specified around 4.75–5.25 V for standard parts. The listed 5–12 V range is not a valid ordinary TTL supply range. None of the choices gives the correct standard range, so this item is ungraded.

Source PDF key: (C). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 37
Communication over mobile phone is an example of which type of communication mode?
See answer

Correct answer: (C) Full - Duplex
A normal phone conversation allows both sides to speak and listen simultaneously, so full duplex C is correct. Half duplex allows two directions at different times. The classification describes communication capability, not whether people politely take turns speaking.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 38
The advantage of using an expert system development tool is___________?
See answer

Correct answer: (D) all of the mentioned
Expert-system development tools can supply structure, knowledge-engineering assistance and rapid prototyping facilities. Therefore D is the inclusive answer. A tool helps organize work but does not guarantee that the resulting knowledge base is correct.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 39
Consider the statements given below and then choose the correct output from the given options : def Change (N) : N=N+10 print (N , end= '$$ ' ) N=15 Change (N) print (N)
(A) 25$$15
(B) 15$$25
(C) 25$$25
(D) 2525$$
1 marks
Answer review

With the intended indentation, the function's local N becomes 25 while the outer N remains 15. Its print then the final print would show '25$$ 15', including the space in end='$$ '. However, the original PDF has lost the function-body indentation and the choices omit spacing. Literal Python is invalid, so this item is ungraded; the intended scope lesson is still explained.

Source PDF key: (A). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 40
_________________ is two dimensional data structure in Python with row index and column index.
See answer

Correct answer: (A) DataFrame
A pandas DataFrame is a two-dimensional labeled table, so A is correct. It has row and column indexes. A Series is one-dimensional; a plain Python list does not automatically provide the same two-axis labeled table model.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 41
What is the output of the following expression? Sports = "Paralympic Games" print ( Sports. Split ( "m"))
(A) [ ' Paraly ' , 'm' , 'pic Ga', 'm', ' es']
(B) ('Paraly', 'm', 'pic Games')
(C) ('Paraly', 'pic Ga', 'es')
(D) [ 'Paraly', 'pic Ga', 'es']
1 marks
Answer review

Python names are case-sensitive: a string has split(), not Split(). The expression as printed in the PDF raises AttributeError, and none of the options shows it. With lowercase split('m'), the result would be ['Paraly', 'pic Ga', 'es']. The intended D is explained but the literal defective item is ungraded.

Source PDF key: (D). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 42
A PDA chooses the next move based on
(A) Current state
(B) Next input symbol
(C) Both (a) and (b)
(D) None of these
1 marks
Answer review

A PDA transition depends on the state, next input or an epsilon move, and the stack's top symbol. Choice C names two relevant inputs but omits the stack, while 'none' ignores that they are relevant. The stem does not distinguish necessary inputs from a complete transition description, so the item is ungraded.

Source PDF key: (D). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 43
A photograph is an analog image and a ___ can convert it into a digital image.
See answer

Correct answer: (B) Scanner
A scanner digitizes a physical photograph by sampling it into image data, so B is the direct answer. A camera can also capture a photograph of a print, but the standard document-to-digital device intended here is a scanner.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 44
A problem is said to be in NP if:
See answer

Correct answer: (A) Its solution can be verified in polynomial time
For a decision problem in NP, a suitable certificate can be verified in polynomial time, so A is correct. Equivalent nondeterministic computation must also have a polynomial time bound; B omits that essential restriction. NP does not mean that every problem is known to require exponential time.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 45
The protocol that is used to send e-mails is _________.
See answer

Correct answer: (C) SMTP
SMTP is used to transfer outgoing email, so C is correct. IMAP and POP are associated with retrieving or accessing mail. TCP transports data but is not the application-level mail-sending protocol asked for.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 46
In OOP, what is method overloading?
See answer

Correct answer: (C) Defining multiple methods with the same name but different parameters
Overloading defines methods with the same name and different parameter lists, so C is correct. The language resolves which overload applies. It is different from overriding an inherited method with a compatible signature.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 47
Private Key cryptography is also known as ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐cryptography.
See answer

Correct answer: (B) Symetric
Shared-secret or private-key cryptography is symmetric cryptography, so B is correct. Communicating parties rely on the same secret key or closely related secret material. Public-key cryptography uses a public/private pair and is the asymmetric category.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 48
Which maintenance process model focuses on fixing defects as they are identified?
See answer

Correct answer: (B) Corrective Maintenance
Corrective maintenance fixes defects, so B is correct. Adaptive maintenance responds to a changed environment, while perfective maintenance improves functions or performance. These describe maintenance purposes, not simply sequential life-cycle models like Waterfall.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 49
Which of the following attributes is not a valid attribute of the tag in HTML ?
(A) face
(B) type
(C) size
(D) colour
1 marks
Answer review

The original PDF omits the element name. If it intends the legacy font element, both type and the misspelt colour are invalid attributes; the historical spelling was color. Without the tag and version there is no uniquely justified B. This item is ungraded.

Source PDF key: (B). Read the review below; marking follows the reviewed answer where one can be established.

This question is not graded; read the answer review.

Question 50
Which of the following is the first and foremost step in Image Processing?
See answer

Correct answer: (A) Image acquisition
An image must first be acquired before later processing can act on it, so A is correct. Enhancement modifies appearance, restoration addresses degradation, and segmentation separates regions. The workflow can vary, but data acquisition is the starting requirement.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
पृष्ठ 1 / 3
अगला पृष्ठ →