1,534 Answered Questions for the topic computer science

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

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
Computer Science Math Calculus Discrete Math

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

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

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

What does this mean

define VPN operational management process
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
Computer Science Java Computer Programming

04/30/20

Your program must define and call the following function. The function should return true if the input year is a leap year and false otherwise. (Java)

A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes... more
Computer Science Java

04/30/20

Need help understanding this method

writeToFilepublic static void writeToFile(double[][] data,java.io.File outputFile)throws java.io.FileNotFoundExceptionWrites the ragged array of doubles into the file. Each row is on a... more
Computer Science Java

04/30/20

Need Help understanding method

public static double[][] readFile(java.io.File file)throws java.io.FileNotFoundExceptionReads from a file and returns a ragged array of doubles The maximum rows is 10 and the maximum columns... more

04/29/20

Plz help whats the correct answers for these java questions?(part2) ASAP!!

Q21:float is the type that denotes floating-point numbers that can have fractional parts?a)Trueb)FalesQ22:instance variables that are numbers are initialized to null default value?a)Trueb)FalesQ23:... more
Computer Science

04/28/20

vdsjlefrz67oR%&$DTC VBUJKG outpg

a) gk2sub) 14576u7igc) k3gfuigi79d) 3y2efi3789i
Computer Science Computer General Computer C++

04/27/20

Online shopping cart

(1) Create three files to submit: ItemToPurchase.h - Class declaration ItemToPurchase.cpp - Class definition main.cpp - main() function Build the ItemToPurchase class with the following... more
Computer Science Computer Programming Python

04/24/20

Need Help with this Computer Science questions

consider the following function named "mystery" def mystery (slist): d = {} for w in slist: n = len(w) if n not in d: d[n] = [w] else: ... more
Computer Science Computer C++ Computer Programming

04/22/20

C++ code on odd and even number using vector

Create 2 Vectors using the For StatementVector 1 = will have ODD numbers from 1 to 99➔vec1 – vector nameVector 2 = will have EVEN numbers from 2 to 100➔vec2 – vector namePrint Vector 1 & 2 from... more
Computer Science Java Computer Programming

04/21/20

AP Computer Science A

/* This question involves the creation of user names for an online system. A user name is created based on a user’s first and last names. A new user name cannot be a duplicate of a user name... more
Computer Science Computer General Computer C++

04/17/20

Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMiles.

Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMiles. Sample output for the given program: Min miles: -10 Max miles:... more
Computer Science Computer General Computer C++

04/17/20

Write a loop that subtracts 1 from each element in lowerScores if the original element was greater than 0, and otherwise just assigns the element with 0.

Write a loop that subtracts 1 from each element in lowerScores if the original element was greater than 0, and otherwise just assigns the element with 0. Ex: lowerScores = {5, 0, 2, -3} becomes {4,... more
Computer Science Computer General Computer C++

04/17/20

Write a program that first gets a list of integers from input.

Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. That list is followed by two more integers... more

04/15/20

Write the SQL queries

HAPPY INSURANCE Database... 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.