1,518 Answered Questions for the topic computer science

Computer Science

11/11/23

Lc3 code for fibonacci recursive

LC3 code for the following Fibonacci equivalent that should be called from  int fib(int n) {  int a, b;    if (n <= 0) {    return 0;  }  else if (n == 1) {    return 1;  }  else {    a = fib(n... more

10/30/23

Software Engineering

1. A program statement has this predicate. Notation || means “or”, whereas && means “and”. if (a > 1 || (b >= 2 || c < 3 && d > 4) && (e > 5 || f <= 6... more
Computer Science

10/28/23

I need help with this question sooner by tonight

When creating an associative entity ENROLL, which is optional on both ends but connects STUDENTs to CLASSes, what would be true about ENROLL if its composite PK is made up of the PKs of STUDENT and... more
Computer Science

10/15/23

Binary code to reverse bits

binary code to reverse : must begin at memory location 0x3000.· After running to completion, the value at memory location 0x3050 must be unchanged,while memory location 0x3051 must contain the bits... more
Computer Science

10/11/23

Machine/Binary code for Lc3

Program’s machine code must begin at memory location 0x3000.· After running program to completion, the value at memory location 0x3050 must have been rotated once to the left.· It must be possible... more
Computer Science

10/09/23

Draw a DFA Graph

For each of the following languages, draw a DFA( as a graph) recognizing it: All strings over ∑={x, y, z} with either contain an x or contain both a y and a z All strings over ∑={a, b, c, ..., z}... more
Computer Science Java Computer Programming

10/05/23

create JUnit 5 test for these code

@Test public void getEndpoints() { }@Test public void distance() {} @Test public void slope() {}@Test public void midpoint() { with this code: public Point2D[] getEndpoints() { Point2D[]... more
Computer Science Java Computer Programming

10/05/23

create JUnit 5 tests

@Test public void getEndpoints() { }@Test public void distance() { } @Test public void slope() { }@Test public void midpoint() {
Computer Science Discrete Math

10/05/23

I need a Math tutor who can help my son with UMICH EECS 203 (Discrete Math)

Computer Science Java Computer Programming

10/04/23

java method creation

public Point2D[] getEndpoints()This method creates and returns an array containing copies of the two endpoints of this Line2D object. Note that the length of this array must be 2 and the order of... more
Computer Science Art English Business

10/04/23

Create entity relationship diagram for Heritage Consortium? Name entities, attributes, and relations (9 entities with all 1 to many relationships)

"The Heritage Consortium, headquartered in Toronto, Canada, helps coordinate cooperation among 50 large government-sponsored museums across North America, South America and Europe...."It wouldn't... more

10/04/23

Create entity relationship diagram for Heritage Consortium? Name entities, attributes, and relations (9 entities with all 1 to many relationships)

The Heritage Consortium, headquartered in Toronto, Canada, helps coordinate cooperation among 50 large government-sponsored museums across North America, South America and Europe....It wouldn't let... more
Computer Science English Computer Business

10/04/23

Create entity relationship diagram for Heritage Consortium? Name entities, attributes, and relations (9 entities with all 1 to many relationships)

The Heritage Consortium, headquartered in Toronto, Canada, helps coordinate cooperation among 50 large government-sponsored museums across North America, South America and Europe....It wouldn't let... more
Computer Science Java Computer Programming

10/02/23

java instance methods creations

public Point2D copyOf()This method creates and returns a new, distinct Point2D object with data copied from this Point2D object.public Point2D add(Point2D other)This method creates and returns a... more

09/28/23

Implement pow(x,n) in C

Implement pow(x, n), which calculates x raised to the power n (i.e., xn). Constraints: -100.0 < x < 100.0 -231 <= n <= 231-1 n is an integer. Either x is not zero or n >... more
Computer Science Computer Programming

09/28/23

Merge Two Linked Lists

You are given the heads of two sorted linked lists list1 and list2.Merge the two lists into one sorted list. The list should be made by splicing together the nodes of the first two lists.Return the... more
Computer Science General Computer Sql Cobol

09/21/23

What legacy Information Technology mainframe skills can you teach ?

Computer Science Java Computer Programming

09/20/23

java method creation

provide a sequence of Java statements to declare, create, and initialize an array of the first 500 positive even integers. the value of the first element should be 2 the value of the second element... more
Computer Science Java Computer Programming

09/15/23

java method getUserGuess

Method name: getUserGuessParameter(s): a Scanner objectReturn type: StringPurpose: This method asks the user for a 5-letter word and returns the word. This method must repeatedly ask for a word... more
Computer Science Networking (computer)

09/09/23

IP address is 192.135.250.180/24, the network administrator of the company wants you to divide the printer's network into 30 subnets.

(1) What is the new IP of the printer in CIDR form? For this particular subnet, what is its possible IP range, from its network IP to broadcasting IP?(2) How many hosts can connect in each new... more
Computer Science

09/08/23

Order the following functions by growth rate

Order the following functions by growth rate (n, sqrt n, n^1.5, n^2, n logn, 3/n, n log logn, 2^n,6,n^3)

Python Code to Apply Gamma Correction to Image

I'm working on a computer vision project where I need to perform various image processing techniques like Gamma Correction, rotation, and thresholding on a set of images. Could you provide me with... more
Computer Science Computer Programming

09/06/23

Safe Integer Multiplication in C

Write a C function that takes two integers as input and safely multiplies them together. If the multiplication would result in an overflow, your function should return false; otherwise, it should... 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.