1,534 Answered Questions for the topic computer science
11/11/20
Write an algorithm to implement two stacks in one array.
Write an algorithm to implement two stacks in one array A[1...n] in such a way that neitherstack overflows unless the total number of elements in both stacks together is n. The PUSHand POP...
more
Computer Science Data Structures
11/11/20
Write the procedure to represent the sparse matrix using the linked list.
Write the procedure to represent the sparse matrix using the linked list(The algorithm)
Computer Science Matlab
11/06/20
Make a Matlab slider GUI
Question: Provide a SliderGUI with an additional button and edit text box with the following:If sliderbar > 5 make the background color of the ColorButton red and have the edit box say something...
more
Computer Science
11/03/20
The elements of a linked list are stored
a. In a structureb. In contiguous memory locationsc. Anywhere the computer has space for themd. In an array
11/03/20
How to set up my Github
I need help setting up Github. I opened my terminal and typed git --version and I noticed I do have git installed in my computer. I have an imac 2017. However I don't know how to get the repository...
more
Computer Science
11/01/20
python math help
Assign point_dist with the distance between point (x1, y1) and point (x2, y2). The calculation is: Distance = SquareRootOf( (x2 - x1)2 + (y2 - y1)2 ). Sample output with inputs: 1.0 2.0 1.0...
more
Computer Science
11/01/20
python geometry help
Simple geometry can compute the height of an object from the object's shadow length and shadow angle using the formula: tan(angleElevation) = treeHeight / shadowLength. Given the shadow length and...
more
Computer Science
11/01/20
python integer help
1.23 LAB: Warm up: Variables, input, and type conversion(1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then,...
more
11/01/20
SUMMATION AND SERIES EXPANSION QUESTION NEED HELP
What are the first four terms of this sequence, beginning with n = 0An = (-1)n (n+1)!
11/01/20
How to make these? (OOP Java)
Program will print a selection screen where the user can choose the operation he/she wants to perform. The selection screen will be repeated after each selection until the staff type the number 4...
more
11/01/20
comp sci question
Write a program that produces an ASCII art representation of an hourglass using nested for loops. Use a class constant to make it possible to change the height of the hourglass.Output when a class...
more
11/01/20
How to assign seats to the passengers maintaining social distancing?
Imagine there are 30 people in line to board a train that seats 100. However, per currentregulations there must be at least two empty seats between each pair of passengers. Theregulations are not...
more
10/30/20
Can someone do me this project? (Java)
The project description:As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospitalwith the following requirements:The Hosptal has several employees and...
more
Computer Science
10/30/20
Using reductions to prove unsolvable sets
Let CaDo = {<M> | M accepts at least five strings that contain CAT as a substring andrejects at least five strings that contain DOG as a substring>. Is CaDo decidable? Justify your answer.
10/29/20
need help with programming
How do you make a simple code that will print using loops:***************
10/29/20
I am really stumped on answering this Discrete Mathematics Question
Let U={0,1,2,3,...,19}. Select the bit-string that represents the subset {1,3,5,7,11,13,17,19}, using the convention that the right-most bit represents the element 19.
Computer Science
10/28/20
Which bit patterns cannot be expressed in hexadecimal notation?
Hello, I have a problem in understanding what this question means Which of the following bit patterns cannot be expressed in hexadecimal notation?A. 11111111 B. 1001 C. 110011 D. 100000000001
10/25/20
Require Dev C++ code for the following (Google Drive link attached for the assignment description)
https://drive.google.com/file/d/1LwdrBJUSWo4QHXtUAtWrsia4lOFTnSSu/view?usp=sharing
Computer Science
10/25/20
Database Management System
Select any database. Elaborate the role of Data Administrator and Database administrator in descriptive form about the selected database. Draw the logical design of the selected database.
Computer Science Math
10/24/20
Raven's Progressive Matrices Test?
Hello, Are you familiar with the Raven's Progressive Matrices Test?
10/23/20
discrete math- pseudo code
Given an integer n show that you can multiply n by 35 using only five multiplications by 2, two additions and storing intermediate results in memory.
10/23/20
computer science question
Assume that you have a variable called line that will take on the values 1, 2, 3, 4, and so on, and a class constant named SIZE that takes two values. You are going to formulate expressions in...
more
10/22/20
'else' statement error in Java
I'm trying to write this code and I keep getting the error: Syntax error on token "else", delete this token. Yes, I've tried using {brackets} and pretty much everywhere I search online, it says...
more
Computer Science
10/21/20
MIPS assembly language
Consider the function with header: int foo(int s, int n, int a, int b).Write MIPS assembly code for the following statement located inside the above function:return(s+n);I was told the answer is...
more
10/21/20
windows forms Application using Visual Basic
use visual basic 2012Part 1: Programming – Income Tax Application 1.1 Problem Statement Due to upcoming end of financial year, you are being called in to write a program which will read in a file...
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.