Legal Metrology • 2010 • Paper-I
Which of the following regular expressions denote a language comprising all possible strings of even length over the alphabet (0, 1)?
A)
(0 | 1)*
B)
0 | 1 (0 | 1)*
C)
(00 | 01 | 11 | 10)*
D)
(0 | 1) (0 | 1) (0 | 1)*
To find the regular expression for all strings of even length over the alphabet {0, 1}, we need to ensure that every string generated consists of pairs of characters.
1. **Analysis of Option (c):** The expression (00 | 01 | 11 | 10)* allows for any combination of the four possible 2-character strings (00, 01, 11, 10). Since the Kleene star (*) allows for zero or more repetitions of these pairs, any string generated will have a length of 2n (where n is the number of pairs chosen), which is always even. This includes the empty string (length 0), which is considered even. This perfectly describes the language of all even-length strings.
2. **Analysis of Option (a):** (0 | 1)* denotes the set of all possible strings over {0, 1}, including those with odd lengths (e.g., '0', '1', '010').
3. **Analysis of Option (b):** 0 | 1 (0 | 1)* is slightly ambiguous in notation, but typically represents either the character '0' or a string starting with '1' followed by any combination of 0s and 1s. This does not restrict the length to be even.
4. **Analysis of Option (d):** (0 | 1) (0 | 1) (0 | 1)* denotes all strings of length 2 or more. While it starts with two characters, the trailing (0 | 1)* can add any number of characters, allowing for both even and odd lengths (e.g., '000' is length 3 and is accepted).
Therefore, option (c) is the only expression that strictly generates strings of even length.
Legal Metrology • 2010 • Paper-I
A finite automata is a model of computer with
A)
No storage capability
B)
Finite and fixed storage capability
C)
Expandable storage
D)
None of the above
In the Theory of Computation, a Finite Automaton (FA) is the simplest model of computation. Its 'storage' is represented entirely by its states. Since a finite automaton, by definition, has a finite number of states, it has a finite and fixed amount of memory. It cannot remember an arbitrary amount of information (like a stack in a Pushdown Automaton or a tape in a Turing Machine); it can only 'remember' which state it is currently in.
- Option (a) is incorrect because the states themselves act as a form of memory (storage).
- Option (c) is incorrect because expandable storage would characterize a Pushdown Automaton (stack) or a Turing Machine (infinite tape).
- Option (b) is correct because the memory is limited to the predefined, finite set of states defined in the automaton's formal tuple.
Legal Metrology • 2010 • Paper-I
The minimum number of edges in a connected graph with n vertices
A)
n – 1
B)
n
C)
n + 1
D)
None of these
In graph theory, a connected graph is a graph where there is a path between every pair of vertices. To find the minimum number of edges required to keep n vertices connected, we look at the properties of a 'Tree'. A tree is defined as a connected graph that contains no cycles. A fundamental theorem in graph theory states that any tree with n vertices has exactly n - 1 edges. If a graph has fewer than n - 1 edges, it is impossible for it to be connected (it would have at least two separate components). If it has more than n - 1 edges and is connected, it must contain at least one cycle, meaning the number of edges is not the minimum. Therefore, the minimum number of edges required to maintain connectivity among n vertices is n - 1.
Analysis of options:
- a. n - 1: Correct. This is the number of edges in a spanning tree.
- b. n: Incorrect. A connected graph with n edges must contain at least one cycle.
- c. n + 1: Incorrect. This is more than the minimum required.
- d. None of these: Incorrect, as option 'a' is correct.
Legal Metrology • 2010 • Paper-I
Every infinite language is
A)
Always non-regular
B)
Always regular
C)
May be regular or may be non-regular
D)
None of the above
To determine if every infinite language is regular or non-regular, we must look at the definitions of regular languages and infinite languages.
1. **Infinite Regular Languages**: A language is regular if it can be defined by a regular expression or recognized by a Finite Automaton. Many regular languages are infinite. For example, the language L = {a^n | n ≥ 0} (all strings of 'a's) is infinite and is represented by the regular expression 'a*'. Since a Finite Automaton can recognize this using a loop, it is a regular language.
2. **Infinite Non-Regular Languages**: There are many infinite languages that cannot be recognized by a Finite Automaton because they require memory (a stack or tape) to keep track of counts. For example, the language L = {a^n b^n | n ≥ 0} is infinite, but it is a well-known non-regular language (proven via the Pumping Lemma) because a finite automaton cannot count the number of 'a's to match them with 'b's.
Since we have examples of infinite languages that are regular and infinite languages that are non-regular, the correct conclusion is that an infinite language may be either.
- Option (a) is incorrect because some infinite languages (like a*) are regular.
- Option (b) is incorrect because some infinite languages (like a^n b^n) are non-regular.
- Option (c) is correct as it accounts for both possibilities.
Legal Metrology • 2010 • Paper-I
An FSM (Finite State Machine) can be considered to be a TM (Turing Machine)
A)
of finite tape length, without rewinding capability and unidirectional tape movement
B)
of finite tape length, rewinding capability and unidirectional tape movement
C)
of finite tape length, without rewinding capability and bidirectional tape movement
D)
of finite tape length, rewinding capability and bi-directional tape movement
To understand why an FSM (Finite State Machine) is equivalent to a restricted Turing Machine (TM), we must compare their capabilities.
1. **Finite Tape Length**: A standard TM has an infinite tape. An FSM has no external memory other than its internal states. If we restrict a TM to a finite tape (specifically, a tape that only holds the input string), it loses its ability to perform arbitrary computations and becomes limited by the size of the input.
2. **Unidirectional Tape Movement**: An FSM reads the input string exactly once, from left to right. It cannot move the read head backward. Therefore, the TM must be restricted to unidirectional movement (only moving Right).
3. **Without Rewinding Capability**: 'Rewinding' implies the ability to move the head back to the start or a previous position. Since an FSM processes input in a single pass, it cannot rewind.
Comparing the options:
- Option (a) correctly identifies all three restrictions: finite tape (input only), no rewinding, and unidirectional movement. This effectively describes a Deterministic Finite Automaton (DFA).
- Options (b), (c), and (d) suggest bidirectional movement or rewinding capabilities, which would allow the machine to revisit symbols, making it more powerful than a standard FSM (potentially becoming a Linear Bounded Automaton or a full TM).
Legal Metrology • 2010 • Paper-I
If A(G) is an incident matrix of a connected graph G with n vertices the rank of A(G) is
A)
1
B)
2
C)
n–1
D)
n
In graph theory, the incidence matrix A(G) of a graph G with n vertices and m edges is an n x m matrix where the entry a_{ij} is 1 if vertex v_i is incident with edge e_j, and 0 otherwise.
1. For any graph, the sum of the rows of the incidence matrix (over GF(2)) is the zero vector because every edge is incident to exactly two vertices (each column contains exactly two 1s). This implies that the rows are linearly dependent.
2. For a connected graph G with n vertices, it is a well-established theorem in algebraic graph theory that the rank of the incidence matrix A(G) over the field of real numbers (or GF(2) for non-bipartite graphs) is n - 1.
3. Specifically, if the graph is connected, any set of n-1 rows is linearly independent, but the set of all n rows is linearly dependent because the sum of all rows equals 2 times the vector of ones (in R) or the zero vector (in GF(2)).
Therefore, the rank of the incidence matrix A(G) for a connected graph with n vertices is n - 1.
Legal Metrology • 2010 • Paper-I
The rank of a graph with n vertices, e edges and k components is
A)
n
B)
e–n+k
C)
n–k
D)
n+k
In graph theory, the 'rank' of a graph (also known as the rank of the incidence matrix or the size of a spanning forest) is defined as the number of edges in a spanning forest of the graph.
1. For a single connected component (k=1) with n vertices, a spanning tree contains exactly (n - 1) edges.
2. If a graph has k connected components, each component i has n_i vertices and its spanning tree has (n_i - 1) edges.
3. The total number of edges in the spanning forest is the sum of the edges in each component's spanning tree:
Rank = Σ (n_i - 1) = (Σ n_i) - (Σ 1) = n - k.
Analysis of options:
- Option (a) n: Incorrect. This is the number of vertices.
- Option (b) e–n+k: Incorrect. This is the formula for the 'cyclomatic number' or 'nullity' of the graph (the number of independent cycles).
- Option (c) n–k: Correct. This is the standard definition of the rank of a graph.
- Option (d) n+k: Incorrect. This has no standard meaning in basic graph theory metrics.
Legal Metrology • 2010 • Paper-I
The class of type (1) grammars corresponds to
A)
Linear bounded automation
B)
Pushdown automata
C)
Finite automata
D)
Turing machine
This question refers to the Chomsky Hierarchy of grammars, which classifies formal grammars into four levels based on their generative power.
1. **Type-0 (Unrestricted Grammars):** These are the most general grammars and correspond to **Turing Machines** (Option d). They recognize recursively enumerable languages.
2. **Type-1 (Context-Sensitive Grammars):** These grammars have productions of the form αAβ → αγβ, where the length of the right side is at least as long as the left side. They correspond to **Linear Bounded Automata (LBA)** (Option a). LBAs are restricted Turing machines where the available tape space is a linear function of the input size.
3. **Type-2 (Context-Free Grammars):** These grammars have productions of the form A → γ. They correspond to **Pushdown Automata (PDA)** (Option b). They recognize context-free languages.
4. **Type-3 (Regular Grammars):** These are the most restrictive grammars. They correspond to **Finite Automata (FA)** (Option c). They recognize regular languages.
Since the question asks for the automaton corresponding to Type (1) grammars, the correct answer is Linear Bounded Automata.
Legal Metrology • 2010 • Paper-I
Turing machine has
A)
Finite and read only tape
B)
Infinite and read only tape
C)
Infinite and read-write tape
D)
Finite and read-write tape
A Turing Machine (TM) is a mathematical model of computation that consists of an infinite tape divided into cells and a read-write head.
1. **Infinite Tape**: To ensure that the machine does not run out of memory regardless of the input size or the complexity of the computation, the tape is defined as being infinite (usually semi-infinite or infinite in both directions). This allows the TM to simulate any computer algorithm.
2. **Read-Write Capability**: Unlike a Finite Automaton (which only reads input) or a Pushdown Automaton (which reads input and uses a stack), a Turing Machine can both read the symbol currently under the head and write a new symbol back onto the tape. This ability to modify its own storage is what makes it 'Turing Complete'.
Evaluating the options:
- (a) Incorrect: The tape is infinite, not finite, and it is not read-only.
- (b) Incorrect: While the tape is infinite, it must be read-write to function as a general-purpose computer.
- (c) Correct: It possesses an infinite tape and the ability to both read and write.
- (d) Incorrect: The tape is infinite, not finite.
Legal Metrology • 2010 • Paper-I
The length of a Hamiltonian path (if exists) in a connected graph of n vertices is
A)
n–1
B)
n
C)
n + 1
D)
n/2
1. Definition of a Hamiltonian Path: A Hamiltonian path in an undirected or directed graph is a path that visits every vertex exactly once.
2. Vertex Count: The problem states the graph has 'n' vertices.
3. Path Length Definition: In graph theory, the length of a path is defined as the number of edges it contains.
4. Calculation: To visit 'n' distinct vertices exactly once in a single path, the path must start at one vertex and traverse edges to reach the remaining (n-1) vertices. For example, in a path with 3 vertices (A, B, C), the edges are (A,B) and (B,C), totaling 2 edges. Generally, a path visiting 'n' vertices consists of exactly 'n-1' edges.
5. Conclusion: Therefore, the length of a Hamiltonian path in a graph with n vertices is n-1.
Why other options are incorrect:
- Option b (n): A path with n edges would visit n+1 vertices, which exceeds the total number of vertices in the graph.
- Option c (n+1): This would visit n+2 vertices, which is impossible.
- Option d (n/2): This would only visit approximately half of the vertices, failing the definition of a Hamiltonian path.
Legal Metrology • 2010 • Paper-I
A graph with one or more edges (without self loop) is at least
A)
1-chromatic
B)
2- chromatic
C)
3-chromatic
D)
n- chromatic
1. Definition of Chromatic Number: The chromatic number of a graph, denoted by χ(G), is the smallest number of colors needed to color the vertices of a graph such that no two adjacent vertices share the same color.
2. Analysis of the Condition: The question specifies a graph with 'one or more edges' and 'without self loops'.
3. Minimum Requirement: If a graph has at least one edge, there exist at least two vertices (say u and v) that are connected by that edge.
4. Coloring Constraint: According to the rules of vertex coloring, adjacent vertices must have different colors. Therefore, vertex u must be assigned one color, and vertex v must be assigned a different color.
5. Conclusion: Since at least two distinct colors are required to color the endpoints of a single edge, the chromatic number χ(G) must be at least 2.
6. Evaluating Options:
- (a) 1-chromatic: Only possible for a graph with no edges (null graph).
- (b) 2-chromatic: Correct, as any graph with at least one edge requires at least 2 colors.
- (c) 3-chromatic: Not necessarily; a simple edge or a bipartite graph only needs 2 colors.
- (d) n-chromatic: Not necessarily; this would only be true for a complete graph K_n.
Legal Metrology • 2010 • Paper-I
Ethernet uses
A)
Bus topology
B)
Ring topology
C)
Mesh topology
D)
None of the above
Ethernet, as originally defined in the IEEE 802.3 standard, was designed based on a shared medium where all nodes are connected to a single common cable (the backbone), which is the definition of a Bus topology. In early Ethernet implementations (like 10Base5 and 10Base2), a coaxial cable served as the bus, and devices used CSMA/CD (Carrier Sense Multiple Access with Collision Detection) to manage data transmissions and avoid collisions on this shared line. While modern Ethernet uses switches and star topologies (physical star), it remains logically a bus or a point-to-point connection, and in the context of fundamental computer networking exam questions, Ethernet is classically associated with the Bus topology.
Why other options are incorrect:
- Ring topology: This is used by Token Ring (IEEE 802.5) or FDDI, where data travels in a circular loop from one node to the next.
- Mesh topology: This is used in wide-area networks (WANs) or specialized high-reliability networks where every node is connected to several others to ensure redundancy; it is not the standard for Ethernet.
Legal Metrology • 2010 • Paper-I
The boolean function x'y + x'y' + xy is equivalent to
A)
x + y
B)
x + y
C)
x + y
D)
x + y
To simplify the Boolean function f = x'y + x'y' + xy, we can use the laws of Boolean Algebra:
1. Group the first two terms: x'y + x'y'.
2. Factor out the common term x': x'(y + y').
3. Apply the Complement Law (y + y' = 1): x'(1) = x'.
4. Now the expression is: x' + xy.
5. Apply the Distributive Law or the Redundancy Law (Absorption Law variant): x' + xy = (x' + x)(x' + y).
6. Apply the Complement Law again (x' + x = 1): (1)(x' + y) = x' + y.
Wait, let's re-evaluate the simplification based on the provided options.
Alternative grouping:
Group the second and third terms: x'y' + xy (This is XNOR).
Group the first and third terms: x'y + xy = y(x' + x) = y(1) = y.
Now we have: y + x'y'.
Apply the Distributive Law: (y + x')(y + y') = (y + x')(1) = x' + y.
Looking at the provided options (a, b, c, d), they all appear as 'x + y' in the prompt text provided by the user, which suggests a typo in the source options. However, mathematically, the expression x'y + x'y' + xy simplifies to x' + y.
If we check the expression again:
x'y + x'y' + xy
= x'(y + y') + xy
= x' + xy
= (x' + x)(x' + y)
= 1 * (x' + y) = x' + y.
Given the options provided in the prompt are identical ('x + y'), and assuming the intended answer was the simplified form of the logic, the most likely intended correct answer in a standard exam for this specific function is x' + y. However, if the options are corrupted and we must choose from the provided list, there is a discrepancy. But based on standard Boolean simplification, the result is x' + y. If the options were meant to be a) x' + y, b) x + y', c) x + y, d) x' + y', then 'a' would be the correct choice.
Legal Metrology • 2010 • Paper-I
The minimum number of colors are required to color the vertices of a cycle with n modes in such a way that no two adjacent nodes have the same color as
A)
2
B)
3
C)
4
D)
ceil(n/2) + 2
The question asks for the chromatic number $\chi(C_n)$ of a cycle graph with $n$ nodes. In graph theory, the coloring of a cycle graph depends on whether the number of vertices $n$ is even or odd:
1. **Even Cycle ($n$ is even):** A cycle with an even number of vertices is a bipartite graph. Therefore, it can be colored using exactly 2 colors (alternating colors around the ring).
2. **Odd Cycle ($n$ is odd):** A cycle with an odd number of vertices cannot be bipartite. If you alternate two colors, the last vertex will be adjacent to both the first vertex (color 1) and the second-to-last vertex (color 2). Thus, a 3rd color is required for the final vertex to ensure no two adjacent nodes have the same color.
Since the question asks for the number of colors required for 'a cycle with $n$ nodes' without specifying if $n$ is even or odd, it is asking for the general upper bound or the maximum required for any $n$. In competitive exams, when a general formula is not provided in the options (like '2 if n is even, 3 if n is odd'), the answer is typically the maximum value required to satisfy all possible cases of $n$.
- Option (a) 2 is only correct for even $n$.
- Option (b) 3 is the correct general answer because it covers both even and odd cycles (since any graph that can be colored with 2 colors can also be colored with 3).
- Option (c) 4 is unnecessary as no cycle graph requires 4 colors (Brooks' Theorem states $\chi(G) \le \Delta(G)$ unless the graph is a complete graph or an odd cycle; for a cycle, $\Delta = 2$, so $\chi \le 3$).
- Option (d) is mathematically incorrect for cycle coloring.
Legal Metrology • 2010 • Paper-I
After minimization of Boolean expression, y = AC + AB + ABC + BC, we get
A)
A . B + C
B)
A . B + C
C)
A B + BC
D)
None of the above
To minimize the Boolean expression y = AC + AB + ABC + BC, we apply the laws of Boolean Algebra:
1. Original Expression: y = AC + AB + ABC + BC
2. Group terms to factorize: y = AC + BC + AB + ABC
3. Factor out 'C' from the first two terms and 'AB' from the last two terms: y = C(A + B) + AB(1 + C)
4. Apply the Null Law (1 + X = 1): Since (1 + C) = 1, the expression becomes: y = C(A + B) + AB(1)
5. Expand the expression: y = AC + BC + AB
Alternatively, using the Absorption Law (A + AB = A):
- Notice that ABC is a subset of AB (or AC, or BC). Specifically, AB + ABC = AB(1 + C) = AB.
- The expression simplifies to: y = AC + AB + BC.
Comparing the result (y = AB + BC + AC) with the given options:
- Option a: A . B + C (Incorrect)
- Option b: A . B + C (Incorrect - identical to a)
- Option c: AB + BC (Incorrect - missing the AC term)
Since the simplified expression AB + BC + AC is not present in options a, b, or c, the correct choice is 'None of the above'.
Legal Metrology • 2010 • Paper-I
In Boolean algebra A + AB = _______
A)
B
B)
A
C)
AB
D)
A + B
The expression A + AB can be simplified using the laws of Boolean Algebra.
Step 1: Apply the Distributive Law. In Boolean algebra, the term A is equivalent to (A * 1). Therefore, the expression can be rewritten as:
A + AB = (A * 1) + (A * B)
Step 2: Factor out the common term 'A' from both terms:
A * (1 + B)
Step 3: Apply the Annulment Law (or Identity Law for OR). In Boolean algebra, any variable ORed with 1 is always 1 (1 + B = 1):
A * (1)
Step 4: Apply the Identity Law. Any variable ANDed with 1 is the variable itself:
A * 1 = A
This specific simplification is known as the 'Absorption Law' in Boolean algebra, which states that A + AB = A and A(A + B) = A.
Comparing this to the options:
- Option (a) B is incorrect because B is absorbed by A.
- Option (b) A is correct.
- Option (c) AB is incorrect as it represents the AND operation, not the simplified sum.
- Option (d) A + B is incorrect as it ignores the absorption property.
Legal Metrology • 2010 • Paper-I
A large number of computers in a wide geographical area can be efficiently connected by
A)
Twisted pair lines
B)
Coaxial cables
C)
Communications satellites
D)
None of the above
The question asks for the most efficient way to connect a large number of computers across a 'wide geographical area'. This describes a Wide Area Network (WAN).
1. **Twisted pair lines (Option a):** These are typically used for Local Area Networks (LANs) or short-distance telephone connections. They suffer from high attenuation (signal loss) over long distances, making them unsuitable for wide geographical areas.
2. **Coaxial cables (Option b):** While they have better shielding and can cover longer distances than twisted pair, they are still physical cables. Laying thousands of miles of cable across oceans or mountains to connect a 'wide geographical area' is prohibitively expensive and physically impractical.
3. **Communications satellites (Option c):** Satellites provide wireless communication over vast distances. A single satellite can cover a huge footprint of the Earth's surface, allowing computers in different countries or continents to communicate without the need for physical cabling between every point. This makes them the most efficient choice for global or wide-area connectivity.
Therefore, communications satellites are the correct choice for wide geographical connectivity.
Legal Metrology • 2010 • Paper-I
L = {anbncn | n >= 1}, is
A)
Recursive
B)
Recursively enumerable but non-recursive
C)
Non-recursively enumerable
D)
None of the above
Step-by-step reasoning:
1. **Analyze the Language**: The language L = {aⁿbⁿcⁿ | n ≥ 1} consists of strings where a sequence of 'a's is followed by an equal number of 'b's, which is then followed by an equal number of 'c's (e.g., abc, aabbcc, aaabbbccc).
2. **Classification in Chomsky Hierarchy**: This is a classic example of a Context-Sensitive Language (CSL). It is not Context-Free because it cannot be recognized by a Pushdown Automaton (due to the need to track two separate counts simultaneously).
3. **Turing Machine Recognition**: A Turing Machine (TM) can easily decide this language. The TM can mark an 'a', then move right to mark a 'b', then move right to mark a 'c', and repeat this process until all characters are accounted for. If the counts match and no extra characters remain, the TM accepts; otherwise, it rejects.
4. **Recursive vs. Recursively Enumerable**:
- A language is **Recursive** (or Decidable) if there exists a Turing Machine that accepts every string in the language and rejects every string not in the language (it always halts).
- A language is **Recursively Enumerable** (RE) if there exists a TM that accepts every string in the language, but may loop forever on strings not in the language.
5. **Conclusion**: Since we can construct a TM that always halts (either accepting or rejecting) for any input string for L = {aⁿbⁿcⁿ | n ≥ 1}, the language is Recursive.
Comparing with options:
- (a) Recursive: Correct.
- (b) RE but non-recursive: Incorrect, as it is decidable.
- (c) Non-RE: Incorrect, as it is easily recognized by a TM.
Legal Metrology • 2010 • Paper-I
A graph is planer if and only if it does not contain
A)
subgraphs homeomorphic to k3,3 and k5
B)
subgraphs isomorphic to k3,3 or k5
C)
subgraphs isomorphic to k3,3 and k5
D)
subgraphs homeomorphic to k3,3 or k5
This question refers to Kuratowski's Theorem, a fundamental result in graph theory.
1. **Kuratowski's Theorem**: A finite graph is planar if and only if it does not contain a subgraph that is homeomorphic to the complete bipartite graph K3,3 or the complete graph K5.
2. **Understanding 'Homeomorphic'**: Two graphs are homeomorphic if they can both be obtained from the same graph by a sequence of edge subdivisions (adding vertices of degree 2 to an edge). This is a broader condition than 'isomorphic'. A graph might not contain K5 exactly (isomorphically), but it might contain a structure that 'looks' like K5 after removing degree-2 vertices.
3. **Understanding 'Or' vs 'And'**: For a graph to be non-planar, it only needs to contain ONE of these structures. If it contains K5, it is non-planar; if it contains K3,3, it is non-planar. Therefore, the condition for planarity is the absence of EITHER (or both), which is logically represented by 'or' in the context of the forbidden subgraphs.
4. **Evaluating Options**:
- Option (a) uses 'and', implying it must contain both to be non-planar, which is incorrect.
- Option (b) uses 'isomorphic', which is too restrictive (it misses graphs that are homeomorphic but not isomorphic).
- Option (c) uses both 'isomorphic' and 'and', making it doubly incorrect.
- Option (d) correctly uses 'homeomorphic' and the logical 'or'.
Legal Metrology • 2010 • Paper-I
The number of distinct simple graphs with up to three nodes is
A)
15
B)
10
C)
7
D)
9
To find the number of distinct simple graphs with up to three nodes, we must consider the cases where the number of nodes (n) is 0, 1, 2, and 3. In graph theory, 'distinct' usually refers to non-isomorphic graphs.
1. For n = 0: There is only 1 graph (the null graph).
2. For n = 1: There is only 1 graph (a single vertex with no edges).
3. For n = 2: There are 2 possible graphs:
- A graph with 0 edges (two isolated vertices).
- A graph with 1 edge (two vertices connected by an edge).
4. For n = 3: There are 4 possible non-isomorphic graphs:
- 0 edges: Three isolated vertices.
- 1 edge: Two vertices connected, one isolated.
- 2 edges: A path of length 2 (V1-V2-V3).
- 3 edges: A complete graph K3 (a triangle).
Summing these up: 1 (for n=0) + 1 (for n=1) + 2 (for n=2) + 4 (for n=3) = 8.
However, in many competitive exam contexts for this specific question, the 'null graph' (n=0) is often excluded, and the count starts from n=1.
If we consider n=1, 2, and 3:
1 (for n=1) + 2 (for n=2) + 4 (for n=3) = 7.
Comparing this to the options provided: (a) 15, (b) 10, (c) 7, (d) 9. The value 7 matches option (c). Therefore, the question considers graphs with 1, 2, and 3 nodes.
Legal Metrology • 2010 • Paper-I
Typical data transfer rate in LAN are of the order of
A)
Bits per sec
B)
Kilo bits per sec
C)
Mega bits per sec
D)
None of the above
A Local Area Network (LAN) is designed to connect computers and devices over a short distance (such as an office or a building). Because the distance is short, LANs can utilize high-bandwidth cabling (like Twisted Pair or Fiber Optics) to achieve high data transfer rates.
1. **Bits per sec (bps)** and **Kilo bits per sec (Kbps)** are far too slow for modern networking; these rates were more common in very early telegraphy or extremely low-speed modem connections (e.g., 300 bps or 56 Kbps).
2. **Mega bits per sec (Mbps)** is the standard order of magnitude for typical LANs. For example, Fast Ethernet operates at 100 Mbps, and Gigabit Ethernet operates at 1000 Mbps (1 Gbps). Even older Standard Ethernet operated at 10 Mbps.
Therefore, the typical data transfer rate for a LAN is in the order of Megabits per second.
Legal Metrology • 2010 • Paper-I
A Push Down Machine (PDM) behaves like a Turing Machine (TM) when the number of auxiliary memory it has, is
A)
2
B)
1
C)
0
D)
4
A Push Down Automaton (PDA) or Push Down Machine (PDM) is essentially a Finite Automaton equipped with a single stack (LIFO memory). A single stack limits the machine to recognizing Context-Free Languages (CFLs). However, if a PDM is provided with two stacks (auxiliary memories), it gains the ability to simulate a Turing Machine (TM). This is because two stacks can be used to simulate a TM's infinite tape: one stack holds the contents of the tape to the left of the read/write head, and the second stack holds the contents to the right of the head. Moving the head left or right corresponds to popping a symbol from one stack and pushing it onto the other. Therefore, a 2-stack PDA is computationally equivalent to a Universal Turing Machine.
Legal Metrology • 2010 • Paper-I
Context Sensitive Grammar can be recognized by a
A)
Deterministic Push Down Machine (DPDM)
B)
Non Deterministic Push Down Machine (NDPDM)
C)
Finite State Machine (FSM)
D)
Linearly bounded memory machine
This question relates to the Chomsky Hierarchy of languages and their corresponding automata.
1. **Chomsky Hierarchy Mapping:**
- Type 3: Regular Languages $
ightarrow$ recognized by Finite State Machines (FSM).
- Type 2: Context-Free Languages $
ightarrow$ recognized by Pushdown Automata (PDA).
- Type 1: Context-Sensitive Languages $
ightarrow$ recognized by Linear Bounded Automata (LBA).
- Type 0: Recursively Enumerable Languages $
ightarrow$ recognized by Turing Machines.
2. **Analyzing the Options:**
- **Option (a) and (b):** Pushdown Machines (Deterministic or Non-Deterministic) recognize Context-Free Languages, which are a subset of Context-Sensitive Languages but cannot recognize all of them.
- **Option (c):** Finite State Machines recognize Regular Languages, the simplest class in the hierarchy.
- **Option (d):** A 'Linearly bounded memory machine' is another term for a Linear Bounded Automaton (LBA). An LBA is a restricted form of a Turing Machine where the available tape space is a linear function of the length of the input string. This is precisely the machine required to recognize Context-Sensitive Grammars.
Therefore, the correct answer is the Linearly bounded memory machine.
Legal Metrology • 2010 • Paper-I
If L1 is a context-free language, and L2 is a regular set, then L1 ∪ L2 is
A)
Context-free language
B)
Regular language
C)
Non context-free language
D)
None of the above
CFLs closed under union with regular languages (regular is special case of CFL), so union remains context-free.
Legal Metrology • 2010 • Paper-I
If a graph requires k different colors for its proper coloring then the chromatic number of the graph is
A)
k/2
B)
k–1
C)
k
D)
1
Chromatic number chi(G) is minimum k such that k-coloring exists, so if k colors required, chi=k.