1,534 Answered Questions for the topic computer science

11/21/19

Simple Adder HTML JavaScript

Create the form structure shown in Figure 2, below. Write a JavaScript function according to the following requirements. A user should be allowed to enter two numbers in text boxes. When a user... more

11/21/19

JavaScript Form Validation

4. Create the form structure shown in Figure 2, below. Write a JavaScript function according to the following requirements. A user should be allowed to enter his/her Fist name in a text box and... more

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

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.

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 Science Math Computer Programming

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 Science Java Computer Programming 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

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

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 Science Matlab

11/05/19

Calculating Derivatives in MATLAB

PLEASE USE MATLABMy project is supposed to use Matlab and let the user type in any function and the output is the derivative of the function inputed. Please copy and paste your code... I am... more
Computer Science Computer Programming

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 Science Computer Programming

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 Science Computer Programming

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 Science Accounting Matlab Coding

10/30/19

Question is in description. About writing a MATLAB code

USING MATLABWrite a program that creates a table showing the conversion from Yen too Pesos. Your program should be able to print a user specified number of lines showing the value of the Yen in one... more
Computer Science Networking (computer)

10/28/19

Need help with network science please

Consider the following undirected graph (draw a picture) with vertex set V={1,2,3,4,5} and edge set E={(1,2),(1,5),(2,3),(3,4),(4,5)}. What is the average path length i.e. the average shortest path... more
Computer Science Java

10/26/19

Java Time Calculator Program Help

Write a program using JAVA and FINAL variables that asks the user to enter a number of seconds. There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or... more
Computer Science C++

10/26/19

How to design a function that will let only the minimum elements be at the bottom? C++

Write the body of the user function below that changes a stack so that all occurrences of the smallest item are at the bottom of the stack, while the order of the other items remains the same. For... more
Computer Science 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.

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 Science Computer Programming

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 Science C++

10/16/19

Im not sure how to do this but it would be nice to get some help. C++ language

WRITE AN INTERACTIVE PROGRAMthat allows the user to enter (at least two)....UP-TO 15 vectors that are to be added........display the resultant on the screen
Computer Science Math Physics Trigonometry

10/14/19

Linear Algebra for Computer Science

Let 2 square matrices M and N each have rank 1. What can you say about the rank of MN?

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.