155 Answered Questions for the topic Coding

05/02/22

How do I make the integers in a Python parameter equate to seconds without using the built-in time module?

I am trying to make a box appear and disappear in random 1-5 second intervals. This is what I wrote:box.showturtle(box.randint(1,5))box.hideturtle(box.randint(1,5))The randint is supposed to pick... more

04/01/22

What are the mistakes in this code, using R studio?

 the statistician decides to use the processed dataset to calculate the mean DNA damage for each combination of conditions defined by cancer cell line, anti-cancer agent and concentration. There... more

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

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

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

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

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():

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

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

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

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

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?

03/01/22

function for boolean

bool isPeak(const int heights[], int arrSize, int mile)

Computer science programming question please??

Write a segment of pseudocode to prompt the user for their name, and then output:'Hello *your name here*, welcome to Comp. Sci 112' -Make sure you give the user a prompt to answer-Make sure you... more

02/13/22

What is the difference between when a single equals sign is used and a double equals sign is used?

What is the difference between when a single equals sign is used and a double equals sign is used?Group of answer choices:A single equals sign is used for integers whereas a double equals sign is... more

02/13/22

Which of the following statements is true?

Which of the following statements is true?In Python, every line must end with a semicolon.In Python, every line must be indented.In Python, keywords are case sensitive.In Python, a print statement... more

Which of the following is NOT a benefit of using a function?

Which of the following is NOT a benefit of using a function? a. Functions make code more readable.b. Functions are more difficult to write.c. Functions make code reusable.d. Functions can take in... more

02/13/22

What will be the output of this line of code: #print(2 * “3”)

What will be the output of this line of code: #print(2 * “3”) a. an error messageb. no outputc. 6d. 33

02/07/22

UNIT 4 CRITICAL THINKING QUESTIONS

Critical Thinking Questions Chloe is creating the software requirements specifications (SRS) for a project. The project is a web app that allows students to manage and track all of their college... more

I don't know how to to code this

Good day. I was hopin if you could help me with this java code that includs a priorityqueue and a scanner. I can't seem to produce an output that make you print the priorityqueue one by one, it... more
Coding C++ Programming

12/08/21

Can I return a string?

#include <Windows.h>#include <iostream>#include <string>using namespace std;int main(){string func1();{string response;cout << "Hello World!" << endl;getline(cin,... more

11/22/21

Please help with coding problem

Hello,I have a question about a java code. I have to write a program where i'll enter a String value as a variable “word”: “blahblahblah” then create a method that is called “showPairs(String... more

11/16/21

Help needed with code

I am struggling with a Java coding problem. How can I write an application that allows a user to enter any number of student quiz scores, as integers, until the user enters 99. If the score entered... more

Best Fit Algorithm Help

def BestFit(): boxes = readCSV() num_of_boxes = len(boxes) bin_area = 40 n_bin = 0 area_remaining_in_bins = [] lists = [] for x in range(num_of_boxes): ... 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.