How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Raj Your Own Question

Raj
Raj, Engineer
Category: Homework
Satisfied Customers: 1265
Experience:  4 + Experiance in IT Industry
16752232
Type Your Homework Question Here...
Raj is online now
A new question is answered every 9 seconds

Use Java for this project cda3101pgm1a.dat file: XXXXXXXXX XXXXXXXXX 0

Resolved Question:

Use Java for this project
cda3101pgm1a.dat file: XXXXXXXXX XXXXXXXXX
0 0
0 1
1 0
1 1
AB

1 - Worth 1 point
Using file cda3101pgm1a.dat, and assuming you are the ALU
- Read record 1 and 2
- subtract record 2 from 1
- Print the result in binary, decimal and hexadecimal

2 - Worth 1 point
Read records 3, 4, 5, and 6
- For each record calculate:
AND
- For each record calculate:
OR
- For each record calculate:
NAND
- For each record calculate:
NOR
printing results for each step

3 - Worth 1 point
Using records 3, 4, 5, and 6
Display the DeMorgan's Law in a table using binary numbers

4 - Worth 1 point
Read record 7
- Convert it to Decimal and Binary and print results e.i.
DE = 222 = 11011110 5 - Worth 4 points

5 - Create a DeMorgan's table (see example on page 58 in the book)
for four (4) circuits using the following inputs
A B
0 0
0 1
1 0
1 1

Pg. 58 DeMorgans Law:
A B |/A /B |AND| C
0 0 1 1 1 0
0 1 1 0 0 1
1 0 0 1 0 1
1 1 0 0 0 1
Submitted: 1 year ago.
Category: Homework
Expert:  Raj replied 1 year ago.
Hi There,

I will be helping you with the solution.
Do you have any MS Word file or PDF file containing the complete requirement?

Thank you
Customer: replied 1 year ago.
Expert:  Raj replied 1 year ago.
I got the PDF File.

Can you provide me the link to download file : "cda3101pgm1a.dat"

And you need Java Codes or just the Output.

Also can you provide me the Screen Shot of Page58 reffered in Question 5 (see example on page 58 in the book)

Thank you
Customer: replied 1 year ago.

http://users.cis.fiu.edu/~mrobi002/teaching/cda3103/pgm1Acda3101Fund.dat


 


Can you give me both the java codes and output? I just know that the prof. wants it done in Java.


 


Expert:  Raj replied 1 year ago.
Yes, I can provide you both the Java Code as well as the Output.

Let me know the deadline for the Project?
Customer: replied 1 year ago.

Can you have it done by tomorrow?

Expert:  Raj replied 1 year ago.
Yes I can have it done by tomorrow.

Also based on requirement which consists of 5 code requirement. I have sent an Underprice report indicating the new Price for the Question.
Please check your e-mail registered with us to know the new price of the Question.

Thank you
Customer: replied 1 year ago.

Ok.

Expert:  Raj replied 1 year ago.
If the Price is fine with you than you can add the difference Amount ($30) as BONUS after I provide you the Solution.
Is that fine with you?
Customer: replied 1 year ago.

Yes it's fine. I appreciate your help.

Expert:  Raj replied 1 year ago.
No Problem. I have started working on the solution which will be ready in next 24 - 28 hrs. from now.
Customer: replied 1 year ago.

Ok. Thanks.

Expert:  Raj replied 1 year ago.
You are Welcome.

Have a Good Day.
Expert:  Raj replied 1 year ago.
How much time is left for deadline?

Most part are ready.
Working on DeMorgan One
Customer: replied 1 year ago.

Can I see the parts that are ready? Can you be done by 7 p.m. eastern time?

Expert:  Raj replied 1 year ago.
Sorry I can provide you all the Parts together in about 2 hrs. from now.
Will that be fine with you?
Customer: replied 1 year ago.

Yes, that will be fine.

Expert:  Raj replied 1 year ago.
Ok than, Please check back in 2 hrs. for solution code files.
Customer: replied 1 year ago.

Ok.

Expert:  Raj replied 1 year ago.
Ok
Expert:  Raj replied 1 year ago.
Can we make use of Arrays?
Expert:  Raj replied 1 year ago.
Solution code files are ready.

Please download the solution code files from the link below :
Output for each Part is present at the bottom of the code in comments

DATA File to be used with all the below Programs(cda3101Fund.dat):
http://www.mediafire.com/?zb3odunyf6qd335

Use the link below to download the code for PART 1 (pgm1.java) :
http://www.mediafire.com/?uf6o374uoq7ojkd

Use the link below to download the code for PART 2 (pgm2.java) :
http://www.mediafire.com/?v453w7k7o09ekh5

Use the link below to download the code for PART 3 (pgm3.java) :
http://www.mediafire.com/?qdyldmxwb7b9gc8

Use the link below to download the code for PART 4 (pgm4.java) :
http://www.mediafire.com/?agoj35ov623otgo

Use the link below to download the code for PART 5 (pgm5.java) :
http://www.mediafire.com/?qqqg7efwd3w0k9a


NOTE : As we aggreed please add the difference Amount ($30) as Bonus after Rating my Answer.

If you face any difficulty than feel free to ask for help.

If the solution file is satisfactory than Please don't forget to RATE the Answer.
It will hardly take few seconds to RATE my Answer


Thank You and Have a Good Day.
Customer: replied 1 year ago.

The program doesn't compile in Netbeans.

Expert:  Raj replied 1 year ago.
In Netbean under the project folder you need to copy and paste the DATA File to get the output.

Do you want me to provide you compressed project in NETBEAN?
Customer: replied 1 year ago.

Yes, you can provide it to me.

Expert:  Raj replied 1 year ago.
Ok

Give me 15 - 30 min and I will provide you compressed project in Netbean for all.
Expert:  Raj replied 1 year ago.
Compressed Project in Netbean are ready.

Please download the solution code files from the link below and extract its contents to get the Solution Folder Project in Netbean :

Use the link below to download the Compressed project for PART 1 (PART 1.zip) :
http://www.mediafire.com/?bbbn66aeyl5s41f

Use the link below to download the Compressed project for PART 2 (PART 2.zip) :
http://www.mediafire.com/?c63w4j03xr2xrd1

Use the link below to download the Compressed project for PART 3 (PART 3.zip) :
http://www.mediafire.com/?v950zsxnxqwdxay

Use the link below to download the Compressed project for PART 4 (PART 4.zip) :
http://www.mediafire.com/?9tq9zkt1lnh934t

Use the link below to download the Compressed project for PART 5 (PART 5.zip) :
http://www.mediafire.com/?2wrwnon1k6n97ty


NOTE : As we aggreed please add the difference Amount ($30) as Bonus after Rating my Answer.

If you face any difficulty than feel free to ask for help.

If the solution file is satisfactory than Please don't forget to RATE the Answer.
It will hardly take few seconds to RATE my Answer


Thank You and Have a Good Day.
Customer: replied 1 year ago.

Do I have to make the DATA file ".java" just like the 5 other programs? Or do I have to paste it in each of the five programs. This is the only part Im having issues with in netbeans.

Expert:  Raj replied 1 year ago.
No you don't have to make DATA file as .java file.

Actually problem was that in Code you will see a Line as follows:

File file = new File("cda3101pgm1a.dat");

It was by mistake trying to open the wrong file so in all the 5 code files I hade to change it as follows:

File file = new File("cda3101Fund.dat");

Because the data file I provided you has name "cda3101Fund.dat" not "cda3101pgm1a" thats why it was throwing error before because name of data file was different.

But when you change the above lines in all 5 codes than even that codes will start running.


If you face any difficulty than feel free to ask for help.

If the solution file is satisfactory than Please don't forget to RATE the Answer.
It will hardly take few seconds to RATE my Answer


Thank You and Have a Good Day.
Customer: replied 1 year ago.

It says cant find the file specified. My professor has it as "pgm1Acda3101Fund.dat" on his website.


 


This is what i get when i try to run the program using "pgm1Acda3101Fund.dat:


 


Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:907)
at java.util.Scanner.next(Scanner.java:1416)
at newpackage.LouisKpgm1.main(LouisKpgm1.java:30)

Expert:  Raj replied 1 year ago.
Ok Got it.

In that case you will need to place the DATA File with name "pgm1Acda3101Fund.dat" insted of what I provided in Project Folder and Change the above line that i specified to following:

File file = new File("pgm1Acda3101Fund.dat");

In all 5 Parts of requirement.

If you want me to do those changes than do let me know.

Thank you
Customer: replied 1 year ago.

I tried it and says the following errors:


 


Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:907)
at java.util.Scanner.next(Scanner.java:1416)
at newpackage.LouisKpgm2.main(LouisKpgm2.java:27)

Expert:  Raj replied 1 year ago.
Did you place the DATA File with name "pgm1Acda3101Fund.dat" in Project Folder ?
Customer: replied 1 year ago.

No

Expert:  Raj replied 1 year ago.
You Need to Place that File In the Project Folder after that only code will start running because the code take the output from that file only.
Expert:  Raj replied 1 year ago.
Did the code work Or do you want me to do the changes and send you new fresh compressed projects for all 5 parts?
Customer: replied 1 year ago.

I just sent you an image of the screen.

Expert:  Raj replied 1 year ago.
I have modified it and have placed the DATA File in the project folder.

Use the new Compressed Project files to get the Output.

Use the link below to download the Compressed project for PART 1 (PART 1.zip) :
http://www.mediafire.com/?cjxxa5qmy9oeqq9

Use the link below to download the Compressed project for PART 2 (PART 2.zip) :
http://www.mediafire.com/?k3mgcgh42fnxevh

Use the link below to download the Compressed project for PART 3 (PART 3.zip) :
http://www.mediafire.com/?1skk7f2qrl2y4tl

Use the link below to download the Compressed project for PART 4 (PART 4.zip) :
http://www.mediafire.com/?76pz4fgimrbmkiq

Use the link below to download the Compressed project for PART 5 (PART 5.zip) :
http://www.mediafire.com/?hm0q33497zr3ezf

NOTE : As we aggreed please add the difference Amount ($30) as Bonus after Rating my Answer.

If you face any difficulty than feel free to ask for help.

If the solution file is satisfactory than Please don't forget to RATE the Answer.
It will hardly take few seconds to RATE my Answer


Thank You and Have a Good Day.
Customer: replied 1 year ago.

Can u look at the image and tell me if this is how to put the DATA file?

Expert:  Raj replied 1 year ago.
No.

You goto Below Path and Copy and Paste the DATA File in the below folder:

My Documents >> NetBeansProjects >> LouisKpgm1

Inside that Folder Paste the DATA File.

Customer: replied 1 year ago.

Ok. I got it! Thank you very much for your help!

Expert:  Raj replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
Raj, Engineer
Category: Homework
Satisfied Customers: 1265
Experience: 4 + Experiance in IT Industry
Raj and 13 other Homework Specialists are ready to help you
Expert:  Raj replied 1 year ago.
Thank you for your Feedback

In Future to request any new Question to me just begin your Question with TO RAJ followed by the Question in the following format:

TO RAJ: Followed by the Question.

Have a Good Day.

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3458
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3124
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2385
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1988
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1876
    Bachelors Degree and CPA with Accounting work experience
  • http://ww2.justanswer.com/uploads/avremote/photoa.jpg Seanna's Avatar

    Seanna

    Tutor

    Satisfied Customers:

    1781
    3,000+ satisfied customers, all topics, A+ work
 
 
 

Related Homework Questions