1,486 Answered Questions for the topic computer programming

Computer Programming Html Computer Science Programming

11/19/19

Javascript functions

Write a JavaScript function to calculate difference of square values of two numbers passed as function arguements and to display the absolute value of it in an alert box.<script> function... more
Computer Programming Html Computer Science Programming

11/17/19

CSS - Selecting the first bold word of all paragraphs

write the required external CSS rules for the following : Set the font size and font style , of the first bold word of all the paragraphs in a document into 14px and italic respectively.
Computer Programming Html Computer Science Programming

11/17/19

JavaScript Form Validation

Question :Create the form structure shown below and write a JavaScript function satisfy the followingrequirements. The Name and the email address are required fields while entering data. Number... more
Computer Programming Html Web Design Programming

11/14/19

HTML Checkboxes

How do we create a checkbox of the following format in HTML?Colors (checkbox icon) red (checkbox icon) green (checkbox icon) redI could only do it as folows :Colors (checkbox... more
Computer Programming Math Computer Science

11/13/19

Give an algorithm that takes as input a directed graph with positive edge lengths, and returns the length of the shortest cycle in the graph

Give an algorithm that takes as input a directed graph with positive edge lengths, and returns the length of the shortest cycle in the graph (if the graph is acyclic, it should say so). Your... more
Computer Programming Java Computer Science Coding

11/10/19

Java String class

So we are given to write the exact output of the following code:class stri123{ public static void main(String[] args) { String name = "University Grants Commission"; boolean sword... more
Computer Programming Java Computer Science Programming

11/09/19

Java Program / methods

One sales shop offer following discount rates to customers based on their bill value.Bill value Range Discount ratebill value >= 10000 discount 20%bill value >= 5000 disocunt 10%bill value... more
Computer Programming

11/08/19

what do microelectronic parts in a computer operate on?

What do microelectronic parts in a computer operate on? Is it A. Low voltage alternating current, B. high-voltage direct current, C. +120 volts AC power, D. low-voltage direct current
Computer Programming Computer Java Computer Science

11/08/19

Java Number Patterns

How do we print,_ _ _ _1_ _ _2 1_ _3 2 1_ 4 3 2 1In Java?Please help, I don't know how to get started
Computer Programming Computer Science

11/04/19

Write a function quartersToDollars which takes quarters of type int as an argument and return the equivalent number of dollars as double.

The prototype of the function is double quartersToDollars(int)For ex if you pass 4 as an argument the method should return 1.0 and if you pass 7 as an argument the method should return 1.75... more
Computer Programming Computer Science

11/03/19

Write a function timesTenthat returns a value that is ten times the value of the parameter passed to it. The prototype of the function is shown below.double timesTen(double);

Output:Enter a number: 12.34The value of ten times of 12.34 is 123.4
Computer Programming Computer Science

11/03/19

Write a function that calculates the first 50 prime numbersYou can do this program with two functions

1) bool isPrime(int number)2) void printPrimeNumbers(int numberOfPrimes)
Computer Programming Math Statistics Sat Math

10/24/19

I can anyone help me understanding this problem

Let F and G be sequences which satisfy the joint recursion:𝐹𝑛+1 = 𝑎𝐹𝑛 + 𝑏𝐺𝑛𝐺𝑛+1 = 𝑐𝐹𝑛 + 𝑑𝐺𝑛Where a, b, c, and d are non-zero constants. Find recursions for F and G individually.
Computer Programming Computer Science Ruby Programming

10/22/19

Creating An Air Pollution Index Reader in Ruby (Straight Forward Question)

I got stuck halfway with this question, im unable to post the image because im required to get 10 reputation points here lol. So i literally recreated the whole question here. There were no files... more
Computer Programming Computer Science

10/19/19

How do I program this problem?

Write a program to read 10 integers from an input file, “num.txt”, and output the average, minimum, and maximum of those numbers to an output file “out.txt”. Also make sure to test for the... more
Computer Programming Math Science

10/17/19

Find a function called temp of seawater with latitude (as a number in the interval [0, 90]) and depth?

Just as the atmosphere may be divided into layers characterized by how the temperature changes as altitude increases, the oceans may be divided into zones characterized by how the temperature... more
Computer Programming Pascal Programming

10/14/19

Recursive function in Pascal for division of numbers

Write a Pascal code which, given two integers, divides them (integer division) using only substraction. Use recursion.
Computer Programming

10/11/19

I stick with this question to write a code if you help me I'm happy

Light travels at 3 × 108 meters per second. A light-year is the distance a light beam travels in one year.Write a program that calculates and displays the value of a light-year.Useful... more
Computer Programming Python

10/11/19

How does one set about learning how to use a python3 module

I have recently started to learn python and i have fine understanding of the python 3 syntax. I wanted to start learning more about numpy ,scipy tenserflow. I have tried reading the documentation... more
Computer Programming C++ Computer Science

10/04/19

How do I properly fill in and create a While Loop Flowchart and Pseudo code for this? I also need to perform 3 desk checks, details below...

"Farmer Pete’s pigs and sheep are all intermingled. He wants to be able to determine how many pigs and sheep he has by just walking out and counting them one at a time. He also needs to know what... more
Computer Programming Java Programming Coding

10/03/19

Java Programming

Hi, I'm new to Java. I've been working on this question, wrote the code and checked the results with some examples and it seems to be doing fine. I would be glad if any of the tutors can check the... more
Computer Programming C++

10/02/19

Since C++ is an old language why it is still taught in universities and colleges?

Since C++ is an old language why it is still taught in universities and colleges?

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.