Can’t find an answer?

Can’t find an answer?

Ask us to get the answer

  • This forum is empty.

Consider the following program fragment

if(a > b)if(b > c)s1;else s2;

s2 will be executed if
(A) a <= b(B) b > c
(C) b >= c and a <= b(D) a > b and b <= c

  • ISRO
  • October 7, 2023 at 5:06 am

At a particular time of computation the value of a counting semaphore is 7. Then 20 P operations and 15 V operations were completed on this semaphore. The resulting value of the semaphore is :
(A) 42
(B) 2
(C) 7
(D) 12

  • ISRO
  • August 28, 2023 at 5:06 am

Consider the following program.
main()
{
fork();
fork();
fork();
}
How many new processes will be created?
(A) 8
(B) 6
(C) 7
(D) 5

  • ISRO
  • October 17, 2023 at 5:06 am

A supernet has a first address of 205.16.32.0 and a supernet mask of 255.255.248.0. A router receives 4 packets with the following destination addresses. Which packet belongs to this supernet?
(A) 205.16.42.56
(B) 205.17.32.76
(C) 205.16.31.10
(D) 205.16.39.44

  • ISRO
  • October 24, 2023 at 5:06 am

What is the output of the following C program?




#include<stdio.h>
#define SQR(x) (x*x)
int main()
{
int a;
int b=4;
a=SQR(b+2);
printf("%d\n",a);
return 0;
}

(A) 14
(B) 36
(C) 18
(D) 20

  • ISRO
  • September 19, 2023 at 5:06 am

Which of the following is NOT represented in a subroutine’s activation record frame for a stack-based programming language?
(A) Values of local variables
(B) Return address
(C) Heap area
(D) Information needed to access non local variables

  • ISRO
  • September 18, 2023 at 5:06 am

The test suite (set of test input) used to perform unit testing on module could cover 70% of the code. What is the reliability of the module if the probability of success is 0.95 during testing?
(A) 0.665 to 0.95
(B) At the most 0.665
(C) At the most 0.95
(D) At least 0.665

  • ISRO
  • August 29, 2023 at 5:06 am

The number of logical CPUs in a computer having two physical quad-core chips with hyper threading enabled is
(A) 1
(B) 2
(C) 8
(D) 16

  • ISRO
  • September 25, 2023 at 5:06 am

What does a pixel mask mean?
(A) string containing only 1’s
(B) string containing only 0’s
(C) string containing two 0’s
(D) string containing 1’s and 0’s

  • ISRO
  • October 17, 2023 at 5:06 am

Let be the radius of the circle. What is the angle subtended by an arc of length at the center of the circle?
(A) 1 degree
(B) 1 radian
(C) 90 degrees
(D) π radians

  • ISRO
  • October 15, 2023 at 5:06 am

Viewing 15 topics - 256 through 270 (of 330 total)

1 2 3 17 18 19 20 21 22
  • You must be logged in to create new topics.