WILL GIVE BRAINIEST! Your users are young children learning their arithmetic facts. The program will give them a choice of practicing adding or multiplying. You will use two lists of numbers. numA = [4, 1, 6, 10, 2, 3, 7, 9, 11, 12, 5, 8]. numB = [2, 12, 10, 11, 1, 3, 7, 9, 4, 8, 5, 6]. If the user chooses adding, you will ask them to add the first number from each list. Tell them if they are right or wrong. If they are wrong, tell them the correct answer. Then ask them to add the second number in each list and so on. If the user chooses multiplying, then do similar steps but with multiplying. Whichever operation the user chooses, they will answer 12 questions. Write your program and test it on a sibling, friend, or fellow student.

Answers

Answer 1

In python:

numA = [4, 1, 6, 10, 2, 3, 7, 9, 11, 12, 5, 8]

numB = [2, 12, 10, 11, 1, 3, 7, 9, 4, 8, 5, 6]

while True:

   i = 0

   userChoice = input("Adding or Multiplying? (a/m) ")

   if userChoice == "a":

       while i < len(numA):

           answer = int(input("What is {} + {} ".format(numA[i],numB[i])))

           if answer == numA[i] + numB[i]:

               print("Correct!")

           else:

               print("That's incorrect. The right answer is {}".format(numA[i] + numB[i]))

           i += 1

   elif userChoice == "m":

       while i < len(numA):

           answer = int(input("What is {} * {} ".format(numA[i], numB[i])))

           if answer == numA[i] * numB[i]:

               print("Correct!")

           else:

               print("that's incorrect. The right answer is {}".format(numA[i] * numB[i]))

           i += 1

Answer 2

The program will give them a choice of practicing adding or multiplying is true.

What is computer program?

Computer program is defined as a series of instructions written in a programming language that a computer may follow. Computers can obey a set of instructions created through coding.  Programmers can create programs, including websites and apps, by coding.

Python says:

numA = [4, 1, 6, 10, 2, 3, 7, 9, 11, 12, 5, 8]

numB = [2, 12, 10, 11, 1, 3, 7, 9, 4, 8, 5, 6]

though True:

I = 0

input("Adding or Multiplying? (a/m)") userChoice

when userChoice equals "a"

even when I = len(numA):

What is input("What is + ".format(numA[i],numB[i]))? answer = int

if response == numA[i] + numB[i]:

print("Correct! ")

else:

print( "That is untrue. The appropriate response is "Formatted as (numA[i] + numB[i])

I += 1

if userChoice == "m," then

even when I = len(numA):

answer = int("What is *? ".format(numA[i], numB[i]))

if the response equals numA[i] + numB[i]:

print("Correct! ")

else

print( "that is untrue. The appropriate response is ".format(numB * numA[i]

I += 1

Thus, the program will give them a choice of practicing adding or multiplying is true.

To learn more about program, refer to the link below:

https://brainly.com/question/11023419

#SPJ3


Related Questions

what is mean by modulation​

Answers

Answer: process of converting data into radio waves by adding information to an electronic or optical carrier signal

Explanation: Have a great day!

What is a file manger ? The file manger is user A . Medium B.platform C. Interface .

Answers

Answer: C. Interface.

Explanation:

File manager is an interface between the hardware part of a computer and the software. the main function of a file manager is to help the user manage all files which they have stored up on their computers. for example the file managers allows the users to view, copy, delete and edit the files which they have stored up on their computer storage devices.

how do i set it up? can u guys like give examples its for computer science its suppose to be a program

Answers

public class Lab02_Favorite{

    public static void main(String []args){

       System.out.println("I miss going bowling with my friends");

    }

}

Use the drop-down menus to explain how to personalize a letter.
1. Place the cursor where the name and address should appear.
2. Select
v in the mail merge wizard.
3. Select the name and address format and
if needed to link the correct data to the field.
4. Place the cursor below the address block, and select
from the mail merge wizard.
5. Select the greeting line format and click

Answers

Explanation:

Address block

Match Fields

Greeting Line

Ok

Place the cursor where the name and address should appear: This step is important as it identifies the exact location where the personalized information should be placed in the letter.

What is personalization?

Personalization refers to the process of customizing a communication, such as a letter or email, to make it more individualized and relevant to the recipient.

To explain how to personalize a letter:

Place the cursor where you want the name and address to appear: This step is critical because it determines where the personalised information should be placed in the letter.

In the mail merge wizard, enter v: This step involves selecting the mail merge feature in the word processor software. The mail merge feature is typically represented by the "v" symbol.

Choose the name and address format, and then [link] to link the correct data to the field: This step entails selecting the appropriate name and address format, such as "First Name," "Last Name," and "Address Line 1." It also entails connecting the data source (for example, a spreadsheet or database) to the relevant fields in the letter.

Place the cursor below the address block and use the mail merge wizard to select [Insert Greeting Line]: This step involves deciding where to place the greeting line in the letter, which is usually below the address block. The mail merge wizard offers formatting options for the greeting line based on the data source.

Choose the greeting line format and press [OK]: This step entails deciding on a greeting line format, such as "Dear [First Name]" or "Hello [Full Name]." Once the format is chosen, the user can finish personalising the letter by clicking "OK."

Thus, this can be concluded regarding the given scenario.

For more details regarding personalization, visit:

https://brainly.com/question/14514150

#SPJ2

Write a recursive function that takes a start index, array of integers, and a target sum. Your goal is to find whether a subset of the array of integers adds up to the target sum. The start index is initially 0. A target sum of 0 is true for any array.

Answers

Answer:

Here is the recursive function:

public static boolean subsetSum(int start, int[] nums, int target) { //method definition

   if (start >= nums.length) //base case

   return (target == 0);

  if(subsetSum(start + 1, nums, target - nums[start]) || subsetSum(start + 1, nums, target)) //recursive case

 return true;  

 return false; }

Explanation:

Here is the complete program to test the working of the above method:

public class Main { //class name

public static void main(String[] args) { //start of main method

 int[] nums = {2, 4, 8}; //creates and initializes array

System.out.println(subsetSum(0,nums,10)); } //calls method by passing start index i.e. 0, nums array and 10 is target sum

public static boolean subsetSum(int start, int[] nums, int target) { //method that takes start index, integer array and target sum as parameters

       if (start >= nums.length) //if start index is greater than or equals to length of the array (base case)

               return (target == 0); //returns target == 0

      if(subsetSum(start + 1, nums, target - nums[start]) || subsetSum(start + 1, nums, target)) //recursive case to find whether a subset of the array of integers adds up to the target sum

                return true; //returns true if the above condition is true

 return false; } } //returns false if above condition is false

I will explain the program with the help of an example:

Lets say the num array has elements: 2,4 and 8. The method subsetSum works as follows:

Here start = 0

nums[] = {2,4,8}

target = 10

if (start >= nums.length) becomes:

if (0>= 3) this statement is false so the program moves to the recursive part:

if(subsetSum(start + 1, nums, target - nums[start]) || subsetSum(start + 1, nums, target))  this becomes:

if(subsetSum(0+ 1, {2,4,8}, 10 - nums[0]) || subsetSum(0+ 1, {2,4,8}, 10))

if(subsetSum(1, {2,4,8}, 10 - 2) || subsetSum(1, {2,4,8}, 10))

if(subsetSum(1, {2,4,8}, 8) || subsetSum(1, {2,4,8}, 10))

Now this method calls itself recursively to  find whether a subset of the array nums adds up to 10.

The above recursive condition evaluates to true so the function returns true. The screenshot of program and its output is attached.

Windows 1.0 was not considered to be a "true" operating system but rather an operating environment because _____.


it provided a shell for MS-DOS

it could only run one application at a time

it didn't use a pointing device

it crashed a lot

Answers

The answer is A it provided a shell for Ms-DOS

Assignment 3 chatbot edhesive

Answers

Answer:

name1=input("What is your first name? ")

name2=input("What is your last name? ")

print("Hi there, "+ name1+" "+name2 +" ,nice to meet you!")

print("How old are you?")

age = int(input(" "))

print(str(age) + " is a good age.")

if(age >= 16):

   print("You are old enough to drive. \n")

else:

   print("Still taking the bus, I see. \n")

   

print("So, " + name1 + ", how are you today?")

feel=input("")

print("You are " + feel),

if(feel== "Happy"):

   print("That is good to hear.")

elif(feel == "Sad"):

   print("I'm sorry to hear that. ")

else:

   print("Oh my!")

   

print("Tell me more. \n")

next=input("")

import random

r = random.randint(1, 3)

if(r==1):

   print("Sounds interesting. \n")

elif(r==2):

   print("That's good to hear. \n")

else:

   print("How unusual. \n")

print("Well, " + name1 + ", it has been nice chatting with you.")

Explanation:

Which statement about GIF images is true?

Group of answer choices

They cannot be animated.

They are limited to 256 colors.

They are optimized for making large printouts.

Their compression is lossy.

Answers

The correct answer would BE (puns) B. They are limited to 256 colors

The statement that is true regarding GIF is that they are limited to 256 colors. The correct option is B.

What is GIF?

GIF (graphics interchange format) is a digital file format invented in 1987 by Internet service provider CompuServe to reduce the size of images and short animations.

GIFs are short animations and video clips. GIFs are frequently used to represent a feeling or action.

LZW compression is used in the GIF format, which is a lossless compression method.

However, because GIF files are limited to 256 colors, optimizing a 24bit image as an 8bit GIF can result in color loss. GIF is a raster data format originally developed for simple images that are commonly found on the internet.

In a browser, you can control how colors dither and choose the number of colors in a GIF image.

Thus, the correct option is B.

For more details regarding GIF, visit:

https://brainly.com/question/24742808

#SPJ2

Write a method printOdds1To11 that prints the odd numbers between 1 and 11 inclusive, one on each line. The program should calculate the odd numbers in a loop. The program text should not include the digits 3, 5, 7, or 9, but it will print these numbers out using System.out.println along with 1 and 11, in numerical order. It should only contain a single println statement. The program should take no arguments and return no value, just print things out.

Answers

Answer:

The method goes thus

static void printOdds1To11(){

for(int i = 1; i<=11;i++){

System.out.println(i);

}

}

Explanation:

This line defines the method

static void printOdds1To11(){

This line iterates from 1 to 11 with an increment of 2

for(int i = 1; i<=11;i+=2){

This line prints the odd number in this range

System.out.println(i);

}

}

TCP/IP-based protocols called ________ established a _____ between two computers through which they can send data.

Answers

Answer:

1. Communications Protocol

2. Network

Explanation:

TCP/IP is an acronym in computer science or engineering, that stands for Transmission Control Protocol or Internet Protocol. It is often referred to as COMMUNICATIONS PROTOCOL. It is technically utilized for the interconnection of NETWORK for machines or gadgets on the internet. In some other cases, it can also be used as either intranet or extranet; a form of a private computer network.

Hence, in this case, the correct answer is TCP/IP-based protocols called COMMUNICATIONS PROTOCOL established a NETWORK between two computers through which they can send data.

What are the functions of four registers?

Answers

Answer:

The four general purpose registers are the AX, BX, CX, and DX registers. AX - accumulator, and preferred for most operations. BX - base register, typically used to hold the address of a procedure or variable.

Explanation:

List three hardware computer components? Describe each component, and what its function is.

Answers

Answer:

moniter: a screen and is used to see what the computer is running

webcam: the camera on the computer. can be already built in or added

power supply: an electrical device that supplies power to an electrical load

Explanation:

Answer:

Input device

output device

C.P.U

EV = 225, PV = 200, AC = 255. What is CPI? What does this calculation tell you?

Answers

Answer:

CPI = EV / AC

225 / 255 = 0.88235

This tells you the measure of the average change over time in the prices paid by urban consumers for a market basket of consumer goods

Explanation:

"How do you split your time between traditional television and streaming video? Has it changed? If so, how?"

Answers

please comment what device you’re using and maybe i can help :)

Arranging How to Change Line Spacing
Page 1
Page 2
Maia is typing her report on meerkats for her
biology class
Read her first two paragraphs on the next page.
The rubric given to them by their teacher requires that
the lines be double spaced.
Arrange the steps below to outline what Maia needs to
do to accomplish this task.
Click the space required.
Click the line and Paragraph Spacing option.
Navigate to the Paragraph command group.
Intro.

Answers

Answer:

Click the space required.

✔ 3

Click the Line and Paragraph Spacing option.

✔ 2

Navigate to the Paragraph command group.

✔ 1

Explanation:

Maria is designing a website. What might Maria use to avoid writing every part of the code from scratch?

a
HTML
b
JQuery
c
Python
d
CSS

Answers

Answer:

CSS (d)

Explanation:

Write a program that asks the users to input his/her last name first, then first name. Display a new user name which is the first letter of the user’s first name plus last name and a random number between 1 and 10.

Answers

Answer:

import random

last_name = input("Enter last name: ")

first_name = input("Enter first name: ")

number = random.randint(1, 10)

user_name = first_name[0] + last_name + str(number)

print(user_name)

Explanation:

*The code is in Python.

import the random to generate a random number

Ask the user to enter the last_name and first_name

Generate a random number between 1 and 10 using randint() method

Set the user_name as first letter of the first name (use indexing, the item in the index 0 is the first letter) and last name and the number you generated

Print the user_name

Complete the following sentences using the drop-down menus.

is considered by some to be the most important program because of its popularity and wide use.

applications are used to display slide show-style presentations.

programs have revolutionized the accounting industry.

Answers

Answer:

✔ E-mail

is considered by some to be the most important program because of its popularity and wide use.

✔ Presentation

applications are used to display slide show-style presentations.

✔ Spreadsheet

programs have revolutionized the accounting industry.

Explanation:

just did it on edg this is all correct trust

the answers are:

- e-mail

- presentation

- spreadsheet

Which of the following documents has a template available in the online templates for your use?
letters
resumés
reports
all of the above

Answers

Answer:

The answer is all of the above.

Explanation:

What is a malicious actor essentially looking for when attempting a network attack?

Answers

Answer:

information of personnel

Explanation:

The malicious actor that is essentially looked for when attempting a network attack is information of personnel.

Who are malicious actors?


An entity that is partially or completely accountable for an occurrence. It has an impact on or the potential to have an impact on the security of an organization and is referred to as a threat actor, also known as a malicious actor or bad actor.

Actors are typically divided into three categories in threat intelligence: partner, internal, and external. Any individual or group that wreaking havoc online is referred to as a threat actor, also known as a malevolent actor.

They carry out disruptive assaults on people or organizations by taking advantage of holes in computers, networks, and other systems.

Therefore, when attempting a network attack, personnel information is the main harmful actor that is sought after.

To learn more about malicious factors, refer to the link:

https://brainly.com/question/29848232

#SPJ2

What common feature of well-made web apps helps them stand out from static email
advertisements?
O They help advertise product.
O You can add a chat window for support.
You can integrate images and text related to your brand.
You can reach more people.

Answers

Answer: You can add a chat window for support.

Explanation:

The answer above is a well known feature in well-made web apps and the only difference between apps and static email advertisements in the options.

Both the apps and the email advertisement work to advertise a product so option A is incorrect.

You can also integrate images and text related to your brand in both the app and email.

Both of them enable you to reach more people as well.

Option B is therefore correct.

Answer:

C) You can integrate images and text related to your brand.

Explanation:


ANSWER ASAP PLSSS
ALSO GIVE ME RIGHT ANSWER NOT A RANDOM ONE

———-——-————————

Question 1 (1 point)
What function would you use to find the total number of views of all the videos?
Average
ОMax
Count
Min
Sum

Answers

Answer:

ethier you can do sum and average

I believe the answer would be sum

Assume a random number generator object named randGen exists. What are the possible values for randGen.nextInt(6)?
a. 0...5
b. 0...7
c. 1...6
d. 0...6

Answers

Answer:

a. 0...5

Explanation:

Given

randGen.nextInt(6)

Required

Determine the range of values

Using randGen object,

The syntax to generate a random integer is randGen.nextInt(n)

Where the range is 0 to [tex]n - 1[/tex]

In this case;

n = 6

So, range is 0 to 6 - 1

Range: 0 to 5

Hence;

Option A answers the question

List the languages in order from highest level to lowest.

O Python, binary, bytecode

O binary, Python, bytecode

O Python, bytecode, binary

O binary, bytecode, Python

Answers

Answer:

Python, bytecode, binary

Explanation:

Python is a high-level multi-purpose programming language. it is very popular and is easy to learn. Its syntax is more English-like compared to other programming languages.

Binary is a form representing data in digital form. It only uses numbers 1 and 0. Binary can be in the form of a machine code or a bytecode.

bytecode is a form of binary for virtual microprocessors which can only be interpreted to machine code for direct processing.

Match the letters to the items they represent. Put the number in the box that matches your answer choice.

A
B
C
D

Quick launch
taskbar
system tray
Start menu

Answers

Answer:

Quick launch-C

Task bar-A

start menu-B

system tray-D

Explanation:

Answer:

A: taskbar

B: Start menu

C: Quick Launch

D: system tray

Explanation:

This assignment requires you to write a well documented Java program to calculate the total and average of three scores, the letter grade, and output the results. Your program must do the following:
Prompt and read the users first and last name
Prompt and read three integer scores
Calculate the total and average
Determine a letter grade based on the following grading scale - 90-100 A; 80-89.99 B; 70-79.99 C; below 70 F
Use the printf method to output the full name, the three scores, the total, average, and the letter grade, properly formatted and on separate lines.
Within the program include a pledge that this program is solely your work and the IDE used to create/test/execute the program. Please submit the source code/.java file to Blackboard. Attached is a quick reference for the printf method.

Answers

Answer:

The solution is given in the explanation section

Don't forget to add the pledge before submitting it. Also, remember to state the IDE which you are familiar with, I have used the intellij IDEA

Follow through the comments for a detailed explanation of each step

Explanation:

/*This is a Java program to calculate the total and average of three scores, the letter grade, and output the results*/

// Importing the Scanner class to receive user input

import java.util.Scanner;

class Main {

 public static void main(String[] args) {

   //Make an object of the scaner class

   Scanner in = new Scanner(System.in);

   //Prompt and receive user first and last name;

   System.out.println("Please enter your first name");

   String First_name = in.next();

   System.out.println("Please enter your Last name");

   String Last_name = in.next();

   //Prompt and receive The three integer scores;

   System.out.println("Please enter score for course one");

   int courseOneScore = in.nextInt();

   System.out.println("Please enter score for course two");

   int courseTwoScore = in.nextInt();

   System.out.println("Please enter score for course three");

   int courseThreeScore = in.nextInt();

   //Calculating the total scores and average

   int totalScores = courseOneScore+courseTwoScore+courseThreeScore;

   double averageScore = totalScores/3;

   /*Use if..Else statements to Determine a letter grade based on the following grading scale - 90-100 A; 80-89.99 B; 70-79.99 C; below 70 F */

   char letterGrade;

   if(averageScore>=90){

     letterGrade = 'A';

   }

   else if(averageScore>=80 && averageScore<=89.99){

     letterGrade = 'B';

   }

     else if(averageScore>=70 && averageScore<=79.99){

     letterGrade = 'C';

   }

   else{

     letterGrade ='F';

   }

   //Printing out the required messages

   System.out.printf("Name:  %s %s\n", First_name, Last_name);

   System.out.printf("scores: %d %d %d:  \n", courseOneScore, courseTwoScore, courseThreeScore);

   System.out.printf("Total and Average Score is: %d %.2f:  \n", totalScores, averageScore);

   System.out.printf("Letter Grade: %C:  \n", letterGrade);

  // System.out.printf("Total: %-10.2f:  ", dblTotal);

 }

}

Define a function named word_count that counts the number of times words occur in a given string. The function must accept a string as a parameter and return a dictionary in which the key is every unique word and its value is the number of times that word occurs in the string. For example, passing in the string "Rock ties with rock" should return {'rock': 2, 'ties': 1, 'with': 1 }. Categorization should not be case-sensitive. A string with no words should return an empty dictionary.

Answers

In python 3:

def word_count(txt):

   lst = txt.lower().split()

   dict = {}

   new_txt = ""

   for i in lst:

       if i not in new_txt:

           new_txt += i

           dict[i] = txt.lower().count(i)

   return dict

print(word_count("Rock ties with rock"))

I hope this helps!

Answer:

def count_words(txt):

   lst = txt.split(",")

   var = {}

   for i in lst:

       if i in var:

           var[i]+= 1

       else:

           var[i] = 1

   return var

print(word_count("Rock ties with Rock"))

Explanation:

This one worked for me, hopefully it's what you were asking.

What was the main reason IPv6 was created?
A. To improve the system
B. They needed a faster network
C.they were running out of addresses
D. To include more countries

Answers

Answer:

C.

Explanation:

I think the answer is C. because one of the main problems were that 'the primary function of IPv6 is to allow for more unique TCP/IP address identifiers to be created, now that we've run out of the 4.3 billion created with IPv4.'

In ____________, a large address block could be divided into several contiguous groups and each group be assigned to smaller networks.

Answers

Write the answers so we can answer your question

To create a public key signature, you would use the ______ key.

Answers

Answer:

To create a public key signature, you would use the _private_ key.

Explanation:

To create a public key signature, a  private key is essential to enable authorization.

A private key uses one key to make data unreadable by intruders and for the data to be accessed the same key would be needed to do so.

The login details and some important credentials to access user data contains both the user's public key data and private key data. Both private key and public key are two keys that work together to accomplish security goals.

The public key uses different keys to make data readable and unreadable.

The public key is important to verify authorization to access encrypted data by making sure the access authorization came from someone who has the private key. In other words, it's a system put in place to cross-check the holder of the private key by providing the public key of the encrypted data that needed to be accessed. Though, it depends on the key used to encrypt the data as data encrypted with a public key would require a private key for the data to be readable.

Other Questions
If 2,x,18,and15y are in the proportion find the value of x The taxi fare in monopolis city is $1.50 for the first mile and additional mileage charged at the rate of $0.25 for each additional mile. how many miles can you do for $10.00 Pls help .. I really need it like less then 2 min When the United States refused to give the Philippines their independence, who led the Filipino forces in opposition to the U.S. Reflections over the x axis change the ____-________ Individuals who completely stop physical activity regain almost ___percent of theweight within 18 months of discontinuing the weight loss program. Which step of the writing process is most important because it involves gathering and organizing ideas before writing?publishingplanningrevisingdrafting A company sells widgets. The amount of profit, y, made by the company, is related to the selling price of each widget, x, by the given equation. Using this equation, find out the maximum amount of profit the company can make, to the nearest dollar. y=-x^2+78x-543 The just deserts model argues that punishment is the proper and just thing for a society todo, regardless of its effectiveness in preventing crime. True or false Whats the answer for this? Christ's famous "Sermon on the Mount" appears in , chapters 5-7 and is scattered throughout the Gospel of . A company forecasts growth of 6 percent for the next five years and 3 percent thereafter. Given last year's free cash flow was $100, what is its horizon value (PV looking forward from year 4) if the company cost of capital is 8 percent?a. $0b. $1,672c. $2,000d. $2,676 Each big square below represents one whole.What percent is represented by the shaded area? what is a bit of thine own tounge Emotional needs include the need to feel like you belong, are loved, and are valued. OA True OB. False I need help! Can you pleas help a girl out...lol kevin and joe each manage a shop that sells CDs. Kevins shop is in the high street and Joes is in the rentail park. Convert 5/6 into a decimal 8(3x-2)-8x=9(2x-6) find x If x-5=12, what is the value of x-9?