1,518 Answered Questions for the topic computer science

Computer Science Computer Programming Python

01/22/23

How to code in python something that will take your inputs of items bought and add them with tax

Calculates the total including sales tax (8.875%) of a shopping trip.Create a total variable and a tax variable. Total the items calculated with tax. Be sure to test if the price is above... more
Computer Science

01/17/23

Cyber Security Help

You’ve been tasked with inventing the EASIEST to hack possible device – how would you do it? (What OS would you run, what features would it have, etc.) (100+ words)
Computer Science

01/16/23

Bases and value ranges

How many bytes are requires to represent the decimal number 3,175,000 in binary? How many bytes would it take to store this number?
Computer Science Computer Java Javascript

01/09/23

How to make object move 3 steps ahead randomly in any direction (JAVA)

The following code allows for a "bird" to move one step on GUI in any random direction. How do you make the bird move 3 steps ahead at once randomly in any direction?double r = Math.random(); if (r... more
Computer Science

12/31/22

Define Software product evaluation process. (Software Quality Engineering Course)

Define Software product evaluation process. (Software Quality Engineering Course)
Computer Science

12/31/22

What is requirement management? Explain its progress with an example. (Software Quality Engineering Course)

What is requirement management? Explain its progress with an example. (Software Quality Engineering Course)
Computer Science

12/31/22

What are the responsibilities of Leader, Recorder and Team Member? (Software Quality Engineering Course)

What are the responsibilities of Leader, Recorder and Team Member? (Software Quality Engineering Course)
Computer Science

12/31/22

What are the responsibilities of Leader, Recorder and Team Member? (Software Quality Engineering Course)

What are the responsibilities of Leader, Recorder and Team Member? (Software Quality Engineering Course)
Computer Science

12/31/22

What factors should be considered for Quality Audits? (Software Quality Engineering Course)

What factors should be considered for Quality Audits? (Software Quality Engineering Course)
Computer Science

12/31/22

What is the role of reader and recorder and describes defects of software requirement? (Software Quality Engineering Course)

What is the role of reader and recorder and describes defects of software requirement? (Software Quality Engineering Course)
Computer Science

12/23/22

loops arrays interation

Where is Waldo (again)With the following multi-dimensional arrayconst whereIsWaldo = [["Picard", "Riker"], "Data",["Beverly", "Guinan", "Q", "Geordi"],["Deanna", ["Worf", "Wesley"]]]; Remove Data... more
Computer Science

12/23/22

loops arrays interation

Where is Waldo (again)With the following multi-dimensional arrayconst whereIsWaldo = [["Picard", "Riker"], "Data",["Beverly", "Guinan", "Q", "Geordi"],["Deanna", ["Worf", "Wesley"]]]; Remove Data... more
Computer Science

12/23/22

loops arrays interating

Yell at the Ninja Turtles Create an array with the members of the ninja turtles (Donatello, Leonardo, Raphael, Michaelangelo) Use a for loop to call toUpperCase() on each of them and print out... more
Computer Science

12/23/22

loops arrays interating

Yell at the Ninja Turtles Create an array with the members of the ninja turtles (Donatello, Leonardo, Raphael, Michaelangelo) Use a for loop to call toUpperCase() on each of them and print out... more
Computer Science

12/23/22

Computer Science. Why doesn't this work?)

f = open("data.txt")a = 0for line in f: a = a + len(line)print(a)
Computer Science Computer Programming Python

12/21/22

Write an interactive program that repeatedly asks the user to input a number until "Enter" is hit.

Write an interactive program that repeatedly asks the user to input a number until "Enter" is hit. Your program should create a file named "numbers.txt" where all the numbers are written one below... more
Computer Science Computer Programming Python

12/21/22

Write the definition of a class named "Card" which creates a card from a standard deck of cards.

Write the definition of a class named "Card" which creates a card from a standard deck of cards. This class should have the following methods: __init__(self, rank, suit), getRank(self),... more
Computer Science Java

12/16/22

java question.

DATA BLOCK - city list and time difference from EST String[] cities = { "London", "Paris", "Rome", "Seattle", "Tokyo" }; int[] timeDeltas = { 6, 7, 8, -3, -12 }; // TODO: create the ArrayList... more
Computer Science Java Computer Programming

12/14/22

Two simple questions

29.What is the process called where, at execution time, the type of object to which a variable refers determines the actual method do use. 30.What keyword must a concrete class use in its... more
Computer Science Java

12/14/22

Java questions.

16. True or False?  As long as a superclass' constructors are declared as public, the subclasses will inherit the constructors when they extend that superclass.19. True or False?  If a superclass... more
Computer Science Java

12/14/22

java questions.

2. Which keyword is always a reference to the object in which it occurs?5. True or False?  It is good practice to declare instance variables public, for easy access, and to declare getters and... more
Computer Science Java

12/10/22

OBJECT-ORIENTED PROGRAMMING

 use java•  Use keyword extends to create a class that inherits attributes and behaviors from another class.•  Use access modifier protected in a superclass to give subclass methods access to these... more
Computer Science Java

12/10/22

CLASSES AND OBJECTS

Create class IntegerSet. Each IntegerSet object can hold integers in the range 0–100. The set is represented by an array of booleans. Array element a[i] is true if integer i is in the set. Array... more
Computer Science

12/08/22

How to correct the prolog full stop in clause body error?

weather(phoenix, spring, hot).weather(phoenix, summer, hot).weather(phoenix, fall, hot).weather(phoenix, winter, warm).weather(wellington, spring, warm).weather(wellington, summer,... more
Computer Science

12/07/22

Represent the 4-bit ones complement number 0xE as an 8-bit twos complement number

I know that 0xE is 14 in decimal. I then did 14 + 2^4 which got me 30. 30 in 8-bits unsigned is 0011 0000. And -30 is 11100010. In hex that is E2. Im not sure if I am doing this right. E2 is not... 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.