ISRO Scientist/Engineer SC Computer Science 2020 — ISRO Scientist/Engineer SC 2020 · Computer Science
Computer Science · 78 of 80 questions publicly available
Held on: 2020-01-12
Question 1 Q12434
The immediate addressing mode can be used for
Loading internal registers with initial values.
Perform arithmetic or logical operation on data contained in instructions.
Which of the following is true ?
- A.
Only 1
- B.
Only 2
- C.
Both 1 and 2
- D.
Immediate mode refers to data in cache
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 2 Q12433
Assume a simplified word-addressed CPU with fixed-length, one-word, single-operand instructions during a sequential fetch. Each instruction word contains an opcode and an operand field held in the instruction register. Only the opcode field is transferred to the control unit for decoding; operand data remains in the datapath. Statements associated with registers of a CPU are given. Identify the false statement.
- A.
The program counter holds the memory address of the instruction in execution.
- B.
Only opcode is transferred to the control unit
- C.
An instruction in the instruction register consists of the opcode and the operand
- D.
The value of the program counter is incremented by 1 once its value has been read to the memory address register
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 4 Q12431
Convert the pre-fix expression to in-fix
–* + ABC* – DE + FG - A.
(A – B)*C + (D*E) – (F + G) - B.
(A + B)*C – (D – E)*(F + G) - C.
(A+B-C)*(D-E)*(F+G)
- D.
(A + B)*C – (D*E) – (F + G)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 5 Q12418
An array of 2 two byte integers is stored in big endian machine in byte address as shown below. What will be its storage pattern in little endian machine ?
Address Data
0 × 104 78
0 × 103 56
0 × 102 34
0 × 101 12 - A.
0 × 104 12 0 × 103 56 0 × 102 34 0 × 101 78 - B.
0 × 104 12 0 × 103 34 0 × 102 56 0 × 101 78 - C.
0 × 104 56 0 × 103 78 0 × 102 12 0 × 101 34 - D.
0 × 104 56 0 × 103 12 0 × 102 78 0 × 101 34
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 6 Q12417
A non-pipelined CPU has 12 general purpose registers (R0, R1, R2, ..... R12). Following operation are supported:
ADD Ra, Rb, Rr Add Ra to Rb and store the result in Rr
MUL Ra, Rb, Rr Multiply Ra to Rb and store the result in Rr MUL operations takes two clock cycles, ADD takes one clock cycle. Calculate minimum number of clock cycles required to compute the value of the expression XY + XYZ + YZ. The variables X, Y, Z are initially available in registers R0, R1 and R2 and contents of these registers must not be modified.
- A.
5
- B.
6
- C.
7
- D.
8
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 7 Q12441
Consider a 5-segment pipeline with a clock cycle time of 20 ns for each sub-operation. Find the approximate speed-up ratio between the pipelined and non-pipelined systems when executing 100 instructions. For the stated approximation, treat one bubble due to a data hazard as occurring per five instructions, giving 20 one-cycle bubbles during the run.
- A.
5
- B.
4.03
- C.
4.81
- D.
4.17
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 8 Q12440
Consider a 32-bit processor which supports 70 instructions. Each instruction is 32 bit long and has 4 fields namely opcode, two register identifiers and an immediate operand of unsigned integer type. Maximum value of the immediate operand that can be supported by the processor is 8191. How many registers the processor has ?
- A.
32
- B.
64
- C.
128
- D.
16
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 9 Q12439
In a 8-bit ripple carry adder using identical full adders, each full adder takes 34 ns for computing sum. If the time taken for 8-bit addition is 90 ns, find time taken by each full adder to find carry.
- A.
6 ns
- B.
7 ns
- C.
10 ns
- D.
8 ns
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 10 Q12438
As a full-adder output, the following multiplexer circuit implements which equation?

- A.
Sum equation of full adder
- B.
Carry equation of full adder
- C.
Borrow equation for full subtractor
- D.
Difference equation of a full subtractor
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 11 Q12387
Minimum number of NAND gates required to implement the following binary equation Y = (A̅ + B̅)(C + D)
- A.
4
- B.
5
- C.
3
- D.
6
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 12 Q12396
If ABCD is a 4-bit binary number, then what is code generated by the following circuit?
Circuit transcription: W = A; X = A XOR B; Y = B XOR C; Z = C XOR D. WXYZ are the four output bits in order.
- A.
BCD code
- B.
Gray code
- C.
8421 code
- D.
Excess-3 code
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 13 Q12425
The number of tokens in the following C code segment is
switch(inputvalue)
{
case 1 : b = c * d; break;
default : b = b++; break;
} - A.
27
- B.
29
- C.
26
- D.
24
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 14 Q12424
In a two-pass assembler, resolution of subroutine calls and inclusion of labels in the symbol table is done during
- A.
second pass
- B.
first pass and second pass respectively
- C.
second pass and first pass respectively
- D.
first pass
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 15 Q1429
A stack organised computer is characterised by instructions with
- A.
indirect addressing
- B.
direct addressing
- C.
zero addressing
- D.
index addressing
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 16 Q12409
A computer issues instructions in order and has only two registers and three opcodes: ADD, SUB and MOV. Compare these two orders of a basic block: Case 1 Case 2 t1 = a + b; t2 = c + d; t2 = c + d; t3 = e - t2; t3 = e - t2; t1 = a + b; t4 = t1 - t3; t4 = t1 - t3; All inputs start in memory, and the final t4 must be stored in memory. Use two-address arithmetic: ADD R,s means R ← R + s and SUB R,s means R ← R - s, where the source s may be a register or memory operand. MOV is required for loads and stores. Execute each assignment exactly once in its listed order: do not eliminate an assignment or recompute a value. Intermediate results may remain in registers until needed. Which case needs fewer MOV instructions, and by how many?
- A.
Case 2, 2
- B.
Case 2, 3
- C.
Case 1, 2
- D.
Case 1, 3
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 17 Q12408
Which one indicates a technique of building cross compilers?
- A.
Beta cross
- B.
Canadian cross
- C.
Mexican cross
- D.
X-cross
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 18 Q12407
Consider a 2-dimensional array x with 10 rows and 4 columns, with each element storing a value equivalent to the product of the row number and column number. Count row and column positions from 1 for the element values, although the array indices start at 0. The array is stored in row-major format. If the first element x[0][0] occupies the memory location with address 1000 and each element occupies only one memory location, which locations (in decimal) hold a value of 10?
- A.
1018, 1019
- B.
1022, 1041
- C.
1017, 1036
- D.
1000, 1399
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 19 Q12394
What is the in-order successor of 15 in the given binary search tree? The tree has root 15, with left child 6 and right child 18. Node 6 has children 3 and 7; node 3 has children 2 and 4; node 7 has right child 13; node 13 has left child 9; and node 18 has children 17 and 20.
- A.
18
- B.
6
- C.
17
- D.
20
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 20 Q12393
When height is counted as the number of levels, with the root at level 1, the minimum height of an AVL tree with n nodes is
- A.
Ceil (log2 (n + 1))
- B.
1.44 log2 n
- C.
Floor (log2 (n + 1))
- D.
1.64 log2 n
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 21 Q12392
The master theorem
- A.
assumes the subproblems are unequal sizes
- B.
can be used if the subproblems are of equal size
- C.
cannot be used for divide and conquer algorithms
- D.
cannot be used for asymptotic complexity analysis
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 22 Q12391
Raymonds tree based algorithm ensures
- A.
no starvation, but deadlock may occur in rare cases
- B.
no deadlock, but starvation may occur
- C.
neither deadlock nor starvation can occur
- D.
deadlock may occur in cases where the process is already starved
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 23 Q12401
The post-order traversal of a binary tree is ACEDBHIGF. The pre-order traversal is
- A.
ABCDEFGHI
- B.
FBADCEGIH
- C.
FABCDEGHI
- D.
ABDCEFGIH
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 24 Q12400
In linear hashing, if the blocking factor bfr, loading factor i, and number of file buckets N are known, the number of records will be:
- A.
cr = i + bfr + N
- B.
r = i - bfr - N
- C.
r = i + bfr - N
- D.
r = i × bfr × N
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 25 Q12399
What is compaction refers to
- A.
a technique for overcoming internal fragmentation
- B.
a paging technique
- C.
a technique for overcoming external fragmentation
- D.
a technique for compressing the data
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 26 Q12398
The operating system and the other processes are protected from being modified by an already running process because
- A.
they run at different time instants and not in parallel
- B.
they are in different logical addresses
- C.
they use a protection algorithm in the scheduler
- D.
every address generated by the CPU is being checked against the relocation and limit parameters
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 27 Q12416
Which of the following algorithms defines time quantum ?
- A.
shortest job scheduling algorithm
- B.
round robin scheduling algorithm
- C.
priority scheduling algorithm
- D.
multilevel queue scheduling algorithm
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 28 Q12405
Dispatch latency is defined as
- A.
the speed of dispatching a process from running to the ready state
- B.
the time of dispatching a process from running to ready state and keeping the CPU idle
- C.
the time to stop one process and start running another one
- D.
none of these
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 29 Q12404
An aid to determine the deadlock occurrence is
- A.
resource allocation graph
- B.
starvation graph
- C.
inversion graph
- D.
none of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 30 Q12403
Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6 What are the minimum number of frames required to get a single page fault for the above sequence assuming LRU replacement strategy ?
- A.
7
- B.
4
- C.
6
- D.
5
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 31 Q12402
Three CPU-bound tasks have execution times of 15, 12, and 5 time units and arrive at times 0, t, and 8, respectively. If the operating system uses shortest remaining time first (SRTF) scheduling, what should the value of t be to produce four context switches? Ignore the context switches at time 0 and after the last task finishes.
- A.
1 < t < 3
- B.
t = 0
- C.
t ≤ 3
- D.
3 < t < 8
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 32 Q12430
G is an undirected graph with vertex set {v1, v2, v3, v4, v5, v6, v7} and edge set {v1v2, v1v3, v1v4, v2v4, v2v5, v3v4, v4v5, v4v6, v5v6, v6v7}. A breadth-first search (BFS) starts at v1. Which edge must be a BFS tree edge, regardless of the order in which each vertex’s neighbors are scanned?
- A.
v2v4
- B.
v1v4
- C.
v4v5
- D.
v3v4
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 33 Q12429
If the array A contains the items 10, 4, 7, 23, 67, 12 and 5 in that order, what will be the resultant array A after third pass of insertion sort ?
- A.
67, 12, 10, 5, 4, 7, 23
- B.
4, 7, 10, 23, 67, 12, 5
- C.
4, 5, 7, 67, 10, 12, 23
- D.
10, 7, 4, 67, 23, 12, 5
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 34 Q12428
Huffman tree is constructed for the following data: {A, B, C, D, E} with frequency {0.17, 0.11, 0.24, 0.33 and 0.15} respectively. 100 00 01 101 is decoded as
- A.
BACE
- B.
CADE
- C.
BAD
- D.
CADD
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 35 Q12427
Given the grammar S → T * S | T T → U + T | U U → a | b Which of the following statements is wrong?
- A.
Grammar is not ambiguous
- B.
Priority of + over * is ensured
- C.
Right to left evaluation of * and + happens
- D.
None of these
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 36 Q12436
What is the tightest of the listed asymptotic upper bounds for the time complexity of the following code?
sum = 0;
for (i = 1; i <= n; i *= 2)
for (j = 1; j <= n; j++)
sum++;- A.
O(n2)
- B.
O(n log n)
- C.
O(n)
- D.
O(n log n log n)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 37 Q12406
Context free languages are closed under
- A.
union, intersection
- B.
union, kleene closure
- C.
intersection, complement
- D.
complement, kleene closure
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 38 Q12415
Which of the following is true ?
- A.
Every subset of a regular set is regular
- B.
Every finite subset of non-regular set is regular
- C.
The union of two non-regular set is not regular
- D.
Infinite union of finite set is regular
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 39 Q12414
The language which is generated by the grammar S → aSa|bSb|a|b over the alphabet {a, b} is the set of
- A.
Strings that begin and end with the same symbol
- B.
All odd and even length palindromes
- C.
All odd length palindromes
- D.
All even length palindromes
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 40 Q12413
Which of the following classes of languages can validate an IPv4 address in dotted decimal format? It is to be ensured that the decimal values are between 0 and 255
- A.
RE and higher
- B.
CFG and higher
- C.
CSG and higher
- D.
Recursively enumerable language
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 41 Q12412
Minimum number of states required in DFA accepting binary strings not ending in “101” is
- A.
3
- B.
4
- C.
5
- D.
6
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 42 Q12411
Which of the following is a type of a out-of-order execution, with the reordering done by a compiler
- A.
loop unrolling
- B.
dead code elimination
- C.
strength reduction
- D.
software pipelining
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 43 Q12460
Which of the following is an efficient method of cache updating?
- A.
Snoopy writes
- B.
Write through
- C.
Write within
- D.
Buffered write
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 44 Q12459
In a columnar transposition cipher, the plain text is “the tomato is a plant in the night shade family”, keyword is “TOMATO”. The cipher text is
- A.
“TINESAX / EOAHTFX / HTLTHEY / MAIIAIX / TAPNGDL / OSTNHMX”
- B.
“TINESAX / EOAHTFX / MAIIAIX / HTLTHEY / TAPNGDL / OSTNHMX”
- C.
“TINESAX / EOAHTFX / HTLTHEY / MAIIAIX / OSTNHMX / TAPNGDL”
- D.
“EOAHTFX / TINESAX / HTLTHEY / MAIIAIX / TAPNGDL / OSTNHMX”
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 45 Q12458
Which option explicitly describes a large ciphertext change caused by a minimal change to the cryptographic key?
- A.
Large changes in cipher text when the keyword is changed minimally
- B.
Large changes in cipher text when the plain text is changed
- C.
Large impact of keyword change to length of the cipher text
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 46 Q12457
A magnetic disk has 100 cylinders, each with 10 tracks of 10 sectors. If each sector contains 128 Bytes, what is the maximum capacity of the disk in decimal kilobytes (1 kilobyte = 1000 bytes)?
- A.
1,280,000
- B.
1280
- C.
1250
- D.
128,000
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 47 Q12446
How many total bits are required for a direct-mapped cache with 128 KB of data and 1 word block size, assuming a 32-bit address and 1 word size of 4 bytes ?
- A.
2 Mbits
- B.
1.7 Mbits
- C.
2.5 Mbits
- D.
1.5 Mbits
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 48 Q12455
In a DBMS where TRUNCATE auto-commits but an uncommitted DELETE can be rolled back, which statement about DELETE and TRUNCATE is true?
- A.
After the execution of ‘TRUNCATE’ operation, COMMIT and ROLLBACK statements can be performed to retrieve the lost data, while ‘DELETE’ don't allow it.
- B.
After the execution of ‘DELETE’ and ‘TRUNCATE’ operation retrieval is easily possible for the lost data.
- C.
After the execution of ‘DELETE’ operation, COMMIT and ROLLBACK statements can be performed to retrieve the lost data, while TRUNCATE do not allow it.
- D.
After the execution of ‘DELETE’ and ‘TRUNCATE’ operation no retrieval is possible for the lost data.
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 49 Q12423
One instruction tries to write an operand before it is written by previous instruction. This may lead to a dependency called
- A.
True dependency
- B.
Anti-dependency
- C.
Output dependency
- D.
Control hazard
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 50 Q91394
Assuming the relation is in 1NF and its primary key is its only candidate key, if every non-key attribute is fully functionally dependent on the whole primary key, what is the highest normal form guaranteed by these conditions?
- A.
First normal form
- B.
Second normal form
- C.
Third normal form
- D.
Fourth normal form
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 51 Q12421
What happens when this SQL query is executed? SELECT columns FROM TableA RIGHT OUTER JOIN TableB ON A.columnName = B.columnName WHERE A.columnName IS NULL
- A.
All rows in Table B, which meets equality condition above and, none from Table A, which meets the condition
- B.
All rows in Table A, which meets equality condition above and none from Table B, which meets the condition
- C.
All rows in Table B, which meets equality condition
- D.
All rows in Table A, which meets equality condition
- E.
The query fails because aliases A and B are undefined
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): E
Question 52 Q12420
To send same bit sequence, NRZ encoding require
- A.
Same clock frequency as Manchester encoding
- B.
Half the clock frequency as Manchester encoding
- C.
Twice the clock frequency as Manchester encoding
- D.
A clock frequency which depend on number of zeros and ones in the bit sequence
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 53 Q12419
The persist timer is used in TCP to
- A.
To detect crashes from the other end of the connection
- B.
To enable retransmission
- C.
To avoid deadlock condition
- D.
To timeout FIN_Wait1 condition
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 54 Q12450
How is the checksum field in a TCP segment computed?
- A.
ones complement of sum of header and data in bytes
- B.
ones complement of sum of header, data and pseudo header in 16 bit words
- C.
dropped from IPv6 header format
- D.
better than md5 or sh1 methods
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 55 Q12449
If x + 2y = 30, then (2y/5 + x/3) + (x/5 + 2y/3) will be equal to
- A.
8
- B.
16
- C.
18
- D.
20
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 56 Q12448
For the distributions given below :
Which of the following is correct for the above distributions ?
- A.
Standard deviation of A is significantly lower than standard deviation of B
- B.
Standard deviation of A is slightly lower than standard deviation of B
- C.
Standard deviation of A is same as standard deviation of B
- D.
Standard deviation of A is significantly higher than standard deviation of B
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 57 Q12447
The hardware implementation which provides mutual exclusion is
- A.
Semaphores
- B.
Test and set instruction
- C.
Both options
- D.
None of the options
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 58 Q12454
In a networked distributed system, Remote Procedure Calls are used for communication between which processes?
- A.
communication between two processes remotely different from each other on the same system.
- B.
communication between two processes on the same system.
- C.
communication between two processes on separate system.
- D.
None of the above.
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 59 Q12453
Consider the following recursive C function that takes two arguments
unsigned int rer (unsigned int n, unsigned int r) {
if (n > 0) return (n% r + rer(n/r, r));
else return 0;
} What is the return value of the function rer when it is called as rer (513, 2) ?
- A.
9
- B.
8
- C.
5
- D.
2
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 60 Q12452
A given grammar is called ambiguous if
- A.
two or more productions have the same non-terminal on the left hand side
- B.
a derivation tree has more than one associated sentence
- C.
there is a sentence with more than one derivation tree corresponding to it
- D.
brackets are not present in the grammar
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 61 Q12451
What is the output of the code given below?
C#include <stdio.h>
int main( )
{
char name[ ]=“satellites”;
int len;
int size;
len = strlen(name);
size = sizeof(name);
printf(“%d”, len * size);
return 0;
}
- A.
100
- B.
110
- C.
40
- D.
44
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 62 Q12462
What is the output of the following ‘c’ code assuming it runs on a byte addressed little endian machine?
C#include <stdio.h>
int main( )
{
int x; char *ptr;
x = 622,100,101;
printf("%d", (*(char *)&x) * (x % 3));
return 0;
}
- A.
622
- B.
311
- C.
22
- D.
110
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 63 Q12461
What is the output in a 32 bit machine with 32 bit compiler ?
C#include <stdio.h>
rer(int **ptr2, int **ptr1)
{
int* ii;
ii = *ptr2;
*ptr2 = *ptr1;
*ptr1 = ii;
**ptr1 *= **ptr2;
**ptr2 += **ptr1;
}
void main( )
{
int var1 = 5, var2 = 10;
int *ptr1 = &var1, *ptr2 = &var2;
rer(&ptr1, &ptr2);
printf(“%d %d “, var2, var1);
}
- A.
60 70
- B.
50 50
- C.
50 60
- D.
60 50
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 64 Q12456
Regression testing is primarily related to
- A.
Functional testing
- B.
Development testing
- C.
Data flow testing
- D.
Maintenance testing
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 65 Q12445
Of the following sort algorithms, which guarantees O(n log n) worst-case execution time and has execution time least dependent on initial ordering of the input?
- A.
Insertion sort
- B.
Quick sort
- C.
Merge sort
- D.
Selection sort
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 66 Q12444
The following circuit compares two 2-bit binary numbers, X and Y represented by X1X0 and Y1Y0 respectively. (X0 and Y0 represent Least Significant Bits)

Under what condition Z will be 1 ?
- A.
X > Y
- B.
X < Y
- C.
X = Y
- D.
X! = Y
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 68 Q12442
What is the defect rate for Six sigma ?
- A.
1.0 defect per million lines of code
- B.
1.4 defects per million lines of code
- C.
3.0 defects per million lines of code
- D.
3.4 defects per million lines of code
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 69 Q12390
Consider the following pseudo-code:
I = 0; J = 0; K = 8;
while (I < K – 1) //while-1
{
J = J + 1;
while (J < K) //while-2
{
if (x[I] < x[J])
{
temp = x[I];
x[I] = x[J];
x[J] = temp;
}
} // end of while-2
I = I +1;
} // end of while-1 The cyclomatic complexity of the above is
- A.
3
- B.
2
- C.
4
- D.
1
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 70 Q12389
In a class definition with 10 methods, to make the class maximally cohesive, number of direct and indirect connections required among the methods are
- A.
90, 0
- B.
45, 0
- C.
10, 10
- D.
45, 45
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 71 Q12388
Of the following, which best approximates the ratio of the number of non-terminal nodes in the total number of nodes in a complete K-ary tree of depth N ?
- A.
1/N
- B.
(N-1)/N
- C.
1/K
- D.
(K-1)/K
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C
Question 72 Q12437
A stack is implemented with an array of ‘A[0...N – 1]’ and a variable ‘pos’. The push and pop operations are defined by the following code.
push (x)
A[pos] ← x
pos ← pos – 1
end push
pop ( )
pos ← pos + 1
return A[pos]
end pop Which of the following will initialize an empty stack with capacity N for the above implementation ?
- A.
pos ← –1
- B.
pos ← 0
- C.
pos ← 1
- D.
pos ← N – 1
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 73 Q12426
Given that
B(a) means “a is a bear”
F(a) means “a is a fish” and
E(a, b) means “a eats b” Then what is the best meaning of
∀x[F(x) ⇒ ∀y(E(y, x) ⇒ B(y))] - A.
Every fish is eaten by some bear
- B.
Bears eat only fish
- C.
Every bear eats fish
- D.
Only bears eat fish
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D
Question 74 Q12435
An array contains ten elements of this structure, in the declared field order: struct complex { Short s; Byte b; Long l; Int i; }; complex C[10]; The sizes of Byte, Short, Int and Long are 1, 2, 4 and 4 bytes respectively. Each n-byte field begins at an address divisible by n. Use internal padding where needed, do not rearrange fields, and give each array element the smallest stride that is a multiple of 8 bytes and accommodates all fields. The base address of C is divisible by 8. What is the total size of C in bytes?
- A.
150
- B.
160
- C.
200
- D.
240
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 75 Q12397
A grammar is defined as
A → BC
B → x⏐Bx
C → B⏐D
D → y⏐Ey
E → z The non-terminal alphabet of the grammar is
- A.
{A, B, C, D, E}
- B.
{B, C D, E}
- C.
{A, B, C, D, E, x, y, z}
- D.
{x, y, z}
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A
Question 76 Q12386
If A = {x, y, z} and B = {u, v, w, x}, and the universe is {s, t, u, v, w, x, y, z}. Then (A U B') ∩ (A ∩ B) is equal to
- A.
{u, v, w, x}
- B.
{x}
- C.
{u, v, w, x, y, z}
- D.
{u, v, w}
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 77 Q12395
Consider the following circuit

The function by the network above is,
- A.
(AB)'E + EF + (CD)'F
- B.
(E' + ABF')(C + D + F')
- C.
((AB)' + E)(E' + F')(C + D + F')
- D.
(A + B)E' + (EF)' + CDF'
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 78 Q12465
In the following procedure
Integer procedure P(X, Y);
Integer X,Y:
value x;
begin
K = 5;
L = 8;
P = x + y;
end X is called by value and Y is called by name. If the procedure were invoked by the following program fragment
K = 0;
L = 0;
Z = P(K, L); then the value Z would be set equal to
- A.
5
- B.
8
- C.
13
- D.
0
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 79 Q12464
Consider product of three matrices M1, M2 and M3 having w rows and x columns, x rows and y columns, and y rows and z columns. Under what condition will it take less time to compute the product as (M1M2)M3 than to compute M1(M2M3) ?
- A.
Always take the same time
- B.
(1/x + 1/z) < (1/w + 1/y)
- C.
x > y
- D.
(w + x) > (y + z)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B
Question 80 Q12463
A new flip flop with inputs X and Y, has the following property.

Which of the following expresses the next state in terms of X, Y, current state ?
- A.
X'Q' + Y'Q
- B.
X'Q + Y'Q'
- C.
XQ' + YQ
- D.
XQ' + Y'Q
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A