ISRO Scientist/Engineer SC Computer Science 2018 — ISRO Scientist/Engineer SC 2018 · Computer Science
Computer Science · 79 of 80 questions publicly available
Held on: 2018-04-22
Question 1 Q12316
Consider the following program
#include <stdio.h>
int main()
{
int x = 1;
printf("%d", *(char *)&x);
return 0;
}Assuming required header files are included and if the machine in which this program is executed is little-endian, then the output will be
- A.
0
- B.
99999999
- C.
1
- D.
unpredictable
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 2 Q12306
Consider the following declaration :
Cstruct addr {
char city[10];
char street[30];
int pin ;
};
struct {
char name[30];
int gender;
struct addr locate;
} person , *kd = &person ;
Then *(kd -> name +2) can be used instead of
- A.
person.name +2
- B.
kd -> (name +2 )
- C.
*((*kd).name + 2 )
- D.
either (A) or (B), but not (C)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 3 Q12337
If a variable can take only integral values from 0 to n, where n is an integer, then the variable can be represented as a bit-field whose width is (the log in the answers are to the base 2, and [log n] means the floor of log n)
- A.
[log(n)] + 1 bits
- B.
[log (n-1)] + 1 bits
- C.
[log (n+1)] + 1 bits
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 4 Q12307
The following C program
main()
{
fork() ; fork() ; printf ("yes");
}
If we execute this core segment, how many times the string yes will be printed ?
- A.
Only once
- B.
2 times
- C.
4 times
- D.
8 times
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 5 Q12368
Consider the following table in a relational database
Last Name Rank Room Shift
Smith Manager 234 Morning
Jones Custodian 33 Afternoon
Smith Custodian 33 Evening
Doe Clerical 222 Morning
According to the data shown in the table, which of the following could be a candidate key of the table?
- A.
{Last Name}
- B.
{Room}
- C.
{Shift}
- D.
{Room, Shift}
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 6 Q12369
A data driven machine is one that executes an instruction if the needed data is available. The physical ordering of the code listing does not dictate the course of execution. Consider the following pseudo-code:
(A) Multiply E by 0.5 to get F
(B) Add A and B to get E
(C) Add B with 0.5 to get D
(D) Add E and F to get G
(E) Add A with 10.5 to get C
Assume A, B, C are already assigned values and the desired output is G. Which of the following sequence of execution is valid?
- A.
B, C, D, A, E
- B.
C, B, E, A, D
- C.
A, B, C, D, E
- D.
E, D, C, B, A
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 7 Q12310
Assume A and B are non-zero positive integers. The following code segment:
while ( A != B){
if ( A > B ) A - = B ;
else B - = A ;
}
cout << A; // printing the value of A
- A.
Computes the LCM of two numbers
- B.
Divides the larger number by the smaller number
- C.
Computes the GCD of two numbers
- D.
Finds the smaller of two numbers
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 8 Q12315
A language with string manipulation facilities uses the following operations.
head(s)- returns the first character of the string s
tail(s)- returns all but the first character of the string s
concat(s1, s2)- concatenates string s1 with s2.
The output of concat(head(s), head(tail(tail(s)))), where s is acbc is
- A.
ab
- B.
ba
- C.
ac
- D.
aa
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 9 Q12335

In the diagram above, the inverter (NOT gate) and the AND-gates labeled 1 and 2 have delays of 9, 10 and 12 nanoseconds(ns), respectively. Wire delays are negligible. For certain values of a and c, together with certain transition of b, a glitch (spurious output) is generated for a short time, after which the output assumes its correct value. The duration of the glitch is
- A.
7 ns
- B.
9 ns
- C.
11 ns
- D.
13 ns
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 11 Q12308
_______ can detect burst error of length less than or equal to degree of the polynomial and detects burst errors that affect odd number of bits.
- A.
Hamming Code
- B.
CRC
- C.
VRC
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 12 Q12374
An array A consists of n integers in locations A[0], A[1] ....A[n-1]. It is required to shift the elements of the array cyclically to the left by k places, where 1 <= k <= (n-1). An incomplete algorithm for doing this in linear time, without using another array is given below. Complete the algorithm by filling in the blanks. Assume all the variables are suitably declared.
min = n; i = 0;
while (___________) {
temp = A[i]; j = i;
while (________) {
A[j] = ________
j= (j + k) mod n ;
If ( j< min ) then
min = j;
}
A[(n + i — k) mod n] = _________
i = __________
- A.
i > min; j!= (n+i)mod n; A[j + k]; temp; i + 1 ;
- B.
i < min; j!= (n+i)mod n; A[j + k]; temp; i + 1;
- C.
i > min; j!= (n+i+k)mod n; A[(j + k)]; temp; i + 1;
- D.
i < min; j!= (n+i-k)mod n; A[(j + k)mod n]; temp; i + 1;
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 13 Q12361
The difference between a named pipe and a regular file in Unix is that
- A.
Unlike a regular file, named pipe is a special file
- B.
The data in a pipe is transient, unlike the content of a regular file
- C.
Pipes forbid random accessing, while regular files do allow this.
- D.
All of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 14 Q12333
A class of 30 students occupy a classroom containing 5 rows of seats, with 8 seats in each row. If the students seat themselves at random, the probability that the sixth seat in the fifth row will be empty is
- A.
1/5
- B.
1/3
- C.
1/4
- D.
2/5
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 15 Q12342
The domain of the function log( log sin(x) ) is
- A.
0 < x < π
- B.
2nπ < x < (2n + 1) π , for n in N
- C.
Empty set
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 16 Q12312
The following paradigm can be used to find the solution of the problem in minimum time: Given a set of non-negative integer, and a value K, determine if there is a subset of the given set with sum equal to K:
- A.
Divide and Conquer
- B.
Dynamic Programming
- C.
Greedy Algorithm
- D.
Branch and Bound
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 17 Q12334
( G, *) is an abelian group. Then
- A.
x = x -1, for any x belonging to G
- B.
x = x2, for any x belonging to G
- C.
(x * y )2 = x2 * y2, for any x, y belonging to G
- D.
G is of finite order
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 18 Q12305
Consider the following C code segment:
#include <stdio.h>
main()
{
int i, j , x ;
scanf("%d", &x);
i = 1 ; j = 1;
while ( i< 10 ) {
j = j * i;
i = i + 1;
if (i == x) break ;
}
}
For the program fragment above, which of the following statements about the variables i and j must be true after execution of this program? [!(exclamation) sign denotes factorial in the answer]
- A.
(j = (x-1)!) ∧ (i ≥ x)
- B.
(j = 9!) ∧ (i = 10)
- C.
((j = 10!) ∧ (i = 10)) ∨ ((j = (x-1)!) ∧ (i = x))
- D.
((j = 9!) ∧ (i ≥ 10)) ∨ ((j = (x-1)!) ∧ (i = x))
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 19 Q12336
Given √224r = 13r the value of radix r is
- A.
10
- B.
8
- C.
6
- D.
5
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 20 Q12313
Determine the number of page faults when references to pages occur in the order - 1, 2, 4, 5, 2, 1, 2, 4. Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2, with page 1 having brought earlier than page 2.(assume LRU i.e. Least-Recently-Used algorithm is applied)
- A.
3
- B.
4
- C.
5
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 21 Q12362
Consider a system having m resources of the same type. These resources are shared by 3 processes A, B, C which have peak time demands of 3, 4, 6 respectively. The minimum value of m that ensures deadlock will never occur is
- A.
11
- B.
12
- C.
13
- D.
14
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 22 Q12321
A computer has 1000 K of main memory. The jobs arrive and finish in the sequence Job 1 requiring 200 K arrives Job 2 requiring 350 K arrives Job 3 requiring 300 K arrives Job 1 finishes Job 4 requiring 120 K arrives Job 5 requiring 150 K arrives Job 6 requiring 80 K arrives Among best fit and first fit, which performs better for this sequence?
- A.
First fit
- B.
Best fit
- C.
Both perform the same
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 23 Q12322
Disk requests come to a disk driver for cylinders in the order 10, 22, 20, 2, 40, 6, and 38 at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms/cylinder. The total seek time, if the disk arm scheduling algorithms is first-come-first-served is
- A.
360 ms
- B.
850 ms
- C.
900 ms
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 24 Q12370
Choose the correct statement:
- A.
A = {an bn | n = 1, 2, 3, .... } is a regular language
- B.
The set B, consisting of all strings made up of only a’s and b’s having equal number of a’s and b’s defines a regular language
- C.
L(A * B) ∩ B gives the set A
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 25 Q12340
CFG (Context Free Grammar) is not closed under
- A.
Union
- B.
Complementation
- C.
Kleene star
- D.
Product
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 26 Q12339
The FSM (Finite State Machine) machine pictured in the figure above

- A.
Complements a given bit pattern
- B.
Finds 2's complement of a given bit pattern
- C.
Increments a given bit pattern by 1
- D.
Changes the sign bit
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 27 Q12341
A CFG(Context Free Grammar) is said to be in Chomsky Normal Form (CNF), if all the productions are of the form A -> BC or A -> a. Let G be a CFG in CNF. To derive a string of terminals of length x, the number of products to be used is
- A.
2x - 1
- B.
2x
- C.
2x + 1
- D.
2x
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 28 Q12376
Incremental-Compiler is a compiler
- A.
which is written in a language that is different from the source language
- B.
compiles the whole source code to generate object code afresh
- C.
compiles only those portion of source code that have been modified.
- D.
that runs on one machine but produces object code for another machine
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 29 Q12377
DU-chains(Definition-Use) in compiler design
- A.
consist of a definition of a variable and all its uses, reachable from that definition
- B.
are created using a form of static code analysis
- C.
are prerequisite for many compiler optimization including constant propagation and common sub-expression elimination
- D.
All of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 30 Q12383
Which of the following comment about peep-hole optimization is true?
- A.
It is applied to small part of the code and applied repeatedly
- B.
It cannot be used to optimize intermediate code
- C.
It can be applied to a portion of the code that is not contiguous
- D.
It is applied in symbol table to optimize the memory requirements.
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 31 Q12345
A byte-addressable computer has a memory capacity of 2m KB (kilobytes) and can perform 2n operations. An instruction involving three operands and one operator needs a maximum of:
- A.
3m bits
- B.
3m + n bits
- C.
m + n bits
- D.
none of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 32 Q12349
A computer uses ternary system instead of the traditional binary system. An n bit string in the binary system will occupy
- A.
3 + n ternary digits
- B.
2n / 3 ternary digits
- C.
n(log23) ternary digits
- D.
n(log32 ) ternary digits
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 33 Q12324
Which of the following is application of Breath First Search on the graph?
- A.
Finding diameter of the graph
- B.
Finding bipartite graph
- C.
Both (a) and (b)
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 34 Q12348
Micro program is
- A.
the name of a source program in micro computers
- B.
set of micro instructions that defines the individual operations in response to a machine-language instruction
- C.
a primitive form of macros used in assembly language programming
- D.
a very small segment of machine code
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 35 Q12363
Given two sorted list of size m and n respectively. The number of comparisons needed the worst case by the merge sort algorithm will be
- A.
m x n
- B.
maximum of m and n
- C.
minimum of m and n
- D.
m + n - 1
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 36 Q12375
A hash table with 10 buckets with one slot per bucket is depicted here. The symbols, S1 to S7 are initially entered using a hashing function with linear probing. The maximum number of comparisons needed in searching an item that is not present is
Index | Value |
0 | S7 |
1 | S1 |
2 | |
3 | S4 |
4 | S2 |
5 | |
6 | S5 |
7 | |
8 | S6 |
9 | S3 |
- A.
4
- B.
5
- C.
6
- D.
3
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 37 Q12323
The running time of an algorithm is given by
T(n) = T(n-1) + T(n-2) — T(n-3), if n > 3
= arbitrary initial values, for n ≤ 3Then what should be the relation between T(1), T(2) and T(3), so that the order of the algorithm is constant ?
- A.
T(1) = T(2) = T(3)
- B.
T(1) + T(3) = 2 * T(2)
- C.
T(1) - T(3) = T(2)
- D.
T(1) + T(2) = T(3)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 38 Q12343
The number of edges in a regular graph of degree d and n vertices is
- A.
maximum of n and d
- B.
n + d
- C.
nd
- D.
nd / 2
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 39 Q12365
Perform window to viewport transformation for the point (20, 15). Assume that (Xwmin, Ywmin) is (0,0); (Xwmax, Ywmax) is (100,100); (Xvmin, Yvmin) is (5,5); (Xvmax, Yvmax) is (20,20). The value of x and y in the viewport is
- A.
x = 4 , y = 4
- B.
x = 3 , y = 3
- C.
x = 8 , y = 7.25
- D.
x = 3 , y = 4
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 40 Q12329
Given relations R(w,x) and S(y,z), the result of
SELECT DISTINCT w, x
FROM R, S
Is guaranteed to be same as R, if
- A.
R has no duplicates and S is non-empty
- B.
R and S have no duplicates
- C.
S has no duplicates and R is non-empty
- D.
R and S have the same number of tuples
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 41 Q91386
For a database relation R(a,b,c,d) where the domains of a, b, c and d include only atomic values, only the following functional dependencies and those that can be inferred from them hold a → c b → d The relation is in
- A.
First normal form but not in second normal form
- B.
Second normal form but not in third normal form
- C.
Third normal form
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 42 Q12330
Consider the set of relations given below and the SQL query that follows
Students : (Roll number, Name, Date of birth)
Courses: (Course number, Course name, instructor)
Grades: (Roll number, Course number, Grade)
SELECT DISTINCT Name
FROM Students, Courses, Grades
WHERE Students.Roll_number = Grades.Roll_number
AND Courses.Instructor =Sriram
AND Courses.Course_number = Grades.Course_number
AND Grades.Grade = AWhich of the following sets is computed by the above query?
- A.
Names of Students who have got an A grade in all courses taught by Sriram
- B.
Names of Students who have got an A grade in all courses
- C.
Names of Students who have got an A grade in at least one of the courses taught by Sriram
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 43 Q12319
Consider the following C++ program
int a (int m)
{ return ++m; }
int b(int &m)
{ return ++m; }
int c(char &m)
{ return ++m; }
void main ()
{
int p = 0, q = 0, r = 0;
p += a(b(p));
q += b(a(q));
r += a(c(r));
cout << p << q << r;
}Assuming the required header files are already included, the above program
- A.
results in compilation error
- B.
print 123
- C.
print 111
- D.
print 322
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 44 Q12309
Station A uses 32 byte packets to transmit messages to Station B using a sliding window protocol. The round trip delay between A and B is 80 ms and the bottleneck bandwidth on the path between A and B is 128 kbps. What is the optimal window size that A should use?
- A.
20
- B.
40
- C.
160
- D.
320
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 45 Q12350
Assuming that for a given network layer implementation, connection establishment overhead is 100 bytes and disconnection overhead is 28 bytes. What would be the minimum size of the packet the transport layer needs to keep up, if it wishes to implement a datagram service above the network layer and needs to keep its overhead to a minimum of 12.5%. (Ignore transport layer overhead)
- A.
512 bytes
- B.
768 bytes
- C.
1152 bytes
- D.
1024 bytes
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 46 Q12357
In cryptography, the following uses transposition ciphers and the keyword is LAYER. Encrypt the following message. (Spaces are omitted during encryption) WELCOME TO NETWORK SECURITY !
- A.
WMEKREETSILTWETCOOCYONRU!
- B.
EETSICOOCYWMEKRONRU!LTWET
- C.
LTWETONRU!WMEKRCOOCYEETSI
- D.
ONRU!COOCYLTWETEETSIWMEKR
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 47 Q12353
In a particular program, it is found that 1% of the code accounts for 50% of the execution time. To code a program in C++, it takes 100 man-days. Coding in assembly language is 10 times harder than coding in C++, but runs 5 times faster. Converting an existing C++ program into an assembly language program is 4 times faster. To completely write the program in C++ and rewrite the 1% code in assembly language, if a project team needs 13 days, the team consists
- A.
13 programmers
- B.
10 programmers
- C.
8 programmers
- D.
100/13 programmers
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 48 Q12354
In unit testing of a module, it is found that for a set of test data, at the maximum 90% of the code alone were tested with the probability of success 0.9. The reliability of the module is
- A.
Greater than 0.9
- B.
Equal to 0.9
- C.
At most 0.81
- D.
At least 0.81
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 49 Q12380
In a file which contains 1 million records and the order of the tree is 100, then what is the maximum number of nodes to be accessed if B+ tree index is used?
- A.
5
- B.
4
- C.
3
- D.
10
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 50 Q12320
A particular disk unit uses a bit string to record the occupancy or vacancy of its tracks, with 0 denoting vacant and 1 for occupied. A 32-bit segment of this string has hexadecimal value D4FE2003. The percentage of occupied tracks for the corresponding part of the disk, to the nearest percentage is
- A.
12
- B.
25
- C.
38
- D.
44
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 51 Q12332
Which of the following is dense index?
- A.
Primary index
- B.
Clusters index
- C.
Secondary index
- D.
Secondary non key index
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 52 Q12326
In E-R model, Y is the dominant entity and X is subordinate entity
- A.
If X is deleted, then Y is also deleted
- B.
If Y is deleted, then X is also deleted
- C.
If Y is deleted, then X is not deleted
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 53 Q12325
Immunity of the external schemas (or application programs) to changes in the conceptual schema is referred to as:
- A.
Physical Data Independence
- B.
Logical Data Independence
- C.
Both (a) and (b)
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 54 Q12327
The set of attributes X will be fully functionally dependent on the set of attributes Y if the following conditions are satisfied.
- A.
X is functionally dependent on Y
- B.
X is not functionally dependent on any proper subset of Y
- C.
Both (a) and (b)
- D.
None of these
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 55 Q12331
Let us assume that transaction T1 has arrived before transaction T2. Consider the schedule
S=r1(A); r2(B) ; w2(A); w1(B) Which of the following is true?
- A.
Allowed under basic timestamp protocol.
- B.
Not allowed under basic timestamp protocols because T1 is rolled back
- C.
Not allowed under basic timestamp protocols because T2 is rolled back
- D.
None of these
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 56 Q12311
The time complexity of computing the transitive closure of binary relation on a set of n elements is known to be
- A.
O(n)
- B.
O(n log n)
- C.
O(n 3/2)
- D.
O(n 3)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 57 Q12381
Given a binary-max heap. The elements are stored in an arrays as 25, 14, 16, 13, 10, 8, 12. What is the content of the array after two delete operations?
- A.
14,13,8,12,10
- B.
14,12,13,10,8
- C.
14,13,12,8,10
- D.
14,13,12,10,8
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 58 Q12355
The Functions Point (FP) metric is
- A.
Calculated from user requirement
- B.
Calculated from lines of code
- C.
Calculated from software complexity assessment
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 59 Q12352
The lower degree of cohesion is kind of
- A.
Logical Cohesion
- B.
Coincidental Cohesion
- C.
Procedural Cohesion
- D.
Communicational Cohesion
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 60 Q12318
What is the output of the following program ?
main (){
int x = 2, y = 5;
if(x < y) return (x = x + y);
else printf ("z1");
printf("z2");
}
- A.
z2
- B.
z1z2
- C.
Compilation error
- D.
None of these
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 61 Q12359
The Operating System of a computer may periodically collect all the free memory space to form contiguous block of free space. This is called:
- A.
Concatenation
- B.
Garbage collection
- C.
Collision
- D.
Dynamic Memory Allocation
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 62 Q11875
Any set of Boolean operators that is sufficient to represent all Boolean expressions is said to be complete. Which of the following is not complete?
- A.
{NOT, OR}
- B.
{NOR}
- C.
{AND, OR}
- D.
{AND, NOT}
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 63 Q12372
Consider a singly linked list of the form where F is a pointer to the first element in the linked list and L is the pointer to the last element in the list. The time of which of the following operations depends on the length of the list?

- A.
Delete the last element of the list
- B.
Delete the first element of the list
- C.
Add an element after the last element of the list
- D.
Interchange the first two elements of the list
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 64 Q12379
A particular BNF definition for a “word” is given by the following rules.
<word> ::= <letter> | <letter><charpair> | <letter><intpair>
<charpair> ::= <letter><letter> | <charpair><letter><letter>
<intpair> ::= <integer><integer> | <intpair><integer><integer>
<letter> ::= a | b | c | ... | y | z
<integer> ::= 0 | 1 | 2 | ... | 9
Which of the following lexical entries can be derived from <word>? I. pick II. picks III. c44
- A.
I, II and III
- B.
I and II only
- C.
I and III only
- D.
II and III only
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 65 Q12344
Of the following, which best characterizes computers that use memory-mapped I/O?
- A.
The computer provides special instructions for manipulating I/O ports
- B.
I/O ports are placed at addresses on the bus and are accessed just like other memory locations
- C.
To perform I/O operations, it is sufficient to place the data in an address register and call channel to perform the operation
- D.
I/O can be performed only when memory management hardware is turned on
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 66 Q12364
Of the following sorting algorithms, which has an O(n log n) worst-case running time that is least dependent on the initial ordering of the input?
- A.
Merge Sort
- B.
Insertion Sort
- C.
Selection Sort
- D.
Quick Sort
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 67 Q12314
Processes P1 and P2 have a producer-consumer relationship, communicating by the use of a set of shared buffers.
P1: repeat
Obtain an empty buffer
Fill it
Return a full buffer
forever
P2: repeat
Obtain a full buffer
Empty it
Return an empty buffer
foreverIncreasing the number of buffers is likely to do which of the following?
I. Increase the rate at which requests are satisfied (throughput)
II. Decrease the likelihood of deadlock
III. Increase the ease of achieving a correct implementation
- A.
III only
- B.
II only
- C.
I only
- D.
II and III only
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 68 Q12382
In multi-programmed systems, it is advantageous if some programs such as editors and compilers can be shared by several users. Which of the following must be true of multi-programmed systems in order that a single copy of a program can be shared by several users?
I. The program is a macro
II. The program is recursive
III. The program is reentrant
- A.
I only
- B.
II only
- C.
Ill only
- D.
I, II and III
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 69 Q12360
Let P be a procedure that for some inputs calls itself (i.e. is recursive). If P is guaranteed to terminate, which of the following statement(s) must be true?
I. P has a local variable
II. P has an execution path where it does not call itself
III. P either refers to a global variable or has at least one parameter- A.
I only
- B.
II only
- C.
III only
- D.
II and III only
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 70 Q12317
Consider the following C program
#include <stdio.h>
int main()
{
float sum = 0.0, j =1.0, i = 2.0;
while(i/j > 0.001) {
j = j + 1;
sum = sum + i/j;
printf ( "%f\n", sum );
}
}How many lines of output does this program produce?
- A.
0-9 lines of output
- B.
10-19 lines of output
- C.
20-29 lines of output
- D.
More than 29 lines of output
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 71 Q12346
A particular parallel program computation requires 100 sec when executed on a single processor. If 40% of this computation is inherently sequential (i.e. will not benefit from additional processors), then theoretically best possible elapsed times of this program running with 2 and 4 processors, respectively, are
- A.
20 sec and 10 sec
- B.
30 sec and 15 sec
- C.
50 sec and 25 sec
- D.
70 sec and 55 sec
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D
Question 72 Q98233
Consider the following C code segment
int f(int x) { if (x < 1) return 1; else return (f(x-1) + g(x)); }
int g(int x) { if (x < 2) return 2; else return (f(x-1) + g(x/2)); }
Of the following, which best describes the growth of f(x) as a function of x?
- A.
Linear
- B.
Exponential
- C.
Quadratic
- D.
Cubic
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): B
Question 73 Q12347
For a multi-processor architecture, In which protocol a write transaction is forwarded to only those processors that are known to possess a copy of newly altered cache line ?
- A.
Snoopy bus protocol
- B.
Cache coherency protocol
- C.
Directory based protocol
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 74 Q12356
Avalanche effect in cryptography
- A.
Is desirable property of cryptographic algorithm
- B.
Is undesirable property of cryptographic algorithm
- C.
Has no effect on encryption algorithm
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 75 Q12371
In neural network, the network capacity is defined as
- A.
The traffic carry capacity of the network
- B.
The total number of nodes in the network
- C.
The number of patterns that can be stored and recalled in a network
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 76 Q12385
Cloaking is a search engine optimization (SEO) technique. During cloaking
- A.
Content presented to search engine spider is different from that presented to user\'s browser
- B.
Content present to search engine spider and browser is same
- C.
Contents of user\'s requested website are changed
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 77 Q12351
What is one advantage of setting up a DMZ(Demilitarized Zone) with two firewalls?
- A.
You can control where traffic goes in the three networks
- B.
You can do stateful packet filtering
- C.
You can do load balancing
- D.
Improve network performance
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 78 Q12358
Which one of the following algorithm is not used in asymmetric key cryptography?
- A.
RSA Algorithm
- B.
Diffie-Hellman Algorithm
- C.
Electronic Code Book Algorithm
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): C
Question 79 Q12373
A doubly linked list is declared as
struct Node {
int Value;
struct Node *Fwd;
struct Node *Bwd;
};Where Fwd and Bwd represent forward and backward link to the adjacent elements of the list. Which of the following segments of code deletes the node pointed to by X from the doubly linked list, if it is assumed that X points to neither the first nor the last node of the list?
- A.
X->Bwd->Fwd = X->Fwd; X->Fwd->Bwd = X->Bwd ;
- B.
X->Bwd.Fwd = X->Fwd ; X.Fwd->Bwd = X->Bwd ;
- C.
X.Bwd->Fwd = X.Bwd ; X->Fwd.Bwd = X.Bwd ;
- D.
X->Bwd->Fwd = X->Bwd ; X->Fwd->Bwd = X->Fwd;
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): A
Question 80 Q12378
If Tree-1 and Tree-2 are the trees indicated below :

Which traversals of Tree-1 and Tree-2, respectively, will produce the same sequence?
- A.
Preorder, postorder
- B.
Postorder, inorder
- C.
Postorder, preorder
- D.
none of these.
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2018 ISRO Scientist/Engineer SC 2018 · Computer Science): D