1,474 Answered Questions for the topic computer programming
04/08/22
NEED HELP WITH THIS
file deleteIthNode.cpp so that it finishes the implementation of the method deleteIthNode. This method deletes the ith item from a list of items. #include "structs.h"//Function to delete the ith...
more
04/08/22
How do i finish the implementation of the method insertInOrder.
This method appends the record 'newData' into the correct sorted position in the linked list. If the list is empty, make the new node the head node of the list (i.e., have the head pointer point...
more
04/03/22
Augmented Binary Search Trees
Given an unsorted set of n distinct numbers, suppose we are interested in carrying out the following two operations: • Select the element of rank k. This operation will be carried out 1 ≤ m ≤ n...
more
Computer Programming Computer Science
04/02/22
Dynamic Programming Pseudocode
Suppose you are going on a long bike ride with your e-bike. You must ride exactly n miles. You will need to stop to replace your battery along the way. The bike trail is lined with battery pick-up...
more
Computer Programming C++
04/01/22
I keep getting this error...can someone help me??
inlab17a.cpp: In function ‘int main()’:inlab17a.cpp:16:9: error: request for member ‘readFile’ in ‘store1’, which is of non-class type ‘StoreClass()’ store1.readFile("ex3_data.0"); ...
more
Computer Programming
03/29/22
Fill in the blank with a for loop to sum all the even numbers from 2 to 100: sum = 0 sum = sum + n end
03/27/22
Adjust list by normalizing
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This adjustment can be done by normalizing to values between 0 and 1, or throwing...
more
03/27/22
Implement a function readEmpFromFile
Implement a function readEmpFromFile that takes a FILE * as the only argument and returns a pointer to a struct employee. This function should read the information from the file (reversing what...
more
Computer Programming
03/25/22
Add file i/o to your program
Implement a function writeEmpToFile that takes two arguments: a struct Employee pointer and a FILE *. It should write each field in order as an appropriate type. Note that you will probably want to...
more
03/23/22
Introduction to programming help (Java)
A Small supermarket employs workers who are paid every week in hourly bases according to one of the following three rates (depending on their positions). [Postion Type] [Position Name] [Hours Rate...
more
03/19/22
Write an SQL script to create a table called users in a database
Write an SQL script to create a table called users in a database, with the following fields (assume the specific database has already been accessed) a.id, which is the primary key and value is...
more
Computer Programming Computer Science
03/16/22
C++ Mirrored Matrices activity
Instructions: 1) Write a SET OF 3 OVERLOADED functions called flipMatrixHorizontal() that takes the following inputs: a) a 2-dimensional array with any number of rows and 3, 4, or 5 columns (this...
more
Computer Programming Computer Science
03/16/22
C++ Timer Class activity
1) 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 when the timer was started (unused...
more
03/12/22
Please help me quick
Ahmed is trying to describe an object-oriented concept to his friend. He says that the concept is kind of like how a mother bird lays eggs in a nest, safely hidden from the outside world. Which...
more
03/12/22
Which of the following statements is false?
Which of the following statements is false?1.There are both advantages and disadvantages to the increase of technology in our lives.
2.Software allows us to be more efficient.3.People can use...
more
03/12/22
Which of the following function definitions contains an error?
Which of the following function definitions contains an error?Group of answer choices1.def area(length, width):2.Def area(length, width):3.def Area(length, width):4.def area():
03/12/22
Noah is creating a startup. He uses the website Upwork to hire freelancers in India and in the Ukraine to work for him. This is an example of:
Noah is creating a startup. He uses the website Upwork to hire freelancers in India and in the Ukraine to work for him. This is an example...
more
03/12/22
Lilo wrote a small program in Python, and she’d like her family to test it out, without looking at the code. Which type of test is she performing?
Lilo wrote a small program in Python, and she’d like her family to test it out, without looking at the code. Which type of test is she performing?Group of answer choices1.black box test2.white box...
more
03/12/22
Please help quick
Julia is deciding what language she should use to write a program. She is a beginner so she would like to choose a language that is relatively simple and easy to debug. Which language should she...
more
03/12/22
Which of the following pieces of software is using artificial intelligence?
Which of the following pieces of software is using artificial intelligence?Group of answer choices1.word processing software that allows the user to type a document2.a website that learns...
more
03/12/22
Jiun is typing code onto a black screen that has a prompt. It allows him to interact directly with the computer rather than running a separate file. What is the term for the tool he is using?
Jiun is typing code onto a black screen that has a prompt. It allows him to interact directly with the computer rather than running a separate file. What is the term for the tool he is using?Group...
more
The following code has which kind of error?
The following code has which kind of error?total = 0x = 0while x < 10: total = total + xx = x + 11.syntax2.runtime3.logic4.fatalAnswer?
Computer Programming Computer Science
03/09/22
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
Computer Programming Computer Science
03/08/22
Old Deaf Professor C++ coding assignment
Concepts tested: reading strings, string comparisons, character functions, selection statements, using loops for user interaction, break and continue statementsWrite a program that does the...
more
Computer Programming Computer Science
03/08/22
Triangular Computation in C++
Triangle ComputationConcepts tested: Mathematical computation, formatting output Write a program that: 1) Reads in the length of 2 sides of a triangle as double (do NOT print out any...
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.