1,518 Answered Questions for the topic computer science
Calculate How Many Photons Produced
The energy is 5,500,000 Jfrequency is 824 Megahertzwavelength of 36.4 m
11/04/21
Write a static method histogram() that takes an array a[ ] of int values...........
Write a static method histogram() that takes an array a[ ] of int values and an integer M as arguments and returns an array of length M whose ith entry is the number of times the integer i appeared...
more
10/26/21
BlueJ Questions
If you could write it in the format of BlueJ(Java). That would be great but if not that's ok1) Write programs with for loops that computea. The sum of all even numbers between 2 and 100...
more
10/25/21
Best Fit Algorithm Help
def BestFit():
boxes = readCSV()
num_of_boxes = len(boxes)
bin_area = 40
n_bin = 0
area_remaining_in_bins = []
lists = []
for x in range(num_of_boxes):
...
more
10/25/21
Psuedocode for converting binary to decimal and decimal to binary.
I am studying python and my question is how to write a pseudocode that explains the steps in converting 1) binary to decimal 2) decimal to binary. (If example needed then binary 1010 to decimal 10)
10/24/21
Describe the difference between Selection, Bubble and Insertion Sort
Describe the difference between Selection, Bubble and Insertion Sort
10/24/21
Explore how Bubble sort works and how it is different from the insertion and selection sort.
Explore how Bubble sort works and how it is different from the insertion and selection sort.
Computer Science Networking (computer)
10/22/21
Types of computer network for consumer and small offices/ enterprise
Types of computer network for consumer and small offices/ enterprise
10/19/21
program that will read in the quantities and prices items from a file then calculates the total price
Write a C++ program that will read in the quantities and prices items from a file then calculates the total price (quantity * price) for each item and saves it in another file including the...
more
10/19/21
program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3
Write a C++ program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3, “D5” if it’s evenly divisible by 5, “D3&5” if it’s even divisible by three and five,...
more
Computer Science
10/18/21
java program to perform arithmetic operations on complex numbers
Design and implement a ComplexNumber class that represents the real and imaginary parts as double values and provides at least the following methods:
Constructors for default and explicit...
more
Computer Science C++
10/18/21
Determine if the following problems exhibit task or data parallelism
Determine if the following problems exhibit task or data parallelism: 1. Using a separate thread to generate a thumbnail for each photo in a collection 2. Transposing a matrix in parallel 3. A...
more
Computer Science C++
10/18/21
Please code in c++. I need help on this one.
Write a program that prompts users to enter:
o A character to use (any character besides *)o The width of the displayo The height of the display to produce an E shape. The middle horizontal line...
more
Computer Science C++
10/17/21
You must code this in c++. I have Included the full question in description.
Write a program that prompts users to enter: o A character to use (any character besides *)o The width of the displayo The height of the display to produce an E shape. The middle horizontal line...
more
10/15/21
Why is the answer O(N^2) for this big-o question?
For this question:Approximate the runtime of the following code fragment, in terms of n: Write your answer in a format such as "O(N^2)" or "O(N log N)".int sum = 0;for (int i = 1; i <= n; i++)...
more
10/15/21
Is my thought process for a big-o question correct?
For this question:Approximate the runtime of the following code fragment, in terms of n: Write you answers in a format such as O(N^2) or O(N log N):int sum = 0;for (int i = 1; i <= n; i++) { ...
more
Computer Science
10/14/21
How can I fix this so that the test cases can pass
trying to find the largest element in the sequence but out of 3 test only the last test is success. code:for(int i=0; i<arraySequence.length(); i++) {int...
more
Computer Science
10/14/21
How can I fix this so that the test cases can pass
trying to find the largest element in the sequence but out of 3 test only the last test is success. code:for(int i=0; i<arraySequence.length(); i++) {int...
more
Computer Science Computer Programming
10/13/21
Find the complement of F=wx+yz, and then show that FF'=0 and F+F'=1 using the axioms and theorems of Boolean algebra.
10/12/21
convert to decimal
I need help converting 0.00011001 ^2 to decimal ?can anyone help with this please?
Write a recursive method that checks if a string has two of the same characters in a row. The method should display the remaining string.
Sample Run
----jGRASP exec: java CharacterRepeat
Enter a string: hello
Checking hello...
Checking ello...
Checking llo...
true!
----jGRASP: operation complete.
10/08/21
find x if 283(x)=A2(16)-153(80)+100110(2) discrete mathematics
i really ned help with this problem i'm in discrete mathematics and i don't know where to begin
Computer Science Python
10/07/21
Python question
I had a quick question regarding python so this line print('{:>3}'.format(self.maze[i][j]), end='')I was wondering what exactly the {:>3} does in this line?thank you
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.