1,497 Answered Questions for the topic computer programming
Computer Programming Computer Science
03/30/21
MAKING A program in c#
Business RequirementsCreate a program that will print out a customized oil change schedule for a car buyer based on the car’s starting mileage for the next 3 years based on the rules set...
more
03/28/21
Is an ArrayList a primitive datatype or non primitive?
Is an ArrayList a primitive datatype or non primitive?
03/28/21
Fill out Blank_A and Blank_B with Java code.
public Blank_A printMyMessage () { String threadName = Blank_B; System.out.println(threadName + " : " + this.myMessage+ ", i = " + ++i); }
Computer Programming Computer Science
03/25/21
Please can anyone solve the given methods.
(A)Suppose you have been hired to develop a musical chair game. In this game there will be 7 participants and all of them will be moving clockwise around a set of 7 chairs organized in a circular...
more
Computer Programming
03/25/21
Write a C Program which demonstrates the use of an array of pointers and has functions to do the following:
Consider the 12 words below. Write a C Program which demonstrates the use of an array of pointers and has functions to do the following:
Jumble the order of words
Print the words
Select a random...
more
03/24/21
What does each line of code does? For example: static private float Median(float[] array) //method heading for the Median method
static private float Median(float[] array) { float[] tempArray = array; int count = tempArray.Length; Array.Sort(tempArray); float medianValue = 0; if (count % 2 == 0) { float...
more
03/24/21
Please help me plug in the median method into my code. I have the method in the public class program. it is static private.but don't know how to print/output. it in the main.
using System;using System.Linq;public class Program{ static private float Median(float[] array) { float[] tempArray = array; int count = tempArray.Length; Array.Sort(tempArray); float...
more
Computer Programming
03/23/21
Java Basic Input And Output
import java.util.Scanner;
OUTPUT
class Input {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
// Getting float input
System.out.print("Enter...
more
Computer Programming
03/23/21
Object-Oriented Programming
Question.1. What is inheritance?2. Describe a Child class and Parent Class.Answer the following questions1. What is sequential and selection programming2. Write 3 sample of each...
more
Computer Programming
03/23/21
Explain: Programming
1. What is the function of a class? What are the elements of a...
more
Computer Programming
03/23/21
Display the output of the following Program
1. PROGRAM01.
class Demo{
int value1;
int value2;
Demo(){
value1 = 10;
value2 = 20;
System.out.println("Inside Constructor");
}
public void display(){
System.out.println("Value1...
more
Computer Programming
03/22/21
The program is for randomising a given playlist according to the conditions given.
The program should then generate a random playlist of the songs given as input, according to the following constraints:
An artiste cannot have more than two songs in a row (so no “triple play”, as...
more
Computer Programming Computer Science
03/21/21
Please can anyone solve the given methods on Linked lists. I need help. Thank you in advance.
A) Write a function to find out the even numbers that are present in the list and output another list with those numbers. (3)
Sample Input
Sample Output
1 -> 2 -> 5 -> 3 -> 8
2...
more
Computer Programming
03/20/21
Rate per hour to compute gross pay
Use PythonWrite a program to prompt the user for hours and rate per hour to compute gross pay.Enter Hours: 35Enter Rate: 2.75Pay: 96.25
Computer Programming
03/20/21
Assignment Statements Python
<<Python>>Assume that we execute the following assignment statements:width = 17height = 12.0For each of the following expressions, write the value of the expression and the type ( of...
more
Computer Programming
03/20/21
Temperature Conversion
Use Phyton>>>Write a program which prompts the user for a Celsius temperature, convert the temperature to Fahrenheit, and print out the converted temperature.
03/19/21
What is the odd parity bit value of the 32-bit data 0x12345678?
What is the odd parity bit value of the 32-bit data 0x12345678?
Computer Programming
03/19/21
Exercise Prompt User Name
Use PhytonWrite a program that uses input to prompt a user for their name and then welcomes themEnter your name: MiraHello Mira
03/19/21
Find the 8-bit signed numbers with a 4-bit integer and a 4-bit fraction for the following decimal values and errors.
Find the 8-bit signed numbers with a 4-bit integer and a 4-bit fraction for the following decimal values and errors.a. 3.45 b. –5.73
Computer Programming Python
03/19/21
College level Python
A pattern in a DNA sequence is defined using A, T, G, and, C repeatedly. Scientists often need to find the most recurring pattern of a specific length in the DNA sequence. I need to make a Python...
more
Computer Programming Python
03/19/21
College level Python
Write a Python program for a grocery store to keep track of the fruits and prices in the store. The manager can enter a fruit’s name, followed by its prices in one line. A comma should separate the...
more
03/19/21
Implement these logic expressions with specific logic gates...
Implement these logic expressions with specific logic gates... X1 = 𝐴𝐵𝐶 + 𝐴𝐵 + 𝐴𝐶 –Use any standard gatesX2 = 𝐴𝐵𝐶 + ~D + ~E –Use any standard gates
03/18/21
The duty cycle of a clock is 60%. If the low time of the clock is 50µ, what is the clock frequency?
The duty cycle of a clock is 60%. If the low time of the clock is 50µ, what is the clock frequency?
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.