1,475 Answered Questions for the topic computer programming
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
Computer Programming Programming
10/19/20
please write a flowchart :
please write a flowchart to print all the prime numbers before number n
10/19/20
please write this code in C without using loops , for ,if ,while and any other functions :
I want to write a c code to change a binary number to decimal and octal without using any loops and if and for and while . for exp : 00101110 and give 115 and 193and then specify the number is odd...
more
Computer Programming Data Structure
10/18/20
write a program in c to find out a node with given position and show the data of it then delete the node from the last and insert another node just at given position
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
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/14/20
Creating a Name-Sorting Program in Python
Hi I really need help in my programming class with this assignment!!!Write a function named split_name which takes one parameter called name. If the name parameter value is a name in the form...
more
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
10/12/20
Create a program similar to this while the output stays the same.
Using a text editor, create a file that contains a list of at least 10 six-digit account numbers. Read in each account number and display whether it is valid. An account number is valid only if the...
more
10/12/20
Can somebody please fix the output of date in this code
package filestatistics2;import java.io.File;import java.util.*;import java.text.*;public class FileStatistics2{ private static Object f; public static void main(String[] args) { ...
more
10/12/20
Create two files using any word – processing program or text editor. Write an application that determines whether the two files are located in the same folder. Save the files as SameFolder.java
Can anyone please finish this I have a hard time doing it PLEASEpackage samefolder;import java.util.*;import java.text.*;import java.io.*;import java.io.File; public class SameFolder { private...
more
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
Computer Programming
10/11/20
Programming SLQ
COMMA-SEPARATED VALUES Maximum of 3 members each group. Create a program that simulates a simple registration and login function. Your program should access, write, edit and update data in the...
more
Computer Programming
10/11/20
programming Please help me !!!!!!!!!
Create two files using any word – processing program or text editor. Write an application that determines whether the two files are located in the same folder
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 Programming Computer Science
10/08/20
What is a double reference (&&) in C++?
Computer science related
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 Programming Computer Science
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
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.