1,534 Answered Questions for the topic computer science

Computer Science Computer Programming Python

10/20/20

Write a python program

Write a python script to take two values as string (using raw_input) and convert it into a multiple lists which appears like matrix. Sample string input: 3 5 Sample O/P:       [0, 0, 0, 0, 0] [0,... more

10/20/20

How to do this? (Java)

CompositionThere are two ways to reuse existing classes, namely, composition and inheritance.With composition (aka aggregation), you define a new class, which is composed of existingclasses. With... more

10/20/20

Introduction to Computer Networks and Security

ScenarioAs a User Consultant in the School of Computing, Information & Mathematical Sciences, your job requires you to prepare technical reports. The Head of School requires you to prepare... more

10/17/20

How to make these 3 classes? (Java)

Class1 Shape-color:StringMethods:+getArea() : double+toString(): String ---> Superclass defines the expected behaviors(public intertace) of all subclasses.Program at the public interface.Class2... more
Computer Science Logic

10/15/20

Simplify the following expression using Boolean Rules

𝑥 = !𝐴.!𝐵.!𝐶 + !𝐴.𝐵.𝐶 + 𝐴.𝐵.𝐶 + 𝐴.!𝐵.!𝐶 + 𝐴.!𝐵.𝐶

10/15/20

Lab for CS112 Data Structures and Algorithms

Answer this and please explain so that it is easy to understand the following questions and the explanation given.Implement a base class Person. Derive classes Student and Instructor from Person.... more

10/15/20

Lab for CS112 Data Structures and Algorithms

Answer this and please explain so that it is easy to understand the following questions and the explanation given.Suppose the class Sub is derived from the class Sandwich. Which of the following... more

10/15/20

Lab for CS112 Data Structures and Algorithms

Answer this and please explain so that it is easy to understand the following questions and the explanation given.Suppose the class D inherits from B. Which of the following assignments are legal?B... more

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

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.