<< Prev Showing: 66-70 of 180 Next >>
· 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 ·Suppose an array with 6 rows and 8 columns is stored in row major order starting at address 20 (base ten). If each entry in the array requires only one memory cell, what is the address of the entry in the third row and fourth column? What if each entry requires two memory cells? (See attached file for full problem description)
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
94097
OTA ID:
103997
Java program which sorts a 10 element integer array
Design and implement a Java program which sorts a 10 element integer array using the bubble sort process. The elements of the array to be sorted should be supplied by the user and should not include any duplicates. Create a GUI front end for your bubble sort program. In the example there are 10 text fields on a JFrame background to allow input of array elements (remember that for each text field you must press the carriage return key to invoke the listener). When the array has been populated, we press the start button, at which point the given array is output as a label. We then sort the result and output the sorted array.
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
94501
OTA ID:
102833
Java program which defines two unconstrained arrays of user defined length
Write a Java program which defines two unconstrained arrays of user defined length n, that contain n Random numbers each and which outputs the addition of pairs of elements. For example, given {1, 2, 3} and {4, 5, 6} the output would be {5, 7, 9}. Please use well commented code.
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
94682
OTA ID:
103644
Convert the program attached to this text to allow the program to print out each word of the input sentence to a separate line of a file called words.txt. After this, create another program that could be used to take the words in words.txt and recreate the original sentence – this time printing the result to the screen. Please write well commented code.
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
94685
OTA ID:
102833
Program in Java which defines two unconstrained arrays of user defined length
Write a program in Java which defines two unconstrained arrays of user defined length n, that contain n Random numbers each and which outputs the addition of pairs of elements. For example, given {1, 2, 3} and {4, 5, 6} the output would be {5, 7, 9}. Please use well commented code. The program must consist of at least 2 files. Let's assume the user enters an array length of 5. The output would be: arr1 arr2 sum 0 12 7 19 1 34 19 53 2 2 45 47 3 23 8 31 4 14 23 37
Subject:
Computer Science
Topic:
Software Engineering
Posting ID:
94909
OTA ID:
103644
<< Prev Showing: 66-70 of 180 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-105 · 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 · 161-165 · 166-170 · 171-175 · 176-180 ·Page generated in 0.0139 seconds