Answer:
twos complement value is (-2^15 -1) -32768 to 32767.
excess notation value is -32768 to 32767.
unsigned binary value is (2^16) 0 to 65535
Explanation:
Excess notation: used to represent signed integers. Always uses fixed number of bits with leftmost representing the sign.
Twos complement notation: As opposed to excess notation, a sign bit of 0 is used to represent the non-negative (+) sign and a 1 for the negative (-); again, zero is included in the non-negative set.
Unsigned Binary values: are binary values/bits that don't have signs
The third option is correct.
Answer:
Assembly Language.
Explanation:
Machine Language:- It is the lowest level programming language.It represent that the data in the form of 1's and 0's it is like this because the machines understand only binary or 1's and 0's.
Assembly Language:-It is the second generation of programming language.It can be used by a programmers to write program using abbreviations and basic words instead of binary numbers.
Answer:
Write the following lines of code just before the return statement
//1
System.out.println("You entered "+userNum);
// 2
System.out.println(userNum+" squared is "+(Math.pow(userNum, 2))+" and "+userNum+" cubed is "+(Math.pow(userNum, 3)));
//3
int userNum2 = 0;
System.out.print("Enter another integer: ");
userNum2 = scnr.nextInt();
int sum = userNum + userNum2;
System.out.println(userNum+" + "+userNum2+" is "+sum);
int product = userNum * userNum2;
System.out.println(userNum+" * "+userNum2+" is "+product);
Explanation:
I continued the program from where you stopped in the question
The explanation has been added as an attachment