1,518 Answered Questions for the topic computer science

Computer Science Discrete Math

09/12/21

monte hall question

Suppose you are a participant in a game show. You have a chance to win a motorbike. You are askedto select one of the 500 doors to open; the motorbike is behind one of the 500 doors; the other... more
Computer Science

09/02/21

Create a C++ code that has these:

1. Create a class named Computer2. Add the following private member variables- an int variable named year- a string variable named model- a string variable named purpose3. Add the following public... more
Computer Science C++ Computer Programming

08/24/21

Slove the code in C++ .Do not copy paste from net please.

#include <iostream> using namespace std; struct TreeNode { int data; TreeNode *left; TreeNode *right; }; class BinarySearchTree{ private: TreeNode* root; void insertNode(TreeNode *&tree,... more

The table below represents a IS project set of activities, its expected completion time (weeks) and preceding activities.

Activity Expected Time (weeks) Preceding activities A 5 None B 4 None C 10 A D 8 B E 14 B F 6 C, D G 7 D, E, F H 3 F, G a Draw a network diagram for the IS project... more
Computer Science C++

08/23/21

Complete the C++

Answer must be in C++ format and using #include<iostream>a)Create a class called Student b)Declare a private data member: string name, int age, char genderc)Define a mutator and accessor... more

08/23/21

Solve it in python

2) Implement a recursive algorithm which will print all the elements of a non-dummy headed singly linked linear list in reversed order.Example: if the linked list contains 10, 20, 30 and 40, the... more

08/22/21

Not able to print the first element in an array (Inputed by user)

I am trying to print the types of vehicles that are being rented. The issue I'm currently having is that the print statement only prints the second type of input from the user.Here I have the do... more

08/22/21

Print all the elements of a given array recursively in python. Don't use any built-in functions.

pseudo code is :print_array(array, index=0)if last index: print array[index]else: print_array[index] print_array(array,index+1)Please execute the code in python
Computer Science Security Web Development Http

08/19/21

Security is one of the most important aspects of any Web system. Which of the following are true and why?

a) Use of HTTPS instead of HTTP is strongly recommended.b) Basic HTTP authentication is completely secure over HTTP. It uses Base64 encoding to encode the user password, and Base64 encoding is not... more
Computer Science Rest Rest Api

08/19/21

REST is an architecture for providing access to data over a network through an API. Which of the following are TRUE?

a) REST is strictly a client-server interaction type meaning that the client performs requests and the server sends responses to these requests.b) REST is a server-server interaction meaning that... more
Computer Science Math Java Computer Programming

08/19/21

Java Code: Generating random numbers with Math.random() within a certain range. Math.random() range: 0.0 <= x < 1.

Math.random() range: 0.0 <= x < 1. Generate a random integer "i" such that "i" is in the following range: 10 <= i < 20; 10 <= i <= 50. Write an expression that returns '0' or... more
Computer Science Java C++ Computer Programming

08/18/21

Memory Operations and Arrays in ARM Assembly

Open the find_min_array.s file, and open it up in a text editor of your choice. Note that word processors (e.g., Microsoft Word, Pages, Google Docs) will probably not work for this purpose, as you... more
Computer Science Math Science Computer

08/16/21

Google collaboratory assignment. Python coding. PlZ HELP

Create a ColabTurtle program (within one code block) that creates a Turtle that will draw based on the commands you give it. The program should contain at least 200 lines of commands. You must use... more

08/16/21

Introduction to Branching in ARM Assembly

Open the factorial.s file, and open it up in a text editor of your choice. Note that word processors (e.g., Microsoft Word, Pages, Google Docs) will probably not work for this purpose, as you must... more
Computer Science Math Science Computer

08/16/21

Coding assignement help? Need assistance PLZ

Create a ColabTurtle program (within one code block) that creates a Turtle that will draw based on the commands you give it. The program should contain at least 200 lines of commands. You must use... more

08/15/21

need any help plz!

Create 2 int variables, return the statement “There is one negative and onepositive number” if one is negative and one is positive, return thestatement “One of the integers is positive” if one of... more
Computer Science Java Computer Programming Help

08/15/21

JAVA HELP ASAP!!

Write a program that continues to ask to enter a passcode and compares it with a predetermined 4 digit integer:a) prompts the user to enter a # and checks every digit one by one. If the user enters... more

Unprotected computers turns into zombies under the control of the malicious hacker

A successful distributed denial-of-service attack requires the downloading of software that turns unprotected computers into zombies under the control of the malicious hacker. Should the owners of... more
Computer Science Math Science Computer

08/10/21

Need help answering these on a practice text for a upcoming exam. Any answers help, Thank you

1.What are the five types of computers?2.What are the three components of an operating system?3.The internet works due to two concepts, what are they?4.Each packet is ?,? and ?,... more
Computer Science Science Computer General Computer

08/10/21

Google collab programming python

Can anyone help me out with this?Use Google Collab and create a collab notebook named "PythonActivity2"For this assignment please use your lecture and the Google Collab tutorial to help you... more
Computer Science C++ Computer Programming

08/09/21

Slove it in C++.

Tasks:You need the implementation of the following classes.1. Unsorted List (Array Implementation)2. Sorted List (Array Implementation)You need to modify the implementations of these classes so... more
Computer Science C++

08/09/21

Application of Stack and Queue in C++.Please slove it so i can submit in assigment.

1. Describe at least two applications of Stack and Queue each briefly.                      [5 points] [Note: You only need to explain the application possibly with a sample input and... more

08/08/21

C++. Collection App with Linear Link List

IntroductionIn this program, you will change your collection app to use a linear linked list. The linear linked list has to be in order by some data field in your item class, such as a name, ID, etc. more

08/08/21

C++. Collection App with Dynamic Memory

IntroIn this program, you will add another class for managing the array of items. We will be changing any static C string type to a dynamic C string type. Try to keep it reasonable simple but still... 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.