1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Naya [18.7K]
3 years ago
15

Dr. Kim divides a programming class into groups. Each group will create a large program as their

Computers and Technology
2 answers:
OleMash [197]3 years ago
6 0
An algorithm creator
Dahasolnce [82]3 years ago
5 0
An algorithm creator
You might be interested in
WILL GIVE BRAINLIEST IF DONE CORRECT
Juliette [100K]

Answer:

import sys

#account balance

account_balance = float(500.25)

##prints current account balance

def printbalance():

  print('Your current balance: %2g'% account_balance)

#for deposits

def deposit():

 #user inputs amount to deposit

 deposit_amount = float(input())

 #sum of current balance plus deposit

 balance = account_balance + deposit_amount

 # prints customer deposit amount and balance afterwards

 print('Deposit was $%.2f, current balance is $%2g' %(deposit_amount,

balance))

#for withdrawals

def withdraw():

 #user inputs amount to withdraw

 withdraw_amount = float(input())

 #message to display if user attempts to withdraw more than they have

 if(withdraw_amount > account_balance):

   print('$%.2f is greater than your account balance of $%.2f\n' %

(withdraw_amount, account_balance))

 else:

   #current balance minus withdrawal amount

   balance = account_balance - withdraw_amount

   # prints customer withdrawal amount and balance afterwards

   print('Withdrawal amount was $%.2f, current balance is $%.2f' %

(withdraw_amount, balance))

#system prompt asking the user what they would like to do

userchoice = input ('What would you like to do? D for Deposit, W for

Withdraw, B for Balance\n')

if (userchoice == 'D'): #deposit

 print('How much would you like to deposit today?')

 deposit()

elif userchoice == 'W': #withdraw

 print ('How much would you like to withdraw today?')

elif userchoice == 'B': #balance

 printbalance()

else:

 print('Thank you for banking with us.')

 sys.exit()

6 0
3 years ago
Read 2 more answers
Which two statements are true about algorithms?
DENIUS [597]

Answer:

I. Algorithms can be written using pseudocode.

II. Algorithms can be visualized using flowcharts.

Explanation:

An algorithm can be defined as a standard formula or procedures which comprises of set of finite steps or instructions for solving a problem on a computer. The time complexity is a measure of the amount of time required by an algorithm to run till its completion of the task with respect to the length of the input.

The two statements which are true about algorithms are;

I. Algorithms can be written using pseudocode. A pseudocode refers to the description of the steps contained in an algorithm using a plain or natural language.

II. Algorithms can be visualized using flowcharts. A flowchart can be defined as a graphical representation of an algorithm for a process or workflow.

Basically, a flowchart make use of standard symbols such as arrows, rectangle, diamond and an oval to graphically represent the steps associated with a system, process or workflow sequentially i.e from the beginning (start) to the end (finish).

3 0
3 years ago
Read 2 more answers
Hello my name is fvgrbhcdnxjm
san4es73 [151]
I’m guessing free points?
3 0
3 years ago
Which area of the resource monitor is used to monitor disk performance and determine whether the disk subsystem is a bottleneck?
Dvinal [7]

Answer:Disk

Explanation:Disk is the storage device in which data can be rewritten and stored.They work in the computer system internally as well as externally as per the requirement

To evaluate the monitor disk performance and disk subsystem performance, it is checked whether the particular part of the computer system is working along with rest of the parts . If the working of the part is not along with other components then there will be a reduction in the performance of the system , as to keep that part on the track.

Disk is responsible for this tracking and pacing system.

7 0
4 years ago
A digital computer has a memory unit with 26 bits per word. The instruction set consists of756 different operations. All instruc
prisoha [69]

Answer:

hello your question is incomplete attached below is missing part of the  question

Determine how many bits are needed for the opcode

answer : 7 bits

Explanation:

Given data:

memory unit = 26 bits per word

Instruction set consists = 756 different operations

Determine how many bits are needed for the opcode

First we determine The number of bits required to represent 756 operations

= Log^{756} _{2} = 9.56 ≈  10 bits

finally the number of bits needed for the opcode can be determined by

2^9 = 512 ,   and 2^{10}  = 1024

since 2^10 > 756 hence the number of bits will be 10 bits

4 0
3 years ago
Other questions:
  • Write a function so that the main() code below can be replaced by the simpler code that calls function MphAndMinutesToMiles(). O
    5·1 answer
  • Use a colon before a list and put one space after a colon. True False
    15·2 answers
  • You are tasked with implementing a recursive function void distanceFrom(int key) on the IntList class (provided). The function w
    14·1 answer
  • HELP PLEASE ASAP!!! Does anyone know how to fix a broken iPhone which when I connect it to the charger it comes up with the Appl
    5·1 answer
  • Carla needs to list the role for each consultant. Those with four or more years of 26 15 experience take the Lead role. Otherwis
    9·1 answer
  • VOTE: STARWARS, STAR TREK, MARVEL, STRANGER THINGS. OR IT ?
    15·2 answers
  • Assume a TCP sender is continuously sending 1,090-byte segments. If a TCP receiver advertises a window size of 5,718 bytes, and
    7·1 answer
  • What type of malicious software tries to gather information about you without your consent?
    7·1 answer
  • What is it called when a programmer includes a step in an algorithm that lets
    5·1 answer
  • ________ involves disconnecting individual users from their selected internet service providers and redirecting them to illegiti
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!