1,550 Answered Questions for the topic computer science

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

10/17/21

Trade-offs in WhatsApp

What are the trade-off in WhatsApp application?
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

Use a truth table to demonstrate the validity of x+yz=(x+y)(x+z)

10/12/21

convert to decimal

I need help converting 0.00011001 ^2 to decimal ?can anyone help with this please?
Computer Science Java Recursive

10/09/21

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

Given the matrix: M=[1 1; 1 3;]; Use loops to

Given the matrix: M=[1 1; 1 3;]; Use loops to determine how many of the entries are greater than 1 and the location of all qualifying entries

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
Computer Science Computer Java Web Design

10/07/21

Please help with Java code

How can I define a for loop for the following output:1+2 = 32+3 = 54+5 = 98+9 = 1716+17 = 3332+33 = 6564+65 = 129any help would be very appreciated

10/06/21

Create a function based on Deep Equality called deepEqual that takes two arguments 'true' and 'false'

Javascript. Create a function based on Deep Equality called deepEqual that takes two arguments 'true' and 'false' and returns true if the arguments are deep equal and false if the arguments are not... more

10/06/21

QuickSort. Write the quickSortInternal function. Do not use std::algorithms.

Please include source code and make the code that you include bold. Write the quickSortInternal function. Do not use std::algorithms.You need to add your partitionFunc from the Partition Function... more

10/06/21

Partition Function Write the partition function (described in function comment below).

Include source code and please make the code that you add bold. Write the partition function (described in function comment below).Do not use std::algorithms.Make sure that you only work on the... more

10/05/21

MergeSort. Write the mergeSortInternal function. Do not use std::algorithms.

Write the mergeSortInternal function. Do not use std::algorithms.You need to add your mergeFunc from the Merge Function problem. You cannot solve this problem without doing that one... more
Computer Science

10/04/21

Not quite understanding this please help!

Part One: Write an interactive program to calculate the volume and surface area of a three-dimensional object. Use the following guidelines to write your program: Create a word problem that... more
Computer Science

10/04/21

How do i make a for loop for the 11 remaining digits after that (

The final digit of a Universal Product Code is a check digit computed as follows:Add the digits in the odd-numbered positions from the right (first, third, fifth, etc. - not including the check... more

09/30/21

What are the protocols?

What is the protocols that SMS use?What is the protocols that WeChat use?What is the protocols that WhatsApp use?

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.