Answered step by step
Verified Expert Solution
Link Copied!

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

  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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 19th International Conference Dexa 2008 Turin Italy September 2008 Proceedings Lncs 5181

Authors: Sourav S. Bhowmick ,Josef Kung ,Roland Wagner

2008th Edition

3540856536, 978-3540856535

More Books

Students also viewed these Databases questions

Question

Presentation Aids Practicing Your Speech?

Answered: 1 week ago