Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
- 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.
- Convert the following numbers from decimal to 8-bit binary. Use the space provided to show your work. 219
72
- Convert the following binary numbers to decimal (showing all work) 1011 0101 1000 0010 0101 1101
- Convert the following numbers from decimal to binary, octal, then hexadecimal (showing all work)
Decimal | Binary | Octal | Hexadecimal |
27 |
|
|
|
251 |
|
|
|
Continued on next page
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started