1,534 Answered Questions for the topic computer science

Computer Science

02/14/18

What is this statement an example of? for i in range (10):

What is this statement an example of? for i in range (10): loop calculation output input

HW: Quadratic Equation Solver - this is a c++ programing code. I need a simple code that will output as shows in the end of the description.

This is a c++ programing code please help!!!  I need a simple code that will output as shown at  the end of the description.   HW: Quadratic Equation SolverPointsPoints10Design75Runs... more
Computer Science Information Tchnology

01/14/18

what is the purpose of a translation look a side boffer ?

what is the purpose of  a translation look a side buffer ?
Computer Science Maths Algorithm

11/24/17

How can I find the lowest number, who's factors add up to exceed N?

How can I find the lowest number, who's factors add up to equal or exceed N?For example, 48 is the first number where it's factors add up to equal or over 100 with it's factors adding up to 124. So... more
Computer Science

09/23/17

1 + 2 + ... + n = O(n ^2) true or false

 is the statement true or false ? this is just a quiz question and i have no clue for this so help would me much appreciated
Computer Science Computer Programming

09/18/17

Need help with java word problem!

Write a Java program that simulates the quick pick feature used by people who play the Texas Lottery. Your program should generate 6 random numbers in the range of 1 to 50 inclusive and display... more
Computer Science Computer Programming

09/18/17

Need help fast with Java word problem!!

Write a Java program that simulates the quick pick feature used by people who play the Texas Lottery. Your program should generate 6 random numbers in the range of 1 to 50 inclusive and display... more
Computer Science

09/14/17

How many bits (0s or 1s) are there in 4GB USB memory stick?

 How many bits (0s or 1s) are there in 4GB USB memory stick?         Binary addition:
Computer Science

09/11/17

Rewrite the factorial algorithm using a for() loop

must only accept values from 5-30 (inclusive) Must display appropriate error massage if not 5 - 30
Computer Science C++ C Computer Programming

09/06/17

Char tic tac toe

char tic_tac_toe(char board[][3]): Given the configuration of atic-tac-toe board, return the winner (‘x’ if ‘x’ wins, ‘o’ if ‘o’ wins, and ‘d’ if it’s a draw ).
Computer Science C++ C Computer Programming

09/06/17

Size of array

void copy(int a[], int b[], int n): Make a copy of a givenarray a of size n into b. Assume that the size of array b is the same as a and the memory for array b has been allocated.
Computer Science C++ C Structured Programming

09/06/17

arrays question

int sorted(int a[], int n): Test if a given array a of size n is sortedin ascending order.
Computer Science

08/28/17

what is operating system few exmaples

I m preparing for my exams

06/28/17

what is the problem with this code

def new password=str(input("Please enter your new password ")) password2=str(input("Please re-enter your password")) if password==password2: print ("Password completed") if password2:... more

06/26/17

Need help writing a code in Java.

I am asked the following.   Write a program that determines change to be dispensed from a vending machine using the least number of coins. An item in the machine can cost between 25 cents to a... more

06/26/17

Trouble with a code segment in Java

  What's wrong with the following code segment?final double TAX_RATE = 0.08;TAX_RATE = 0.0875;   This question is confusing. When I copy this into my Java IDE, it can't compile and i'm left with... more
Computer Science Java

06/26/17

I don't understand this question. Anyone care to help?

I am asked   What are the difference among 1, 1.0, '1', and "1"?   And I don't understand the question at all. Can anyone explain to me or help me with this question? This question pertains to... more
Computer Science

06/13/17

How is security threatened at a University if the computer infrastructure is not kept up to date?

Explain. Would University be in a better or worse situation than a bank, library or a technical company like Microsoft? Explain in comparison to each of the three businesses mentioned.
Computer Science

05/25/17

calculating average access time of a magnetic disk

A magnetic disk has 2000 cylinders, 8 tracks per cylinder, 64 sectors per track, and 2KB per sectors. The rotation time is 25msec, maximum seek time is 600 msec, and switching between adjacent... more
Computer Science Math Technology Google Sheets

05/24/17

Logical IF Function & Google Sheets Confusion

I have to use the logical if function for the following situation.If a student's exam grade is better than their calculated final grade, use the exam grade as their final mark. I have to use the... more
Computer Science C++ Computer Programming

05/19/17

Please help with this C++ programming question

Using pseudo code algorithms! c++ only 1- Detect if three angles can make a triangle. (1) • Hint: In a triangle, the sum of all angles is 180. 2- Switch the value of two numbers (1) • If a=2... more
Computer Science

05/17/17

Comparable comp=new Comparable

Why is this method incorrect?
Computer Science

04/22/17

Operating systems

Race conditions are possible in many computer systems. Consider a banking system with two methods: deposit (amount) and withdraw (amount). These two methods are passed the amount that is to be... more

04/03/17

I need some help with variables.

So, I m in an online coding class and I have been stumped by this challenge. Here are my starting variables:     var x = 5; var y = 11; var z = 4;   I need my output to be: x = 2 y = 6 z... more

03/26/17

Why is it important to document the lines of a batch program and how might you do that and why should you?

A batch file question dealing with command lines

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.