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

2023 · कंप्यूटर विज्ञान · 2023-09-12 · पाली 1

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

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

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

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

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

पृष्ठ 2 / 3
← पिछला पृष्ठअगला पृष्ठ →
Question 51
Which testing approach involves testing individual components or units of code?
See answer

Correct answer: (C) Unit Testing
Unit testing checks an individual unit or component, so C is correct. Integration tests check how parts interact, system tests examine the assembled system, and acceptance tests assess whether it meets acceptance needs. The boundary being tested distinguishes these names.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 52
What is the main goal of System Testing?
See answer

Correct answer: (C) Testing software functionality from the user's perspective
System testing evaluates the complete integrated system against its requirements. Among these choices C is closest, but the scope includes nonfunctional requirements too, not just user-visible functions. Testing whether the customer will accept the product is specifically acceptance testing; do not treat the two terms as identical.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 53
Which metric is used for estimating the size of a software project?
See answer

Correct answer: (B) Function Points (FP)
Function points estimate functional software size from user-visible functions, so B is correct. Cyclomatic complexity concerns control-flow complexity, while defect density compares defects with a size measure. These metrics answer different questions.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 54
What is the purpose of staffing level estimation in software project management?
See answer

Correct answer: (C) To allocate appropriate resources to the project
Staffing estimates help plan how many people and which skills are needed over the project's stages. Therefore allocating appropriate resources, C, is correct. Identifying risks is related project management work but does not define staffing estimation, so the source's B is not correct.
Source PDF key: (B). Read the review below; marking follows the reviewed answer where one can be established.

1 marks
Question 55
Which keyword is used to create an instance of a class in most programming languages?
See answer

Correct answer: (B) new
In Java and C++, new is used in object creation, so B is the intended answer. For example, new Student() constructs a Java object. This is language-specific: Python normally calls the class without a new keyword. Do not infer a universal rule for every programming language.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 56
What is an abstract class in OOP?
See answer

Correct answer: (B) A class that cannot be instantiated
An abstract class cannot be instantiated directly, so B is correct. It may contain implemented methods as well as abstract methods. A concrete subclass supplies any required missing implementations and can then be instantiated.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 57
What is the purpose of the "super" keyword in Java and other similar languages?
See answer

Correct answer: (A) It refers to the superclass in inheritance
In Java, super refers to superclass members or invokes a superclass constructor in the appropriate context, so A is correct. It does not create an unrelated new class or handle exceptions. The exact syntax and rules depend on the programming language.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 58
Which of the following best defines a class?
See answer

Correct answer: (B) A blueprint for creating objects
A class defines the state and behavior from which objects are created, so B is correct. The class Student is a blueprint; an individual Student object is an instance. Keep the definition and its concrete instances distinct.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 59
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 60
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 61
What are abstract methods?
See answer

Correct answer: (C) Methods without a body, defined in an abstract class
An abstract method declares behavior without providing its implementation body, so C is closest. In Java it can be declared in an abstract class, and abstract interface methods also exist. Concrete subclasses or implementations must supply the required behavior before direct instantiation is possible.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 62
Which protocol is commonly used for sending emails?
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 63
What does CSS stand for?
See answer

Correct answer: (D) Cascading Style Sheets
CSS stands for Cascading Style Sheets, so D is correct. It controls presentation such as colors, spacing and layout, while HTML supplies document structure. 'Cascading' relates to how applicable style declarations are resolved.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 64
Which library simplifies JavaScript tasks like HTML document traversal and manipulation?
See answer

Correct answer: (D) jQuery
jQuery supplies convenient APIs for traversing and manipulating an HTML document, so D is correct. React uses a component-based rendering model, while Bootstrap is mainly a UI styling toolkit. These tools have overlapping web uses but different central purposes.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 65
What does AJAX stand for?
See answer

Correct answer: (A) Asynchronous JavaScript and XML
AJAX expands to Asynchronous JavaScript and XML, so A is correct. The name is historical: modern asynchronous requests often exchange JSON instead of XML. The key idea is exchanging data without requiring a full page reload for every interaction.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 66
How does the DOM tree structure reflect the hierarchy of HTML elements?
See answer

Correct answer: (C) In a parent-child relationship
The DOM represents document elements in parent-child relationships, so C is correct. A list can contain list-item children, for example. Their position in the tree comes from document structure, not color, displayed size or alphabetical order.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 67
In XML, which attribute is used to uniquely identify an element?
(A) id
(B) class
(C) name
(D) tag
1 marks
Answer review

In XML, an arbitrary attribute merely named id does not automatically gain ID semantics. An ID-typed attribute can be declared by a DTD or schema, and xml:id supplies standardized ID behavior. Since neither qualification appears in the choices, the source's plain id A is an oversimplification; this item is ungraded.

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 68
The Kleene Star operation accepts the following string of finite length over set A = {0,1} | where string s contains even number of 0 and 1.
See answer

Accepted answers: (B) 0011, 11001100; (D) ε, 0011, 11001100
With both zero and one counts even, 0011 and 11001100 are valid; the empty string also qualifies because zero is even. Thus every string in B and every string in D is accepted. D additionally shows the empty string, but B is not false. Both B and D are accepted; no finite list here describes the whole infinite language.
Source PDF key: (D). Read the review below; marking follows the reviewed answer where one can be established.

1 marks
Question 69
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 70
Let u=’1101’, v=’0001’, then uv=11010001 and vu= 00011101.Using the given information what is the identity element for the string?
See answer

Correct answer: (D) ε
The empty string ε is the identity for concatenation, so D is correct. For every string u, uε=εu=u. The examples uv and vu also show that concatenation is generally not commutative, but that does not change its identity element.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 71
For a DFA accepting binary numbers whose decimal equivalent is divisible by 3, what are all the possible remainders?
See answer

Correct answer: (C) 0,1,2
Division by 3 can leave remainders 0, 1 or 2, so C is correct. A DFA can remember the remainder of the prefix read so far. Reading a new bit b updates it to (2r+b)mod3; remainder 0 is the accepting case for divisible numbers, subject to the chosen empty-string convention.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 72
Minimum Number of states require to accept string ends with 101.
(A) 3
(B) 2
(C) 1
(D) can’t be represented
1 marks
Answer review

A DFA for strings ending in 101 needs four distinguishable states: matched suffixes of length 0, 1, 2 and 3 of that target. The last state is accepting. A following bit can change the relevant suffix, so the accepting state is not simply an absorbing state. Four is missing from the options, so the source's two is not correct and 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 73
If NFA of 5 states excluding the initial state is converted into DFA, maximum possible number of states for the DFA is?
See answer

Correct answer: (A) 64
Five states excluding the initial state means six states in total. Subset construction allows at most 26=64 DFA states, so A is correct. Some subsets may be unreachable in a particular NFA; 64 is the upper bound, not a promise that every conversion produces that many.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 74
The class of CFG is not closed under
See answer

Correct answer: (B) Intersection
Context-free languages are closed under union, concatenation and Kleene star, but not general intersection. Therefore B is correct, not the source's D. There is an important special case: intersecting a context-free language with a regular language does remain context-free.
Source PDF key: (D). Read the review below; marking follows the reviewed answer where one can be established.

1 marks
Question 75
Which among the following is not true about IoT?
See answer

Correct answer: (B) IoT is fully safe
IoT is not automatically fully safe, so B is the false statement. Devices can have authentication, update and physical-security weaknesses. Sensors, actuators and microcontrollers are common components; wireless communication is common but not mandatory for every IoT system.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 76
About IoT, which among the followings isnot correct?
(A) Light sensor is analog
(B) microphone is a digital sensor
(C) Keyboard is a digital sensor
(D) Push button is a digital Sensor
1 marks
Answer review

The answer depends on the sensor and its interface. A microphone may output an analog signal or contain electronics providing a digital output; light sensors also have analog and digital forms. Without specifying devices, 'microphone is digital' cannot serve as a universal false statement. The source intends B, but 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 77
BLE stands for
See answer

Correct answer: (B) Bluetooth low energy
BLE means Bluetooth Low Energy, so B is correct. It is designed for energy-efficient wireless communication, commonly in sensors and other battery-powered devices. It is not expanded as 'large', 'light' or 'long' energy.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 78
WSN stands for?
(A) Wireless Standard Protocol
(B) Wireless Sensor Protocol
(C) Wireless Serial Protocol
(D) Wireless Single Protocol
1 marks
Answer review

WSN stands for Wireless Sensor Network. None of the choices has 'Network'; all say 'Protocol'. Therefore the source's B is not an accurate expansion and the item is ungraded. A network may use several protocols, so the two words are not interchangeable.

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 79
A complex SCADA system has _______levels?
(A) 6
(B) 5
(C) 3
(D) 4
1 marks
Answer review

SCADA architectures can be described with different level conventions. A common hierarchy numbers levels 0 through 4, giving five levels, but other diagrams group functions differently. The question names no model, so four levels D is not a universal fact. This 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 80
What is the role of the MISO pin in the RFID Module?
See answer

Correct answer: (A) Master In Slave Out
MISO means Master In, Slave Out in traditional SPI terminology, so A is correct. The signal carries data from the peripheral toward the controller. MOSI is the opposite data direction. The name describes the pin's communication direction, not RFID-specific search optimization.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 81
Who is known as the father of AI?
See answer

Correct answer: (C) John McCarthy
John McCarthy is conventionally called a father of artificial intelligence and coined the term, so C is the expected answer. Alan Turing and Allen Newell also made major contributions. The honorific is not a claim that AI was created by one person alone.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 82
Programming language commonly used for AI is___?
(A) Lisp
(B) Perl
(C) Prolog
(D) C++
1 marks
Answer review

Lisp and Prolog are classic AI languages, and C++ is also widely used in AI implementations. Perl can be used for programming too, but the question gives no particular task or criterion that makes B uniquely correct. With several reasonable choices and no single defined target, 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 83
The algorithm used in the Game tree to make decisions of Win/Lose is ________________?
See answer

Correct answer: (D) Min/Max algorithm
Minimax selects moves by assuming each player chooses the best available outcome for that player's side, so D is correct. It alternates maximizing and minimizing levels in a game tree. Practical versions often use evaluation functions and pruning when the whole tree is too large.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 84
Uniform-cost search expands the node n with the __________
See answer

Correct answer: (A) Lowest path cost
Uniform-cost search expands the frontier node with the lowest accumulated path cost g(n), so A is correct. It does not choose by estimated remaining cost alone. With suitable nonnegative costs and standard termination rules, this strategy finds a least-cost solution.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 85
The process of removing detail from a given state representation is called ______
See answer

Correct answer: (B) Abstraction
Removing irrelevant detail to produce a simpler representation is abstraction, so B is correct. A route-planning state might keep a city name while ignoring every street-level detail. The abstraction should retain the information needed for the problem's decisions.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 86
What does a first order predicate logic contain?
See answer

Correct answer: (A) Predicate and a subject
Predicate logic represents properties or relations of objects using predicates and terms, with variables and quantifiers as needed. A is the closest basic description, though 'predicate and a subject' is not its full formal definition. For example, Student(x) states a property of x; quantifiers express 'all' or 'some'.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 87
Which of the following can improve the performance of AI agent?
See answer

Correct answer: (B) Learning
Learning can improve an agent's behavior from experience, so B is the intended answer. An agent can revise estimates or policies using feedback. Merely observing without any suitable interpretation or update does not guarantee improved performance, and 'precision' is not itself a learning mechanism.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 88
Which of the following is part of the four main types for e‐commerce?
See answer

Correct answer: (D) All of the above
B2B, B2C and C2B are all recognized e-commerce relationships, so D is correct. They distinguish business-to-business, business-to-consumer and consumer-to-business exchange. C2C is another common category; the letters identify who is on each side of the transaction.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 89
What is the process in which a buyer posts its interest in buying a certain quantity of items, and sellers compete for the business by submitting successively lower bids until there is only one seller left?
See answer

Correct answer: (C) Reverse Auction
In a reverse auction, a buyer requests a product or service and competing sellers reduce their bids, so C is correct. In a usual forward auction, buyers commonly raise bids for a seller's offering. The direction of competition explains the word 'reverse'.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 90
If it is easy for competitors to enter the market, the threat of new entrants is considered:
See answer

Correct answer: (B) High
If entry is easy, more competitors can enter, so the threat of new entrants is high, B. Strong barriers such as large initial costs or legal restrictions would tend to lower that threat. This is an industry-competition concept, not a judgment that every entrant will succeed.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 91
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 92
Which form of e‐marketplace brings together buyers and sellers from the same industry?
See answer

Correct answer: (B) Vertical
A vertical marketplace serves one particular industry or sector, so B is correct. A horizontal marketplace serves needs shared across industries, such as office supplies. 'Vertical' here describes industry focus, not the direction a website is displayed.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 93
Which of the following is done by Secure Sockets Layers?
See answer

Correct answer: (D) All of the above
D is the intended basic answer: the secure channel encrypts data and carries it between communicating endpoints. More precisely, the protocol supplies authentication and integrity as well as confidentiality; a website's trustworthiness is not guaranteed just because a channel is encrypted. SSL is the historical name in this paper; current secure systems use TLS.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 94
The delay that occur during the playback of a stream is called ___________
(A) Stream delay
(B) Playback delay
(C) Jitter
(D) Event delay
1 marks
Answer review

Jitter is variation in packet delay or arrival timing, not simply any playback delay. A fixed buffering or playout delay is a different quantity. Since the question fails to mention variation, its definition does not uniquely support C. The distinction is explained here and 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 95
In teardown state of real time streaming protocol is ___________
See answer

Correct answer: (D) server breaks down the connection
TEARDOWN stops the streaming session and releases associated resources, so D is the closest choice. It should not be read as a guarantee that every underlying transport connection is destroyed in every protocol version. PAUSE suspends delivery while retaining session state; PLAY requests delivery.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 96
In Real Time Interactive Audio Video, Jitter is introduced in real-time data by delay between____
See answer

Correct answer: (D) packets
Network jitter concerns variation in the arrival timing of packets, so D is correct. Packets can experience different queueing or transport delays. A receiving playout buffer smooths some of that variation, at the cost of additional latency.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 97
In Audio and Video Compression, voice is sampled at 8000 samples per second with_____________
See answer

Correct answer: (A) 8 bits per sample
The conventional G.711 telephony example uses 8000 samples per second with 8 encoded bits per sample, so A is correct. The resulting rate is 8000×8=64000 bits per second. Not every audio format uses these values; they describe this familiar voice-encoding case.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 98
Audio compression can be used for____________
See answer

Correct answer: (C) speech or music
Audio compression can represent speech or music more compactly, so C is correct. Lossless methods preserve the exact original data, while lossy methods discard selected information. Pictures and colors are visual content rather than the audio categories asked for.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 99
Each ___ represents a particular colour.
See answer

Correct answer: (C) Pixel value
A pixel value encodes a sample's color or intensity in an image, so C is correct. A frame contains many pixels. In a color image, a pixel may be represented by several channel values rather than one plain color-name word.
Answer key: supplied PDF. Explanation: GyanLake teaching review.

1 marks
Question 100
___________ is basically a form of pictorial presentation.
(A) Photography
(B) Animations
(C) Drawing
(D) Creativity
1 marks
Answer review

Photography, drawing and animation can all be forms of pictorial presentation. Animation is specifically a sequence of images creating an impression of motion, but the question never mentions that feature. Therefore B is not uniquely implied and 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.

पृष्ठ 2 / 3
← पिछला पृष्ठअगला पृष्ठ →