menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
A __________ variable is used to keep track of the number of loops that have been executed. its not sum or counter I have tried it. pls help.
asked
Nov 25, 2024
169k
views
1
vote
A __________ variable is used to keep track of the number of loops that have been executed.
its not sum or counter I have tried it.
pls help.
Computers and Technology
high-school
Farzad
asked
by
Farzad
7.1k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
Answer:
consistent
Step-by-step explanation:
Lucas Santos
answered
Dec 1, 2024
by
Lucas Santos
8.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jul 27, 2024
54.4k
views
What is the difference in execution between the two following sections of code? 'Example 1 intCounter = 0 Do While intCounter < 10 lstOutput.Items.Add(intCounter * intCounter) intCounter = intCounter + 1 Loop 'Example 2 For intCounter = 0 to 9 lstOutput.Items.Add(intCounter * intCounter) Next intCounter a. The loop in the first example will execute one more time than the second example. b. The first example is an infinite loop. c. Both loops are executed in an identical manner. d. The loop in the first example will never be executed.
Alexey Inkin
asked
Jul 27, 2024
by
Alexey Inkin
8.2k
points
Computers and Technology
high-school
1
answer
2
votes
54.4k
views
asked
Sep 20, 2024
177k
views
Consider the following algorithm segment. Assume that n is a positive integer. max := a[5] for i:= 6 ton if max < a[i] then max := a[i] next i (a) What is the actual number of elementary operations (additions, subtractions, multiplications, divisions, and comparisons) that are performed when the algorithm segment is executed? For simplicity, count only comparisons that occur within if-then statements, and ignore those implied by for-next loops. To find the answer, it may be helpful to review Example 11.3.3 and the solutions to Exercise 11.3.11a and Exercise 11.3.14a. Express your answer in terms of n. The number of operations is 2n – 16 (b) Apply the theorem on polynomial orders to the expression in part (a) to find that an order for the algorithm segment is n'
Evsheino
asked
Sep 20, 2024
by
Evsheino
8.1k
points
Computers and Technology
high-school
1
answer
1
vote
177k
views
asked
Jun 6, 2024
221k
views
For the given code snippets, predict the cache hit rate. The cache is 256KB, direct mapped, and has 64-byte cache lines. There are two implementations for the for loops (v1 and v2) which are executed separately
Dougp
asked
Jun 6, 2024
by
Dougp
7.8k
points
Engineering
high-school
1
answer
2
votes
221k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org