1,518 Answered Questions for the topic computer science
Computer Science
05/20/20
question about C++
I have the following class declaration (6 points):class A{public:A();virtual void fun();~A();}; a. Is it a good practice?b. Why?
Computer Science
05/20/20
question about C++
What would you do if you want to be able to define set of common characteristics for the entire inheritance tree, but do not want your base object to be instantiated?
Computer Science
05/18/20
Give me an idea if this project because I can't understand it
Describe a computer science project idea (preferably a software application) that you want to propose as a solution to a real-world problem in our society.You have to describe the idea on a single...
more
05/17/20
read a student file into an array of structs, determine grades, sort the array and print it out.
Use the Student struct shown below.Read the input file and store the data in an array of structs. The input file contains student records and one heading line.Write code to determine the grade for...
more
05/12/20
Can x^4 be an upper bound for x^7 for a given constant, k ?
If k can be a constant so that: k•(x4) ≤ x7It would have to be for all n values (n being real values greater than zero)
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
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 Science Computer Programming
05/09/20
Computer Science Question
what does a static modifier means, what types of methods should it appear in?
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
05/09/20
Computer Science Review Question
UML class diagram, what are the access modifier symbols, the class types, and the return values?
05/09/20
Computer Science Review Question
what code produces a reference copy, a shallow copy, and a deep copy?
05/09/20
I need some help with this Computer Science question
What does Random do? (Java) and in General
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
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 Science
05/06/20
Comptia A+ Challenge
Which of the following is designed to replace what you can see and hear in the real world with sights and sounds from a game or conferencing app generated by software? a. E-reader b. Virtual...
more
05/05/20
What is the probability that this program will generate a byte where the first 2 bits are 1’s given that the byte contains an equal number of 0’s and 1’s?
A byte is an 8-digit binary string where each digit, called a bit, is either a 0 of 1, e.g. 11010101. Suppose a computer program is written to randomly generate a byte where each bit is randomly...
more
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
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
Computer Science Java
05/04/20
Need help with ragged Array method I have been working on for project
getHighestInColumnpublic static double getHighestInColumn(double[][] data,int col)Returns the largest element of the selected column in the two dimensional array index 0 refers to the first...
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
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
Computer Science
05/01/20
Write pseudocode and algorithm of following
Write pseudocode and algorithm that takes as input the electricity units consumed and prints the electricity bill amount on the screen. Calculate the electricity bill amount according to the...
more
04/30/20
Text analyzer & modifier (Java)
(1) Prompt the user to enter a string of their choosing. Output the string. (1 pt)Ex:
Enter a sentence or phrase:
The only thing we have to fear is fear itself.
You entered: The only thing we have...
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.