1,475 Answered Questions for the topic computer programming
Computer Programming Computer Science
04/19/21
Bash script unix
Write a Bash script that reverses the name of every *.html file in the current directory, whilst keeping their extension. For example, if a file is file.txt.html it should be renamed to txt.elif.html.
more
04/19/21
Triangle Printer. The existing code reads in a number and prints a column of stars that many rows long. Modify it so that it prints a triangle that looks like the one shown below.
The existing code reads in a number and prints a column of stars that many rows long. Modify it so that it prints a triangle that looks like the one shown...
more
04/19/21
Square printer. Read in an integer. Print a square of *'s that height and width. An input of 3 should produce:
Read in an integer. Print a square of *'s that height and width. An input of 3 should produce:
***
***
***
An input of 5 should produce:
*****
*****
*****
*****
*****
Code:#include...
more
Computer Programming Computer Science
04/18/21
This needs to be done in C programming.
Modify the C Program Linked List given below to create a queue. The same functions for adding, removing and printing nodes should be present.EXTRA: Include print statements to explain what is...
more
Computer Programming Computer Science
04/18/21
This needs to be done in C programming.
Modify the C Program Linked List given below to create a queue. The same functions for adding, removing and printing nodes should be present.EXTRA: Include print statements to explain what is...
more
Computer Programming Computer Science
04/18/21
This needs to be done in C programming.
Modify the C Program Linked List given below to create a queue. The same functions for adding, removing and printing nodes should be present.EXTRA: Include print statements to explain what is...
more
04/18/21
how possible 6 digit PIN code with exactly 5 different numbers?
how possible 6 digit PIN code with exactly 5 different numbers?
04/17/21
Simulate a selective repeat flow control mechanism using client server socket programing
can use any programming language of choice.
04/17/21
Write a client server program using sockets.
In server a list of random thoughts are stored. Client request for a random thought. Using a random number, pick a random thought and post it to the client side. (use c, c++ or python as...
more
04/17/21
Use matrices to solve system of eq (if possible). Use Gauss elimination w/ back-substitution. (If no solution, enter NO SOLUTION. If system is dependent, set w = a & solve for x, y & z in terms of a.)
x-4y+3z-2w= 163x-2y+z-4w= -10-4x+3y-2z+w= -5-2x+y-4z+3w= -19(x, y, z, w) = (______)
04/17/21
Write the system of linear equations represented by the augmented matrix. (Use the variables x, y, z, and w, if applicable.)
7 -5 -148 3 -16= ________ ________
Write the matrix in row-echelon form. (Note: Row-echelon forms are not unique.)
1 2 -1 63 7 -5 5-2 -1 -3 2= ____ _____ ____ ____ ____ _____ ____ ____ ____ _____ ____ ____
04/17/21
Use matrices to solve the system of eqs (if possible). Use Gauss-Jordan elimination. (If no solution, enter NO SOLUTION. If system is dependent, set z = a and solve for x and y in terms of a.)
2x+2y-z= 14x-3y+z= -30-x+y =12(x,y,z) = ______
04/15/21
The array declared as int rooms[4] will not be able to store a value in?
The array declared as int rooms[4] will not be able to store a value in?
rooms[0]
rooms[1]
rooms[2]
rooms[3]
rooms[4]
04/15/21
I need the implementations for all the classes in this project in C++
This is the link to all the instructions to the project, there should be a Shape class as the abstract parent class and circle, triangle, rectangle children classes which inherit from shape. Should...
more
04/14/21
Implement an abstract parent Shape class and its polymorphic children Circle, Rectangle, and Triangle.
Your objective for this project is to implement an abstract parent Shape class and its polymorphic children Circle, Rectangle, and Triangle. Shape is a 2D character array which requires the use of...
more
04/14/21
Implement an abstract parent Shape class and its polymorphic children Circle, Rectangle, and Triangle
Your objective for this project is to implement an abstract parent Shape class and its polymorphic children Circle, Rectangle, and Triangle. Shape is a 2D character array which requires the use of...
more
04/13/21
Catapult Calculator
Market research has indicated that the app store currently lacks a catapult calculator. Filling this void could be the get rich opportunity of a lifetime! Write a program that calculates whether a...
more
04/13/21
Compilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.
CompilationCompilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.#include <stdio.h>#include...
more
Computer Programming
04/13/21
Object Oriented Programming
Can I get the Java Singleton Pattern Code for the following Problem Statement:Assuming Database is not providing Referential Integrity Constraints support i-e Primary key, foreign key and Unique...
more
Computer Programming Computer Science
04/13/21
What are the consequences of this new modification of the round-robin scheuling?
In a round-robin scheduler, usually a ready queue contains all processes waiting for CPU burst time. Each process exists exactly once in the queue. Suppose that the scheduler allowed a process...
more
04/12/21
Log Switcher. Read in a number (double). Print the power of two that the number represents.
Read in a number (double). Print the power of two that the number represents.C++11 added a log base 2 function, but you can also just use the formula: power = log(number) / log(2) where log is the...
more
04/12/21
Int Range. Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them.
Read in a decimal value. Print out the two integers it is between, smaller value first, with exactly one space in between them. If it is an integer value already, your program should print out the...
more
04/12/21
Cos Finder. Read in an angle in degrees and the length of the adjacent side to that angle in a right triangle (both as doubles). Print the length of the hypotenuse of the triangle.
Read in an angle in degrees and the length of the adjacent side to that angle in a right triangle (both as doubles). Print the length of the hypotenuse of the triangle.Use the formula hypotenuse =...
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.