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
Fynjy0 [20]
3 years ago
10

What are some programs that you have used that have condition-controlled loops and count-controlled loops?

Computers and Technology
1 answer:
gladu [14]3 years ago
8 0

Some programs that we have used that have condition-controlled loops and count-controlled loops due to the following reasons.

Explanation:

Condition-controlled loops

A program could be made more intelligent by programming it to avoid hazards. For example, if the robot vehicle is 3 cm from the edge of the table and you tell it to move forwards 5 cm, it will drive off the edge of the table. To stop this from happening, you might write a condition-controlled loop like this:

move forward

repeat until (touching table edge)  

Condition-controlled loops can be used to add a high degree of intelligence to a computer system.

Count Controlled Loops

A count controlled loop is a repetition  structure that iterates a specific number of  times

You can write a count controlled loop using a

while() loop.

For example:

counter = 0

while counter < 5:

print (“This will print 5

times”)

counter += 1

You might be interested in
He following is a string of ASCII characters whose bit patterns have been converted into hexadecimal for compactness: 4A EF 68 6
almond37 [142]

Answer:

a) Please see below as the answer is self explanatory.

b) odd parity.

Explanation:

As the hexadecimal system, has as its base the decimal 16, which is the 4th power of 2 (base of the binary system), each hexadecimal digit can be expressed of a linear combination of 4 binary digits, as follows:

Hex = b₃*2³ + b₂*2² + b₁*2¹ + b₀*2⁰, where bₙ = 0 or 1.

So, we can convert the hexadecimal bit pattern to binary, as follows:

4A = 01001010

Now, if the leftmost bit is a parity bit, the ASCII code is represented by the 7 rightmost bits:

⇒ ASCII = 1001010 = 74

Repeating the same process for the remaining pairs of hex digits, we have:

EF = 11101111 ⇒ ASCII = 1101111  = 111

68 = 01101000 ⇒ ASCII = 1101000 = 104

20 = 00100000 ⇒ ASCII = 0100000 = 32

C4 = 11000100 ⇒ ASCII = 1000100 = 68

EF = 11101111 ⇒ ASCII = 1101111  = 111

E5 = 11100101 ⇒ ASCII = 1100101 = 101

b) Due to any pair of digits has an odd number of 1s, the parity used is odd parity.

7 0
3 years ago
What message did vera mukhina convey in her work entitled the worker and the collective farmworker?
Dominik [7]

Answer:

She glorified the communal labor of the Soviet people

3 0
1 year ago
Which of the following will you do in step X in the following series of clicks to change the bounds of
ser-zykov [4K]

In order to change the bounds of  a chart axis after performing the aforementioned series of clicks, at step X: C. Type the number that you want in the text box.

A step chart can be defined as a line chart that uses both the vertical and horizontal lines to connect two (2) data points. Thus, it enables an end user to see the exact point on the X-axis when there is a change in the Y-axis.

In Microsoft Excel, the series of clicks that are used to change the bounds of  a chart axis are:

  • Click on chart.
  • Select chart tools and then format tab.
  • Select the current selection and then format selection.
  • Click on format axis and then axis options.
  • Click on vertical axis crosses.
  • At category number, you should type the number that you want in the text box.

In conclusion, typing the number that you want in the text box is the action that should be performed at step X.

Read more on step chart here: brainly.com/question/9737411

3 0
3 years ago
What data type can be used to hold any single character, including numbers and non-printing characters?
SVEN [57.7K]

Answer:

char

Explanation:

The character data type written as char holds any single character, numbers and non-printing characters. In java and most programming languages, the value of the character must be placed within single quotes. for example

char c = 'd'

char c = '9'

char c = '\t'

Are all valid declarations of a variable c as char and assigned d, then 9 and then used with a non-printing character (tab ) with the escape sequence.

8 0
3 years ago
Read 2 more answers
What is output? c = 1 sum = 0 while (c &lt; 10): c = c + 3 sum = sum + c print (sum)
Valentin [98]

Answer:

21

Explanation:

The values of c that make it into the loop are 1, 4, 7.

The values that are added to sum are 3 higher, i.e., 4,7 and 10.

The sum of those is 21.

p.s. why did you not run the program yourself?

3 0
3 years ago
Other questions:
  • This question involves the creation of user names for an online system. A user name is created based on a user’s first and last
    13·1 answer
  • Dose the internet bring people together?
    15·1 answer
  • What is the primary way to access applications in window 10
    7·1 answer
  • True / False You should always consider your business requirements before deciding which designs are best for your environment.
    13·1 answer
  • The design of a blog refers to:
    8·1 answer
  • The compound known as butylated hydroxytoluene, abbreviated as BHT, contains carbon, hydrogen, and oxygen. A 1.501 g sample of B
    11·1 answer
  • Give one reason why more people prefer to settle in areas of flat land than on steep slopes​
    8·2 answers
  • One vulnerability that makes computers susceptible to walmare is:
    13·2 answers
  • Given the IPv4 address in CIDR notation 215.200.110.50/25, identify the subnet IDs.
    15·1 answer
  • An algorithm is a step by step process that describes how to solve a problem and/or complete a task, which will always give the
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!