1. If the 4-bit two’s complement representations of integers Jand K are 0100 and 1001, respectively, then the decimalrepresentation of integer (J – K) (K subtracted from J) is
- 11
- -2
- 2
- -3
- other (state the number)
2. The “correctness” core quality of software refers to the factthat …
- programs efficiently support the insertion of new features,improvements, corrections
- programs answer to requested user actions within acceptabletime delays.
- programs compile without any syntax errors.
- programs accurately meet the specifications of behaviour andrequired outputs
3. Running class TwoDSum, whose code is:
public class TwoDSum {
public static void main(String[] args) {
int[][] table ={-1,7,-3},{0,2,-4},{9,-6,5};
int sum = 0;
for (int i =
OR
OR