1,518 Answered Questions for the topic computer science

Computer Science

09/22/20

Write a program using integers userNum and x as input, and output userNum divided by x three times. c++

.Ex: If the input is:2000 2the output is:1000 500 250

09/22/20

C# Display a pyramid

Hi!I have found this code in the internet: for (int i = 1; i< 10; i++) { for(int j= 1; j<= i; j++) { Console.Write(i); ... more

09/22/20

Discrete Math - Permute letters question

How many ways are there to permute the letters in HAPPY?
Computer Science Computer Programming Python

09/21/20

How can I print these elements of the list in python?

The list is given [ 1, 2, [3, 4, 5], [6, 7]]. How can show the output as 1, 2, 3, 4, 5, 6, 7.
Computer Science Visual Basic

09/20/20

Windows Form Application

Part 1: Programming – Hotel Room Sales Application1.1 Problem StatementThe current pandemic has seen most hotels in the Pacific Islands on the verge of closure. The locals have been encouraged to... more

09/19/20

Computer Science - Graphs

I've been given an adjacency matrix and asked to state whether the corresponding graph is undirected or not.How do we say whether a graph is undirected or not simply looking at its adjacency matrix.
Computer Science

09/18/20

What does each of the following Unix commands do?

Computer Science

09/18/20

help please dont know how to do

What is the output of each of the following statements. Use <cr> to show a new line and a __ (underscore) for a blank space. If the statement is INVALID, write ERROR next to it AND... more
Computer Science

09/18/20

(C) Is the following a legitimate C program? If it is what does it do? If not, why not?

(Correct it and in your words indicate what it does). (15 points).#incldue < stdio.h>float  main (int) { int x;   printf(“ ”);   print(“%c ”, “ this program may do... more
Computer Science

09/18/20

Problem in scheduling category

Students names will appear in the available lessons listed, but when I search their name to schedule a lesson, it will not appear. Is my profile not complete? It won’t allow me to login using the... more
Computer Science Computer Programming

09/16/20

How to find the address in column major order?

In a 2D integer array TD, assume that the row indices range from -3 to 7 and column indices range from 6 to 14. An element TD [-3, 6] stored at address 3220. Find out the dimension of TD and... more
Computer Science Science Biology

09/15/20

How is historical science different than benchtop science?

Computer Science Computer Programming

09/15/20

In the case of 2D arrays:

Consider a 2D array A of 30 (5x6) elements is stored in the memory of 120 bytes from 2100 to 2216. Find out the address of A[2][4] element in row-major and column-major order.
Computer Science Computer Programming

09/15/20

Find the address of:

Consider an array of 20 elements is stored in the memory of 40 bytes from 200 to 238. Assume array index starts from 3. Find out the address of 10th index element.

09/15/20

Java Messenger Application

Problem Description: Distributed banking application You are required to build an application for Bank of Fiji. The application will allow users to create a bank account and use deposit and... more

09/13/20

Whats the answer for these Classes and Objects exercise?(Java)

Question 1: Create a class Circle with data types (radius, colors) and methods getRadius (0, getArea().Question 2: Create a class Car with data types (plateNumber, xLocation, yLocation, speed) and... more
Computer Science Computer Programming

09/13/20

Find the time complexity of the given code:

For i=1 to n-1 For j=0 to n-i-1 If a[j] > a[j+1] then Set temp=a[j] Set a[j]=a[j+1] Set a[j+1]= temp

09/13/20

Signal's period and frequency

What is the f(t) signal's period and frequency?
Computer Science Computer Programming Coding

09/13/20

Find the time complexity of the following code:

for(i=1; i<=n; i++) for(j=1; j<=log(i); j++) Print "HELLO";
Computer Science Computer Engineering

09/13/20

Decimal value..

What is the decimal value of this 64-bit two’s complement number? 11111111 11111111 11111111 11111111 11111111 11111111 11111111 111110002Just want to see the methodology thanks!

Please help with this question!!!

Show that the compound propositions   is a tautology using propositional laws.
Computer Science Java

09/11/20

object oriented programming

Draw a class diagram on MS Visio having following scenario and attach screen shot of it,It’s an app in which TeleLogin is a class in which SignIn and SignUp are it subclasses, having... more
Computer Science Computer C++ Computer Programming

09/10/20

Coffee Shop programm

need C++ code for the following programmingThe assignment is based on the following scenario: The USP Coffee Shop offers a range of beverages to its customers. The coffee shop is upgrading their... 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.