1,518 Answered Questions for the topic computer science

Computer Science Computer Programming

01/29/20

Please help me program this

C++Write a program that extracts and displays all vowels in a file.  Prompt the user for the filename of a text file. Read through the entire file and write every vowel to the output file.  Do not... more
Computer Science Internet Technology

01/27/20

Recently, Facebook and other social media outlets have banned hate groups from posting on their platforms. Some people argue that this is a violation of the right to free speech.

Free Speech and the InternetRecently, Facebook and other social media outlets have banned hate groups from posting on their platforms. Some people argue that this is a violation of the right to... more
Computer Science Computer Programming

01/26/20

Please help me program the two functions

Write the code using C Write a function that asks for the user's first, middle, and last names. The names will be entered by the user on a single line and will be stored in three different... more
Computer Science Math Discrete Math Algebra

01/16/20

2. Select all and only the correct choices below.

2. Select all and only the correct choices below.(a) Suppose you were told that the positive integer n1 has the property that n1 div 2 = 0. Whichof the following can you conclude?i. n1 has a binary... more
Computer Science Math Discrete Math

01/14/20

Need definition of domain and co domain

Give a recursive definition of the max function whose input is a sequence of integers and whose output is the maximum value in the sequence. Include a description of the domain and codomain of the... more

01/14/20

r mod 16 = 0 and g mod 16 = 0 and b mod 16 = 0. Give three distinct examples of such colors.

Suppose you were told that the colors that will work best for your web app are (r, g, b) wherer mod 16 = 0 and g mod 16 = 0 and b mod 16 = 0. Give three distinct examples of suchcolors. For each... more

12/06/19

BCD and Binary Decimal

How do we convert 1111010.11(binary) to decimal by first representing it in BCD form and then converting it to decimal

12/05/19

please I need some help with java code

inheritance 1. Write a program represent the following class hierarchy 1.1. Person class a) which contain the following attributes: - Name Address .Gender -DateOfBirth b) And contain the following... more

11/23/19

How are software such as MS Office Word, OpenOffice Writer and the like, render the page?

I have looked at every single documentation I can get my hands on but I just can't seem to work out how the paper of MS Word like application is contextualised as a page and then able to save, open... more

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

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.