1,518 Answered Questions for the topic computer science

Computer Science Computer Computer Programming

10/09/18

A user reports that her or his new computer stops functioning after performing the startup tests. What is the most likely problem?

The computer has a defective kernel. The computer is running in protected mode. The computer is not hooked up to the Internet. The computer does not have an operating system

10/09/18

HELP I DON'T KNOW WHAT TO DO!!!!!!!!!!!!!!!!!!!!!!!!!!111111

Why might a company choose Linux for its operating system instead of Microsoft Windows or Mac OS?The company can create an operating system to fit its specific needs.The company's employees can... more
Computer Science C++ C Programming

10/08/18

tricky c++ if else question

Why will it print the bold statements? what about Hi-5 " #include <iostream>using namespace std;int main (){ if ((4 < 2 ) && (3 == 3)) cout << "Hi-2 "; else if (3==3) cout... more
Computer Science C++ C Programming

10/08/18

if else confusing problem?

In this program no matter how many times i run it it wont print out the statement in bold. shouldnt it print evert statement after else? it will only print "HI-6"     #include... more

how would you prove a random number generator produces only numbers 1-10 and they are truly random?

how would you create an algorithm for this using mode/median/mean/and mid-range of 5.5? What is the statistically significant threshold for this? all I know is that it is far above 100.

09/07/18

Not clear on homework instructions

So I'm done writing the code for my homework. We are supposed to submit it in a particular format, and I don't know how to do it. The instructions say: When you upload to the Moodle site, include... more

07/21/18

How to run "hello, world!" assembly language program?

How do I assemble, link, and run the "hello, world!" assembly language program, and get the output using these steps:  1)  as testme.s -o testme.o2)  gcc testme.o3)  ./a.out   I am new to this... more
Computer Science

07/14/18

Where Is Waldo? (I need help solving this the problem in Python)

Read the paper “Mining Your Ps and Qs: Detection of Widespread Weak Keys in Network Devices”. You’re given an unique RSA public key, the RNG (random number generator) used in the key generation is... more

2-to-1 Multiplexer and a NOT gate to create XOR

How do I implement the 2-input XOR logic function using only a 2-to-1 multiplexer and a NOT gate?  Thanks. 
Computer Science

06/13/18

computer science

From what location are the 1st computer instructions available on boot up?
Computer Science

03/04/18

An abstract class has no implementation. true or false

 help true or false
Computer Science Java Arrays Computer Science Help

02/15/18

How many calls to mystery are made (including the first call) of mystery(0, 4, 5) when arr = {1, 2, 3, 5, 7}?

Give the following code:private int[] arr;public int mystery(int low, int high, int num) { int mid = (low+high) / 2; if (low > high) { return -1; } else if (arr[mid] < num) { return... more
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

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.