ISRO Scientist/Engineer 'SC' Computer Science 2023 question paper, solved
ISRO's written test for Scientist/Engineer 'SC' (Computer Science) under its 2023 advertisement, held on 7 January 2024, question by question. ISRO has published the paper but never an answer key, so every answer here is Skill-Lync's own: computed by a checking script and solved twice more, blind, by separate solvers. Where a question is ambiguous or flawed, the solution says so.
Question paper published by ISRO's Centralised Recruitment Board; answers and solutions by Skill-Lync (no official key exists) · Updated 19 Nov 2026 · 20 of 80 questions on this page
How many questions were in the ISRO Scientist/Engineer Computer Science 2023 paper?
95 multiple-choice questions in two parts, written on 7 Jan 2024. Part A had 80 computer science questions of 1 mark each, with 0.33 deducted for a wrong answer. Part B had 15 aptitude questions worth 20 marks, with no negative marking; they were the same in every discipline and are solved on the Mechanical 2023 paper page. ISRO evaluated Part A out of 74 marks, so it dropped 6 questions from evaluation without saying which, and it never published an answer key for this test: the answers below are Skill-Lync's, each worked out three times independently.
Which subjects carried the most marks?
Counting the 80 Part A questions by subject: data structures and algorithms 15, theory of computation and compilers 10, operating systems 10. Together that is 35 of 80 technical marks. The remaining questions spread over 8 more subjects; the table below links every question.
What was the cut-off for this paper?
ISRO evaluated the Computer Science paper out of 94 (74 + 20). Candidates other than PwBD needed at least 37 in Part A and 10 in Part B (half of each part; 40% for PwBD), and the last candidate short-listed for interview, other than PwBD, scored 51.37 (PwBD 45.00). After a corrected evaluation of Part B, ISRO re-issued the results on 30 May 2024 with 305 candidates short-listed for 47 posts. The selection panel named 42 plus 2 PwBD with 44 on the wait list; the final score of the last name on the main panel (written test and interview, 50% each) was 66.17 out of 100, and ISRO operated the wait list up to number 18 (final score 64.01) before the panel lapsed on 12 Dec 2025.
| Subject | Questions | Question numbers |
|---|---|---|
| Data structures and algorithms | 15 | 1234517232425262829454665 |
| Theory of computation and compilers | 10 | 781011555657585960 |
| Operating systems | 10 | 9484950515253546970 |
| Computer networks | 8 | 1213141516226768 |
| Databases | 7 | 30313233346680 |
| Digital logic | 7 | 35363738394047 |
| Software engineering | 6 | 626376777879 |
| Discrete mathematics and probability | 5 | 641424344 |
| Information security | 5 | 7172737475 |
| Computer organisation and architecture | 4 | 18192021 |
| Programming and languages | 3 | 276164 |
Minimum spanning distance and edge count of a 5-vertex weighted graph
- (a)10, 3
- (b)11, 4
- (c)15, 4
- (d)28, 7
Answer: (b) 11, 4 Skill-Lync answer; ISRO published no key
The graph has vertices A, B, C, D, E and seven edges: AB = 1, AC = 7, BC = 5, BD = 4, BE = 3, CE = 6, DE = 2. All seven edges together weigh 28, which is option (d), but a spanning tree keeps only the cheapest edges that still connect every vertex.
A tree on 5 vertices always has edges, so an answer with 3 edges (option a) cannot be a spanning tree. Run Kruskal: take edges in increasing order of weight and keep each one that does not close a cycle.
AB (1) is kept. DE (2) is kept. BE (3) is kept. BD (4) is skipped because B, D, E are already joined through BE and DE. BC (5) is kept and reaches the last vertex C. The remaining edges CE (6) and AC (7) are not needed.
Checking every choice of 4 edges that connects all five vertices confirms that none is lighter than 11. Option (c) has the right number of edges but a heavier total.
11, 4
Minimum spanning trees decide the cheapest way to wire a set of sites (ground stations, sensors, cluster nodes) so that all of them are connected.
Matching Floyd-Warshall, Dijkstra, Kruskal and Bellman-Ford to their tasks
| (A) Floyd Warshall | (i) shortest path between two vertices |
| (B) Dijkstra | (ii) single source shortest path |
| (C) Kruskal's | (iii) Minimum spanning tree |
| (D) Bellman ford | (iv) solving all pair shortest path |
- (a)(A)-(iii), (B)-(ii), (C)-(iv), (D)-(i)
- (b)(A)-(iv), (B)-(i), (C)-(iii), (D)-(ii)
- (c)(A)-(i), (B)-(ii), (C)-(iii), (D)-(iv)
- (d)(A)-(ii), (B)-(iii), (C)-(i), (D)-(iv)
Answer: (b) (A)-(iv), (B)-(i), (C)-(iii), (D)-(ii) Skill-Lync answer; ISRO published no key
Fix the two certain pairs first. Floyd-Warshall fills a table of distances between every pair of vertices, so it solves the all pair shortest path problem: (A)-(iv). Kruskal's algorithm adds the cheapest edges that do not form a cycle, so it builds a minimum spanning tree: (C)-(iii).
Only option (b) has both of these. Option (a) pairs Kruskal with all pairs and Floyd-Warshall with spanning tree. Option (c) gives Floyd-Warshall the two-vertex problem and Bellman-Ford the all-pairs problem. Option (d) pairs Kruskal with a shortest-path task.
Dijkstra and Bellman-Ford are the two left. Both start from one source vertex and find shortest paths to all others, so (ii) fits both, and either can also give the shortest path between two vertices (stop when the target is reached), so (i) fits both too. The list is loose in this one place. Option (b) is the only one with no wrong pair, and its choice of (B)-(i) and (D)-(ii) is acceptable for that reason.
(A)-(iv), (B)-(i), (C)-(iii), (D)-(ii)
Note on this question Dijkstra and Bellman-Ford are both single source shortest path algorithms, so (B) and (D) could each take (i) or (ii). Option (b) is chosen because it is the only option that pairs Floyd-Warshall with all-pairs and Kruskal with spanning tree.
Route planners use Dijkstra, network-wide distance tables use Floyd-Warshall, and distance-vector routing protocols are built on Bellman-Ford.
Time complexity of finding the diameter of a binary tree with n nodes
- (a)
- (b)
- (c)
- (d)
Answer: (b) Skill-Lync answer; ISRO published no key
The diameter is the number of nodes on the longest path between two nodes. For each node, the longest path that bends at it is (height of left subtree) + (height of right subtree) + 1, and the answer is the maximum of this over all nodes.
The slow way recomputes the heights of both subtrees at every node. On a chain of 240 nodes that took about 120 node visits per node, and the figure doubles when doubles, so the work is . This is the only reason option (a) is tempting.
The standard way returns the height and updates the best diameter in the same post-order traversal, so every node is visited exactly once. In the check, the visits per node stayed at exactly 1 for . The total work is .
No algorithm can do better than looking at all nodes, because any node could be an end of the longest path. So and are impossible. is a valid but loose upper bound, so the best (tight) answer is .
The same one-pass height-and-answer trick is used for tree depth, balance factors and longest paths in dependency graphs and parse trees.
Postorder of the binary search tree with preorder 10, 5, 1, 7, 40, 50
- (a)(1, 5, 7, 10, 40, 50)
- (b)(50, 40, 10, 7, 5, 1)
- (c)(1, 7, 5, 10, 40, 50)
- (d)(1, 5, 7, 50, 40, 10)
Answer: (d) (1, 5, 7, 50, 40, 10) Skill-Lync answer; ISRO published no key
In preorder the first key is the root, so 10 is the root. Keys smaller than 10 go left and larger keys go right: (5, 1, 7) on the left and (40, 50) on the right.
Left subtree: root 5, with 1 as its left child and 7 as its right child. Right subtree: root 40, with 50 as its right child.
Postorder is left, right, root. The left subtree gives 1, 7, 5. The right subtree gives 50, 40. The root comes last:
None of the four printed options equals this. Option (a) is the inorder (sorted) order. Option (b) is the descending order. Option (c), (1, 7, 5, 10, 40, 50), has the left subtree right but puts the root 10 before the right subtree, which breaks the basic rule that the root is last. Option (d), (1, 5, 7, 50, 40, 10), ends with 10 and has the right part 50, 40, 10 correct, and differs only in the order of 7 and 5 (a likely typo for 1, 7, 5).
So the question has a printing error. The nearest valid-looking choice is (d), since it respects the postorder structure of root-last with the right subtree before it.
Closest option: (1, 5, 7, 50, 40, 10)
Note on this question The correct postorder is (1, 7, 5, 50, 40, 10), which is none of the four options. (d) is chosen as the nearest: it ends with the root and has the right part 50, 40, 10 correct, while (c) puts the root before the right subtree.
Postorder is how compilers and file systems process children before parents, for example freeing a directory tree or evaluating an expression tree.
Minimum arithmetic operations to evaluate 8z^3 + 3z + 12
- (a)4
- (b)5
- (c)3
- (d)6
Answer: (b) 5 Skill-Lync answer; ISRO published no key
The expression is printed with in the first term and in the others. That is a typing slip, and it is read as one polynomial in : . Multiplications and additions are counted together.
The direct way computes , then , then (3 multiplications), then (1 more), then adds the three terms (2 additions). That is 6 operations (option d).
Horner's rule factors the polynomial so that is multiplied in step by step:
That is 3 multiplications (, then , then ) and 2 additions (, ): 5 operations. The coefficient is zero, so no step is spent on it.
Could 4 do it? A search through every program of 4 operations (+, -, x) built from and the constants 3, 8, 12 finds none that produces this polynomial, while a 5-operation program exists. So 5 is the minimum, and options (a) and (c) are too small.
5
Note on this question The paper prints 8x^3 + 3z + 12, with an x in the first term; it is read here as 8z^3 + 3z + 12. The count also assumes multiplications and additions are counted together and Horner's rule is the benchmark.
Horner's rule is how libraries evaluate polynomial approximations of sin, cos and exp, and it saves multiplications in embedded and flight code.
Maximum number of simple graphs possible with n labelled vertices
- (a)
- (b)
- (c)
- (d)
Answer: (a) Skill-Lync answer; ISRO published no key
A simple graph has no loops and no repeated edges. For labelled vertices there are possible pairs, and each pair is either an edge or not. Each pair is an independent yes/no choice.
Listing all edge subsets gives 1, 2, 8, 64 and 1024 graphs for , which is . Only option (a) matches at every . Option (c) is what you would get if each vertex could also have a loop.
This counts labelled graphs (vertices are distinguishable). Counting graphs up to isomorphism has no closed form, so that is not the intended reading.
This count explains why exhaustive search over graphs explodes, and why network design and chip layout rely on heuristics.
Regular expression for the identifier token from an epsilon-NFA
Which of the following extended regular expressions corresponds to the token id?
- (a)letter (letter | digit)*
- (b)(letter | digit)* letter
- (c)(letter | digit)*
- (d)letter (letter* | digit*)
Answer: (a) letter (letter | digit)* Skill-Lync answer; ISRO published no key
Read the machine from the start state. The only edge out of the start state is labelled letter and goes to the double-circled final state. So every accepted string begins with a letter, and a letter alone is accepted.
From the final state, epsilon edges lead to a letter branch and a digit branch. Each branch consumes one letter or one digit and reaches the right-hand state by epsilon. A last epsilon edge goes from that state back to the final state, so the loop can repeat any number of times, including zero. The loop is .
Simulating the machine on every string of letters and digits up to length 6 gives exactly the set that this expression accepts, and no other option gives it. Option (b) forces the string to end with a letter, so letter-digit (accepted by the NFA) is wrongly rejected. Option (c) accepts the empty string and strings that start with a digit. Option (d) allows only letters or only digits after the first letter, so letter-letter-digit is wrongly rejected.
letter (letter | digit)*
Lexers for real programming languages define identifiers in just this way, and compile the rule into a DFA that scans source code in one pass.
Number of parse trees of id + id x id under the grammar E -> E+E | ExE | id
Which of the following statements is TRUE:
- (a)The string "id + id × id" has no parse tree according to G
- (b)The string "id + id × id" has only one parse tree according to G
- (c)The string "id + id × id" has exactly two parse trees according to G
- (d)The string "id + id × id" has more than two parse trees according to G
Answer: (c) The string "id + id × id" has exactly two parse trees according to G Skill-Lync answer; ISRO published no key
The grammar gives and the same level and no associativity, so the string can be grouped in more than one way. The string has three ids and two operators, so the top-level split can be at either operator.
Split at : , where the right derives . This is .
Split at : , where the left derives . This is .
Each side has only one way to derive its two-id part, so the total is parse trees. (For 2 operators, the count is the Catalan number .) The grammar is therefore ambiguous. Option (a) fails because the string is in the language, (b) because there are two trees, (d) because there is no third tree.
exactly two parse trees
Ambiguity like this is why programming-language grammars add precedence and associativity rules (or separate expression, term and factor levels), so that every expression has one meaning.
Heap allocation strategy that best exploits spatial locality
- (a)Best Fit
- (b)First Fit
- (c)Next Fit
- (d)Last Fit
Answer: (c) Next Fit Skill-Lync answer; ISRO published no key
Spatial locality means objects used together sit close together in memory (the same cache line or page). Objects allocated one after another are usually used together, so an allocator that places successive requests next to each other helps.
Next Fit remembers where the previous allocation ended and continues the search from there, so consecutive requests come from consecutive addresses, like a bump pointer. First Fit restarts at the lowest address every time, so after a free it puts a new object into an old hole far from the one just allocated. Best Fit hunts for the tightest hole, which scatters objects across the heap. Last Fit (highest-address hole) jumps to the far end of the heap.
A simulation on a 200-unit heap with eleven allocate and free steps adds up the address gaps between each allocation and the previous one. The totals are: Best Fit 140, First Fit 140, Next Fit 70, Last Fit 140. Next Fit has the smallest total, so its successive allocations sit closest together.
Next Fit
Note on this question This is a heuristic claim, not a theorem: locality depends on the allocation and free pattern. Next Fit is the strategy usually cited because successive requests come from consecutive memory, but First Fit can behave almost the same on a workload with few frees.
Allocators trade fragmentation against locality; bump-pointer and arena allocators are used in games and embedded software because sequentially allocated objects stay cache-friendly.
Order in which the phases of a compiler typically work
- (a)Syntax analysis, lexical analysis, semantic analysis, code optimization, intermediate code generation
- (b)Lexical analysis, syntax analysis, semantic analysis, code optimization, intermediate code generation
- (c)Syntax analysis, lexical analysis, syntax analysis, semantic analysis, intermediate code generation, code optimization
- (d)Lexical analysis, syntax analysis, semantic analysis, intermediate code generation, code optimization
Answer: (d) Lexical analysis, syntax analysis, semantic analysis, intermediate code generation, code optimization Skill-Lync answer; ISRO published no key
The front end turns text into meaning step by step. The lexical analyser (scanner) reads characters and produces tokens. The parser then checks that the tokens follow the grammar (syntax analysis). The semantic analyser checks types and declarations on the parse tree.
Then the compiler builds an intermediate code form, and only after that can it optimise, since optimisations work on the intermediate representation. Target code generation follows.
So the order of the phases listed is: lexical, syntax, semantic, intermediate code generation, code optimization. Options (a) and (c) start with syntax analysis, which needs tokens that do not exist yet. Option (b) optimises before there is any intermediate code to optimise.
Lexical analysis, syntax analysis, semantic analysis, intermediate code generation, code optimization
Compiler toolchains such as LLVM mirror this pipeline: a front end per language produces intermediate code, and a shared optimiser and back end work on that.
What LL(1) refers to in parsing
- (a)Grammars that parse the input from left to right, produce a rightmost derivation, with a lookahead of 1 symbol.
- (b)Grammars that parse the input from left to right, produce a leftmost derivation, with a lookahead of 1 symbol.
- (c)Grammars that parse the input from left to right, and backtrack at most once.
- (d)Grammars that parse the input from right to left, produce a leftmost derivation, and backtrack at most once.
Answer: (b) Grammars that parse the input from left to right, produce a leftmost derivation, with a lookahead of 1 symbol. Skill-Lync answer; ISRO published no key
The name unpacks as follows: the first L is for scanning the input from Left to right, the second L is for building a Leftmost derivation, and the (1) is for using one symbol of lookahead to decide which production to apply.
An LL(1) parser never backtracks: for each nonterminal the next input symbol selects exactly one production from the parsing table. A small example grammar, , parses the string aacbb this way, expanding the leftmost nonterminal each time and choosing the production from the next symbol alone. That removes (c) and (d), which allow backtracking, and (d) also scans right to left.
Option (a) describes the wrong family. A left-to-right scan that builds a rightmost derivation (in reverse) is the LR family, for example LR(1) and LALR(1).
Left to right scan, leftmost derivation, 1 symbol lookahead
Hand-written recursive-descent parsers in many compilers are LL(1) in spirit, and parser generators such as ANTLR build on LL parsing.
Window size for over 96% utilisation on a 1 Gbps link with 25 ms RTT
- (a)2000 packets
- (b)2400 packets
- (c)3000 packets
- (d)4000 packets
Answer: (d) 4000 packets Skill-Lync answer; ISRO published no key
Packet size is bits, so one packet takes to send at .
The bandwidth-delay product is , which is 3125 packets of 8000 bits. A window of packets keeps the line busy for out of every cycle of :
For we need , so the window must be at least 3001 packets. Check the options: 2000 gives 64.0%, 2400 gives 76.8%, 3000 gives 95.97% (just under 96%), and 4000 fills the pipe (the utilisation is capped at 100% once reaches the product, about 3125 packets).
The common shortcut ignores the 8 s send time and says packets. That gives exactly 96%, not more than 96%. Since the question says strictly more than 96%, only 4000 meets the condition. The wording is open to a second reading in which 3000 would be intended, but (d) is the one that satisfies what is written.
4000 packets
Note on this question The usual shortcut (window = 96% of the bandwidth-delay product = 3000 packets) gives exactly 96%, not more than 96%. The question says '> 96%', so the smallest listed window that satisfies it is 4000 packets. If '>' was meant as 'at least', option (c) would be intended.
Sizing the TCP window to the bandwidth-delay product is exactly what long-fat links, such as satellite and deep-space links, need to avoid leaving the channel idle.
CSMA/CD data rate for a 1500-byte minimum frame over 1 km of cable
- (a)1 Gbps
- (b)100 Mbps
- (c)500 Mbps
- (d)1.5 Gbps
Answer: (d) 1.5 Gbps Skill-Lync answer; ISRO published no key
CSMA/CD needs the sender to still be transmitting when a collision signal returns from the far end, so the transmission time of the minimum frame must be at least twice the one-way propagation delay:
The propagation delay is , so . The minimum frame is bits, so the speed at which 12000 bits take exactly is
At 1 Gbps the same frame would take 12 s, which is more than needed, so the minimum frame at that speed would be only 1000 bytes. At 100 Mbps or 500 Mbps the minimum would be even smaller. The speed that makes 1500 bytes exactly the minimum frame is 1.5 Gbps.
1.5 Gbps
This is why the minimum Ethernet frame size and the maximum segment length were fixed together, and why Gigabit Ethernet needed carrier extension on half-duplex links.
Bandwidth wasted by 6-byte headers at each of 5 layers on a 270-byte message
- (a)5%
- (b)20%
- (c)10%
- (d)15%
Answer: (c) 10% Skill-Lync answer; ISRO published no key
Each of the 5 layers adds a 6-byte header, so the headers total bytes. The message grows from 270 to bytes on the wire.
The fraction of the transmitted bytes that is header (the wasted bandwidth) is
Dividing by the message size instead gives , but the bandwidth carries the whole 300 bytes, so the base is 300. Options (a), (b) and (d) match neither.
10%
Header overhead is why small packets are inefficient, and why telemetry and IoT links often compress headers or batch small messages.
Matching 802.11ac, a/g, ad and b with their wireless LAN speeds
| Versions of 802.11 | Speed of Wireless LAN |
|---|---|
| (i) 802.11ac | (P) 7 Gbps |
| (ii) 802.11 a/g | (Q) 11 Mbps |
| (iii) 802.11 ad | (R) 54 Mbps |
| (iv) 802.11 b | (S) 3.5 Gbps |
- (a)(i) - (S), (ii) - (R), (iii) - (P), (iv) - (Q)
- (b)(i) - (S), (ii) - (R), (iii) - (Q), (iv) - (P)
- (c)(i) - (R), (ii) - (S), (iii) - (P), (iv) - (Q)
- (d)(i) - (R), (ii) - (Q), (iii) - (P), (iv) - (S)
Answer: (a) (i) - (S), (ii) - (R), (iii) - (P), (iv) - (Q) Skill-Lync answer; ISRO published no key
Use the headline peak rates of each amendment. 802.11b (2.4 GHz) gives 11 Mbps: (iv)-(Q). 802.11a (5 GHz) and 802.11g (2.4 GHz) both give 54 Mbps: (ii)-(R). 802.11ad (60 GHz, WiGig) reaches about 6.8 Gbps, quoted as 7 Gbps: (iii)-(P).
That leaves 802.11ac (5 GHz) with 3.5 Gbps: (i)-(S). This fits first-wave 802.11ac devices, which reach about 3.47 Gbps; the later second wave reaches about 6.9 Gbps, which is why 7 Gbps is also loosely linked to ac.
Option (b) gives 802.11b the 7 Gbps and ad the 11 Mbps, option (c) gives ac 54 Mbps and a/g 3.5 Gbps, and option (d) gives ac 54 Mbps and b 3.5 Gbps. All of these are impossible, so only (a) is consistent.
(i) - (S), (ii) - (R), (iii) - (P), (iv) - (Q)
Peak PHY rates like these are why Wi-Fi throughput on the box rarely matches what an application sees: real throughput is far lower once protocol overhead and distance are counted.
Which pair of codes are both error correcting: parity, CRC, Reed-Solomon, LDPC
- (a)Both Parity and Cyclic Redundancy Check are error correcting codes
- (b)Both Parity and Low Density Parity Check Code are error correcting codes
- (c)Both Reed-Solomon code and Low Density Parity Check Code are error correcting codes
- (d)Both Cyclic Redundancy Check and Low Density Parity Check Code are error correcting codes
Answer: (c) Both Reed-Solomon code and Low Density Parity Check Code are error correcting codes Skill-Lync answer; ISRO published no key
A parity bit only tells you that an odd number of bits flipped. With one flipped bit the check looks the same whichever of the 8 positions was hit, so the bad bit cannot be located and the code cannot correct it. It is an error-detecting code.
CRC treats the data as a polynomial and checks the remainder after division. A non-zero remainder says the frame is damaged, and the usual response is to discard it and ask for a resend. CRC is also designed for detection, not correction.
Reed-Solomon codes work on symbols and can correct up to symbol errors (using check symbols), so they are error-correcting codes. LDPC codes are sparse parity-check codes decoded iteratively, and they come close to the Shannon limit, so they are error-correcting codes as well.
Options (a), (b) and (d) each contain parity or CRC, so each pairs a detection-only code with something else. Only (c) has two correcting codes.
Both Reed-Solomon code and Low Density Parity Check Code are error correcting codes
Reed-Solomon protects CDs, QR codes and deep-space telemetry, while LDPC is used in 5G, Wi-Fi and satellite broadcasting; CRC guards Ethernet frames and files by detection only.
Reverse Polish (postfix) form of A*B+C*D
- (a)AB*CD*+
- (b)A*BCD*+
- (c)AB*CD+*
- (d)A*B*CD+
Answer: (a) AB*CD*+ Skill-Lync answer; ISRO published no key
Reverse Polish notation is postfix: every operator comes after its two operands, so no brackets are needed.
Multiplication has higher precedence than addition, so means . Convert each product first: and . The final then goes after both: .
The shunting-yard method gives the same string, AB*CD*+. Check by evaluating it with a stack: push , , apply , push , , apply , then apply to the two products.
The others are wrong. Options (b) and (d) keep an operator before its operands, so they are not postfix. Option (c) ends with after , which computes instead.
AB*CD*+
Compilers and calculators convert infix to postfix because a stack can then evaluate it in one left-to-right pass, which is also how stack-based virtual machines run expressions.
What happens in a vectored interrupt
- (a)The branch address is assigned to a fixed location in memory
- (b)The interrupting source supplies the branch information to the processor
- (c)The branch address is obtained from a register in the processor
- (d)None of the above
Answer: (b) The interrupting source supplies the branch information to the processor Skill-Lync answer; ISRO published no key
In a vectored interrupt the device that raises the request also sends, on the data bus, a code called the vector. The processor uses it to find the address of that device's service routine, so it jumps there straight away without polling every device to find who interrupted.
Option (a) describes a fixed-address (non-vectored) scheme, where every interrupt goes to one known location and software must then identify the source. Option (c) is not a mechanism for choosing between devices, since a processor register does not know which device interrupted.
So the defining feature is that the interrupting source supplies the branch information.
The interrupting source supplies the branch information to the processor
Interrupt vector tables in microcontrollers and flight computers let a timer, a sensor or a communication link get its own handler with minimum latency.
Processor architecture giving the fastest execution of a fixed instruction count
- (a)ANSA – Advanced Network Systems Architecture
- (b)Super-scalar
- (c)ISA – Instruction Set Architecture
- (d)All of the above
Answer: (b) Super-scalar Skill-Lync answer; ISRO published no key
A super-scalar processor has several execution units and can issue more than one instruction in every clock cycle. Toy example: 12 independent instructions on a 5-stage pipeline need 16 cycles if one instruction is issued per cycle, but only 10 cycles with two-way issue.
The other options are not processor implementations that speed anything up. An ISA is the specification of the instructions the programmer sees (a particular ISA can be built as a slow or a fast processor). ANSA (Advanced Networked Systems Architecture) is a framework for distributed systems, not a CPU design. So (d) is also wrong.
Super-scalar
Modern application processors are super-scalar and out-of-order, while many space-qualified processors stay simple and in-order to keep power and radiation risk low.
Structure used to implement an instruction pipeline
- (a)LIFO buffer
- (b)FIFO buffer
- (c)Stack
- (d)None of the above
Answer: (b) FIFO buffer Skill-Lync answer; ISRO published no key
In a pipeline the fetch stage reads instructions ahead and the execute stage consumes them later. The two stages must pass instructions in program order: the first fetched must be the first executed. A first-in first-out (FIFO) buffer, the prefetch queue, does exactly that.
A LIFO buffer or a stack would hand back the most recent instruction first. With instructions I1, I2, I3, I4 fetched in order, a FIFO returns I1, I2, I3, I4, while a stack would return the reverse order, which breaks program execution.
FIFO buffer
FIFO queues sit between pipeline stages, between a sensor and its processor, and in network cards, anywhere a faster producer must hand work to a consumer in order.