139k views
9 votes
Choose the type of error described.

______ occurs when the result is wrong because of the programmer's mistake, such as multiplying two numbers when they should have been added
______ occurs when you use the wrong punctuation, such as print 'hello' without parentheses
______ occurs when the program starts running, but encounters an error such as trying to divide by zero

A. runtime
B. logical
C. syntax

User Waanders
by
5.2k points

2 Answers

6 votes

Answer:

1.logical occurs when result is wrong

2.syntax occurs when the wrong punctuation is use

3.runtime occurs when program starts running

Step-by-step explanation:

User Meatherly
by
5.8k points
3 votes

Answer:

first scenario: B

second scenario: C

third scenario: A

hope this helps! :-)

User Francy
by
5.6k points