Wipro online arithmetic test
41 / 362
What are the values printed by the following program?#define dprint(expr) printf(#expr =%d\n,expr)main(){int x=7;int y=3;dprintf(x/y);}
Aexpr=2
B#2 = 2
Cx/y=2
DCompile Error
Answer: Option C
Explanation:Here is no explanation for this answer
Submit Your Solution
42 / 362
int zap (int n)
{
if (n<=1) then
zap=1;
else
zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap
A8
B9
C6
D12
Answer: Option B
Explanation:Here is no explanation for this answer
Submit Your Solution
43 / 362
void main()
{
char string[]=Hello World;
display (string);
}
void display(char *string){
printf(%s,string);
}
ACompiler Error
BHello World
CHello
DWorld
Answer: Option A
Explanation:Here is no explanation for this answer
Submit Your Solution
44 / 362
In a processor these are 120 instructions . Bits needed to implement this instructions
A6
B10
C7
Dnone of these
Answer: Option C
Explanation:Here is no explanation for this answer
Submit Your Solution
45 / 362
Which of the following memories has the shortest access time?
ACache memory
BMagnetic bubble memory
CMagnetic core memory
DRAM
Answer: Option A
Explanation:Here is no explanation for this answer
Submit Your Solution
46 / 362
Banker's algorithm for resource allocation deals with
ADeadlock avoidance
BDeadlock prevention
CDeadlock recovery
DNone of these
Answer: Option A
Explanation:Here is no explanation for this answer
Submit Your Solution
47 / 362
The format specifier "-%d" is used for which purpose in C
ALeft justifying a string
BRight justifying a string
CRemoving a string from the console
DUsed for the scope specification of a char[] variable
Answer: Option A
Explanation:Here is no explanation for this answer
Submit Your Solution
48 / 362
If the time quantum is too large, Round Robin scheduling degenerates to
AShortest Job First Scheduling
BMultilevel Queue Scheduling
CFCFS
DNone of these
Answer: Option C
Explanation:Here is no explanation for this answer
Submit Your Solution
49 / 362
When the fn. is called where the return address is stored?
AStack
BData segment
CQueue
DHeap
Answer: Option A
Explanation:Here is no explanation for this answer
Submit Your Solution
50 / 362
What data structures you should use for dictionary searching and it should be capable of doing spell check also?
ATree
BArray
CQueue
DHashing
Answer: Option D
Explanation:Here is no explanation for this answer
Submit Your Solution
Here is the list of questions asked in Online Aptitude Test for Wipro Wipro online arithmetic test. Practice Wipro Written Test Papers with Solutions and take Q4Interview Wipro Online Test Questions to crack Wipro written round test. Overall the level of the Wipro Online Assessment Test is moderate. Only those candidates who clear the written exam will qualify for the next round, so practic all the questions here and take all the free tests before going for final selection process of Wipro