Earl develops a virus tester which is very good. It detects and repairs all known viruses. He makes the software and its source code available on the web for free and he also publishes an article on it. Jake reads the article and downloads a copy. He figures out how it works, downloads the source code and makes several changes to enhance it. After this, Jake sends Earl a copy of the modified software together with an explanation. Jake then puts a copy on the web, explains what he has done and gives appropriate credit to Earl.
Discuss whether or not you think Earl or Jake has done anything wrong?

Answers

Answer 1

Answer:

They have done nothing wrong because Jake clearly gives credit to Earl for the work that he did

Explanation:

Answer 2

Earl and Jake have nothing done anything wrong because Jake give the proper credit to Earl.

What is a virus tester?

A virus tester is a software that scan virus on computer, if any site try to attack any computer system, the software detect it and stop it and save the computer form virus attack.

Thus, Earl and Jake have nothing done anything wrong because Jake give the proper credit to Earl.

Learn more about virus tester

https://brainly.com/question/26108146

#SPJ2


Related Questions

1. What characteristics are common among operating systems? List types of operating systems, and
examples of each. How does the device affect the functionality of an operating system?

Answers

The fundamental software applications running upon that hardware allow unauthorized to the interface so much with the equipment because then instructions may be sent and result obtained.

Some characteristics of OS are provided below:

Developers provide technology that could be suitable, mismatched, or otherwise completely at odds with several other OS categories throughout various versions of the same similar OS.Throughout two different versions, the OS's are often 32 as well as 64-Bit.

Type of OS:

Distributed OS.Time-sharing OS.Batch OS.

Learn more about the operating system here:

https://brainly.com/question/2126669

1. What characteristics are common among operating systems? List types of operating systems, andexamples

System testing – During this stage, the software design is realized as a set of programs units. Unit testing involves verifying that each unit meets its specificatio

Answers

System testing is a crucial stage where the software design is implemented as a collection of program units.

What is Unit testing?

Unit testing plays a vital role during this phase as it focuses on validating each unit's compliance with its specifications. Unit testing entails testing individual units or components of the software to ensure their functionality, reliability, and correctness.

It involves executing test cases, evaluating inputs and outputs, and verifying if the units perform as expected. By conducting unit testing, developers can identify and rectify any defects or issues within individual units before integrating them into the larger system, promoting overall software quality.

Read more about System testing here:

https://brainly.com/question/29511803

#SPJ1

1.11 zyLab training: Interleaved input / output

Auto-graded programming assignments have numerous advantages, but have some challenges too. Students commonly struggle with realizing that example input / output provided in an assignment's specification interleaves input and output, but the program should only output the output parts. If a program should double its input, an instructor might provide this example:

Enter x:
5
x doubled is: 10


Students often incorrectly create a program that outputs the 5. Instead, the program should only output the output parts:

Enter x:
x doubled is: 10


The instructor's example is showing both the output of the program, AND the user's input to that program, assuming the program is developed in an environment where a user is interacting with a program. But the program itself doesn't output the 5 (or the newline following the 5, which occurs when the user types 5 and presses enter).

Also, if the instructor configured the test cases to observe whitespace, then according to the above example, the program should output a newline after Enter x: (and possibly after the 10, if the instructor's test case expects that).

The program below incorrectly echoes the user's input to the output.

1. Try submitting it for grading (click "Submit mode", then "Submit for grading"). Notice that the test cases fail. The first test case's highlighting indicates that output 3 and newline were not expected. In the second test case, the -5 and newline were not expected.
2. Remove the code that echoes the user's input back to the output, and submit again. Now the test cases should all pass.

1.11 zyLab training: Interleaved input / outputAuto-graded programming assignments have numerous advantages,

Answers

The code is System.out.println(x);  //use print method to print value.

What is Java programming used for?In order to have as few implementation dependencies as feasible, Java is a high-level, class-based, object-oriented programming language.Java is a programming language used by programmers to create programmes for laptops, data centres, game consoles, scientific supercomputers, mobile phones, and other gadgets. According to the TIOBE index, which ranks the popularity of programming languages, Java is the third most used programming language in the world, after Python and C.Python and Java are two of the most popular and robust programming languages. Java is a compiled language, which means it is typically quicker and more effective than Python. Python's syntax is shorter and clearer than Java's because it is an interpreted language. It uses fewer lines of code than Java to do the same task.

Given data :

In the given question, it simplifies or deletes code in the 11th line. This line has a large major statement.  

In the case, the tests fail because only 1 line of output is required by the tester, but two lines are obtained instead.

It's to demonstrate that the input/output or testing requirements function throughout the model.

Learn more about Java programming refer to :

https://brainly.com/question/26789430

#SPJ1

Imagine that you work for an organization that has no Internet use policy. Employees use the Internet in whatever way they want using company-owned personal computers. Could this cause a problem for the organization? Why or why not?

Answers

Answer: Yes

Explanation:

It would force the company to either enforce the policy and fire all of its employees.

I need help with some homework. I would like to know what is the easiest way to reach out.

Answers

I can help you, you can message me on this app.

How university has utilised Information Technology in society for efficient business process?

Answers

Employees can easily understand and identify their goals, targets, or even if the exertion used was undertaking or not with the help of strong information technology.

What is information technology?

The use of technology to communicate, transfer data, and process information is referred to as information technology.

Among the various trends in information technology are, but are not limited to, analytics, automation, and artificial intelligence.

The use of computers, storage, networking, and other physical devices, infrastructure, and processes to create, process, store, secure, and exchange all forms of electronic data is referred to as information technology (IT).

With the assistance of powerful information technology, employees can easily understand and identify their goals, targets, or even whether the exertion used was undertaken or not.

Thus, universities utilized Information Technology in society for efficient business process.

For more details regarding information technology, visit:

https://brainly.com/question/14426682

#SPJ1

a really excellent way of getting you started on setting up a workbook to perform a useful function.

Answers

Templates a really excellent way of getting you started on setting up a workbook to perform a useful function.

What is the workbook  about?

One excellent way to get started on setting up a workbook to perform a useful function is to begin by defining the problem you are trying to solve or the goal you want to achieve. This will help you determine the necessary inputs, outputs, and calculations required to accomplish your objective.

Once you have a clear understanding of your goal, you can start designing your workbook by creating a plan and organizing your data into logical categories.

Next, you can start building the necessary formulas and functions to perform the required calculations and operations. This might involve using built-in functions such as SUM, AVERAGE, or IF, or creating custom formulas to perform more complex calculations.

Read more about workbook here:

https://brainly.com/question/27960083

#SPJ1

Write the command and explain about each formula in MS Excel


1. SUM

2. AVERAGE

3. MAx

4. MIN

5. COUNT

Answers

Answer:

1. SUM  --- The SUM function is used to sum all the values that are in a given range. Thus, for example, if you want to add the values between cells A1 and A3, you must write the following command: =SUM(A1:A10)

2. AVERAGE  --- The AVERAGE function allows you to average a range of values, throwing the average of these values in the cell where the function is typed. For example, if you want to average the values included between B1 and B3, you should write the following function: =AVERAGE (B1: B3).

3. MAX --- The MAX function, for its part, returns the maximum value of the values included in the function. For example, if the maximum value included between the values C1 and C3 is known, the following function must be written: =MAX (C1: C3).

4. MIN  --- The MIN function, in turn, allows to identify the minimum value of the range of values included in the function. For example, if the minimum value included between the values D1 and D3 is known, the following function must be written: =MIN (D1: D3).

5. COUNT --- The COUNT function, finally, is used to count all the cells that have numbers, which have been included in the range of the function. For example, if you want to count all cells that contain numbers between the values E1 and E3, you must write the following function: =COUNT (E1: E3).

To help insure that an HTML document renders well in many web browsers it is important to included which at top of file

Answers

Answer:

<!DOCTYPE html>

Explanation:

This tells the browseer that the code is HTML5 format

Create a simple JavaScript calculator.

Create a simple JavaScript calculator.

Answers

Answer: edit out anything you dont need

<!DOCTYPE html>  

<html lang = "en">  

<head>  

<title> JavaScript Calculator </title>  

 

<style>  

h1 {  

   text-align: center;  

   padding: 23px;  

   background-color: skyblue;  

   color: white;  

   }  

 

#clear{  

width: 270px;  

border: 3px solid gray;  

   border-radius: 3px;  

   padding: 20px;  

   background-color: red;  

}  

 

.formstyle  

{  

width: 300px;  

height: 530px;  

margin: auto;  

border: 3px solid skyblue;  

border-radius: 5px;  

padding: 20px;  

}  

 

 

 

input  

{  

width: 20px;  

background-color: green;  

color: white;  

border: 3px solid gray;  

   border-radius: 5px;  

   padding: 26px;  

   margin: 5px;  

   font-size: 15px;  

}  

 

 

#calc{  

width: 250px;  

border: 5px solid black;  

   border-radius: 3px;  

   padding: 20px;  

   margin: auto;  

}  

 

</style>  

 

</head>  

<body>  

<h1> Calculator Program in JavaScript </h1>  

<div class= "formstyle">  

<form name = "form1">  

     

   <!-- This input box shows the button pressed by the user in calculator. -->  

 <input id = "calc" type ="text" name = "answer"> <br> <br>  

 <!-- Display the calculator button on the screen. -->  

 <!-- onclick() function display the number prsses by the user. -->  

 <input type = "button" value = "1" onclick = "form1.answer.value += '1' ">  

 <input type = "button" value = "2" onclick = "form1.answer.value += '2' ">  

 <input type = "button" value = "3" onclick = "form1.answer.value += '3' ">  

  <input type = "button" value = "+" onclick = "form1.answer.value += '+' ">  

 <br> <br>  

   

 <input type = "button" value = "4" onclick = "form1.answer.value += '4' ">  

 <input type = "button" value = "5" onclick = "form1.answer.value += '5' ">  

 <input type = "button" value = "6" onclick = "form1.answer.value += '6' ">  

 <input type = "button" value = "-" onclick = "form1.answer.value += '-' ">  

 <br> <br>  

   

 <input type = "button" value = "7" onclick = "form1.answer.value += '7' ">  

 <input type = "button" value = "8" onclick = "form1.answer.value += '8' ">  

 <input type = "button" value = "9" onclick = "form1.answer.value += '9' ">  

 <input type = "button" value = "*" onclick = "form1.answer.value += '*' ">  

 <br> <br>  

   

   

 <input type = "button" value = "/" onclick = "form1.answer.value += '/' ">  

 <input type = "button" value = "0" onclick = "form1.answer.value += '0' ">  

   <input type = "button" value = "." onclick = "form1.answer.value += '.' ">  

   <!-- When we click on the '=' button, the onclick() shows the sum results on the calculator screen. -->  

 <input type = "button" value = "=" onclick = "form1.answer.value = eval(form1.answer.value) ">  

 <br>  

 <!-- Display the Cancel button and erase all data entered by the user. -->  

 <input type = "button" value = "Clear All" onclick = "form1.answer.value = ' ' " id= "clear" >  

 <br>  

   

</form>  

</div>  

</body>  

</html>  

Explanation:

Discuss the decidability/undecidability of the following problem.
Given Turing Machine , state of and string ∈Σ∗, will input ever enter state ?
Formally, is there an such that (,⊢,0)→*(,,)?

Answers

Note that in the caseof the problem described, there is no algorithm that can determine with certainty whether   a given Turing machine, state, and input string will ever enter a specific state.

How is this so?

The problem of determining whether a given Turing machine, state, and string will ever enter a specific state is undecidable.

Alan Turing's   halting problem proves that thereis no algorithm that can always provide a correct answer for all inputs.

Due to the complex and unpredictable   behavior of Turing machines, it is impossible todetermine if a state will be reached in a general case.

Learn more about Turning Machine at:

https://brainly.com/question/31771123

#SPJ1

What is the best way to deal with a spam

Answers

Simply ignoring and deleting spam is the best course of action. Avoid responding to or engaging with the spam communication because doing so can let the sender know that your contact information is still live and invite additional spam in the future. Additionally, it's critical to mark the email as spam using your email program or by reporting it to the relevant authorities. Make careful to report the spam to the proper authorities for investigation if it appears to be a phishing scheme or contains hazardous content.

In this assignment we are going to practice reading from a file and writing the results of your program into a file. We are going to write a program to help Professor X automate the grade calculation for a course. Professor X has a data file that contains one line for each student in the course. The students name is the first thing on each line, followed by some tests scores. The number of scores might be different for each student. Here is an example of what a typical data file may look like: Joe 10 15 20 30 40 Bill 23 16 19 22 Sue 8 22 17 14 32 17 24 21 2 9 11 17 Grace 12 28 21 45 26 10 John 14 32 25 16 89 Program details Write a program that: Ask the user to enter the name of the data file. Read the data from the file and for each student calculate the total of the test scores, how many tests the student took, and the average of the test scores. Save the results in an output file (e.g. stats.txt) in the following order: studentName totalScore numberOfTests testAverage Note that the average is saved with 2 decimal places after the decimal point. Validation: Make sure your program does not crash if a file is not found or cannot be open.

Answers

Answer:

In Python:

import os.path

from os import path

fname = input("Filename: ")

if path.exists(fname):

with open(fname) as file_in:

 lines = []

 for line in file_in:

  lines.append(line.rstrip('\n'))

f = open("stat.txt","r+")

f.truncate(0)

f = open("stat.txt", "a")

f.write("Names\tTotal\tSubjects\tAverage\n")

for i in range(len(lines)):

 rowsum = 0; count = 0

 nm = lines[i].split()

 for j in nm:

  if (j.isdecimal()):

   count+=1

   rowsum+=int(j)

 average = rowsum/count

 f.write(nm[0]+"\t %3d\t %2d\t\t %.2f\n" % (rowsum, count, average))

f.close()

else:

print("File does not exist")

Explanation:

See attachment for explanation where comments were used to explain each line

For each student, the sum of the marks, total tests were taken and the average of marks is calculated and is stored in an output file, for example, stats.txt.

Python Code:

The code in Python asks the user for an input file name. If the input file is not found an error is printed else the data in the file is processed further.

Try:

  # take input file name

  file = input('Enter name of the data file: ')

# open the input file

  ip = open(file, 'r')

# store the lines from input file in a list

  lines = ip.readlines()

  # close the file

  ip.close()

# open the output file

  op = open('stats.txt', 'w')

# iterate over each line

  for line in lines:

 # split data using space as delimiter

      data = line.split()

 # get name

   name = data[0]

 # get marks and convert them to integer

      marks = list(map(int, data[1:]))

# get sum of marks

      total = sum(marks)

# get number of tests

      length = len(marks)

# calculate average of marks

      avg = total/length

# add the data to output file

      op.write('{} {} {} {:.2f}\n'.format(name, total, length, avg))

# close the output file

  op.close()

print('Stats have been save in the output file')

# catch FileNotFoundError

except FileNotFoundError:

# print error

  print('Error: that file does not exist. Try again.')

Learn more about the topic python code:

https://brainly.com/question/14492046

If you want the input gear to spin in the same direction as the output gear you must use a _______ gear.
A. Spur
B. Bevel
C. Driven
D. Idler

Answers

Answer:B

Explanation:

In your area, power outage occurs frequently, to avoid hard disk failure. What is the best approach?​

Answers

Answer:

No understand lol no its a answer its i dont no

What types of files we do backup in UNIX and Linux?

Answers

Answer:

Nas ja kaki yawe diy. Kitu mu chuk k a jana a.

Explanation:

Karu explain pudi diya chal puter chuti kar.

sir bilal wants to know your arid number for 2 extra grades.

put true or false the java script statement sho8be finished with (;).( )​

Answers

Answer:

True

Explanation:

Javascript statements almost always end with a semicolon (;), (not always the case or required, but is still recommended highly)

write pseudocode to accept two numbers and nod any ones of the operators. Base on the operator entered a pseudocode should be add, subtract, multiply or divide the numbers and display the results

Answers

What is Pseudocode?The term "pseudocode" is frequently used in algorithm-based professions such as programming. It is a method that enables the programmer to depict how an algorithm is implemented. It's the fabricated representation of an algorithm, to put it simply. Pseudocodes are frequently used to depict algorithms because they may be understood by programmers with any level of programming experience. The term pseudocode refers to a bogus code or a representation of code that even a layperson with basic programming understanding can understand.

Pseudocode to Add Two Numbers

BEGIN.NUMBER s1, s2, sum.OUTPUT("Input number1:")INPUT s1.OUTPUT("Input number2:")INPUT s2.sum=s1+s2.OUTPUT sum.

To learn more about Pseudocode, refer to

https://brainly.com/question/24953880

#SPJ1

In algorithm-based fields like programming, the word "pseudocode" is widely used.

What is Pseudocode?In algorithm-based fields like programming, the word "pseudocode" is widely used.It is a technique that gives the programmer the ability to show how an algorithm is used.Simply put, it is a manufactured representation of an algorithm.Because pseudocodes may be understood by programmers of any expertise level, they are widely employed to represent algorithms.Pseudocode is a term used to describe fake code or a representation of code that even a layperson with rudimentary programming knowledge can comprehend.

Pseudocode to Add Two Numbers

BEGIN.NUMBER s1, s2, sum.OUTPUT("Input number1:")INPUT s1.OUTPUT("Input number2:")INPUT s2.sum=s1+s2.OUTPUT sum.

To learn more about Pseudocode, refer to

brainly.com/question/24953880

#SPJ1

On page 104, of Think Like a Computer Scientist, you learned about paired data. With paired data, you can use a for loop with two index variables to iterative through the data. In this exercise you will create a turtle drawing using pairs of data, where the first item of the pair is the distance to move forward , and the second item is the angle to turn.. Set up a list of pairs so that the turtle draws a house with a cross through the center, as show here. This should be done without going over any of the lines / edges more than once, and without lifting your pen.

Your first pair of data will be (100,135). In a list this will look like ls = [ (100, 135) ] Then you need to add the other pairs for the remaining lines and angles. The 100 represents the distance forward the turtle will travel. The 135 represents the angle the turtle will turn left.

Screen capture of run of program showing house figure

Hint: Your first line should be the bottom line. Then turn left 135 degrees and go forward. You may wish to create the drawing without the list first, then substitute a list and a for loop for the distances and angles.



Use two functions: a main() function that sets up screen and turtle objects, and a drawhouse() function that takes a turtle object as an argument.



Includes comments at the top to identify file name, project and a brief description.

For further documentation, include comment for each section of code. Write in Python asap

On page 104, of Think Like a Computer Scientist, you learned about paired data. With paired data, you

Answers

Answer:

import turtle

def drawhouse(t):

   # find the length of diagonal of a square with side = 100

   # formula: diagonal = sqrt(2) * side

   diagonal = 100 * (2 ** 0.5)

   data = [(100, 135), (diagonal, -135), (100, -135), (diagonal, -135), (100, -45), (diagonal / 2, -90),

           (diagonal / 2, -45), (100, 0)]

   for dist, angle in data:

       t.forward(dist)

       t.left(angle)

def main():

   t = turtle.Turtle()

   drawhouse(t)

   turtle.done()

main()

1 Design a flowchart to compute the following selection
(1) Area of a circle
(2) Simple interest
(3) Quadratic roots an
(4) Welcome to INTRODUCTION TO COMPUTER PROGRAMM INSTRUCTION

Answers

A flowchart exists as a graphic illustration of a function. It's a chart that displays the workflow needed to achieve a task or a set of tasks with the help of characters, lines, and shapes.

What is a flowchart?

A flowchart exists as a graphic illustration of a function. It's a chart that displays the workflow needed to achieve a task or a set of tasks with the help of characters, lines, and shapes. Flowcharts exist utilized to learn, enhance and communicate strategies in different fields.

Step Form Algorithm:

Start.

Declare the required variables.

Indicate the user to enter the coefficients of the quadratic equation by displaying suitable sentences using the printf() function.

Wait using the scanf() function for the user to enter the input.

Calculate the roots of the quadratic equation using the proper formulae.

Display the result.

Wait for the user to press a key using the getch() function.

Stop.989

Pseudo Code Algorithm:

Start.

Input a, b, c.

D ← sqrt (b × b – 4 × a × c).

X1 ← (-b + d) / (2 × a).

X2 ← (-b - d) / (2 × a).

Print x1, x2.

Stop.

Flowchart:

A flowchart to calculate the roots of a quadratic equation exists shown below:

import math

days_driven = int(input("Days driven: "))

while True:

code = input("Choose B for class B, C for class C,D for class D, or Q to Quit: ")

# for class D

if code[0].lower() == "d":

print("You chose Class D")

if days_driven >=8 and days_driven <=27:

amount_due = 276 + (43* (days_driven - 7))

elif days_driven >=28 and days_driven <=60:

amount_due = 1136 + (38*(days_driven - 28))

else:

print("Class D cannot be rented for less than 7 days")

print('amount due is $', amount_due)

break

elif code[0].lower() == "c":

print("You chose class C")

if days_driven \gt= 1 and days_driven\lt=6:

amount_due = 34 * days_driven

elif days_driven \gt= 7 and days_driven \lt=27:

amount_due = 204 + ((days_driven-7)*31)

elif days_driven \gt=28 and days_driven \lt= 60:

amount_due = 810 + ((days_driven-28)*28)

print('amount due is $', amount_due)  

# for class b

elif code[0].lower() == "b":

print("You chose class B")

if days_driven >1 and days_driven<=6:

amount_due = 27 * days_driven

elif days_driven >= 7 and days_driven <=27:

amount_due = 162 + ((days_driven-7)*25)

elif days_driven >=28 and days_driven <= 60:

amount_due = 662 + ((days_driven-28)*23)

print('amount due is $', amount_due)  

break

elif code[0].lower() == "q":

print("You chose Quit!")

break

else:

print("You must choose between b,c,d, and q")

continue

To learn more about computer programs refer to:

https://brainly.com/question/21612382

#SPJ9

1 Design a flowchart to compute the following selection(1) Area of a circle (2) Simple interest(3) Quadratic

FILL IN THE BLANK. a ___ has custom service contract that pre-defines the data model of input and output messages

Answers

Web services have a custom service contract that defines the data model of input and output messages.

In computing, data is information that has been translated into a form that is efficient for movement or processing. Data, in the context of today's computers and transmission media, is information converted into binary digital form. Data can be used as a singular or plural subject. Raw data is a term used to describe data in its most basic digital format.

The concept of data in the context of computing derives from the work of Claude Shannon, an American mathematician known as the father of information theory. He pioneered binary digital concepts based on the application of two-value Boolean logic to electronic circuits. CPUs, semiconductor memories and disc drives all rely on binary digit formats.

Learn more about data here:

https://brainly.com/question/29775297

#SPJ4

Whitney absolutely loves animals, so she is considering a career as a National Park ranger. She clearly has the passion. Provide an example of another factor from above that she should consider and why it might be important before she makes a final decision.

Answers

One important factor that Whitney should consider before making a final decision on a career as a National Park ranger is the physical demands and challenges of the job.

What is the career about?

Working as a National Park ranger often involves spending extended periods of time in remote and rugged wilderness areas, where rangers may need to hike long distances, navigate challenging terrains, and endure harsh weather conditions. Rangers may also be required to perform physically demanding tasks such as search and rescue operations, firefighting, or wildlife management.

It's crucial for Whitney to assess her physical fitness level, endurance, and ability to handle strenuous activities before committing to a career as a National Park ranger. She should also consider any potential health conditions or limitations that may impact her ability to perform the physical requirements of the job.

Read more about career  here:

https://brainly.com/question/6947486

#SPJ1

In Java, a char variable is capable of storing any Unicode character. Write a statement that assigns the Greek letter ^ to a char variable named greekLetter

Answers

Answer:

public class Main

{

public static void main(String[] args) {

    char greekLetter = '^';

    System.out.println(greekLetter);

}

}

Explanation:

Create a char variable called greekLetter and set it to the ^

Print the greekLetter to the screen

Which of the following is the first step considered while creating a chart?
a. Determine the chart layout.
b. Determine the title for the chart.
c. Determine the goal for the chart.
d. Decide the chart type.

Answers

Determine the chart layout

Write a program that teaches arithmetic to a young child. The program tests addition and subtraction. In level 1 it tests only addition of numbers less than 10 whose sum is less than 10. In level 2 it tests addition of arbitrary one-digit numbers. In level 3 it tests subtraction of one-digit numbers with a nonnegative difference. Generate random problems and get the player input. The player gets up to two tries per problem. Advance from one level to the next when the player has achieved a score of five points.

Answers

Answer:

import random

class Arithmetics(object):

   trial = 2

   score = 0

   is_end = "Y"

   

   def start(self):

       while self. is_end == "Y":

           self. level1()

           self. level2()

           self. level3()

           self. is_end = input("Do you want to play again? Y/N: "). upper()

       quit()

   def level1(self):

       print("--------------------Level 1--------------------\n\n Addition:")

       for _ in iter(list, 0):

           num1 = random.randint(1,5)

           num2 = random.randint(1,5)

           if self. score == 5:

               print("Congrat! advance to next level\n")

               self. init_()

               break

           print(f"{num1} + {num2}")

           result = int(input("Your answer: "))

           if result == num1 + num2:

               self. increase_score()

           elif self. trial == 0:

               print("Sorry dear, you failed to pass the text.")

               self. end_game()

           else:

               self. trial_reduce()

   def level2(self):

       print("--------------------Level 2--------------------\n\n Addition again:")

       for _ in iter(list, 0):

           num1 = random. randint(1,9)

           num2 = random. randint(1,9)

           if self. score == 5:

               print("Congrat! advance to next level\n")

               self. init_()

               break

           print(f"{num1} + {num2}")

           result = int(input("Your answer: "))

           if result == num1 + num2:

               self. increase_score()

           elif self. trial == 0:

               print("Sorry dear, you failed to pass the text.")

               self. end_game()

           else:

               self. trial_reduce()

   def level3(self):

           print("--------------------Level 3--------------------\n\n Subtraction:")

           for _ in iter(list, 0):

               denum = random. randint(6,9)

               num = random. randint(1,5)

               if self. score == 5:

                   self. init_()

                   self. end_game()

                   break

               print(f"{denum} - {num}")

               result = int(input("Your answer: "))

               if result == denum - num:

                   self. increase_score()

               elif self. trial == 0:

                   print("Sorry dear, you failed to pass the text.")

                   self. end_game()

               else:

                   self. trial_reduce()

   #classmethod

   def trial_reduce(cls):

       cls. trial -= 1

   #classmethod

   def increase_score(cls):

       cls. score += 1

   #classmethod

   def init_(cls):

       cls. trial = 2

       cls. score = 0

   def end_game(self):

       print("Congrats kiddo! You are a math wiz.")

game = Arithmetics()

game. start()

Explanation:

The python class defines the arithmetics class with three-level mathematics for children defined as methods for the class. There are three class methods namely; 'trial_reduce', 'increase_score', and 'init_' with each of them decreasing the trial attribute, increasing the score attribute by one, and initializing the class attributes to its initial state.

The 'end_game' prints a message at the end of the program. Each level is in a loop and counts five times if the answers are correct.

if the Titanic sank today , in what format would people receive or read the news? Indicate your favorable from of media format you can think that is existing during this time and discuss why you chose this media format.​

Answers

Answer:

It would hit MSM the soonest such as CNN, Fox , and all other news sources. The second that tge news got out, these news sources would dig in and find all information available and do a report on it

what would be the result of running these two lines of code? symptoms = ["cough" "fever", "sore throat", "aches"] print (symtoms[3])

Answers

"aches"

an array starts at 0 so spot the 3 is spot 4

[1,2,3,4]

arr[3] = 4 in this case

Select the correct answer.
Which decimal number is equivalent to this binary number?
001100112
A.
15
OB.
51
OC.
204
D.
240

Answers

The answer is B , 51.

Surrendering to digital distractions will likely result in better grades true or false

Answers

Answer:

False

Explanation:

Being distracted isn't gonna result in better grades

If you had to make a choice between studies and games during a holiday, you would use the _______ control structure. If you had to fill in your name and address on ten assignment books, you would use the ______ control structure.



The answers for the blanks are Selection and looping. Saw that this hasn't been answered before and so just wanted to share.

Answers

The missing words are "if-else" and "looping".

What is the completed sentence?

If you had to make a choice between studies and games during a holiday, you would use the if-else control structure. If you had to fill in your name and address on ten assignment books, you would use the looping control structure.

A loop is a set of instructions in computer programming that is repeatedly repeated until a given condition is met. Typically, a process is performed, such as retrieving and modifying data, and then a condition is verified, such as whether a counter has reached a predetermined number.

Learn more about looping:
https://brainly.com/question/30706582
#SPJ1

Other Questions
49What is a main idea of the article "Excerpt from Baby Mammoth Mummy: Frozen inTime!"? Use two details from the article to support your response 1. How did the voting population grow? A weight hangs motionless from a spring, with a spring constant of 75 N/m. The spring stretched from its original length by 0.333 meters. How much weight hangs from the spring?Group of answer choices15 N45 N35 N25 N the ________ is the site of initial rupturing associated with an earthquake. Draw a model to show how the metamorphic rock gneiss forms and then changes into a sedimentary rock. Your model should include how and where the rocks form and the source of energy for each change. Be sure to label each part of your model and describe what it shows anyone here play genshin? :D What were the 5 main points of the Compromise of 1850? cuanto es 0,006720 dividido entre 0,007500 at a certain carnival booth, people pay $1 to enter a game in which they roll a die and get paid $1 if they roll an even number and $2 if they roll a 5, and otherwise get paid nothing. on average, about how much does the carnival owner profit from each person who enters? Policy Perspectives If the price level increases by 0.2 percent for every $100 billion increase in the money supply, by how much might prices rise if the Fed increases total reserves by $80 billion and the reserve requirement is 0.05? Instructions: Round your response to two decimal places. 1+1=? HHHHHHELP!!!!!!! A hot horseshoe transfers heat to the tongsRadiationConductionConvection Last year Sanderson, Inc. had sales of $3.1 million. The firm's cost of goods sold came to $2.1 million, its operating expenses excluding depreciation of $99,000 were $401,000, and the firm paid $154,000 in interest on its bank loans. Also, the corporation received$48,000 in dividend income (from a company in which it owned less than 20 percent of its shares) but paid $25,000in the form of dividends to its own common stockholders. Use the corporate tax rates shown belowTaxable IncomeMarginal Tax Rate$0$50,000 15%$50,001$75,000 25%$75,001$100,000 34%$100,001$335,000 39%$335,001$10,000,000 34%$10,000,001$15,000,000 35%$15,000,001$18,333,333 38%Over $18,333,333 35%to calculate the corporation's tax liability. What are the firm's average and marginal tax rates?The firm's tax liability for the year is $___(Round to the nearest dollar.)The firm's average tax rate is ___%. (Round to two decimal places.)The firm's marginal tax rate is ___%. (Round to the nearest integer.) what is equivalent to k/2 _____ involves the identification, analysis, forecasting, and planning of changes required in the human resource area to ensure that a company meets changing business conditions. The five ways we can learn about characters without the author telling us are:1.2.3.4.5. Which one of the following fractions is the greatest?A. 1/2B. 2/3C. 3/4D. 5/12 Your friend forgot to read the chapter in your science book for homework.You tell your friend the main points of the text. Which active reading strategy are you using? A. SummarizingB. Asking questionsC. Using visual cuesD. Making predictions All of the following are areas of family functioning except physiological, psychological, economical Look at the rocky debris that the glacier is picking up and transporting (the little black dots in the simulation). Where is the debris being deposited? A) Snowline B) Terminus OC. Crevasses OD. Cirque