1,521 Answered Questions for the topic computer science

10/13/20

Is Snapchat considered a social informatic tool?

My teacher wants us to pick any social informatic tool (software or hardware) and write a report on it. I want to make sure I am on the right track!

10/13/20

Create two c++ classes Library and Books

Implement a C++ program to develop a simple Library. Library contains pile of books and each book comprises of ISBN, Name, Author Name, Publisher Name, Issue Date, Return Date. Create... more
Computer Science

10/13/20

According to the format of MIPS instruction architecture, how far can the program jump?

Computer Science Python

10/12/20

Write a function in python-

To print this square of 6x6+ - - - - +| || || || |+- - - - +I'm not able to do it, it seems a little difficult
Computer Science Computer General Computer Java

10/12/20

heres a cs question

Consider the following code segment, which is intended to find the average of two positive integers, x and y.int x;int y;int sum = x + y;double average = (double) (sum / 2);Which of the following... more

10/12/20

I have a cs question

The following code segment is intended to round val to the nearest integer and print the result.double val = -0.7;int roundedVal = (int) (val + 0.5);System.out.println(roundedVal);Which of the... more

10/11/20

Time efficient algorithm.

Write a time efficient algorithm to find the ith maximum and ith minimum number from thereverse sorted array.

10/11/20

Find the total number of comparisons:

Find out total number of comparisons made in the execution of the loop for any n > 0 in termof CEILING or FLOOR function.int j, n;j = 1;while (j <n) j = j*2;I'm not able to understand... more

10/09/20

How to make these 4 classes with these information?(java)

Class1 (Person)-name: String-address:StringMethods:+Person(name: String, address : String)+getName():Stringg+getAddress():String+setAddress (address: String) : void+toString():String ---->"name... more
Computer Science Computer Programming

10/08/20

What is a double reference (&&) in C++?

Computer science related
Computer Science Computer Programming Dbms

10/07/20

This question is related to the database management system.

The criteria that can be used to define a DBMS are *a. Data Modelb. Number of users supported by systemc. Number of sites over which database is spreadd. None of these
Computer Science

10/07/20

How to describe Web Server Not found in a word?

Computer Science Computer Programming

10/06/20

How would you solve this question?

I am having problems solving this question, any help will be greatly appreciated. :)https://assets.learnosity.com/organisations/154/752559de-c9e1-4dc4-b32b-618929f3cf7c.PNG
Computer Science Math

10/06/20

Logic and if statement Question

Suppose that we are given a graph, in which V is the set of vertices and Edge(x, y) is a predicate which tells us that vertices x and y are connected by an edge. Assume that there are no... more
Computer Science Math Algorithms

10/04/20

Searching for and removing a low priority item in an array

Suppose you are handed a list of n events, each carrying some priority value represented by a real number in the interval [0,1], where a larger priority corresponds to a more important event. This... more
Computer Science Java

10/01/20

Java help with coding

Program that prompts the user for the lengths of the sides of a triangle andcomputes the three angles and area. Assume that the user always enters positive integers. Tocompute the angles, use the... more
Computer Science C++ Computer Programming

09/30/20

What is the time and space complexity of the following code:

void fun(int n){int temp[n][n];for(int i=0;i<n;i++) for(int j=0;j<n;j++) temp[i][j]=i+j;}
Computer Science Computer Programming

09/29/20

Does anyone know how I can fix this error in my program? It is not printing the even numbers to the console.

Write a program that reads an integer and prints the sum of all even integers between 2 and the input value, inclusive.I have uploaded a image of my program to google... more
Computer Science Computer Programming

09/29/20

Does anyone know how I can fix this error in my program? It is not printing the even numbers to the console.

Write a program that reads an integer and prints the sum of all even integers between 2 and the input value, inclusive.I have uploaded a image of my program to google... more
Computer Science Java

09/29/20

java month calendar with days in month ad first sunday input

Write a program that produces a calendar. Your program should output acalendar for a single month, given parameters to specify how many daysin the month and the day of the first Sunday.

09/29/20

How to make a class called time on java with these data informaton:

■Class Time■-second:int = 0 ----> hour:[o, 23]--minute:int = 0 ----> minute: [o, 59]-hour: int=0 -----> second: [e, 59]Methods:-+Time()+Time (second: int, minute: int, hour: int)+getHour):... more

09/28/20

FR - policy versus mechanism (OS)

FR - policy versus mechanismConsider the following scenario: A university computer science department is designing its new building, and wants to provide access control for offices and labs (among... more
Computer Science Math Discrete Math

09/27/20

Need some help with my discrete Mathematics Homework, converting statement

Consider the following statements.    1. When I work a logic example without grumbling, you may be sure it is one I understand.    2. The arguments in these examples are not arranged in regular... 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.