ECIL electronics and electricsl,Computer Science Questions
1.In Cyclic redundancy checking, what is the CRC?
2.The Hamming distance between 100 and 001??
3.In case of Go-Back-N ARQ protocol, for 10 data packets sent, _____________acknowledgments may be received. (Circle the right answer.)
c. exactly 10
d. all of the above
a.Equal number of protons
b.Equal number of neutrons
c.Equal number of nucleons
d.Equal number of protons and neutrons
5.Rectifers are used to
a.Convert AC to DC
6.If you need to show the physical relationship between software components and the hardware in the delivered system, which diagram can you use?
Ans. Deployment diagram
7.Suppose the time to service a page fault is on the average 10 milliseconds, while a memory access takes 1 microsecond. Then a 99.99% hit ratio results in average memory access time of
a. 1.9999 milliseconds
b. 1 millisecond
c. 9.999 microseconds
d. 1.9999 microseconds
8.The length of address size of IPV4 and IPV6
Ans. 4 and 16 bytes
9.Stack – LIFO
10.Which of the following range is a valid long double?
Ans. 3.4E-4932 to 1.1E+4932
11.If we want to round off x, a float , to an int value, then the correct way to do is
12.Which of the following statement obtains the remainder on dividing 3.14 by 2.1?
a.rem= (3.14 % 2.1)
b.rem = modf(3.14,2.1)
c.rem = fmod(3.14,2.1)
13.Which classes allow primitive datatypes to be accessed as an object?
Ans. Wrapper classes
14.How many times the “for” loop will be executed for the following code??
Ans. for loop will executed for infinite times
15.What will be the output for the following code?
func(int x, int y, int z);
Ans: 10 3
16.How can the following two statements can be combined??
ans: char *p=(char*)malloc(1000);
17. How a destructor is represented??
18.Which of the following is not used as IPC mechanism??
a.Semaphore b .
19.Which is not the feature of transport layer??
20.Which of the following are non-linear systems??
a.Low pass filter
d.All the above
21.Which operator is used t=for turning off a bit to a number?