Number of Questions: 120 | Duration: 120 minutes | Qualifying Score: 40% | Negative marking for Wrong Answer
End Test Now
Banker's algorithm for resource allocation deals with
Deadlock prevention
Deadlock avoidance
Deadlock recovery
None of these
All of these
Thrashing can be avoided if
The pages, belonging to the working set of the programs, are in main memory
The speed of CPU is increased
The speed of I/O processor are increased
All of the above
Which of the following communications lines is best suited to interactive processing applications?
Narrowband channels
Simplex channels
Full-duplex channels
Mixed band channels
A feasibility document should contain all of the following except
Project name
Problem descriptions
Feasible alternative
Data flow diagrams
What is the main function of a data link content monitor?
To detect problems in protocols
To determine the type of transmission used in a data link
To determine the type of switching used in a data link
To determine the flow of data
Which of the following memories has the shortest access time?
Cache memory
Magnetic bubble memory
Magnetic core memory
RAM
A shift register can be used for
Parallel to serial conversion
Serial to parallel conversion
Digital delay line
All the above
In which of the following page replacement policies, Balady's anomaly occurs?
FIFO
LRU
LFU
NRU
A 12 address lines maps to the memory of
1k bytes
0.5k bytes
2k bytes
none
5k bytes
In a processor these are 120 instructions . Bits needed to implement this instructions
6
7
10
20
In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string, How many words are needed.
2k/9
(2k+8/9)
(k+8/9)
2*(k+8/9)
Virtual memory size depends on
address lines
data bus
disc space
a & c
main() { char string[]="Hello World"; display (string); } void display (char *string) { printf("%s",string); }
Hellow World
Not Execute
String
Compiler Error: Type mismatch in redeclaration of function display
What are the values printed by the following program? #define dprint(expr) printf(#expr "=%d ",expr) main() { int x=7; int y=3; dprintf(x/y); }
#2=2
expr=2
x/y=2
error
Parameterization generally involves
Data table
Random number
Environment
Both A, B & C
The file which is used for recovering from the run time errors known as
QRS
TSR
PNG
DAT
Among the following recording modes, which method uses both the objects and mouse coordinates
Normal
Low level
Analog
Where do you set the action iterations for a specified action?
Action Settings
Action Properties
Action Run Properties
Action Call Properties
Where do you mark an action as reusable?
After running a test that contains both input and output parameters, where can the results of an output parameter be found?
Local Data Sheet
Global Data Sheet
Run-time Data Table
Design-time Data Table
If you have a Virtual Object Collection stored on your machine, and you don't want to use it what you must do?
Disable Virtual Objects in Test Settings
Remove the Collection from your machine
Disable Virtual Objects in General Options
Remove the Collections from the Resources list
For a 25MHz processor, what is the time taken by the instruction which needs 3 clock cycles,
120 nano secs
120 micro secs
75 nano secs
75 micro secs
For 1 MB memory, the number of address lines required,
11
16
24
Semaphore is used for
synchronization
dead-lock avoidance
box
all of these
OLE is used in
Inter connection in UNIX
Interconnection in WINDOWS
Interconnection in WINDOWS NT
None
Preprocessor does not do which one of the following
macro
conditional compliclation
in type checking
including load file
Piggy backing is a technique for
Flow control
Sequence
Acknowledgement
retransmission
In signed magnitude notation what is the minimum value that can be represented with 8 bits
-128
-255
-127
0
When an array is passed as parameter to a function, which of the following statement is correct
The function can change values in the original array
In C parameters are passed by value. The function cannot change the original value in the array
It results in compilation error when the function tries to access the elements in the array
Results in a run time error when the function tries to access the elements in the array
The type of the controlling statement of a switch statement cannot be of the type
int
char
short
float
What is the value of the statement (3^6) + (a^a)?
3
5
a+18
Consider the following program: # include class x { public: int a; x(); }; x::x() { a=10; cout< class b:public x { public: b(); }; b::b() { a=20; cout< main () { b temp; } What will be the output of this program?
2010
1020
main() { int x=5,*p=&x; printf("%d",++(*p)); }
4
main() { int x=5,*p=&x; printf("%d",(*p)++); }
main(){ int i; for(i=0;i<=10;i++)printf("%d",i);
0-10
0-9
0-11
Y=10; if( Y++>9 && Y++!=10 && Y++>10) printf("........ Y); else printf(" ".... )
1
12
13
f=(x>y)?x:y
f points to max of x and y
f points to min of x and y
.......
if x is even, then (x%2)=0 x &1 !=1 x! ( some stuff is there)
only two are correct
three are correct
,
all are correct
which of the function operator cannot be over loaded
<=
?:
*
b and d
u r given two statements a=(10.15); b=10,15; if they are executed what is the output printf("%d%d",a,b);
10,15
15,10
10,10
15,15
define null 0
#define inc(x) x++ main() { int t=1; printf("%d",inc(t++)); }