1 4 Bit Two S Complement Representations Integers J K 0100 1001 Respectively Decimal Repre Q37143553

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

  1. 11
  2. -2
  3. 2
  4. -3
  5. other (state the number)

2. The “correctness” core quality of software refers to the factthat …

  1. programs efficiently support the insertion of new features,improvements, corrections
  2. programs answer to requested user actions within acceptabletime delays.
  3. programs compile without any syntax errors.
  4. 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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.