1,550 Answered Questions for the topic computer science

Computer Science

05/12/21

Dynamic Scoping

Early implementations of the Lisp language employed dynamic scoping, but modern Racket implementations do not. This turns out to have important implications for abstraction and modularity.... more
Computer Science Computer Computer Programming C#

05/12/21

Create a program should use Zeller's rule to output the day of the week any date occurred and for each weekday, output a proverb, fortune, piece of wisdom, etc.

I am creating a Zeller's program but not sure how to. Please help me out.Research a rule called "Zeller's Congruence". This rule provides a complex formula that can be used to determine what day of... more
Computer Science Computer Programming

05/10/21

how to have a loop that both adds to the end of a singly linked list and adding between two existing elements in a singly linked list

could someone please show me an example of how to have a loop that both adds to the end of a singly linked list and adding between two existing elements in a singly linked list in c#.
Computer Science Computer C++ Computer Programming

05/10/21

Swap Ends. The existing code reads in a size to NUM_VALUES, makes an array called values

The existing code reads in a size to NUM_VALUES, makes an array called values (I am cheating... do not make variable sized arrays!), and then reads in values for it. Your task is to swap the first... more
Computer Science Computer C++ Computer Programming

05/10/21

Declare an array.

Declare an array of 5 doubles called values - initialize it with 1.6, 3.1, 8.3, 9.1, 4.8Code:#include <iostream>#include <iomanip>using namespace std;int main(){ const int NUM_VALUES... more
Computer Science Computer C++ Computer Programming

05/10/21

Square Array. The existing codetries to make use of a function void squareArray(const int array[], int destination[], int size).

The existing codetries to make use of a function void squareArray(const int array[], int destination[], int size). This function should take each of the size elements from array, square the... more

05/10/21

Add Negatives. The existing code is trying to call a function addNegatives that should take an array of ints and its size and return the sum of JUST the negative numbers from the array.

The existing code is trying to call a function addNegatives that should take an array of ints and its size and return the sum of JUST the negative numbers from the array. Your task is to write the... more

05/10/21

Objective: Leap years as we know them began in 1582. You are going to create a program that allows the user to enter a year and be told whether it is a leap year or a common year.

Specifications:  When your program opens, give a brief description of what a leap year is and why we have them.  Ask the user to enter a year. You must use TryParse to determine if the user has... more

05/09/21

Write the assembly code in AT&T syntax for the functions recursive, iterative, and closed, 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 the functions recursive, iterative, and closed, intended for people to be able to read it, not in assembly compiled and generated by a machine. They... more

05/09/21

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
Computer Science Computer Computer Engineering

05/08/21

write an Algorithm, not a code

"NOTE: write an algorithm, not a code"You are given a file called “std” and composed of “Number, Name, Address” fields/attributes. (You can define the type of fields by yourself) Write... more
Computer Science Science Physics Physical Science

05/07/21

Please provide guidance for the problem. What should I do to solve the problem about new unit pixel design?

Please provide guidance for the problem. What should I do to solve the problem about new unit pixel design? A hypothetical client working for a technology company demands a new design for their new... more

05/07/21

Find y such that the triangle has an area of 12 square units. (Enter your answers as a comma-separated list.)

(−4, 2), (−3, 5), (−1, y)y = _____

05/07/21

Consider the system of linear equations

a1x + b1y = c1a2x + b2y = c2where a1, b1, c1, a2, b2, and c2 represent real numbers. What must be true about the lines represented by the equations when the following is true?A: The lines must... more

05/07/21

Will this result in syntax error? for the same array as the below question, int [] salaries = {20,95, 77,56, 83} the statement salaries[5]=100

Will this result in syntax error?for the same array as the above question,int [] salaries = {20,95, 77,56, 83}the statement salaries[5]=100This will result in what if not syntax error?(((Given an... more

05/07/21

Given an array declaration of salaries in thousands of dollars, int [] salaries = {20,95, 77,56, 83} The a=index at which the salary 56 is found is

Given an array declaration of salaries in thousands of dollars, int [] salaries = {20,95, 77,56, 83}The a=index at which the salary 56 is found is

05/07/21

Is it True That; Here is a program that tries to change the value of one the element of an array by passing the array to a changeNames method:

Here is a program that tries to change the value of one the element of an array by passing the array to a changeNames method:Is This True? The output of this program is[Alison, Biance, Cody,... more

05/07/21

 Is the following TRUE? Given the following quadrant method below: This method returns which quadrant of the x/y plane this Point object falls in?

Given the following quadrant  method to the Point class: public class Point { private int x; private int y; public int quadrant(){ if (x >0) return 1 if (x<0) return 2; if (y>0)... more

05/07/21

Write a main program in a class called SquareMain.java that instantiates two square objects called s1 and s2.

Write a main program in a class called SquareMain.java that instantiates two square objects called s1 and s2.Perform the following actions on s1 and s2 using methods of the Square classCreate s1... more

05/07/21

Here is a UML diagram for a geometric figure, the Square. Use this diagram to write a class called Square.java that contains the instance variables and instance methods given below:

Here is a UML diagram for a geometric figure, the Square. Use this diagram to write a class called Square.java that containsthe instance variables and instance methods given... more

05/07/21

Write method to calculate Stimulus Amount. name: calculateStimulus, Parameters; Integer Array called Ages that contains ages of people &return type: void& works for any array size

Write the method to calculate Stimulus Amount:        Method name: calculateStimulus       Parameters:  Integer Array called Ages that contains ages of people       Return type: void        Logic:... more
Computer Science Computer Programming

05/07/21

singly linked list that is sorted alphabetically

I am having trouble figuring out how to have a singly linked list that is sort alphabetically. would anyone be able to write out some source code in c# or java that would give me an example of how... more

05/07/21

Please write an algorithm no need for code

You are given a file called “std” and composed of “Number, Name, Address” fields. Write an algorithm that makes “insert, delete, update and retrieve”, processes on the records in the file. The... more
Computer Science Computer Programming

05/07/21

singly linked list that is sorted alphabetically

I am having trouble figuring out how to have a singly linked list that is sort alphabetically. would anyone be able to write out some source code in c# or java that would give me an example of how... more
Computer Science Algebra 1

05/04/21

Context Inequality

Christian has x quarters and y dimes, having at least 18 coins worth a maximum of $3.60 combined. No less than 4 of the coins are quarters. Solve this system of inequalities graphically and... 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.