1,486 Answered Questions for the topic computer programming
02/21/21
comp sci question
Add a constructor to the Name class that accepts a first name, middle initial, and last name as parameters (in that order) and initializes the Name object's state with those values.(You don't need...
more
02/21/21
comp sci question
Write a class called Line that represents a line segment between two Points. Your Line objects should have the following methods: public Line(Point p1, Point p2) Constructs a new line that contains...
more
02/21/21
NEED HELP JAVA CODE ASAP
How do I find the average of the marks (may use parseInt() and print. There are 3 marks.if average>= 90 then print "Awesome";if average>= 80 then print "Very Good";if average>= 50 then...
more
02/21/21
NEED HELP ASAP JAVA CODE
In Javascript, how do I validate that the marks (Mark 1, Mark 2, and Mark 3) are numbers and not string? If the user enters a string then how do I display an error in result id that, "You cannot...
more
02/16/21
Big-O CS Question
Approximate the runtime of the following code fragment, in terms of n: Write your answer in a format such as "O(N^2)" or "O(N log N)" (without the quotes).
int sum = 0;
int j = 1;
while (j <=...
more
02/14/21
Modified Dashboard (Continuation of simple login GUI)
CONTINUATION Simple Login GUI… Modify the Dashboard by writing a function that will identify the type of user, if it’s an “Admin” or a normal “User”. If the user is categorized as an “Admin”, the...
more
02/12/21
Simple Login GUI & Register
Help Please. Modify the Login GUI given . Add a Register button near the login button. Once the user clicked on the Register button, it should show a new form that will ask for the following:
a)...
more
02/11/21
Python API, try, except, JSON help
Accessing API services can enrich your development experience and adds more value to your users. Please register a free account at https://openweathermap.org/ to use it in the assignment. After...
more
02/09/21
python help in objects?
All programming to be done in python (please show input code):Question Info: Create a new student object with this data: John Smith, DOB; December 1, 2006, Grade 10, studentID 10023, Courses:...
more
02/09/21
python objects help
All programming to be done in python (please show input code):Question To Answer: Q3) Create a new student object with this data: John Smith, DOB; December 1, 2006,...
more
02/09/21
python help classes and properties
All programming to be done in python (please show input code):Question Info:
Create a Person Class which have these properties and methods:
Properties: fname, lname, DOB
2. Create a child class...
more
Algebra 1 Scientific Notation Problem
Find the value of a that makes the equation true.(3x^2a y^4)^3=27x^18 y^12
Computer Programming
02/09/21
Programming GUI
A. Name and AddressDesign a GUI program that displays your name and address when a button is clicked. The program’s window should appear as the sketch on the left side of Figure 17-9 when it runs....
more
02/09/21
bubble sort python
Information to solve question:Use "a" for loop to calculate the sum of squares of values in this list: 1, 7, 8, 6, 11. (The answer should be 271)Create a recursive function to do the same...
more
02/09/21
Creating recursive function
Question Info:The calculation "a" was used for loop to calculate the sum of squares of values in this list: 1, 7, 8, 6, 11 (The answer was 271)Question To Answer:(1) Create recursive function to...
more
02/08/21
Matrix Multiplication in C programming
Given an n x k matrix A and an k x m matrix B, with 1≤n,m,k≤300, write a C program that computes the matrix product C=AB. All entries in matrices A and B are integers with abolute value less than...
more
Computer Programming Python
02/08/21
create new python dictionary that holds the following items
The below, python dictionary (my_fruits_dic) holds fruits and their...
more
02/07/21
Inheritance in java
There were Pandavs and Kauravs. Arjun and Bheem were Pandavs. Duryodhan was a Kaurav. Pandavs were characterized by their skills of fighting (fight ( )), obedience (obey ( )), and kindness (kind (...
more
Computer Programming
02/05/21
Conditionals_Functions
Write python statements using the appropriate function for each below. Please be sure to have blank lines between the statements. - Input a number and print the square root of that number, rounding...
more
02/04/21
Need help with some questions
What's a method that will take an int array list and will take every even number in the list and insert the same number to the right of the initial number. e.g.: [1,2,3,4] would become...
more
02/03/21
please someone explain what this code do :
void bin(int x, int value){ if(x == 0) return; bin(x / 2, value - 1); if(x % 2) printf("%d ", value);}int Pow(int a, int b){ int d = 1; for(int i = 1; i <= b; i++) d *= a; return d;}int...
more
02/02/21
please explain how this function in C code turn numbers in binary :
void bin(int x, int value)
{
if(x == 0)
return;
bin(x / 2, value - 1);
if(x % 2)
printf("%d ", value);
}
02/02/21
please explain how this function in C code turn numbers in binary :
void bin(int x, int value)
{
if(x == 0)
return;
bin(x / 2, value - 1);
if(x % 2)
printf("%d ", value);
}
Computer Programming
02/02/21
Conditionals_TwoWay_MultiWay
Write TwoWay and/or MultiWay IF statements for each below. Submit one .py file.Please be sure to have blank lines between the IF statements. – If integer variable currentNumber is odd, change its...
more
02/01/21
C programming test help. please
file:///C:/Users/kamau/Downloads/Test1RealTestSpring21cop3223.pdfPlease help me solve for the outputs of these codesAnd for the word problem on page 4
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.