Computer Programming

ObjectiveMake a function that sorts an array of doubles and returns the average and the median values from the array. NOTE: Pass by reference is REQUIRED for full credit.DetailsBegin by using the... more

C++ coding question

Timer ClassConcepts tested: Classes1) Write a class called Timer that models a stopwatch with start, stop, and reset buttons. It has the following members:  a) -int startTime; // variable tracking... more

11/20/21

How do I get my C program to display the correct output? My program either doesn't compile or shows a bunch of zeros. I am unable to figure out what is wrong with my code.

*I am unable to post the code that I have written because it's over 10,000 characters. I'll show my code in snippets using comments under this post.DescriptionWrite a program that does 2 things:... more

Simplify the Boolean function

Simplify the Boolean function F (w,x,y,z)=Σ(2,4,7,10,12)together with its don't-care conditions d(w,x,y,z)=Σ(0,6,8) and express the simplified function in SOP form. Do not include spaces between... more

06/25/21

Speedup with multicore processing

A computer with a 32-bit 3.5 gigahertz scalar non-pipelined CPU needs to invert the colors of a 150 KB bitmap image file located in the RAM. To do this, each bit of the image must be complemented... more

06/24/21

About load and store in mips

First I want to make sure do you use load when it’s the address or the value that is stored in register ?and I know the are different types of load instructions like lw, lh,lb etc. how can I know... more

Write the assembly code in AT&T syntax for digits.c and height.c intended for people to be able to read it, not in assembly compiled and generated by a machine.

Write the assembly code in AT&T syntax for digits.c and height.c intended for people to be able to read it, not in assembly compiled and generated by a machine. They are both in C. Write the... more

What is the maximum decimal 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.

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

Solve computational problems using assembly and machine language.

Wombat 1.1 A function is defined as follows: 𝑓(𝑛) = { 𝑛 + 1 𝑓𝑜𝑟 𝑛 < 1 3𝑛 + 5 𝑓𝑜𝑟 𝑛 = 1 𝑛^3 − 3𝑛 + 5 𝑓𝑜𝑟 𝑛 > 1 Write... more

At an annual board meeting company X is deciding whether or not to take the company public.

Each board member can vote "yes", "no", or "abstain". If there are n-board members, then how many different ways can the votes be cast? Express your answer as a recursive function, f(n). Don't... more

Organization of Computer Systems - Virtual Memory

Hello everyone, I have a question about Virtual Memory.The question is: Computer system with page size 16 bytes, virtual memory capacity 1024 bytes, physical memory capacity 256 bytes. The content... more

Which one should be fit for the questions below?

 a. What would be the values of BX and CX after executing the following instruction assuming that BX = 008D and CX = 1A0C before executing the instruction? XCHG BX, CX(i)     BX = 008D and CX =... more

Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:

Q. Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process Burst Time P1 66 P2 33 P3 57 P4 ... more

Design a logic circuit

Design a logic circuit to multiply two, 2-bit binary numbers together that produce a 4-bit result Y3Y2Y1Y0 . The numbers are represented by expressions A1A0 and B1B0 (A1 and B1 represent the Most... more

04/09/20

Find the single precision format of -118.375

Need work to explain how to do this

Computer architecture problems

How many bits are required to address a 4M X 16 main memory ifa)    Main memory is byte addressable?  b)    Main memory is word addressable? 2. Suppose that a 16M X 16 main memory is built using... more

Create a class in c++

Define a class named Movie. Include private fields for the title, year, and name of the director. Include three public functions with the prototypes void Movie::setTitle(string); , void... more

Determine the value for the following recursive method when x = 20.

Question options: 1) 9 2)  4 3)  -5 4)  -4 5)  2

Determine the value for the following recursive method when x = 25.

Question options: 1) 7 2)  -5 3)  -2 4)  -3 5)  2

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.