ISRO Scientist/Engineer SC Computer Science 2017 — ISRO Scientist/Engineer SC May 2017 · Computer Science
Computer Science · 78 of 80 questions publicly available
Held on: 2017-05-07
Question 1 Q12252
If A is a skew symmetric matrix, then At
- A.
diagonal matrix
- B.
A
- C.
-A
- D.
0
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 2 Q12290
If A and B be two arbitrary events, then
- A.
P(A ∩ B) = P(A)P(B)
- B.
P(A ∪ B) = P(A) + P(B)
- C.
P(A / B) = P(A ∩ B) + P(B)
- D.
P(A ∪ B) <= P(A) + P(B)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 3 Q12259
Using Newton-Raphson method, a root correct to 3 decimal places of the equation x3 - 3x - 5 = 0
- A.
2.222
- B.
2.275
- C.
2.279
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 4 Q12278
What does the data dictionary identify?
- A.
Field names
- B.
Field formats
- C.
Field Types
- D.
All of these
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 5 Q12248
Which of the following concurrency control protocol ensures both conflict serializability and free from deadlock?
- A.
Time stamp ordering
- B.
2 Phase locking
- C.
Both (a) and (b)
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 6 Q12250
ACID properties of a transactions are
- A.
Atomicity, consistency, isolation, database
- B.
Atomicity, consistency, isolation, durability
- C.
Atomicity, consistency, integrity, durability
- D.
Atomicity, consistency, integrity, database
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 7 Q12247
Database table by name Overtime_allowance is given below:

What is the output of the following SQL query?
select count(*) from ((select Employee, Department from Overtime_allowance) as S
natural join (select Department, OT_allowance from Overtime_allowance) as T);- A.
16
- B.
4
- C.
8
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 8 Q12246
Which symbol denote derived attributes in ER Model?
- A.
Double ellipse
- B.
Dashed ellipse
- C.
Squared ellipse
- D.
Ellipse with attribute name underlined
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 9 Q12251
The symmetric difference of sets A = {1, 2, 3, 4, 5, 6, 7, 8} and B = {1, 3, 5, 6, 7, 8, 9} is
- A.
{1, 3, 5, 6, 7, 8}
- B.
{2, 4, 9}
- C.
{2, 4}
- D.
{1, 2, 3, 4, 5, 6, 7, 8, 9}
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 10 Q10651
The problems 3-SAT and 2-SAT are
- A.
both in P
- B.
both NP-complete
- C.
NP-complete and in P respectively
- D.
undecidable and NP-complete respectively
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 11 Q12241
Given the following statements: S1 : Every context-sensitive language L is recursive S2 : There exists a recursive language that is not context-sensitive Which statements are true?
- A.
Only S1 is correct
- B.
Only S2 is correct
- C.
Both S1 and S2 are not correct
- D.
Both S1 and S2 are correct
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 12 Q12256
Which one of the following is FALSE?
- A.
There is a unique minimal DFA for every regular language
- B.
Every NFA can be converted to an equivalent PDA
- C.
Complement of every context-free language is recursive
- D.
Every non-deterministic PDA can be converted to an equivalent deterministic PDA
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 13 Q12257
In some programming languages, an identifier is permitted to be a letter followed by any number of letters or digits. If L and D denotes the set of letters and digit respectively. Which of the following expression defines an identifier?
- A.
(L + D) *
- B.
(L.D) *
- C.
L(L + D) *
- D.
L(L.D) *
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 14 Q12297
The recurrence relation that arises in relation with the complexity of binary search is:
- A.
T(n) = 2T(n/ 2) + k , where k is constant
- B.
T(n) = T(n / 2) + k , where k is constant
- C.
T(n) = T(n / 2) + log n
- D.
T(n) = T(n / 2) + n
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 15 Q12288
Which one of the following in-place sorting algorithms needs the minimum number of swaps?
- A.
Insertion Sort
- B.
Quick Sort
- C.
Heap Sort
- D.
Selection Sort
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 16 Q12295
Given two statements: (i) Insertion of an element should be done at the last node in a circular list (ii) Deletion of an element should be done at the last node of the circular list
- A.
Both are true
- B.
Both are false
- C.
First is false and second is true
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 17 Q12298
Which of the following data structure is useful in traversing a given graph by breadth first search?
- A.
Stack
- B.
List
- C.
Queue
- D.
None of the above.
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 18 Q12260
How many 128 × 8 bit RAMs are required to design 32 K × 32 bit RAM?
- A.
512
- B.
1024
- C.
128
- D.
32
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 19 Q12261
The most appropriate matching for the following pairs :
X : Indirect Addressing 1. Loop
Y : Immediate Addressing 2. Pointers
Z : Auto Decrement Addressing 3. Constants- A.
X − 3, Y − 2, Z −1
- B.
X − 2, Y − 3, Z −1
- C.
X − 3, Y −1, Z − 2
- D.
X − 2, Y −1, Z − 3
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 20 Q12262
Which interrupt in 8085 Microprocessor is unmaskable?
- A.
RST 5.5
- B.
RST 7.5
- C.
TRAP
- D.
Both (a) and (b)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 21 Q12263
A cache memory needs an access time of 30 ns and main memory 150 ns, what is the average access time of CPU (assume hit ratio = 80%)?
- A.
60 ns
- B.
30 ns
- C.
150 ns
- D.
70 ns
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 22 Q3622
Which one of the following Boolean expressions is NOT a tautology?
- A.
- B.
- C.
- D.
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 23 Q12253
What is the minimum number of two-input NAND gates used to perform the function of two input OR gate?
- A.
One
- B.
Two
- C.
Three
- D.
Four
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 24 Q12254
When two n-bit binary numbers are added the sum will contain at the most
- A.
n bits
- B.
(n + 3) bits
- C.
(n + 2) bits
- D.
(n + 1) bits
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 25 Q12255
The 2-input XOR has a high output only when the input values are
- A.
low
- B.
high
- C.
same
- D.
different
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 26 Q69362
Advantage of synchronous sequential circuits over asynchronous one is
- A.
Lower hardware requirement
- B.
Better noise immunity
- C.
Faster operation
- D.
All of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 27 Q12267
Physical topology of FDDI is?
- A.
Bus
- B.
Ring
- C.
Star
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 28 Q12269
In networking terminology UTP means
- A.
Ubiquitous teflon port
- B.
Uniformly terminating port
- C.
Unshielded twisted pair
- D.
Unshielded T-connector port
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 29 Q12287
The default subnet mask for a class B network can be
- A.
255.255.255.0
- B.
255.0.0.0
- C.
255.255.192.0
- D.
255.255.0.0
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 30 Q12265
If there are n devices (nodes) in a network, what is the number of cable links required for a fully connected mesh and a star topology respectively
- A.
n(n −1) / 2, n −1
- B.
n, n −1
- C.
n −1, n
- D.
n −1, n(n −1) / 2
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 31 Q12270
Which of the following protocol is used for transferring electronic mail messages from one machine to another?
- A.
TELNET
- B.
FTP
- C.
SNMP
- D.
SMTP
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 32 Q12294
Which media access control protocol is used by IEEE 802.11 wireless LAN?
- A.
CDMA
- B.
CSMA/CA
- C.
ALOHA
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 33 Q12232
An Ethernet frame that is less than the IEEE 802.3 minimum length of 64 octets is called
- A.
Short frame
- B.
Small frame
- C.
Mini frame
- D.
Runt frame
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 34 Q12264
Match with the suitable one:
List-I List-II
(A) Multicast group membership 1. Distance vector routing
(B) Interior gateway protocol 2. IGMP
(C) Exterior gateway protocol 3. OSPF
(D) RIP 4. BGP- A.
A-2, B-3, C-4, D-1
- B.
A-2, B-4, C-3, D-1
- C.
A-3, B-4, C-1, D-2
- D.
A-3, B-1, C-4, D-2
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 35 Q12282
MD5 is a widely used hash function for producing hash value of
- A.
64 bits
- B.
128 bits
- C.
512 bits
- D.
1024 bits
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 36 Q12292
Which protocol suite designed by IETF to provide security for a packet at the Internet layer?
- A.
IPsec
- B.
NetSec
- C.
PacketSec
- D.
SSL
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 37 Q12281
Pretty Good Privacy (PGP) is used in
- A.
Browser security
- B.
FTP security
- C.
Email security
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 38 Q12268
What is WPA?
- A.
wired protected access
- B.
wi-fi protected access
- C.
wired process access
- D.
wi-fi process access
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 39 Q12276
Estimation of software development effort for organic software in basic COCOMO is
- A.
E = 2.0(KLOC)1.05PM
- B.
E = 3.4(KLOC)1.06PM
- C.
E = 2.4(KLOC)1.05PM
- D.
E = 2.4(KLOC)1.07PM
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 40 Q12303
XPath is used to navigate through elements and attributes in
- A.
XSL document
- B.
XML document
- C.
XHTML document
- D.
XQuery document
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 41 Q12243
What is the output of this C++ program?
#include <iostream>
using namespace std;
void square(int *x)
{
*x = (*x)++ * (*x);
}
void square(int *x, int *y)
{
*x = (*x) * --(*y);
}
int main()
{
int number = 30;
square(&number, &number);
cout << number;
return 0;
}
- A.
910
- B.
920
- C.
870
- D.
900
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 42 Q12242
Which of the following operator(s) cannot be overloaded?
- A.
. (Member Access or Dot operator)
- B.
?: (Ternary or Conditional Operator)
- C.
:: (Scope Resolution Operator)
- D.
All of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 43 Q12279
Which of the following UML 2.0 diagrams capture behavioural aspects of a system?
- A.
Use Case Diagram, Object Diagram, Activity Diagram, and State Machine Diagram
- B.
Use Case Diagram, Activity Diagram, and State Machine Diagram
- C.
Object Diagram, Communication Diagram, Timing Diagram, and Interaction diagram
- D.
Object Diagram, Composite Structure Diagram, Package Diagram, and Deployment Diagram
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 44 Q12284
Which of the following is associated with objects?
- A.
State
- B.
Behavior
- C.
Identity
- D.
All of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 45 Q12249
Which one of these is characteristic of RAID 5?
- A.
Dedicated parity
- B.
Double parity
- C.
Hamming code parity
- D.
Distributed parity
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 46 Q12266
SATA is the abbreviation of
- A.
Serial Advanced Technology Attachment
- B.
Serial Advanced Technology Architecture
- C.
Serial Advanced Technology Adapter
- D.
Serial Advanced Technology Array
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 47 Q12271
Capability Maturity Model (CMM) is a methodology to
- A.
develop and refine an organization\'s software development process
- B.
develop the software
- C.
test the software
- D.
All of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 48 Q12286
What problem is solved by Dijkstra banker’s algorithm?
- A.
Cache coherence
- B.
Mutual exclusion
- C.
Deadlock recovery
- D.
Deadlock avoidance
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 49 Q12289
The number of swappings needed to sort the numbers 8, 22, 7, 9, 31, 5, 13 in ascending order, using bubble sort is
- A.
11
- B.
12
- C.
13
- D.
10
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 50 Q12302
Consider the following tree

If the post order traversal gives ab-cd*+ then the label of the nodes 1,2,3,… will be
- A.
+,-,*,a,b,c,d
- B.
a,-,b,+,c,*,d
- C.
a,b,c,d,-,*,+
- D.
-,a,b,+,*,c,d
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 51 Q12228
What is the output of the following program?
main()
{
int a = 10;
if ((fork() == 0))
a++;
printf("%d\n", a);
}- A.
10 and 11
- B.
10
- C.
11
- D.
11 and 11
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 52 Q12291
Given reference to the following pages by a program 0, 9, 0, 1, 8, 1, 8, 7, 8, 7, 1, 2, 8, 2, 7, 8, 2, 3, 8, 3 How many page faults will occur if the program has three page frames available to it and uses an optimal replacement?
- A.
7
- B.
8
- C.
9
- D.
None of these
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 53 Q12296
In a doubly linked list, the number of pointers affected for an insertion operation will be
- A.
4
- B.
0
- C.
1
- D.
Depends upon the nodes of the doubly linked list
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 54 Q12236
Consider the following C function
void swap ( int x, int y )
{
int tmp;
tmp = x;
x= y;
y = tmp;
}In order to exchange the values of two variables a and b:
- A.
Call swap (a, b)
- B.
Call swap (&a, &b)
- C.
swap(a, b) cannot be used as it does not return any value
- D.
swap(a, b) cannot be used as the parameters passed by value
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 55 Q12235
What does the following C-statement declare? int (*f) (int*);
- A.
A function that takes an integer pointer as argument and returns an integer
- B.
A function that takes an integer as argument and returns an integer pointer
- C.
A pointer to a function that takes an integer pointer as argument and returns an integer
- D.
A function that takes an integer pointer as argument and returns a function pointer
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 56 Q12229
Mutual exclusion problem occurs
- A.
Between two disjoint processes that do not interact
- B.
Among processes that share resources
- C.
Among processes that do not use the same resource
- D.
Between two processes that uses different resources of different machine
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 57 Q12293
(12178) is equivalent to:
- A.
(121716)
- B.
(028F16)
- C.
(229710)
- D.
(0B1716)
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 58 Q12277
Which of the following is not a life cycle model?
- A.
Spiral model
- B.
Prototyping model
- C.
Waterfall model
- D.
Capability maturity model
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 59 Q10660
The best data structure to check whether an arithmetic expression has balanced parentheses is a
- A.
queue
- B.
stack
- C.
tree
- D.
list
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 60 Q12275
The cyclomatic complexity of each of the modules X and Y shown below is 10. What is the cyclomatic complexity of the sequential integration shown on the right hand side?

- A.
21
- B.
19
- C.
20
- D.
10
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 61 Q12274
In software maintenance tackling the changes in the hardware or software environment where the software works, is
- A.
Corrective maintenance
- B.
Perfective maintenance
- C.
Adaptive maintenance
- D.
Preventive maintenance
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 62 Q101794
What will be the output of the following C code?
#include <stdio.h>
main()
{
int i;
for (i=0; i<5; i++ )
{
int i= 10;
printf (" %d", i);
i++;
}
return 0;
}- A.
10 11 12 13 14
- B.
10 10 10 10 10
- C.
0 1 2 3 4
- D.
Compilation error
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 63 Q12227
What does the following program do when the input is unsigned 16-bit integer?
#include <stdio.h>
main()
{
unsigned int num;
int i;
scanf("%u", &num);
for (i = 0; i < 16; i++)
{
printf("%d", (num << i & 1 << 15) ? 1:0);
}
}- A.
It prints all even bits from num
- B.
It prints all odd bits from num
- C.
It prints binary equivalent of num
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): C
Question 64 Q12237
What is the output of the following program? #include <stdio.h> int tmp=20; main() { printf("%d ",tmp); func(); printf("%d ",tmp); } func() { static int tmp=10; printf("%d ",tmp); }
- A.
20 10 10
- B.
20 10 20
- C.
20 20 20
- D.
10 10 10
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 65 Q12273
Which product metric gives the measure of the average length of words and sentence in documents?
- A.
SCI number
- B.
Cyclomatic complexity
- C.
LOC
- D.
Fog index
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 66 Q12239
Consider a disk system with 100 cylinders. The request to access the cylinders occur in the following sequences 4, 37, 10, 7, 19, 73, 2, 15, 6, 20 Assuming the head is currently at cylinder 50, what is the time taken to satisfy all requests if it takes 1 ms to move from one cylinder to adjacent one and shortest seek time first algorithm is used.
- A.
95 msec
- B.
119 msec
- C.
233 msec
- D.
276 msec
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 67 Q12300
A B-Tree used as an index for a large database table has four levels including the root node. If a new key is inserted in this index, then the maximum number of nodes that could be newly created in the process are
- A.
5
- B.
4
- C.
1
- D.
2
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 68 Q12230
A critical region
- A.
is a piece of code which only one process executes at a time
- B.
is a region prone to deadlock
- C.
is a piece of code which only a finite number of processes execute
- D.
is found only in windows NT operating system
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 69 Q12301
Choose the equivalent prefix form of the following expression: (a + (b − c)) * ((d − e) / (f + g − h))
- A.
* + a − b c / − d e − + f g h
- B.
* + a − b c − / d e − + f g h
- C.
* + a − b c / − e d + − f g h
- D.
* + a b − c / − e d + − f g h
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 70 Q12238
We use malloc and calloc for
- A.
Dynamic memory allocation
- B.
Static memory allocation
- C.
Both dynamic and static memory allocation
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 71 Q12231
At particular time, the value of a counting semaphore is 10, it will become 7 after: (a) 3 V operations (b) 3 P operations (c) 5 V operations and 2 P operations (d) 2 V operations and 5 P operations Which of the following option is correct, using exactly three operations?
- A.
3 V operations
- B.
3 P operations
- C.
5 V operations and 2 P operations
- D.
2 V operations and 5 P operations
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 73 Q12285
Which of the following statement is true?
- A.
Hard real time OS has less jitter than soft real time OS
- B.
Hard real time OS has more jitter than soft real time OS
- C.
Hard real time OS has equal jitter as soft real time OS
- D.
None of the above
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): A
Question 75 Q12304
Choose the most appropriate HTML tag in the following to create a numbered lists.
- A.
<dl>
- B.
<list>
- C.
<ul>
- D.
<ol>
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 76 Q12244
Which of the following algorithm solves the all-pair shortest path problem?
- A.
Prim’s algorithm
- B.
Dijikstra’s algorithm
- C.
Bellman-Ford’s algorithm
- D.
Floyd-Warshall’s algorithm
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 77 Q12258
If L and P are two recursively enumerable languages, then they are not closed under
- A.
Kleene Star L * of L
- B.
Intersection L ∩ P
- C.
Union L ∪ P
- D.
Set Difference
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 78 Q3653
In the context of modular software design, which one of the following combinations is desirable?
- A.
High cohesion and high coupling
- B.
High cohesion and low coupling
- C.
Low cohesion and high coupling
- D.
Low cohesion and low coupling
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): B
Question 79 Q12299
The output of a lexical analyzer is
- A.
A parse tree
- B.
Intermediate code
- C.
Machine code
- D.
A stream of tokens
Official answer key
Official answer key (ISRO Scientist/Engineer SC Computer Science 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D
Question 80 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 2017 ISRO Scientist/Engineer SC May 2017 · Computer Science): D