Login|Contact Us
Question and Answer

Programming

Ask a Programming Question, Get an Answer ASAP!

  • Ask A Question
  • Browse Answers
  • Meet The Experts
  • How JustAnswer Works

Create a class as described by the following UML class diagram:  Word -­‐

 
Raj's Avatar
  • Answered by:Raj
  • Computer Engg.
  • Positive Feedback: 98.8 %
  • Accepted Answers: 856
Verified Expert
in Programming

Recent Feedback

Positive
Excellent work and exactly what I needed..Thanks!
Positive
Thank you Raj exactly what I am looking for can I ask for your help in the...
Positive
Great job!
Positive
Very knowledgeable. Explains everything, if you're struggling with an assignment...
Positive
Thanks
Positive
Thanks
Positive
Raj did the job fast an accurately!
Positive
Raj helped me quickly and taught me alot.
Positive
RAJ is great as always!

Customer Question

Create a class as described by the following UML class diagram:  Word -­‐ word: String + Word(newWord: String) + getWord(): String + reverse(): String + letterCount(letter: char): int + length(): int  reverse() returns word reversed (e.g. if word=”abcde”, returns “edcba”). getLetterCount() returns the number of times the specified character appears in word. Implement your project in two files, one for Word and one for the main class called TestWord. Demonstrate your class works by testing using the following strings: “radar”, and “Hello world!” (without the quotation marks). Test each method in the class for each string, printing the results to the console. For letter count, you must demonstrate it working for a character that is not in the word, as well as a character that is in the word. Turn-­‐In: Submit a printout containing: 1) Your source code 2) The output of a run of your program. and got an assigment that I need help with and I'm hoping that someone could give me some help with it. Here is what it's asking: The data file contains lines of text, some of which are tab-delimited price entries, while others are text. Each price line is easily distinguished by the fact that it begins with a digit. Each price line has an Intel CPU’s current price, followed by a tab character, followed by the CPU’s name. Begin by defining a struct type that can store a CPU name and its price. Write a C program that includes three separate functions: 1. read_price_list() reads the price list from the data file and stores it in an array of your structs, 2. sort_price_list() sorts the price list by decreasing price, 3. write_price_list() writes the sorted price list into a new data file Sorted_Price_List.txt. The sorted price list file must contain only sorted price data: a CPU price, followed by a tab, followed by the CPU’s name; one CPU per line. Here is what we have to sort: IntelÆ Processor PricingEffective Apr 29, 2012Recommended Customer Price Tray Units
IntelÆ Coreô i7 processor Extreme Edition Desktop (LGA2011)999 i7-3960X (15M cache, 6 Cores, 12 Threads, 3.30 GHz, 32nm)
IntelÆ Coreô i7 processor Desktop (LGA2011/1155)583 i7-3930K (12M cache, 6 Cores, 12 Threads, 3.20 GHz, 32nm)294 i7-3820 (10M cache, 4 Cores, 8 Threads, 3.60 GHz. 32nm)332 i7-3770K (8M cache, 4 Cores, 8 Threads, 3.50 GHz. 22nm)294 i7-3770 (8M cache, 4 Cores, 8 Threads, 3.40 GHz. 22nm)332 i7-2700K (8M cache, 4 Cores, 8 Threads, 3.50 GHz, 32nm)317 i7-2600K (8M cache, 4 Cores, 8 Threads, 3.40 GHz, 32nm)294 i7-2600 (8M cache, 4 Cores, 8 Threads, 3.40 GHz, 32nm)
IntelÆ Coreô i5 processor Desktop (LGA1155)225 i5-3570K (6M cache, 4 Cores, 4 Threads, 3.40 GHz, 22nm)205 i5-3550 (6M cache, 4 Cores, 4 Threads, 3.30 GHz, 22nm)184 i5-3450 (6M cache, 4 Cores, 4 Threads, 3.10 GHz, 22nm)225 i5-2550K (6M cache, 4 Cores, 4 Threads, 3.40 GHz, 32nm)216 i5-2500K (6M cache, 4 Cores, 4 Threads, 3.30 GHz, 32nm)205 i5-2500 (6M cache, 4 Cores, 4 Threads, 3.30 GHz, 32nm)195 i5-2450P (6M cache, 4 Cores, 4 Threads, 3.20 GHz, 32nm)184 i5-2400 (6M cache, 4 Cores, 4 Threads, 3.10 GHz, 32nm)177 i5-2380P (6M cache, 4 Cores, 4 Threads, 3.10 GHz, 32nm)177 i5-2320 (6M cache, 4 Cores, 4 Threads, 3.00 GHz, 32nm)177 i5-2310 (6M cache, 4 Cores, 4 Threads, 2.90 GHz, 32nm)
IntelÆ Coreô i3 processor Desktop (LGA1155)138 i3-2130 (3M cache, 2 Cores, 4 Threads, 3.40 GHz, 32nm)134 i3-2125 (3M cache, 2 Cores, 4 Threads, 3.30 GHz, 32nm)117 i3-2120 (3M cache, 2 Cores, 4 Threads, 3.30 GHz, 32nm)134 i3-2105 (3M cache, 2 Cores, 4 Threads, 3.10 GHz, 32nm)117 i3-2100 (3M cache, 2 Cores, 4 Threads, 3.10 GHz, 32nm)
IntelÆ Coreôi7 processor Low Power Desktop (LGA1155)294 i7-3770S (8M cache, 4 Cores, 8 Threads, 3.10 GHz, 22nm)294 i7-3770T (8M cache, 4 Cores, 8 Threads, 2.50 GHz, 22nm)294 i7-2600S (8M cache, 4 Cores, 8 Threads, 2.80 GHz, 32nm)
IntelÆ Coreôi5 processor Low Power Desktop (LGA1155)205 i5-3550S (6M cache, 4 Cores, 4 Threads, 3.00 GHz, 22nm)205 i5-3570T (6M cache, 4 Cores, 4 Threads, 2.30 GHz, 22nm)184 i5-3450S (6M cache, 4 Cores, 4 Threads, 2.80 GHz, 22nm)205 i5-2500S (6M cache, 4 Cores, 4 Threads, 2.70 GHz, 32nm)205 i5-2500T (6M cache, 4 Cores, 4 Threads, 2.30 GHz, 32nm)201 i5-2405S (6M cache, 4 Cores, 4 Threads, 2.50 GHz, 32nm)184 i5-2400S (6M cache, 4 Cores, 4 Threads, 2.50 GHz, 32nm)184 i5-2390T (3M cache, 2 Cores, 4 Threads, 2.70 GHz, 32nm)
IntelÆ Coreôi3 processor Low Power Desktop (LGA1155)117 i3-2120T (3M cache, 2 Cores, 4 Threads, 2.60 GHz, 32nm)
IntelÆ Pentium processor (Low Power) Desktop (LGA1155)64 G630T (3M cache, 2 Cores, 2 Threads, 2.30 GHz, 32nm)
IntelÆ PentiumÆ processor Desktop (LGA1155)86 G860 (3M cache, 2 Cores, 2 Threads, 3.00 GHz, 32nm)75 G850 (3M cache, 2 Cores, 2 Threads, 2.90 GHz, 32nm)64 G630 (3M cache, 2 Cores, 2 Threads, 2.70 GHz, 32nm)
IntelÆ CeleronÆ processor Desktop (LGA1155)52 G540 (2M cache, 2 Cores, 2 Threads, 2.50 GHz, 32nm)42 G530 (2M cache, 2 Cores, 2 Threads, 2.40 GHz, 32nm)37 G460 (1.5M cache, 1 Core, 2 Threads, 1.80 GHz, 32nm)37 G440 (1M cache, 1 Core, 1 Thread, 1.60 GHz, 32nm)
IntelÆ CeleronÆ processor (Low Power) Desktop (LGA1155)42 G530T (2M cache, 2 Cores, 2 Threads, 2.00 GHz, 32nm)
IntelÆ Atomô processor Entry Level Desktop/Netbook (FCBGA8/T-PBGA)52 D2700 (1M cache, 2 Cores, 4 Threads, 2.13 GHz, 32nm)47 D2550 (1M cache, 2 Cores, 4 Threads, 1.86 GHz, 32nm)42 D2500 (1M cache, 2 Cores, 2 Threads, 1.86 GHz, 32nm)63 D525 (1M cache, 2 Cores, 4 Threads, 1.80 GHz, 45nm)42 D425 (512K cache, 1 Cores, 2 Threads, 1.80 GHz, 45nm)63 D510 (1M cache, 2 Cores, 4 Threads, 1.66 GHz, 45nm)43 D410 (512K cache, 1 Cores, 2 Threads, 1.66 GHz, 45nm)47 N2800 (1M cache, 2 Cores, 4 Threads, 1.86 ghz, 32nm)42 N2600 (1M cache, 2 Cores, 4 Threads, 1.60 ghz, 32nm)75 Z670 (512K cache, 1 Core, 2 Threads, 1.50 GHz, 45nm)86 N570 (1M cache, 2 Core, 4 Threads, 1.66 GHz, 45nm)86 N550 (1M cache, 2 Core, 4 Threads, 1.50 GHz, 45nm)75 N475 (512k cache, 1 Core, 2 Threads, 1.83 GHz, 45nm)75 N470 (512k cache, 1 Core, 2 Threads, 1.83 GHz, 45nm)64 N455 (512k cache, 1 Core, 2 Threads, 1.66 GHz, 45nm)64 N450 (512k cache, 1 Core, 2 Threads, 1.66 GHz, 45nm)
IntelÆ Coreôi7 processor Extreme Edition Mobile (FCPGA8/FCPGA10)1096 i7-3920XM (8M cache, 4 Cores, 8 Threads, 2.90 GHz, 22nm)1096 i7-2960XM (8M cache, 4 Cores, 8 Threads, 2.90 GHz, 32nm)1096 i7-2920XM (8M cache, 4 Cores, 8 Threads, 2.70 GHz, 32nm)
IntelÆ Coreôi7 processor Mobile (FCPGA8/FCPGA10)568 i7-3820QM (8M cache, 4 Cores, 8 Threads, 2.70 GHz, 22nm)568 i7-2860QM (8M cache, 4 Cores, 8 Threads, 2.50 GHz, 32nm)568 i7-2820QM (8M cache, 4 Cores, 8 Threads, 2.30 GHz, 32nm)378 i7-3720QM (6M cache, 4 Cores, 8 Threads, 2.60 GHz, 22nm)378 i7-2760QM (6M cache, 4 Cores, 8 Threads, 2.6\0 GHz, 32nm)378 i7-2720QM (6M cache, 4 Cores, 8 Threads, 2.20 GHz, 32nm)346 i7-2640M (4M cache, 2 Cores, 4 Threads, 2.80 GHz, 32nm)346 i7-2620M (4M cache, 2 Cores, 4 Threads, 2.80 GHz, 32nm)
IntelÆ Coreôi5 processor Mobile (FCPGA10)266 i5-2540M (3M cache, 2 Cores, 4 Threads, 2.60 GHz, 32nm)225 i5-2520M (3M cache, 2 Cores, 4 Threads, 2.50 GHz, 32nm)
LV/uLV IntelÆ Coreô i7 processor Mobile (FCBGA10)346 i7-2649M (4M cache, 2 Cores, 4 Threads, 2.30 GHz, 32nm)311 i7-2629M (4M cache, 2 Cores, 4 Threads, 2.10 GHz, 32nm)317 i7-2677M (4M cache, 2 Cores, 4 Threads, 1.80 Ghz, 32nm)289 i7-2637M (4M cache, 2 Cores, 4 Threads, 1.70 Ghz, 32nm)317 i7-2657M (4M cache, 2 Cores, 4 Threads, 1.60 GHz, 32nm)289 i7-2617M (4M cache, 2 Cores, 4 Threads, 1.50 GHz, 32nm)
uLV/IntelÆ Coreô i5 processor Mobile (FCBGA10)250 i5-2557M (3M cache, 2 Cores, 4 Threads, 1.70 GHz, 32nm)250 i5-2537M (3M cache, 2 Cores, 4 Threads, 1.40 GHz, 32nm)
IntelÆ CeleronÆ processor Mobile (FCPGA10/uFCPGA8)86 B840 (2M cache, 2 Cores, 2 Threads, 1.90 GHz, 32nm)86 B815 (2M cache, 2 Cores, 2 Threads, 1.60 GHz, 32nm)86 B810 (2M cache, 2 Cores, 2 Threads, 1.60 GHz, 32nm)80 B800 (2M cache, 2 Cores, 2 Threads, 1.50 GHz, 32nm)86 P4600 (2M cache, 2 Cores, 2 Threads, 2.00 GHz, 32nm)80 T3500 (1M cache, 2 Cores, 2 Threads, 2.10 GHz 800 Mhz FSB, 45nm)70 B720 (1M cache, 1 Core, 1 Thread, 1.70 GHz, 32nm)70 B710 (1M cache, 1 Core, 1 Thread, 1.60 GHz, 32nm)
ULV IntelÆ CeleronÆ M processor Mobile (uFCBGA6/uFCBGA8/FCBGA10)134 867 (2M cache, 2 Cores, 2 Threads, 1.30 Ghz uLV, 32nm)134 857 (2M cache, 2 Cores, 2 Threads, 1.20 Ghz uLV, 32nm)134 847 (2M cache, 2 Cores, 2 Threads, 1.10 Ghz uLV, 32nm)107 797 (1M cache, 1 Core, 1 Thread, 1.40 GHz uLV, 32nm)107 787 (1M cache, 1 Core, 1 Thread, 1.30 GHz uLV, 32nm)
Quad Core IntelÆ ItaniumÆ processor Server/Workstation (FC-LGA6)3838 9350 (24M cache, 4 Cores, 8 Threads, 1.73 GHz 4.80 GT/sec (185W), 45nm2059 9340 (20M cache, 4 Cores, 8 Threads, 1.60 GHz 4.80 GT/sec (185W), 45nm2059 9330 (20M cache, 4 Cores, 8 Threads, 1.46 GHz 4.80 GT/sec (155W), 45nm1614 9320 (16M cache, 4 Cores, 8 Threads, 1.33 GHz 4.80 GT/sec (155W), 45nm946 9310 (10M cache, 2 Cores, 4 Threads, 1.60 GHz 4.80 GT/sec (130W), 45nm
IntelÆ XeonÆ processor 8800 series, 10 & 8 core versions Server/Workstation (FCLGA8)4616 E7-8870 (30M cache, 10 Cores, 20 Threads, 2.40 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm4061 E7-8860 (24M cache, 10 Cores, 20 Threads, 2.26 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm3059 E7-8850 (24M cache, 10 Cores, 20 Threads, 2.00 GHz (130W) 6.40 GT/sec IntelÆ QPI, 32nm2280 E7-8830 (24M cache, 8 Cores, 16 Threads, 2.13 GHz (105W) 6.40 GT/sec IntelÆ QPI), 32nm4172 E7-8867L (30M cache, 10 Cores, 20 Threads, 2.13 GHz (105W) 6.40 GT/sec IntelÆ QPI), 32nm2280 E7-8837 (24M cache, 8 Cores, 8 Threads, 2.67 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm
IntelÆ XeonÆ processor 4800 series, 10, 8, and 6 core versions Server/Workstation (FCLGA8)4394 E7-4870 (30M cache, 10 Cores, 20 Threads, 2.40 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm3838 E7-4860 (24M cache, 10 Cores, 20 Threads, 2.26 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm2837 E7-4850 (24M cache, 10 Cores, 20 Threads, 2.00 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm2059 E7-4830 (24M cache, 8 Cores, 16 Threads, 2.13 GHz (105W) 6.40 GT/sec IntelÆ QPI), 32nm1446 E7-4820 18M cache, 8 Cores, 16 Threads, 2.00 GHz (105W) 5.86 GT/sec IntelÆ QPI), 32nm890 E7-4807 (18M cache, 6 Cores, 12 Threads, 1.86 GHz (95W) 4.80 GT/sec IntelÆ QPI), 32nm
IntelÆ XeonÆ processor 7500 series, 8, 6 and 4 core versions Server/Workstation (FCLGA8)3692 X7560 (24M cache, 8 Cores, 16 Threads, 2.26 GHz (130W) 6.40 GT/sec IntelÆ QPI, 45nm)2729 X7550 (18M cache, 8 Cores, 16 Threads, 2.00 GHz (130W) 6.40 GT/sec IntelÆ QPI, 45nm)1980 E7540 (18M cache, 6 Cores, 12 Threads, 2.00 GHz (105W) 6.40 GT/sec IntelÆ QPI, 45nm)1391 E7530 (12M cache, 6 Cores, 12 Threads, 1.86 GHz (105W) 5.86 GT/sec IntelÆ QPI, 45nm)856 E7520 (18M cache, 4 Cores, 8 Threads, 1.86 GHz (95W) 4.80 GT/sec IntelÆ QPI, 45nm)3157 L7555 (24M cache, 8 Cores, 16 Threads, 1.86 GHz (95W) 5.86 GT/sec IntelÆ QPI, 45nm)2087 L7545 (18M cache, 6 Cores, 12 Threads, 1.86 GHz (95W) 5.86 GT/sec IntelÆ QPI, 45nm)1980 X7542 (18M cache, 6 Cores, 6 Threads, 2.66 GHz (130W) 5.86 GT/sec IntelÆ QPI, 45nm)
IntelÆ XeonÆ processor 2800, 10, 8 and 6 core versions Server/Workstation (FCLGA8)4227 E7-2870 (30M cache, 10 Cores, 20 Threads, 2.40 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm3670 E7-2860 (24M cache, 10 Cores, 20 Threads, 2.26 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm2558 E7-2850 (24M cache, 10 Cores, 20 Threads, 2.00 GHz (130W) 6.40 GT/sec IntelÆ QPI), 32nm1779 E7-2830 (24M cache, 8 Cores, 16 Threads, 2.13 GHz (105W) 6.40 GT/sec IntelÆ QPI), 32nm1334 E7-2820 (18M cache, 8 Cores, 16 Threads, 2.00 GHz (105W) 5.86 GT/sec IntelÆ QPI), 32nm774 E7-2803 (18M cache, 6 Cores, 12 Threads, 1.73 GHz (105W) 4.80 GT/sec IntelÆ QPI), 32nm
IntelÆ XeonÆ processor 6500 series, 8, 6 and 4 core versions Server/Workstation (FCLGA8)2461 X6550 (18M cache, 8 Cores, 16 Threads, 2.00 GHz (130W) 6.40 GT/sec IntelÆ QPI, 45nm)1712 E6540 (18M cache, 6 Cores, 12 Threads, 2.00 GHz (105W) 6.40 GT/sec IntelÆ QPI ,45nm)744 E6510 (12M cache, 4 Cores, 8 Threads, 1.73 GHz (105W) 4.80 GT/sec IntelÆ QPI, 45nm)
IntelÆ XeonÆ processor 2600 series, 8, 6 ,4 and 2 core versions Server/Workstation (LGA2011)2057 E5-2690 (20M cache, 8 Cores, 16 Threads, 2.90 GHz (135W) 8.00 GT/sec IntelÆ QPI, 32nm)1723 E5-2680 (20M cache, 8 Cores, 16 Threads, 2.70 GHz (130W) 8.00 GT/sec IntelÆ QPI, 32nm)1552 E5-2670 (20M cache, 8 Cores, 16 Threads, 2.60 GHz (115W) 8.00 GT/sec IntelÆ QPI, 32nm)1440 E5-2665 (20M cache, 8 Cores, 16 Threads, 2.40 GHz (115W) 8.00 GT/sec IntelÆ QPI, 32nm)1329 E5-2660 (20M cache, 8 Cores, 16 Threads, 2.20 GHz (95W) 8.00 GT/sec IntelÆ QPI. 32nm)1107 E5-2650 (20M cache, 8 Cores, 16 Threads, 2.00 GHz (95W) 8.00 GT/sec IntelÆ QPI, 32nm)885 E5-2640 (15M cache, 6 Cores, 12 Threads, 2.50 GHz (95W) 7.20 GT/sec IntelÆ QPI, 32nm)612 E5-2630 (15M cache, 6 Cores, 12 Threads, 2.30 GHz (95W) 7.20 GT/sec IntelÆ QPI, 32nm)406 E5-2620 (15M cache, 6 Cores, 12 Threads, 2.00 GHz (95W) 7.20 GT/sec IntelÆ QPI, 32nm)294 E5-2609 (10M cache, 4 Cores, 4 Threads, 2.40 GHz (80W) 6.40 GT/sec IntelÆ QPI, 32nm)198 E5-2603 (10M cache, 4 Cores, 4 Threads, 1.80 GHz (80W) 6.40 GT/sec IntelÆ QPI, 32nm)1885 E5-2687W (20M cache, 8 Cores, 16 Threads, 3.10 GHz (150W) 8.00 GT/sec IntelÆ QPI, 32nm)1552 E5-2667 (15M cache, 6 Cores, 12 Threads, 2.90 GHz (130W) 8.00 GT/sec IntelÆ QPI, 32nm)885 E5-2643 (10M cache, 4 Cores, 8 Threads, 3.30 GHz (130W) 8.00 GT/sec IntelÆ QPI, 32nm)885 E5-2637 (5M cache, 2 Cores, 4 Threads, 3.00 GHz (80W) 8.00 GT/sec IntelÆ QPI, 32nm)1107 E5-2650L (20M cache, 8 Cores, 16 Threads, 1.80 GHz (70W) 8.00 GT/sec IntelÆ QPI, 32nm)662 E5-2630L (15M cache, 6 Cores, 12 Threads, 2.00 GHz (60W) 7.20 GT/sec IntelÆ QPI, 32nm)
IntelÆ XeonÆ processor 5600 series, 6 and 4 core versions Server/Workstation (LGA1366)1663 X5690 (12M cache, 6 Cores, 12 Threads, 3.46 GHz (130W) 6.40 GT/sec IntelÆ QPI, 32nm)1663 X5680 (12M cache, 6 Cores, 12 Threads, 3.33 GHz (130W) 6.40 GT/sec IntelÆ QPI, 32nm)1440 X5675 (12M cache, 6 Cores, 12 Threads, 3.06 GHz (95W) 6.40 GT/sec IntelÆ QPI, 32nm)1440 X5670 (12M cache, 6 Cores, 12 Threads, 2.93 GHz (95W) 6.40 GT/sec IntelÆ QPI, 32nm)1219 X5660 (12M cache, 6 Cores, 12 Threads, 2.80 GHz (95W) 6.40 GT/sec IntelÆ QPI, 32nm)996 X5650 (12M cache, 6 Cores, 12 Threads, 2.66 GHz (95W) 6.40 GT/sec IntelÆ QPI, 32nm)774 E5649 (12M cache, 6 Cores, 12 Threads, 2.53 GHz (80W) 5.86 GT/sec IntelÆ QPI, 32nm)551 E5645 (12M cache, 6 Cores, 12 Threads, 2.40 GHz (80W) 5.86 GT/sec IntelÆ QPI, 32nm)774 E5640 (12M cache, 4 Cores, 8 Threads, 2.66 GHz (80W) 5.86 GT/sec IntelÆ QPI, 32nm)551 E5630 (12M cache, 4 Cores, 8 Threads, 2.53 GHz (80W) 5.86 GT/sec IntelÆ QPI, 32nm)387 E5620 (12M cache, 4 Cores, 8 Threads, 2.40 GHz (80W) 5.86 GT/sec IntelÆ QPI, 32nm)276 E5607 (8M cache, 4 Cores, 4 Threads, 2.26 GHz (80W) 4.80 GT/sec IntelÆ QPI, 32nm)219 E5606 (8M cache, 4 Cores, 4 Threads, 2.13 GHz (80W) 4.80 GT/sec IntelÆ QPI, 32nm)188 E5603 (4M cache, 4 Cores, 4 Threads, 1.60 GHz (80W) 4.80 GT/sec IntelÆ QPI, 32nm)1663 X5687 (12M cache, 4 Cores, 8 Threads, 3.60 GHz (130W) 6.40 GT/sec IntelÆ QPI, 32nm)1663 X5677 (12M cache, 4 Cores, 8 Threads, 3.46 GHz (130W) 6.40 GT/sec IntelÆ QPI, 32nm)1440 X5672 (12M cache, 4 Cores, 8 Threads, 3.20 GHz (95W) 6.40 GT/sec IntelÆ QPI, 32nm)1440 X5667 (12M cache, 4 Cores, 8 Threads, 3.06 GHz (95W) 6.40 GT/sec IntelÆ QPI, 32nm)774 X5647 (12M cache, 4 Cores, 8 Threads, 2.93 GHz (130W) 5.86 GT/sec IntelÆ QPI, 32nm)996 L5640 (12M cache, 6 Cores, 12 Threads, 2.26 GHz (60W) 5.86 GT/sec IntelÆ QPI, 32nm)551 L5630 (12M cache, 4 Cores, 8 Threads, 2.13 GHz (40W) 5.86 GT/sec IntelÆ QPI, 32nm)440 L5609 (12M cache, 4 Cores, 4 Threads, 1.86 GHz (40W) 4.80 GT/sec IntelÆ QPI, 32nm)
IntelÆ XeonÆ processor Server/Workstation (LGA1366/LGA771)1600 W5590 (8M cache, 4 Cores, 8 Threads, 3.33 GHz (130W) 6.40 GT/sec IntelÆ QPI, 45nm)1600 W5580 (8M cache, 4 Cores, 8 Threads, 3.20 GHz (130W) 6.40 GT/sec IntelÆ QPI, 45nm)1386 X5570 (8M cache, 4 Cores, 8 Threads, 2.93 GHz (95W) 6.40 GT/sec IntelÆ QPI, 45nm)1172 X5560 (8M cache, 4 Cores, 8 Threads, 2.80 GHz (95W) 6.40 GT/sec IntelÆ QPI, 45nm)958 X5550 (8M cache, 4 Cores, 8 Threads, 2.66 GHz (95W) 6.40 GT/sec IntelÆ QPI, 45nm)744 E5540 (8M cache, 4 Cores, 8 Threads, 2.53 GHz (80W) 5.86 GT/sec IntelÆ QPI, 45nm)530 E5530 (8M cache, 4 Cores, 8 Threads, 2.40 GHz (80W) 5.86 GT/sec IntelÆ QPI. 45nm)373 E5520 (8M cache, 4 Cores, 8 Threads, 2.26 GHz (80W) 5.86 GT/sec IntelÆ QPI, 45nm)276 E5507 (4M cache, 4 Cores, 4 Threads, 2.26 GHz (80W) 4.80 GT/sec IntelÆ QPI, 45nm)219 E5506 (4M cache, 4 Cores, 4 Threads, 2.13 GHz (80W) 4.80 GT/sec IntelÆ QPI ,45nm)224 E5504 (4M cache, 4 Cores, 4 Threads, 2.00 GHz (80W) 4.80 GT/sec IntelÆ QPI, 45nm)188 E5503 (4M cache, 2 Cores, 2 Threads, 2.00 GHz (80W) 4.80 GT/sec IntelÆ QPI, 45nm)188 E5502 (4M cache, 2 Cores, 2 Threads, 1.86 GHz (80W) 4.80 GT/sec IntelÆ QPI, 45nm)744 L5530 (8M cache, 4 Cores, 8 Threads, 2.40 GHz (60W) 5.86 GT/sec IntelÆ QPI, 45nm)530 L5520 (8M cache, 4 Cores, 8 Threads, 2.26 GHz (60W) 5.86 GT/sec IntelÆ QPI, 45nm)423 L5506 (4M cache, 4 Cores, 4 Threads, 2.13 GHz (60W) 4.80 GT/sec IntelÆ QPI, 45nm)
IntelÆ XeonÆ processor 1600 series, 6 and 4 core versions Server/Workstation (LGA2011)1080 E5-1660 (15M cache, 6 Cores, 12 Threads,3.30 GHz (130W). 32nm)583 E5-1650 (12M cache, 6 Cores, 12 Threads, 3.20 GHz (130W). 32nm)294 E5-1620 (10M cache, 4 Cores, 8 Threads,3.60 GHz (130W), 32nm)
IntelÆ XeonÆ processor Server UP (LGA1366/1155/1156/LGA775)999 W3690 (12M cache, 6 Cores, 12 Threads, 3.46 GHz (130W) 6.40 GT/sec IntelÆ QPI, 32nm)583 W3680 (12M cache, 6 Cores, 12 Threads, 3.33 GHz (130W) 6.40 GT/sec IntelÆ QPI, 32nm)583 W3670 (12M cache, 6 Cores, 12 Threads, 3.20 GHz (130W) 4.80 GT/sec IntelÆ QPI, 32nm)999 W3580 (8M cache, 4 Cores, 8 Threads, 3.33 GHz (130W) 6.40 GT/sec IntelÆ QPI, 45nm)999 W3570 (8M cache, 4 Cores, 8 Threads, 3.20 GHz (130W) 6.40 GT/sec IntelÆ QPI, 45nm)294 W3565 (8M cache, 4 Cores, 8 Threads, 3.20 GHz (130W) 4.80 GT/sec IntelÆ QPI , 45nm)294 W3550 (8M cache, 4 Cores, 8 Threads, 3.06 GHz (130W) 4.80 GT/sec IntelÆ QPI, 45nm)562 W3540 (8M cache, 4 Cores, 8 Threads, 2.93 GHz (130W) 4.80 GT/sec IntelÆ QPI, 45nm)294 W3530 (8M cache, 4 Cores, 8 Threads, 2.80 GHz (130W) 4.80 GT/sec IntelÆ QPI, 45nm)284 W3520 (8M cache, 4 Cores, 8 Threads, 2.66 GHz (130W) 4.80 GT/sec IntelÆ QPI, 45nm)885 E3-1290 (8M cache, 4 Cores, 8 Threads, 3.60 GHz (95W), 32nm)612 E3-1280 (8M cache, 4 Cores, 8 Threads, 3.50 GHz (95W), 32nm)328 E3-1270 (8M cache, 4 Cores, 8 Threads, 3.40 GHz (80W), 32nm)250 E3-1240 (8M cache, 4 Cores, 8 Threads, 3.30 GHz (80W), 32nm)215 E3-1230 (8M cache, 4 Cores, 8 Threads, 3.20GHz (80W), 32nm)189 E3-1220 (8M cache, 4 Cores, 4 Threads, 3.10 GHz (80W), 32nm)339 E3-1275 (8M cache, 4 Cores, 8 Threads, 3.40 GHz (95W), 32nm)262 E3-1245 (8M cache, 4 Cores, 8 Threads, 3.30 GHz (95W), 32nm)240 E3-1235 (8M cache, 4 Cores, 8 Threads, 3.20 GHz (95W), 32nm)194 E3-1225 (6M cache, 4 Cores, 4 Threads, 3.10 GHz (95W), 32nm)294 E3-1260L(8M cache, 4 Cores, 8 Threads, 2.40 GHz (45W), 32nm)189 E3-1220L (3M cache, 2 Cores, 4 Threads, 2.20 GHz (20W), 32nm)612 X3480 (8M cache, 4 Cores, 8 Threads, 2.20 GHz (95W), 45nm)328 X3470 (8M cache, 4 Cores, 8 Threads, 2.93 GHz (95W), 45nm)316 X3460 (8M cache, 4 Cores, 8 Threads, 2.80 GHz (95W), 45nm)241 X3450 (8M cache, 4 Cores, 8 Threads, 2.66 GHz (95W), 45nm)215 X3440 (8M cache, 4 Cores, 8 Threads, 2.53 GHz (95W), 45nm)189 X3430 (8M cache, 4 Cores, 4 Threads, 2.40 GHz (95W), 45nm)284 L3426 (8M cache, 4 Cores, 8 Threads, 1.86 GHz (45W), 45nm)189 L3406 (4M cache, 2 Cores, 4 Threads, 2.26 GHz (30W), 32nm)
See link below for detailed processor feature set details. http://www.intel.com/products/processor/index.htm?iid=prod+prod_processorThe Recommended Customer Price (ìRCPî) is pricing guidance for Intel products. Prices are for direct Intel customers and are subject to change without notice. Taxes and shipping, etc. not included. Prices may vary for other package types and shipment quantities, and special promotional arrangements may apply. Listing of these RCP does not constitute a formal pricing offer from Intel. Please work with your appropriate Intel representative to obtain a formal price quotation. . And he gave us a skeleton source file: #include #include #include typedef struct { /* fill in */ } price_entry; /* Reads a price list from a file and stores it in an array of structs. Returns the number of price entries read from the file. */ int read_price_list(const char* input_name, price_entry* list, int list_size) { /* only lines beginning with a digit contain price entries, ignore all other lines */ /* fill in */ } int compare_price_entries(const price_entry* entry1, const price_entry* entry2) { /* fill in */ } /* Sorts a price list by decreasing price. */ void sort_price_list(price_entry* list, int list_size) { /* use qsort() in conjunction with the compare_price_entries above, or write your own sort algorithm */ /* fill in */ } /* Writes a price list into a new file. */ void write_price_list(const price_entry* list, int list_size, const char* output_name) { /* fill in */ } int main() { int entry_count; entry_count = read_price_list("Apr_29_12_Recommended_C… /* fill in */); sort_price_list(/* fill in */); write_price_list(/* fill in */, "Sorted_Price_List.txt"); return 0; } I've been working on in since Wed and I am completely stuck and any kind of help would be appreciated.

 

Optional Information:
Language (or Software): Other

Already Tried:
I have two simple programs attached. I need them done because I have finals week coming up and rather be studying than programming, and rather have them done.. first program must be in java and the one of the bottom must be in c

Submitted: 347 days and 2 hours ago.
Category: Programming
Value: $32
Status: CLOSED
Picture
Expert:  jatechexpert replied 347 days and 2 hours ago.

Hello and welcome to JustAnswer. I look forward to assisting you today with your question and providing the best answer possible.

hi

thanks for using justAnswer.com

when you need this

Customer replied 347 days and 2 hours ago.

To be ahead of schedule, tomorrow, so I do not have to stress about it, will it take long to do?

Customer replied 347 days and 2 hours ago.

there are two programs by the way, i do apologize as well

Picture
Expert:  jatechexpert replied 347 days and 2 hours ago.

hi
can you upload the information through www.wikisend.com

Customer replied 347 days and 2 hours ago.

is wiki send private?

Customer replied 347 days and 2 hours ago.

http://wikisend.com/download/675552/untitled folder 2.zip

Customer replied 347 days and 2 hours ago.

untitled folder 2.zip

Picture
Expert:  jatechexpert replied 347 days and 2 hours ago.

hi

ok

Customer replied 346 days and 18 hours ago.

Hello I was wondering around when the c programming will be done?

Picture
Expert:  jatechexpert replied 346 days and 17 hours ago.

hi

is this due today

Customer replied 346 days and 17 hours ago.

Just the c program need it by 1:00pm and the java by tony his afternoon

Picture
Expert:  jatechexpert replied 346 days and 17 hours ago.

hi

can you send the C program what you need separately

Customer replied 346 days and 17 hours ago.

Okay

Picture
Expert:  jatechexpert replied 346 days and 17 hours ago.

hi

ok waiting

Customer replied 346 days and 16 hours ago.

http://wikisend.com/download/268608/untitled folder 2 2.zip




http://wikisend.com/download/268608/untitled folder 2 2.zip

Picture
Expert:  jatechexpert replied 346 days and 16 hours ago.

hi

Apr_29_12_Recommended_Customer_Price_List.txt

has more un orodered information

can i remake it

do you want to use the same file that you send

Customer replied 346 days and 16 hours ago.

http://www.intel.com/products/processor/index.htm?iid=prod+prod_processor


this link is more detailed

Customer replied 346 days and 16 hours ago.

oops wrong link let me find it

Customer replied 346 days and 16 hours ago.

http://rapidlibrary.com/files/apr-29-12-recommened-customer-price-list-pdf_ulc8cwrxqqi89on.html

Customer replied 346 days and 16 hours ago.

http://rapidlibrary.com/files/apr-29-12-recommened-customer-price-list-pdf_ulc8cwrxqqi89on.html


the pdf version is good

Picture
Expert:  jatechexpert replied 346 days and 16 hours ago.

hi

for doing this i need the text file

Customer replied 346 days and 16 hours ago.

http://rapidlibrary.com/files/apr-29-12-recommened-customer-price-list-pdf_ulc8cwrxqqi89on.html


http://wikisend.com/download/903494/Apr_29_12_Recommended_Customer_Price_List.txt




http://wikisend.com/download/110224/price_list.c

price_list.c



here is prompt/instructions just in case

http://wikisend.com/download/562750/engr213.assignment_7.pdf

engr213.assignment_7.pdf

Picture
Expert:  jatechexpert replied 346 days and 16 hours ago.

hi

but in the file
Apr_29_12_Recommended_Customer_Price_List.txt

there is no price

Customer replied 346 days and 16 hours ago.

http://files.shareholder.com/downloads/INTC/1505758718x0x564092/6D3DF87F-D58F-4DC3-8E91-20032A8D85CB/Apr_29_12_Recommened_Customer_Price_List.pdf

Picture
Expert:  jatechexpert replied 346 days and 16 hours ago.

hi

in the pdf file the price is there for April and March

but not in the text file

in the program , you have to read it from text file

Customer replied 346 days and 16 hours ago.

I am thinking the .c file is the one, however professor sent it as a .c? The professor is sometimes confusing

Picture
Expert:  jatechexpert replied 346 days and 16 hours ago.

hi

i got the c file

i need the txt file as like in the pdf

Customer replied 346 days and 16 hours ago.

okay, apologize for misunderstanding

Picture
Expert:  jatechexpert replied 346 days and 16 hours ago.

hi

if you send it, i can do this

Customer replied 346 days and 16 hours ago.

Apr_29_12_Recommended_Customer_Price_List.txt



http://wikisend.com/download/258628/Apr_29_12_Recommended_Customer_Price_List.txt



hopefully it works

Picture
Expert:  jatechexpert replied 346 days and 15 hours ago.

hi

sorry

i am opting out this to other experts
someone will help you

Customer replied 346 days and 15 hours ago.

okay, i am sorry if it was confusing, the Professor himself is confusing as well

Picture
Expert:  jatechexpert replied 346 days and 15 hours ago.

hi

ok
someone will help you

or you put a new question for this

Customer replied 346 days and 15 hours ago.

Sort_Price_List.txt



http://wikisend.com/download/401856/Sort_Price_List.txt


here is the text sort price its if this is what you meant, i apologize again

Customer replied 346 days and 15 hours ago.

http://wikisend.com/download/401856/Sort_Price_List.txt

Sort_Price_List.txt
http://wikisend.com/download/562750/engr213.assignment_7.pdf
http://wikisend.com/download/110224/price_list.c
http://wikisend.com/download/258628/Apr_29_12_Recommended_Customer_Price_List.txt
Apr_29_12_Recommended_Customer_Price_List.txt

Picture
Expert:  jatechexpert replied 346 days and 15 hours ago.

hi
someone will help you

i am confusing sorry

Customer replied 346 days and 15 hours ago.

Okay thanks someone is working on the hw now?

Picture
Expert:  jatechexpert replied 346 days and 14 hours ago.

hi
ok

Customer replied 346 days and 11 hours ago.

were you working on the programming c?

Picture
Expert:  Rachel-Mod replied 346 days and 10 hours ago.

Hi, I’m a moderator for this topic. Your Professional has opted out and I wonder whether you’re still waiting for an answer. If you are, please let me know and I will do my best to find another Professional to assist you right away. If not, feel free to let me know and I will cancel this question for you. Thank you!

Picture
Expert:  Raj replied 346 days and 9 hours ago.

Hi There.

I have completed your code for C requirement.
If you still need it than do leave here a message.

Customer replied 346 days and 7 hours ago.

Yes please

Customer replied 346 days and 6 hours ago.

Please sent me the finished program

Picture
Expert:  Raj replied 346 days and 5 hours ago.

Ok do let me know when you are online and I will provide the link for you to download the code.

Thank you and Have a Good Day.

Customer replied 346 days and 5 hours ago.

I am
Online

Picture
Expert:  Raj replied 346 days and 5 hours ago.

Ok just give me 5 min and I will post the solution.

Customer replied 346 days and 5 hours ago.

okay thank you

Accepted Answer

Picture
Expert:  Raj replied 346 days and 5 hours ago.

Ok
Please download the compressed project from the link below:
http://www.mediafire.com/?k19xx9eqzy6a7qq

Description : Run the .c file and you will get the output in a new txt file which will get created in the same folder with all the price and CPU configuration in desending order.

-------------------------------------------------------------------------------------------------------------------
If code provided by me was helpfull than please don't forget to hit the GREEN ACCEPT Button because thats how we get paid for our effort.
Positive Feedback and BONUS are always appreciated.

Thank You and Have a Good Day.
------------------------------------------------------------------------------------------------------------------

Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and Accept my answer. I can address follow up questions at no extra charge and I’m always here to help. Thank you for using JustAnswer!

Expert TypeComputer Engg.
Category: Programming
Pos. Feedback: 98.8 %
Accepts: 856
Answered: 5/9/2012

Experience: BE CS, 4+ Experience in Programming and Database (ERP)

Ask this Expert a Question >
Picture
Expert:  Raj replied 346 days and 5 hours ago.

If you need the solution for Part 2 i.e. the UML Diagram and String class?

Please post a new Question starting with "TO RAJ" and I will give you reply within 5-6 hrs ready with the code.

Customer replied 346 days and 4 hours ago.

Hello Raj! I do not need it anymore, I do like to thank you for your help. In the future if I do need help again, what is preferably the time you need to finish a project/assignment

Picture
Expert:  Raj replied 346 days and 4 hours ago.

It generally depends on the amount of work required in the project.

Like if requirement is less than it takes mins to solve.
But if requirement is more and needs more skill like this one than it takes approx 5-6 hrs.

We also aggreed on more amount for the providing the solution for c code right??

 
Tweet

2 Programmers are Online Right Now

Ask Your Question Now
Programming Questions Date Submitted
I need a program in visual basic 2010 that does the following:1. 4/17/2013
RA-JPM 4/17/2013
RA-hg 4/17/2013
Hi need help with a specific 102 programming assignment. 4/16/2013
I have a very serious issue with Magento coupon system which 4/16/2013
Programming Challenge 4/16/2013
RA-ke 4/16/2013
1. (TCO 9) Menu-driven programs should be broken down into 4/15/2013
I need an app builder to build an app OKPR415211 4/15/2013
will tip extra if finished fast - programming assignment 4/14/2013
RSS
Next 10 >
Ask A Programmer
Type Your Programming Question Here...
characters left:

Top Programming Experts

See More Programmers

In The News

Nbc
Washington Post
New York Times
Cnn
Learn More

How It Works

  • Ask an Expert
  • Get a Professional Answer
  • Ask Followup Questions
  • 100% Satisfaction Guarantee
Learn More
close
Find Expert answers related to your question.
Sign up using email
We will never post anything without your permission.
Already have an account? Sign in

Ask a Programmer

Get a Professional Answer. 100% Satisfaction Guaranteed.
76 Programmers are Online Now
Type Your Programming Question Here...
characters left:
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Truste
Contact Us | Terms of Service | Privacy & Security | About Us | Our Network
© 2003-2013 JustAnswer LLC
  • Pearl.com
  • JustAnswer UK
  • JustAnswer Germany
  • JustAnswer Spanish
  • JustAnswer Japan