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
Burka [1]
2 years ago
10

In a _____, there is no skipping or repeating instructions. A. iteration B. sequence C. selection D. conditional

Computers and Technology
1 answer:
Xelga [282]2 years ago
3 0

Answer:

B: Sequence.

Explanation:

You might be interested in
As the demand for goods and services decreases, job growth.
DanielleElmas [232]
B. Decreases because if nobody needs certain goods and services, people who sell that will go out of business
4 0
4 years ago
Read 2 more answers
Two VALS segments stand apart. One segment represents the group with the highest resources and innovation and the other segment
irina1246 [14]

Answer:

Innovators and Survivors

Explanation:

The innovators are always interested in new information, are open to new ideas and trying out new things, future oriented and excellent problem solving skills. They represent the group with the highest resources according to the VALS segments.

Survivors are the group with the lowest resources. They are risk adverse, and exhibit low motivation towards new ideas or experiences.

3 0
4 years ago
Define a toString prototype method that returns the cat's name, gender, and age separated by semicolons.
nexus9112 [7]

Answer:

Following are the program to this question:

import java.util.*;//import package for user input

public class Main//defining main class

{

public static String Cat (String name, String gender, int age)//defining string method Cat that accept parameter value

{

return name + ';' + gender + ';' + age;//return parameter value

}

public static void main(String[] args) //defining main method

{

   String name,gender;//defining String variable

   int age;//defining integer variable

   System.out.println("Enter name, gender and age: ");//print message

   Scanner obx=new Scanner(System.in);//creating Scanner class object for user input

   name=obx.next();//input name value

   gender=obx.next();//input gender value

   age=obx.nextInt();// input age value

   System.out.println(Cat(name,gender,age));//print return method value

}

}

Output:

Enter name, gender and age:  

dani

Female

12

dani;Female;12

Explanation:

In the above-given code, a string method Cat is declared, that accepts three variable "name, gender, and age", inside the method return keyword is used that returns the parameter values.

In the main method, the above parameter variable is declared, which is used to input value from the user-end, and used the print method to print its return value.

6 0
2 years ago
Write assignment statements that perform the following operations with the variables a, b, and c. i. Adds 2 to ‘a’ and assigns t
solniwko [45]
<h2>Answer: </h2>

(i) b = a + 2;

(ii) a = b * 4;

(iii) b = a / 3.14;

(iv) a = b - 8;

<h2>Explanation: </h2><h3>Assumptions and comments; </h3>

=> The code has been written in Java.

=> The variable a, b and c have been declared.

=> The variable c has only been declared but not used since it is not part of the assignment procedures.

<h3>Explanation: </h3>

The following is the assignment statement that;

<em>(i) Adds 2 to ‘a’ and assigns the result to ‘b’</em>

To add a number to another number or variable, the arithmetic operator (+) is used using the following syntax;

[number] [+] [other number]

In our case, the number is variable a and the other number is 2. Therefore, to add these numbers together we write;

a + 2;

Also, assignment in programming languages is done using the (=) operator. For example to assign a number k to a variable m, we write;

m = k

In our case, the result (a + 2) from above is assigned to variable b as follows;

=> b = a + 2

<em>(ii) Multiplies ‘b’ times 4 and assigns the result to ‘a’.</em>

To multiply a number by another number or variable, the arithmetic operator (*) is used using the following syntax;

[number] [*] [other number]

In our case, the number is variable b and the other number is 4. Therefore, to multiply these numbers we write;

b * 4;

Also,

In our case, the result (b * 4) from above is assigned to variable a as follows;

=> a = b * 4

<em>(iii) Divides ‘a’ by 3.14 and assigns the result to ‘b’.</em>

To divide a number by another number or variable, the arithmetic operator (/) is used using the following syntax;

[number] [/] [other number]

In our case, the number is variable a and the other number is 3.14. Therefore, to divide these numbers we write;

a / 3.14;

Also,

In our case, the result (a / 3.14) from above is assigned to variable b as follows;

=> b = a / 3.14

<em>(iv) Subtracts 8 from ‘b’ and assigns the result to ‘a’.</em>

To subtract a number from another number or variable, the arithmetic operator (-) is used using the following syntax;

[other number] [-] [number]

In our case, the number is 8 and the other variable is b. Therefore, to subtract these numbers we write;

b - 8;

Also,

In our case, the result (b - 8) from above is assigned to variable a as follows;

=> a = b - 8;

3 0
4 years ago
Concept that means identifying or giving credit to the owner or creative artist of a copyrighted
anastassius [24]
The answer is Attribution.
8 0
3 years ago
Other questions:
  • 20 Points!! Please hurry!!
    9·1 answer
  • High productivity will typically get you positive attention and feedback when you are on a job.
    7·1 answer
  • What are paragraphs separated by
    9·1 answer
  • Which is a good guideline to follow when choosing a background for your slides?. . A. Use a different background for each slide.
    8·1 answer
  • here are pros and cons for doing temp work. Please select the best answer from the choices provided T F
    9·2 answers
  • When Tim Berners-Lee developed the first specifications, protocols, and tools for the World Wide Web in 1993, his employers at C
    12·1 answer
  • Examples of email use that could be considered unethical include _____.
    14·2 answers
  • BADM-Provide a reflection of at least 500 words (or 2 pages double spaced) of how the knowledge, skills, or theories of this cou
    7·1 answer
  • A shop will give discount of 10% if the cost of purchased quantity is more than 1000. Ask user for quantity suppose, one unit wi
    15·1 answer
  • Which of the following are some popular debugging techniques?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!