1,534 Answered Questions for the topic computer science

04/25/21

Method called searchGenius inputs information from user& tries to find a genius student.. Not work as expected. debug the method by 1. What line does error occur? 2. what is the error & why 3. correct

Here is a method called searchGenius inputs information from the user and tries to find a genius student. A "genius" student is considered to be one who is between 18 and 21 years of age, has... more

04/25/21

For each of the following while loops, how many times will the loop execute its body? Remember that "zero," "infinity," and "unknown" are legal answers.

For each of the following while loops, how many times will the loop execute its body? Remember that "zero," "infinity," and "unknown" are legal answers.a) int x = 1; while (x < 100) { ... more
Computer Science Computer Computer Programming

04/25/21

What is Fencepost algorithm? Use it to write a method called countLengths that takes in a String array of 7 elements as parameter& prints the number of characters in each string separated by ",".

Explain "Fencepost algorithm" Use this technique to write a method called countLengths that takes in a String array of 7 elements as parameter& prints the number ofcharacters in each string... more
Computer Science Math Calculus Precalculus

04/24/21

Solve for X using the matrices below.

2A + 4B = −2XA = 8 -5 and B = 0 7 1 0 2 0 9 -2 -2 -1X = _____ _____ _____ _____ _____ _____

04/24/21

Use a graphing utility to perform the operations for the matrices A, B, and C, and the scalar c.

A = -3 -2 3 0 2 -1 1 4 -2B= 1 -1 0 2 4 3 -2 1 0C = 3 -2 3 -4 0 -2 -1 1 3 c = 2(a) c(AB)_____ _____ __________ _____ __________ _____ _____(b) (cA)B_____ _____... more
Computer Science

04/24/21

Coding Help for a game project.

I need help coding (java) for the items the player will use for a game project; but I don't know how to go about it, here is a starter code given to help me out and I'm confused on how to move... more

What is the maximum decimal value (positive value) represented by a 6-bit signed binary number with a 3-bit fraction.

What is the maximum decimal value (positive value) represented by a 6-bit signed binary number with a 3-bit fraction.

How many 3-input AND gates are required to AND 26 signals?

How many 3-input AND gates are required to AND 26 signals?

04/23/21

Digits and height. You will write two complete programs in x64 assembly.

You will write two complete programs in x64 assembly. In order to put off a discussion of how to use the operating system (which is necessary for interacting with the console), your programs will... more

04/23/21

Inequalities in Context

A rental car company charges $40 per day to rent a car and $0.08 for every mile driven. Tallulah wants to rent a car, knowing that: She plans to drive 400 miles. She has at most $200 to... more

04/23/21

Inequalities in Context

A group of friends wants to go to the amusement park. They have no more than $400 to spend on parking and admission. Parking is $17.75, and tickets cost $31 per person, including tax. Which... more

04/23/21

Algebra 1 Word Problem

Zoey needed to get her computer fixed. She took it to the repair store. The technician at the store worked on the computer for 3.25 hours and charged her $59 for parts. The total was $205.25. Write... more

What is the minimum decimal value (negative value) represented by an 8-bit signed binary number with a 4-bit fraction?

What is the minimum decimal value (negative value) represented by an 8-bit signed binary number with a 4-bit fraction?

04/22/21

Please help me with these questions.

nt[, ] arr = new int[4, 5]; int a = 0; foreach (int i in arr) { Console.Write(i + " "); } Console.WriteLine(" "); for (int i = 0; i < arr.GetLength(0); i++) { for (int j = 0; j... more
Computer Science Computer Programming

04/22/21

8086 Assembly Level Program

How do you write an 8086 assembly language program to check whether or not a given number is a strong number? Input is entered through the console.
Computer Science Programming Coding

04/19/21

Computer Science I- Programming

I need help to prompt the user to enter a filename in write mode using this input(Enter an output filename (or press enter to quit): )

04/19/21

Read Text. Write a program that reads one character at a time and prints them out without spaces until it hits a period. Do not print the period.

Write a program that reads one character at a time and prints them out without spaces until it hits a period. Do not print the period.Input of:H e l l o .should result in output... more

04/19/21

Squares Adder. Write a program that reads in a number (integer) indicating how many values you are to read.

Write a program that reads in a number (integer) indicating how many values you are to read. Then read in that many more numbers (all integers) and output the sum of their squares.Input of 4 1 2 3... more

04/19/21

Counting 3. Write a program that reads in two chars, like B and F and prints all the characters in that range in the format:

Write a program that reads in two chars, like B and F and prints all the characters in that range in the format:B,C,D,E,FHints: Your loop variable should be a char. Remember you can add one to a... more

04/19/21

Counting 2. Read in three numbers. A start value, an increment value, and an end value (all integers). Start counting from the start, adding the increment at each step...

Read in three numbers. A start value, an increment value, and an end value (all integers). Start counting from the start, adding the increment at each step, until you are at or above the end... more

04/19/21

Counting 1. Write a program that reads in a number, and writes out from 1 to that number. An input of 5 would produce 12345.

Write a program that reads in a number, and writes out from 1 to that number. An input of 5 would produce 12345.Code:#include <iostream>using namespace std;int main(){ //YOUR_CODE}

04/19/21

Cell Labeler. In a spreadsheet, the rows are numbered and the columns are lettered, like this:

In a spreadsheet, the rows are numbered and the columns are lettered, like this: ABC 1 A1 B1 C1 2 A2 B2 C2 The code below reads in a number of rows and columns. Prints out the cells that would... more

04/19/21

Triangle Printer 2. The existing code reads in a number and prints a series of rows. Modify it so it prints a triangle that looks like the ones shown below.

The existing code reads in a number and prints a series of rows. Modify it so it prints a triangle that looks like the ones shown below. SizeShape 1 *2 * ** 3 * ** *** 4 * ** ... more
Computer Science Computer Programming

04/19/21

Bash script unix

Write a Bash script that reverses the name of every *.html file in the current directory, whilst keeping their extension. For example, if a file is file.txt.html it should be renamed to txt.elif.html. more

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.