1,486 Answered Questions for the topic computer programming

Computer Programming Computer Science

06/04/20

NEED HELP ASAP!!!!

Design a modular program that allows the user to enter twowords as separate inputs, one a noun and the other a verb. Then display the following three messages:    noun verb . is a simple... more
Computer Programming C++ Programming

06/03/20

File Compression and multi-dimensional arrays

ScenarioA simple matrix could be used to store data about images by using 1’s and 0’s to represent darkand light shades of color similar to a bitmap. You will find a file data.txt under your... more
Computer Programming Computer Science Python Ruby

05/29/20

Describe the four pillars of object oriented programming

Encapsulation, Inheritance, Abstraction, Polymorphism
Computer Programming Computer Science

05/26/20

Recursive Function Tracing

Consider the following recursive functions. public static int square(int n) { if (n == 0) return 0; return square(n-1) + 2*n - 1; } public static int cube(int n) { if (n == 0) return 0; ... more
Computer Programming Computer Science

05/26/20

Recursive Method Tracing

Consider the following recursive function. public static void mystery(int n) { if (n == 0 || n == 1) return; mystery(n-2); System.out.println(n); mystery(n-1); } Write out the steps of the... more
Computer Programming Computer Java Programming

05/25/20

I can't make a my character move when I run my javascript (Intellij), what is wrong with my code?

package movement; import processing.core.PApplet; import processing.core.PImage; public class LunasAdventures extends PApplet { PImage moth; PImage bg; public static void... more

05/21/20

Binary Search - Java

Question :Write a java program to search an element in a sorted list and output the position using binarysearch algorithm. Use separate function search (element, array) to search an element.Format... more
Computer Programming

05/16/20

Programming sedimentation app

Programming - Sedimentation App 1.1 Problem Statement The figure below shows a lake within which sediment, suspended in the water, rains down and slowly builds up on the lake floor. Obviously the... more
Computer Programming Programming

05/12/20

program that can put a monsters stats into whatever file the user asks.

C++ program that can put a monsters stats into whatever file the user asks. Also, the user can ask to read in a monsters stats from whatever file they want as well.

05/11/20

Selection Sort - Java

Write a Java program to implement the selection sort algorithm in Java, input the following array and display the sorted on the screen. Write a function selectionsort(Arr,N), which sort the array... more
Computer Programming Java Computer Science

05/09/20

Computer Science

is a lender's term, an acronym, for a borrower's payments which together should not exceed 38% of your gross income?
Computer Programming Computer Science

05/09/20

Computer Science Question

  what does a static modifier means, what types of methods should it appear in?
Computer Programming Java Computer Science

05/09/20

Computer Science question

What is coercion and casting; specifically the order in which it happens (left to right) and what data types can be coerced into what others. Evaluate a sum of data elements. Understand a string... more
Computer Programming Java Computer Science

05/09/20

Computer Science Review Question

 UML class diagram, what are the access modifier symbols, the class types, and the return values?
Computer Programming Java Computer Science

05/09/20

Computer Science Review Question

what code produces a reference copy, a shallow copy, and a deep copy?
Computer Programming Java Computer Science

05/09/20

I need some help with this Computer Science question

What does Random do? (Java) and in General

05/07/20

Need help with this

What are the important steps in developing a VPN policy?

05/07/20

LinkedList Java

Imagine we have to create a Linked list with 5,8 as elements and at first before adding them head should pointed to null. And since 8 is the last element, next of 8 also should point to a null.How... more
Computer Programming Python

05/07/20

Programming - Sedimentation App

Programming - Sedimentation App1.1 Problem StatementThe figure below shows a lake within which sediment, suspended in the water, rains down and slowly builds up on the lake floor. Obviously the... more
Computer Programming C++ Computer Science

05/06/20

C++ program-Binary Tree

I need help creating a binary tree in C++. The given source code is below in the google drive link. https://drive.google.com/open?id=1tMTLHBX3S3r8GCDFNquOAEm5cpwqcTWb
Computer Programming

05/06/20

Using Flowgorithm

Design a program that prompts the user to enter a string , and displays the character that appears most frequently in the string.
Computer Programming Java Computer Science

05/04/20

Need some help with method I was working on i need to return HighestColumn index of Jagged 2d array as a int

what I need to do getHighestInColumnIndexpublic static int getHighestInColumnIndex(double[][] data,int col)Returns index of the largest element of the selected column in the two dimensional... more
Computer Programming Java Computer Science

05/04/20

Need some help with ragged array method I was working on I need some help with explaining method

getHighestInColumnIndexpublic static int getHighestInColumnIndex(double[][] data,int col)Returns index of the largest element of the selected column in the two dimensional array index 0 refers... more

05/02/20

What is this and why

What is a deny all and catch all rule and why is it positioned at the end of the list
Computer Programming Java Computer Science Programming

05/01/20

Any java expert who knows the corecct answers for these?

Q1:charAt() is used to obtain a character at specified index?a)Trueb)FalesQ2:The java program is enclosed in a class definition ?a)Trueb)FalesQ3:The for loop repeats a set of statements a certain... 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.