

InterviewSolution
Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your ISRO knowledge and support exam preparation. Choose a topic below to get started.
1. |
Consider the following statements#define hypotenuse (a, b) sqrt (a*a+b*b); The macro call hypotenuse(a+2,b+3);(A) Finds the hypotenuse of a triangle with sides a+2 and b+3(B) Finds the square root of (a+2)2 and (b+3)2(C) Is invalid(D) Find the square root of 3*a + 4*b + 5 |
Answer» None | |
2. |
An ACK number of 1000 in TCP always means that(A) 999 bytes have been successfully received(B) 1000 bytes have been successfully received(C) 1001 bytes have been successfully received(D) None of the above |
Answer» | |
3. |
In CRC if the data unit is 100111001 and the divisor is 1011 then what is dividend at the receiver?(A) 100111001101(B) 100111001011(C) 100111001(D) 100111001110 |
Answer» None | |
4. |
How many characters per sec (7 bits + 1 parity) can be transmitted over a 2400 bps line if the transfer is synchronous ( 1 start and 1 stop bit)?(A) 300(B) 240(C) 250(D) 275 |
Answer» | |
5. |
A machine needs a minimum of 100 sec to sort 1000 names by quick sort. The minimum time needed to sort 100 names will be approximately(A) 50.2 sec(B) 6.7 sec(C) 72.7 sec(D) 11.2 sec |
Answer» None | |
6. |
Given the following expression grammar:E → E ∗ F ∣ F + E ∣ FF → F − F ∣ idWhich of the following is true?(A) * has higher precedence than +(B) – has higher precedence than *(C) + and – have same precedence(D) + has higher precedence than * |
Answer» | |
7. |
Consider the following schema:Emp (Empcode, Name, Sex, Salary, Deptt)A simple SQL query is executed as follows:SELECT Deptt FROM EmpWHERE sex = 'M'GROUP by DeptHaving avg (Salary) > {select avg (Salary) from Emp}The output will be(A) Average salary of male employee is the average salary of the organization(B) Average salary of male employee is less than the average salary of the organization(C) Average salary of male employee is equal to the average salary of the organization(D) Average salary of male employee is more than the average salary of the organization |
Answer» | |
8. |
Which statement is true?(A) LALR parser is more powerful and costly as compare to other parsers(B) All CFG’s are LP and not all grammars are uniquely defined(C) Every SLR grammar is unambiguous but not every unambiguous grammar is SLR(D) LR(K) is the most general back tracking shift reduce parsing method |
Answer» | |
9. |
Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Consider the following relational query on the above database:SELECT S.sname FROM Suppliers S WHERE S.sid NOT IN (SELECT C.sid FROM Catalog C WHERE C.pid NOT IN (SELECT P.pid FROM Parts P WHERE P.color<> 'blue'))Assume that relations corresponding to the above schema are not empty. Which one of the following is the correct interpretation of the above query?(A) Find the names of all suppliers who have supplied a non-blue part.(B) Find the names of all suppliers who have not supplied a non-blue part(C) Find the names of all suppliers who have supplied only non blue parts.(D) Find the names of all suppliers who have not supplied only non-blue parts. |
Answer» | |
10. |
A certain population of ALOHA users manages to generate 70 request/sec. If the time is slotted in units of 50 msec, then channel load would be(A) 4.25(B) 3.5(C) 350(D) 450 |
Answer» | |
11. |
The maximum length of an attribute of type text is(A) 127(B) 255(C) 256(D) It is variable |
Answer» | |
12. |
If D1, D2…Dn are domains in a relational model, then the relation is a table, which is a subset of(A) D1⊕D2⊕…⊕Dn(B) D1xD2x…xDn(C) D1∪D2∪…∪Dn(D) D1∩D2∩…∩Dn |
Answer» | |
13. |
Let R = (A, B, C, D, E, F) be a relation schema with the following dependencies C->F, E->A, EC->D, A->B. Which of the following is a key of R?(A) CD(B) EC(C) AE(D) AC |
Answer» | |
14. |
Consider the following Relationship Entity Diagram(ERD)Which of the following possible relations will not hold if the above ERD is mapped into a relation model?(A) Person (NID, Name)(B) Qualification (NID, ExamID, QualifiedDate)(C) Exam (ExamID, NID, ExamName)(D) Exam (ExamID, ExamName) |
Answer» | |
15. |
Consider the following log sequence of two transactions on a bank account, with initial balance 12000, that transfer 2000 to a mortgage payment and then apply a 5% interest.1. T1 start2. T1 B old=1200 new=100003. T1 M old=0 new=20004. T1 commit5. T2 start6. T2 B old=10000 new=105007. T2 commitSuppose the database system crashes just before log record 7 is written. When the system is restarted, which one statement is true of the recovery procedure?(A) We must redo log record 6 to set B to 10500(B) We must undo log record 6 to set B to 10000 and then redo log records 2 and 3(C) We need not redo log records 2 and 3 because transaction T1 has committed(D) We can apply redo and undo operations in arbitrary order because they are idempotent. |
Answer» | |
16. |
Which one of the following is a top-down parser?(A) Recursive descent parser(B) Shift left associative parser(C) SLR(k) parser(D) LR(k) parser |
Answer» | |
17. |
Which grammar rules violate the requirement of the operator grammar? A, B, C are variables and a, b, c are terminals1) A → BC2) A → CcBb3) A → BaC4) A → ε(A) 1 only(B) 1 and 2 only(C) 1 and 3 only(D) 1 and 4 only |
Answer» | |
18. |
Increasing the RAM of a computer typically improves performance because:(A) Virtual Memory increases(B) Larger RAMs are faster(C) Fewer page faults occur(D) Fewer segmentation faults occur |
Answer» | |
19. |
How many bits internet address is assigned to each host on a TCP/IP internet which is used in all communication with the host?(A) 16 bits(B) 32 bits(C) 48 bits(D) 64 bits |
Answer» | |
20. |
The DNS maps the IP address to(A) A binary address as strings(B) An alphanumeric address(C) A hierarchy of domain names(D) A hexadecimal address |
Answer» | |
21. |
In a class B subnet, we know the IP address of one host and the mask as given below:IP address: 125.134.112.66Mask: 255.255.224.0What is the first address(Network address)?(A) 125.134.96.0(B) 125.134.112.0(C) 125.134.112.66(D) 125.134.0.0 |
Answer» None | |
22. |
A T-switch is used to(A) Control how messages are passed between computers(B) Echo every character that is received(C) Transmit characters one at a time(D) Rearrange the connections between computing equipments |
Answer» | |
23. |
What frequency range is used for microwave communications, satellite and radar?(A) Low frequency: 30 kHz to 300 kHz(B) Medium frequency: 300 kHz to 3 MHz(C) Super high frequency: 3000 MHz to 30000 MHz(D) Extremely high frequency: 30000 kHz |
Answer» | |
24. |
Consider an uncompressed stereo audio signal of CD quality which is sampled at 44.1 kHz and quantized using 16 bits. What is required storage space if a compression ratio of 0.5 is achieved for 10 seconds of this audio?(A) 172 KB(B) 430 KB(C) 860 KB(D) 1720 KB |
Answer» | |
25. |
Consider the following code fragmentvoid foo(int x, int y){x+=y;y+=x;}main(){int x=5.5;foo(x,x);}What is the final value of x in both call by value and call by reference, respectively?(A) 5 and 16(B) 5 and 12(C) 5 and 20(D) 12 and 20 |
Answer» | |
26. |
What is compression ratio in a typical mp3 audio files?(A) 4:1(B) 6:1(C) 8:1(D) 10:1 |
Answer» | |
27. |
A hash table with ten buckets with one slot per bucket is shown in the following figure. The symbols S1 to S7 initially entered using a hashing function with linear probing.The maximum number of comparisons needed in searching an item that is not present is(A) 4(B) 5(C) 6(D) 3 |
Answer» None | |
28. |
Yacc stands for(A) yet accept compiler constructs(B) yet accept compiler compiler(C) yet another compiler construct(D) yet another compiler compiler |
Answer» | |
29. |
Six files F1, F2, F3, F4, F5 and F6 have 100, 200, 50, 80, 120, 150 records respectively. In what order should they be stored so as to optimize act. Assume each file is accessed with the same frequency(A) F3, F4, F1, F5, F6, F2(B) F2, F6, F5, F1, F4, F3(C) F1, F2, F3, F4, F5, F6(D) Ordering is immaterial as all files are accessed with the same frequency. |
Answer» None | |
30. |
A hard disk system has the following parameters :Number of tracks = 500Number of sectors/track = 100Number of bytes /sector = 500Time taken by the head to move from one track to adjacent track = 1 msRotation speed = 600 rpm.What is the average time taken for transferring 250 bytes from the disk ?(A) 300.5 ms(B) 255.5 ms(C) 255 ms(D) 300 ms |
Answer» | |
31. |
The output of the following program ismain(){static int x[] = {1,2,3,4,5,6,7,8}int i;for (i=2; i<6; ++i)x[x[i]]=x[i];for (i=0; i<8; ++i)printf("%d", x[i]);} (A) 1 2 3 3 5 5 7 8(B) 1 2 3 4 5 6 7 8(C) 8 7 6 5 4 3 2 1(D) 1 2 3 5 4 6 7 8 |
Answer» None | |
32. |
The for loopfor (i=0; i<10; ++i)printf("%d", i&1);prints:(A) 0101010101(B) 0111111111(C) 0000000000(D) 1111111111 |
Answer» None | |
33. |
Consider the following declaration:int a, *b=&a, **c=&b;The following program fragmenta=4;**c=5;(A) does not change the value of a(B) assigns address of c to a(C) assigns the value of b to a(D) assigns 5 to a |
Answer» | |
34. |
Consider the following program fragmenti=6720; j=4;while (i%j)==0{i=i/j;j=j+1;}On termination j will have the value(A) 4(B) 8(C) 9(D) 6720 |
Answer» None | |
35. |
Consider the following program fragmentif(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 |
Answer» None | |
36. |
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 |
Answer» | |
37. |
Consider the following program.main(){fork();fork();fork();}How many new processes will be created?(A) 8(B) 6(C) 7(D) 5 |
Answer» | |