Question: please complete this file in java Prompt the user to enter the first initial of their first name. Then prompt the user to enter their

please complete this file in java

  1. Prompt the user to enter the first initial of their first name. Then prompt the user to enter their full last name. Then prompt the user to enter the last 4 digits of their student ID. Be sure to read the student ID in as an integer and not a String. When complete, combine these items and print out their full student ID (concatenated together). Write this program twice. Once using the Scanner class and a second time using JOptionPane. Please reference Chapter 2, Sections 13 and 14 for completing this program.
  2. Convert the following numbers from decimal to 8-bit binary. Use the space provided to show your work. 219

72

  1. Convert the following binary numbers to decimal (showing all work) 1011 0101 1000 0010 0101 1101
  2. Convert the following numbers from decimal to binary, octal, then hexadecimal (showing all work)

Decimal

Binary

Octal

Hexadecimal

27

251

Continued on next page

  1. Add the following two binary numbers together showing all work. How can you confirm your answer is correct? 0011 + 0011 0101 + 1011

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!