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

  1. Loading internal registers with initial values.

  2. Perform arithmetic or logical operation on data contained in instructions.

Which of the following is true ?

  1. A.

    Only 1

  2. B.

    Only 2

  3. C.

    Both 1 and 2

  4. 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

Solutions and video are in the course

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.

  1. A.

    The program counter holds the memory address of the instruction in execution.

  2. B.

    Only opcode is transferred to the control unit

  3. C.

    An instruction in the instruction register consists of the opcode and the operand

  4. 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

Solutions and video are in the course

Question 4 Q12431

Convert the pre-fix expression to in-fix

–* + ABC* – DE + FG 
  1. A.
    (A – B)*C + (D*E) – (F + G)
  2. B.
    (A + B)*C – (D – E)*(F + G)

  3. C.

    (A+B-C)*(D-E)*(F+G)

  4. 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

Solutions and video are in the course

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 
  1. A.
    0 × 104 12
    0 × 103 56
    0 × 102 34
    0 × 101 78 
  2. B.
    0 × 104 12
    0 × 103 34
    0 × 102 56
    0 × 101 78 
  3. C.
    0 × 104 56
    0 × 103 78
    0 × 102 12
    0 × 101 34 
  4. 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

Solutions and video are in the course

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.

  1. A.

    5

  2. B.

    6

  3. C.

    7

  4. D.

    8

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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.

  1. A.

    5

  2. B.

    4.03

  3. C.

    4.81

  4. D.

    4.17

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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 ?

  1. A.

    32

  2. B.

    64

  3. C.

    128

  4. D.

    16

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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.

  1. A.

    6 ns

  2. B.

    7 ns

  3. C.

    10 ns

  4. D.

    8 ns

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D

Solutions and video are in the course

Question 10 Q12438

As a full-adder output, the following multiplexer circuit implements which equation?

  1. A.

    Sum equation of full adder

  2. B.

    Carry equation of full adder

  3. C.

    Borrow equation for full subtractor

  4. 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

Solutions and video are in the course

Question 11 Q12387

Minimum number of NAND gates required to implement the following binary equation Y = (A̅ + B̅)(C + D)

  1. A.

    4

  2. B.

    5

  3. C.

    3

  4. D.

    6

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A

Solutions and video are in the course

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.

  1. A.

    BCD code

  2. B.

    Gray code

  3. C.

    8421 code

  4. 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

Solutions and video are in the course

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;
 } 
  1. A.

    27

  2. B.

    29

  3. C.

    26

  4. D.

    24

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

Question 14 Q12424

In a two-pass assembler, resolution of subroutine calls and inclusion of labels in the symbol table is done during

  1. A.

    second pass

  2. B.

    first pass and second pass respectively

  3. C.

    second pass and first pass respectively

  4. D.

    first pass

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

Question 15 Q1429

A stack organised computer is characterised by instructions with

  1. A.

    indirect addressing

  2. B.

    direct addressing

  3. C.

    zero addressing

  4. D.

    index addressing

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

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?

  1. A.

    Case 2, 2

  2. B.

    Case 2, 3

  3. C.

    Case 1, 2

  4. 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

Solutions and video are in the course

Question 17 Q12408

Which one indicates a technique of building cross compilers?

  1. A.

    Beta cross

  2. B.

    Canadian cross

  3. C.

    Mexican cross

  4. D.

    X-cross

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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?

  1. A.

    1018, 1019

  2. B.

    1022, 1041

  3. C.

    1017, 1036

  4. D.

    1000, 1399

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

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.

  1. A.

    18

  2. B.

    6

  3. C.

    17

  4. D.

    20

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

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

  1. A.

    Ceil (log2 (n + 1))

  2. B.

    1.44 log2 n

  3. C.

    Floor (log2 (n + 1))

  4. 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

Solutions and video are in the course

Question 21 Q12392

The master theorem

  1. A.

    assumes the subproblems are unequal sizes

  2. B.

    can be used if the subproblems are of equal size

  3. C.

    cannot be used for divide and conquer algorithms

  4. 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

Solutions and video are in the course

Question 22 Q12391

Raymonds tree based algorithm ensures

  1. A.

    no starvation, but deadlock may occur in rare cases

  2. B.

    no deadlock, but starvation may occur

  3. C.

    neither deadlock nor starvation can occur

  4. 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

Solutions and video are in the course

Question 23 Q12401

The post-order traversal of a binary tree is ACEDBHIGF. The pre-order traversal is

  1. A.

    ABCDEFGHI

  2. B.

    FBADCEGIH

  3. C.

    FABCDEGHI

  4. D.

    ABDCEFGIH

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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:

  1. A.

    cr = i + bfr + N

  2. B.

    r = i - bfr - N

  3. C.

    r = i + bfr - N

  4. 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

Solutions and video are in the course

Question 25 Q12399

What is compaction refers to

  1. A.

    a technique for overcoming internal fragmentation

  2. B.

    a paging technique

  3. C.

    a technique for overcoming external fragmentation

  4. 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

Solutions and video are in the course

Question 26 Q12398

The operating system and the other processes are protected from being modified by an already running process because

  1. A.

    they run at different time instants and not in parallel

  2. B.

    they are in different logical addresses

  3. C.

    they use a protection algorithm in the scheduler

  4. 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

Solutions and video are in the course

Question 27 Q12416

Which of the following algorithms defines time quantum ?

  1. A.

    shortest job scheduling algorithm

  2. B.

    round robin scheduling algorithm

  3. C.

    priority scheduling algorithm

  4. 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

Solutions and video are in the course

Question 28 Q12405

Dispatch latency is defined as

  1. A.

    the speed of dispatching a process from running to the ready state

  2. B.

    the time of dispatching a process from running to ready state and keeping the CPU idle

  3. C.

    the time to stop one process and start running another one

  4. 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

Solutions and video are in the course

Question 29 Q12404

An aid to determine the deadlock occurrence is

  1. A.

    resource allocation graph

  2. B.

    starvation graph

  3. C.

    inversion graph

  4. 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

Solutions and video are in the course

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 ?

  1. A.

    7

  2. B.

    4

  3. C.

    6

  4. D.

    5

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

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.

  1. A.

    1 < t < 3

  2. B.

    t = 0

  3. C.

    t ≤ 3

  4. 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

Solutions and video are in the course

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?

  1. A.

    v2v4

  2. B.

    v1v4

  3. C.

    v4v5

  4. D.

    v3v4

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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 ?

  1. A.

    67, 12, 10, 5, 4, 7, 23

  2. B.

    4, 7, 10, 23, 67, 12, 5

  3. C.

    4, 5, 7, 67, 10, 12, 23

  4. 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

Solutions and video are in the course

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

  1. A.

    BACE

  2. B.

    CADE

  3. C.

    BAD

  4. D.

    CADD

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A

Solutions and video are in the course

Question 35 Q12427

Given the grammar S → T * S | T T → U + T | U U → a | b Which of the following statements is wrong?

  1. A.

    Grammar is not ambiguous

  2. B.

    Priority of + over * is ensured

  3. C.

    Right to left evaluation of * and + happens

  4. 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

Solutions and video are in the course

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++;
  1. A.

    O(n2)

  2. B.

    O(n log n)

  3. C.

    O(n)

  4. 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

Solutions and video are in the course

Question 37 Q12406

Context free languages are closed under

  1. A.

    union, intersection

  2. B.

    union, kleene closure

  3. C.

    intersection, complement

  4. 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

Solutions and video are in the course

Question 38 Q12415

Which of the following is true ?

  1. A.

    Every subset of a regular set is regular

  2. B.

    Every finite subset of non-regular set is regular

  3. C.

    The union of two non-regular set is not regular

  4. 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

Solutions and video are in the course

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

  1. A.

    Strings that begin and end with the same symbol

  2. B.

    All odd and even length palindromes

  3. C.

    All odd length palindromes

  4. 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

Solutions and video are in the course

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

  1. A.

    RE and higher

  2. B.

    CFG and higher

  3. C.

    CSG and higher

  4. 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

Solutions and video are in the course

Question 41 Q12412

Minimum number of states required in DFA accepting binary strings not ending in “101” is

  1. A.

    3

  2. B.

    4

  3. C.

    5

  4. D.

    6

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

Question 42 Q12411

Which of the following is a type of a out-of-order execution, with the reordering done by a compiler

  1. A.

    loop unrolling

  2. B.

    dead code elimination

  3. C.

    strength reduction

  4. D.

    software pipelining

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D

Solutions and video are in the course

Question 43 Q12460

Which of the following is an efficient method of cache updating?

  1. A.

    Snoopy writes

  2. B.

    Write through

  3. C.

    Write within

  4. D.

    Buffered write

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A

Solutions and video are in the course

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

  1. A.

    “TINESAX / EOAHTFX / HTLTHEY / MAIIAIX / TAPNGDL / OSTNHMX”

  2. B.

    “TINESAX / EOAHTFX / MAIIAIX / HTLTHEY / TAPNGDL / OSTNHMX”

  3. C.

    “TINESAX / EOAHTFX / HTLTHEY / MAIIAIX / OSTNHMX / TAPNGDL”

  4. 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

Solutions and video are in the course

Question 45 Q12458

Which option explicitly describes a large ciphertext change caused by a minimal change to the cryptographic key?

  1. A.

    Large changes in cipher text when the keyword is changed minimally

  2. B.

    Large changes in cipher text when the plain text is changed

  3. C.

    Large impact of keyword change to length of the cipher text

  4. 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

Solutions and video are in the course

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)?

  1. A.

    1,280,000

  2. B.

    1280

  3. C.

    1250

  4. D.

    128,000

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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 ?

  1. A.

    2 Mbits

  2. B.

    1.7 Mbits

  3. C.

    2.5 Mbits

  4. 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

Solutions and video are in the course

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?

  1. 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.

  2. B.

    After the execution of ‘DELETE’ and ‘TRUNCATE’ operation retrieval is easily possible for the lost data.

  3. 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.

  4. 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

Solutions and video are in the course

Question 49 Q12423

One instruction tries to write an operand before it is written by previous instruction. This may lead to a dependency called

  1. A.

    True dependency

  2. B.

    Anti-dependency

  3. C.

    Output dependency

  4. D.

    Control hazard

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

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?

  1. A.

    First normal form

  2. B.

    Second normal form

  3. C.

    Third normal form

  4. 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

Solutions and video are in the course

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

  1. A.

    All rows in Table B, which meets equality condition above and, none from Table A, which meets the condition

  2. B.

    All rows in Table A, which meets equality condition above and none from Table B, which meets the condition

  3. C.

    All rows in Table B, which meets equality condition

  4. D.

    All rows in Table A, which meets equality condition

  5. 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

Solutions and video are in the course

Question 52 Q12420

To send same bit sequence, NRZ encoding require

  1. A.

    Same clock frequency as Manchester encoding

  2. B.

    Half the clock frequency as Manchester encoding

  3. C.

    Twice the clock frequency as Manchester encoding

  4. 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

Solutions and video are in the course

Question 53 Q12419

The persist timer is used in TCP to

  1. A.

    To detect crashes from the other end of the connection

  2. B.

    To enable retransmission

  3. C.

    To avoid deadlock condition

  4. 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

Solutions and video are in the course

Question 54 Q12450

How is the checksum field in a TCP segment computed?

  1. A.

    ones complement of sum of header and data in bytes

  2. B.

    ones complement of sum of header, data and pseudo header in 16 bit words

  3. C.

    dropped from IPv6 header format

  4. 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

Solutions and video are in the course

Question 55 Q12449

If x + 2y = 30, then (2y/5 + x/3) + (x/5 + 2y/3) will be equal to

  1. A.

    8

  2. B.

    16

  3. C.

    18

  4. D.

    20

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

Question 56 Q12448

For the distributions given below :



Which of the following is correct for the above distributions ?

  1. A.

    Standard deviation of A is significantly lower than standard deviation of B

  2. B.

    Standard deviation of A is slightly lower than standard deviation of B

  3. C.

    Standard deviation of A is same as standard deviation of B

  4. 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

Solutions and video are in the course

Question 57 Q12447

The hardware implementation which provides mutual exclusion is

  1. A.

    Semaphores

  2. B.

    Test and set instruction

  3. C.

    Both options

  4. 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

Solutions and video are in the course

Question 58 Q12454

In a networked distributed system, Remote Procedure Calls are used for communication between which processes?

  1. A.

    communication between two processes remotely different from each other on the same system.

  2. B.

    communication between two processes on the same system.

  3. C.

    communication between two processes on separate system.

  4. 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

Solutions and video are in the course

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) ?

  1. A.

    9

  2. B.

    8

  3. C.

    5

  4. D.

    2

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D

Solutions and video are in the course

Question 60 Q12452

A given grammar is called ambiguous if

  1. A.

    two or more productions have the same non-terminal on the left hand side

  2. B.

    a derivation tree has more than one associated sentence

  3. C.

    there is a sentence with more than one derivation tree corresponding to it

  4. 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

Solutions and video are in the course

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;
 }
  1. A.

    100

  2. B.

    110

  3. C.

    40

  4. D.

    44

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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;
 } 
  1. A.

    622

  2. B.

    311

  3. C.

    22

  4. D.

    110

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D

Solutions and video are in the course

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);
 } 
  1. A.

    60 70

  2. B.

    50 50

  3. C.

    50 60

  4. D.

    60 50

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D

Solutions and video are in the course

Question 64 Q12456

Regression testing is primarily related to

  1. A.

    Functional testing

  2. B.

    Development testing

  3. C.

    Data flow testing

  4. D.

    Maintenance testing

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): D

Solutions and video are in the course

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?

  1. A.

    Insertion sort

  2. B.

    Quick sort

  3. C.

    Merge sort

  4. D.

    Selection sort

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

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 ?

  1. A.

    X > Y

  2. B.

    X < Y

  3. C.

    X = Y

  4. D.

    X! = Y

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): A

Solutions and video are in the course

Question 68 Q12442

What is the defect rate for Six sigma ?

  1. A.

    1.0 defect per million lines of code

  2. B.

    1.4 defects per million lines of code

  3. C.

    3.0 defects per million lines of code

  4. 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

Solutions and video are in the course

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

  1. A.

    3

  2. B.

    2

  3. C.

    4

  4. D.

    1

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): C

Solutions and video are in the course

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

  1. A.

    90, 0

  2. B.

    45, 0

  3. C.

    10, 10

  4. D.

    45, 45

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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 ?

  1. A.

    1/N

  2. B.

    (N-1)/N

  3. C.

    1/K

  4. 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

Solutions and video are in the course

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 ?

  1. A.

    pos ← –1

  2. B.

    pos ← 0

  3. C.

    pos ← 1

  4. 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

Solutions and video are in the course

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))] 
  1. A.

    Every fish is eaten by some bear

  2. B.

    Bears eat only fish

  3. C.

    Every bear eats fish

  4. 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

Solutions and video are in the course

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?

  1. A.

    150

  2. B.

    160

  3. C.

    200

  4. D.

    240

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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

  1. A.

    {A, B, C, D, E}

  2. B.

    {B, C D, E}

  3. C.

    {A, B, C, D, E, x, y, z}

  4. 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

Solutions and video are in the course

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

  1. A.

    {u, v, w, x}

  2. B.

    {x}

  3. C.

    {u, v, w, x, y, z}

  4. 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

Solutions and video are in the course

Question 77 Q12395

Consider the following circuit

image.png

The function by the network above is,

  1. A.

    (AB)'E + EF + (CD)'F

  2. B.

    (E' + ABF')(C + D + F')

  3. C.

    ((AB)' + E)(E' + F')(C + D + F')

  4. 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

Solutions and video are in the course

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

  1. A.

    5

  2. B.

    8

  3. C.

    13

  4. D.

    0

Official answer key

Official answer key (ISRO Scientist/Engineer SC Computer Science 2020 ISRO Scientist/Engineer SC 2020 · Computer Science): B

Solutions and video are in the course

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) ?

  1. A.

    Always take the same time

  2. B.

    (1/x + 1/z) < (1/w + 1/y)

  3. C.

    x > y

  4. 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

Solutions and video are in the course

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 ?

  1. A.

    X'Q' + Y'Q

  2. B.

    X'Q + Y'Q'

  3. C.

    XQ' + YQ

  4. 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

Solutions and video are in the course