1,486 Answered Questions for the topic computer programming
Computer Programming
06/29/22
i have a question assembly language
Write a program by assembly language let user input an array of data and sort thedata by ascending order. Print the result.Data sorting algorithmHOw many elements in array of data?size 9Please...
more
Computer Programming Computer Science
06/28/22
Counted Loops In Python for this Scenerio
Suppose there is an island with two rabbits (male and female). Every 30 days, the population of rabbits doubles. Write a program that has the user input the number of days and then calculate the...
more
Computer Programming
06/27/22
Using Counted loops with list for this scenario
Suppose there is an island with two rabbits (male and female). Every 30 days, the population of rabbits doubles. Write a program that has the user input the number of days and then calculate the...
more
Computer Programming
06/26/22
I cannot figure out FLOWGORITHM charts PLEASE HELP
I am trying to build a flowgorithm chart for the following and I keep getting the same answer for the If statement, therefore if I answer the question yes or no it gives me the same answer. I am...
more
06/21/22
Need assistance with C code, not running
#include <stdio.h>struct students{ //struct studentchar FirstName; //String to store first namechar secondName; //string to store second nameint ID; //student IDfloat GPA; //student gpachar...
more
06/18/22
Please create a flowchart that will arrange these variables from highest to lowest
Create a flowchart that will arrange the values of variables F = 38, S = 13, U= 592 ,W 134, V=757 from highest to lowest order
Computer Programming
06/18/22
Please give a brief but concise answer to this "highest to lowest" Flowcharting Activity
Create a flowchart that will arrange the values of variables F = 38, S = 13, U= 592 ,W 134, V=757 from highest to lowest order
Computer Programming
06/16/22
Branches: Leap Year
A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes...
more
06/14/22
Write a Programme using VAL for following weld to be made
Write a Programme using VAL for palletizing operation as shown in fig. The
robot must pick up parts from an incoming conveyor & deposit them on to pallet.
The pallet has four rows that are...
more
05/23/22
Find the expansion base 7 of 67 and Compute (37^15 + 27 × 43) mod 6 using modular arithmetic.
Find the expansion base 7 of 67Compute (3715 + 27 × 43) mod 6 using modular arithmetic (without the use of a calculator). Show all your work.
05/23/22
Check whether the following integers are multiplicative inverses of 3 mod 5.
Check whether the following integers are multiplicative inverses of 3 mod 5. a) 6 b) 7
05/23/22
We want to find 8 in the following list: 2, 6, 5, 1, 11, 18, 8, 0.
We want to find 8 in the following list: 2, 6, 5, 1, 11, 18, 8, 0.a) Can we use Binary Search Algorithm? Justify your answer. b) If a Linear Search Algorithm is used to find 8, how many comparison...
more
05/23/22
Look at the following algorithm:
Look at the following algorithm:Input: n: real numberOutput: undisclosed
procedure x(n)
t := 1
For i := 3 to n
t := t + n
End-for
Return(t)
What is returned by the algorithm on the input 7, i.e. n...
more
05/23/22
Determine which statements are false or true. Justify your answer.
Determine which statements are false or true. Justify your answer.(a) {0, 1} ∈ {0, {0}, {1}, 1} (b) {a, b, c} ⊂ {a, {a, b}, c, {a, c}, {{{a, b, c}}}} (c) ∅ ⊆ {a, b, c} (d) {1} ∈ {{1}, 0, {{1}}}
05/23/22
Let f(x) = 4x - 7 and g(x) = 6 - 2x where f(x) : R → R, and g(x) : R → R. Find (f ◦ g)(x).
Let f(x) = 4x - 7 and g(x) = 6 - 2x where f(x) : R → R, and g(x) : R → R. Find (f ◦ g)(x).
05/23/22
Determine whether the function f(x) = 8 − 2x^2 , where f(x) : R → R, is bijective and explain why.
Determine whether the function f(x) = 8 − 2x2 , where f(x) : R → R, is bijective and explain why.
05/23/22
For the sets A = {a, b, c, d, e}, B = {a, c, e, g, n}, C = {b, c, d, e, n, w} and the universal set is U = {a, b, c, d, e, g, n, w}. Find
For the sets A = {a, b, c, d, e}, B = {a, c, e, g, n}, C = {b, c, d, e, n, w} and the universal set is U = {a, b, c, d, e, g, n, w}. Find (a) |A ∩ B ∩ C| (b) C¯(c) A¯∪(B − C)
05/23/22
Rewrite the statement ¬∃x (∀y∃tS(x, y, t) ∧ ∃tR(x, t)) so that negations appear only within predicates.
Rewrite the statement ¬∃x (∀y∃tS(x, y, t) ∧ ∃tR(x, t)) so that negations appear only within predicates.
05/17/22
please can you check my answers to these questions regarding RStudio?
Which of the following must be part of each layer in a ggplot2 object? There may be more than one correct answer.
limits
grouping variable(s)
facet
tick
aesthetic...
more
Computer Programming Computer Science
05/14/22
Haskell - I am not sure how to use the pairs function with list comprehension to solve this question in Haskell
The function pairs :: [a] -> [(a,a)] returns the list of pairs of adjacent elements of a list. For instance, pairs [3,4,5,6] = [(3,4),(4,5),(5,6)]. Use the function pairs and a list...
more
Computer Programming
05/06/22
How would Dijkstra change if we use the less than sign in the code?
Suppose we alter Dijkstra’s algorithm so that instead of the < sign, we replace it with the > sign. Let G be a directed graph that contains no cycles. Does this new version find the longest...
more
05/04/22
how is this done??
Write a complete C++ command to implement a "Sum of Numbers in Range" (sonir) program. Place all your code inside the main() routine; do not write any extra user-defined functions. To minimize your...
more
How do I make the integers in a Python parameter equate to seconds without using the built-in time module?
I am trying to make a box appear and disappear in random 1-5 second intervals. This is what I wrote:box.showturtle(box.randint(1,5))box.hideturtle(box.randint(1,5))The randint is supposed to pick...
more
Computer Programming Computer Science
04/28/22
Computer Science Code
I need the code and some explanations to the following prompt for coding because I am struggling with arrays and loops(1301 computer science)How could I create a game for combat ships? I have to...
more
04/27/22
HOW CAN THIS ERROR BE FIXED?
inlab21.cpp: In member function ‘DataType Queue::dequeue()’:inlab21.cpp:28:2: error: ‘temp’ was not declared in this scope temp=frontPtr================================// This is the default...
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.