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
Yuki888 [10]
3 years ago
14

CLS N = 1 FOR J = 1 TO 5 PRINT N N = 10*N+1 NEXT J END

Computers and Technology
1 answer:
Lemur [1.5K]3 years ago
4 0

Answer:

1

11

111

1111

11111

Explanation:

Given

The above QBasic code

Required

The output

The iteration on the third line is repeated 5 times; i.e. for values of j from 1 to 5.

In each iteration, the value of N is printed and the next value is calculated.

Initially, the value of N is 1 ---- on line 2

So, 1 is printed first. The next value of N is as follows:

N = 10 * N + 1 --- we keep replacing N (on the right-hand side) with current N value.

So, we have:

N = 10 * 1 + 1 =11

N = 10 * 11 + 1 = 111

N =10 *111+1 = 1111

N =10 *1111+1 = 11111

You might be interested in
What is the default left margin in word 2003 document ?
forsale [732]

Answer:

1.25 inches

Explanation:

It is 1.25 inches or 3.17 cm which is the left and right margin in the " Word 2003 document". And 1 inch or the 2.54 cm is being set as both sides left and right standard margin and 1.25 inches are also set for the top and bottom margin in the "Word 2003 document". And hence, by default, the left margin in Word 2003 document happens to be 1.25 inches.

8 0
3 years ago
Upload your completed project including the following:
SOVA2 [1]

Answer:Many animals and plants have become extinct or endangered due to human error. In fact about 1 million species are in danger of becoming extinct. Orangutans are becoming extinct due to deforestation. Too many trees are being cut down leaving them without a way to survive. Carnivorous plants are also at risk due to damaged environment.

Explanation: YWW FRIEND!!

7 0
3 years ago
Andrew is using a word processing application to type out his résumé. Which of the following change happens "on the fly" as he t
TiliK225 [7]

On the fly refers to<u> something that is being changed while a process is still ongoing. </u>

In a word processing application, what is more likely to happen is (B) it highlights grammatically incorrect sentences. This would occur since Microsoft Word default settings would be to do this. The other options would not occur automatically; the user needs to intentionally pick to do them.

3 0
4 years ago
What’s the difference packet switching and message switching??
Sphinxa [80]
Im not sure but the person above is right x :)))


Explanation dudjdb
6 0
3 years ago
Name all of the gates used in programming.
Sindrei [870]

Answer:

BUFFER GATE, NOT GATE, OR GATE, AND GATE, NOR GATE, NAND GATE, XOR GATE and , XNOR

7 0
3 years ago
Other questions:
  • Which statement is true
    12·1 answer
  • If you want to create header, clicker the add a header button on the ___ tab
    12·1 answer
  • Identify the false statement.
    8·1 answer
  • What can be said about the equipment used by photographers during the Civil War?
    13·2 answers
  • Write a fragment of code that reads in integers from standard input, until end-of-file and sends their (floating point) average
    14·1 answer
  • User can use ______ commands to search for and correct words in a document
    13·1 answer
  • A good administrative position to acquire as a stepping stone to further positions is
    6·1 answer
  • Which of the following statements about cover letters is false?
    14·2 answers
  • What was used to enhance silent films of the early 1900s
    15·1 answer
  • define the physical components of hardware for a computer system,including identifying internal hardware devices(e.g. processor,
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!