⟩ What is the output of this program? #!/bin/bash a=10 b=$(( $a<0&&$a<100 )) echo $b exit 0 a) 10 b) 0 c) 1
b) 0
The condition '$a<0' is false so logical and operator provides the output 0.
b) 0
The condition '$a<0' is false so logical and operator provides the output 0.
Which one of the following variables is used within GDB to hold on to a value and refer to it later? a) convenience variables b) environment variables c) temporary variables d) none of the mentioned
In GDB, we can refer to machine register contents, in expressions, as variables with names starting with a) $ b) # c) ! d) none of the mentioned
In GDB hardware-dependent information about the floating point unit can be displayed by the command a) info float b) display float c) show float d) none of the mentioned
The result of an expression can be assigned to an environment variable with the command a) assign b) set c) env d) none of the mentioned
Which one of the following GDB command deletes any break-point at the next instruction to be executed in the selected stack frame? a) clear b) delete c) disable d) none of the mentioned
Which one of the following GDB command allows to move from one stack frame to another without printing the frame? a) select-frame b) frame c) frame move d) none of the mentioned
The GDB text user interface uses the ____ library to show the source file. a) curses b) YUI c) JUI d) none of the mentioned
By default the GDB automatically executes the command from its a) init files b) start files c) begin files d) none of the mentioned
The user can define a command for GDB with the command a) define b) command c) assign d) none of the mentioned
The GDB command "show output-radix" a) sets the default base for numeric display b) displays the current default base for numeric display c) both (a) and (b) d) none of the mentioned