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
diamong [38]
2 years ago
10

1. A _______ causes the computer program to behave in an incorrect or unexpected way.

Computers and Technology
2 answers:
MariettaO [177]2 years ago
8 0

Answer:

A <u>bug</u> causes the computer program to behave in an incorrect or unexpected way.

Explanation:

Let’s look into the following choices and their (brief) meaning. Please let me know in the comment if you have any questions regarding my answer. (E.g clarification)

<h3>What is “Loop”?</h3>

We all know what loop’s meaning is. In both English and Computer, it means the same thing - <u>to do the things over and over again</u>. Loop in programming languages depend on the languages themselves - there exist the for loop, for in loop, while loop, etc.

<h3>What is “Bug”?</h3>

Bug can have many various meanings, depending on the context. It can mean an insect but since we are on computer topic right now - obviously, we are talking about a bug that happens to a device or software, <u>something that’s not supposed to happen</u> - that’s what a bug is. An example is you are playing a game and somehow, you find a bug that make your car fly although it’s not implemented in the code itself.

<h3>What is “Variable”?</h3>

When we are on computer science, of course, maths will always be in the way. Variables work almost the same as how they work in mathematics. When you let x = 4, you declare that x = 4. Variables simply mean to <u>declare one term/variable/character to another types</u>. Some examples are:

  • data = [1,2,3,4,5]
  • x = 4, y = 5, z = x+y
<h3>What is “Syntax”?</h3>

When you are writing a code, sometimes you will end up misplace or forget the <em>syntax</em>. See the following simple code in python below:

  • print(“Hello, World)

Can you tell me what is missing? Exactly, the another “ is missing! So the code will not be run and output as an error for not using the correct syntax. Now, you know why your code isn’t running so you add another “ and now you have print(“Hello, World”). Hooray, your code works now.

Ede4ka [16]2 years ago
3 0

Answer:

Bug

Explanation:

A <u>bug </u>causes the computer program to behave in an incorrect or unexpected way.

You might be interested in
Which page format would you likely use for a photograph of a standing tree? AND why would you use that format?
VladimirAG [237]
Portrait since it is more tall then wide
4 0
3 years ago
A CPU has just been powered on and it immediately executes a machine code instruction. What is the most likely type of instructi
adell [148]

The most likely type of instruction that was executed by the CPU is: a jump instruction.

<h3>What is a CPU?</h3>

A central processing unit (CPU) can be defined as the main components of a computer because it acts as the brain of a computer and does all the processing and logical control.

This ultimately implies that, a central processing unit (CPU) is typically used by a computer to execute an instruction or set of instructions when powered on.

<h3>What is a jump instruction?</h3>

In Computer technology, a jump instruction specifies an offset to a new place in the program sequence when processing an instruction or set of instructions in a computer.

Read more on CPU here: brainly.com/question/5430107

3 0
2 years ago
Write code that declares a variable named minutes, which holds minutes worked on a job,
Mamont248 [21]

The code that carried out the functions indicated above is stated below. It is not be noted that the code is written in C#

<h3>What is C#</h3>

C# is a type-safe, object-oriented programming language. It is pronounced "see sharp"

<h3>What is the code for the above task?</h3>

Using System;            

public class HoursAndMinutes

{

   public static void Main()

   {

      // declaring minutes variable and assigning 197 as given in question

       int minutes = 197;

     // outputing the total minutes , hours

       Console.WriteLine("{0} minutes is {1} hours and {2} minutes.", minutes, minutes/60, minutes%60);

   }

}

// OUT

Learn more about C#:
brainly.com/question/20211782
#SPJ1

8 0
2 years ago
An ftp ____ is a computer that allows users to upload and/or download files using ftp.
Brums [2.3K]
<span>An ftp server is a computer that allows users to upload and/or download files using ftp.</span>
7 0
3 years ago
The following program is supposed to display a message indicating if the integer entered by the user is even or odd. What is wro
Lapatulllka [165]

Answer:

A. The function definition must appear before the function is called

Explanation:

Given

The above lines of code

Required

Determine the error in the program

In python, functions has be defined before they are called but in this case (of the given program), the function is called before it was defined and this will definitely result in an error;

<em>Hence, option A answers the question</em>

The correct sequence of the program is as follows:

<em>def evenOdd(n): </em>

<em>      if n % 2 == 0: </em>

<em>            return "even" </em>

<em>      return "odd" </em>

<em>num = int(input("Enter an integer: ")) </em>

<em>print("The integer is", evenOdd(num)) </em>

<em />

6 0
3 years ago
Other questions:
  • Savings accounts typically offer more interest than what
    10·1 answer
  • Write a Student class in Java which has a name, id_number, year (e.g. 2) and
    9·1 answer
  • How does emotional awareness help you with non-verbal communication?
    13·2 answers
  • A company that provides finance services wants to shift to a mobile platform. What is the major advantage that the users of the
    10·2 answers
  • The Company should use BLANK cables to provide Fast connectivity without electrical interference
    6·1 answer
  • What symbol indicates that material has been copyrighted?
    8·2 answers
  • Brendan needs to edit all the slides in a presentation by adding a company logo and a header and footer. Which is
    13·2 answers
  • 100 POINTS!!!!!!
    7·2 answers
  • Alice recently purchased a new cell phone. After her vacation, Alice wanted to transfer her holiday photos to her computer to do
    8·1 answer
  • which one of the following would not normally be found in an organization's information security policy?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!