1,534 Answered Questions for the topic computer science
Computer Science Python
01/23/23
To add a curve to the amount of grades being printed.
Code in python. Given the following list of student test scores, apply a class "curve" to each score. The class curve is as follows: 90 or above: no curve80 to 90: +2 points70 to 80: +5 pointsLower...
more
Computer Science Python
01/23/23
indentation error
sentence = input("Enter a word:")
vowel_count = 0
for i in sentence:
if(i == "a" or i == "e" or i == "i" or i == "o" or i == "u"):
vowel_count = vowel_count + 1
print("Total vowel count :",...
more
Computer Science Python
01/23/23
How to do a for loop to do this
#3.2 Find the vowels – for loop (4.5 points)Using the 'if' statement and the 'or' operator, write a program that uses the input() function and asks the user for a word or sentence.Print the number...
more
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?
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)
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
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
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
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.