write a program to QBASIC to display the first 10 numbers of fibonacci series​

Answers

Answer 1

Answer:

FIB = 0

FNEXT = 1

FOR I=1 TO 10

 PRINT FIB

 TEMP = FNEXT

 FNEXT = FIB + FNEXT

 FIB = TEMP

NEXT I

Explanation:

The Fibonacci Sequence is: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89…

We're printing only the first 10 numbers.


Related Questions

explain the digitization process​

Answers

Answer:

Digitization is the process of converting information into a digital (i.e. computer-readable) format. The result is the representation of an object, image, sound, document or signal (usually an analog signal) by generating a series of numbers that describe a discrete set of points or samples

Explanation:

Situation No. 1. Joey is about
to start working on his
experiment about plant cell
using a compound
microscope. He noticed that
one of the objective lens is
missing and the course
adjustment knob is not
working. The eyepiece lens is
also broken. *​

Answers

Answer:

Explanation:

From the above explanation;

The main purpose of the objective lenses is to bring together the light from the specimen and then makes it appear larger by projecting it in the body tube.

Also, the coarse adjustment knob which can be found at the arm of the microscope is usually being used to transport the specimen into focus.

The eyepiece is an opening where the viewer perceives or observe the specimen. It comprises of 10X or 15X power lens.

So; since one of the objective lenses is missing, the coarse adjustment knob not working and the eyepiece lens is also broken. It is advisable to switch to the low power of about 10X and use a fine adjustment knob for the image focus.

Use the function random.randint to write a program that rolls a 6-sided die 100 times, and prints out all of the rolls.

Print each roll on its own line.

Answers

import random

for x in range(100):

   print(random.randint(1,6))

I wrote my code in python 3.8. I hope this helps.

Of the following choices, which one is a type of firewall actively maintaining awareness of the status conversations between internal and external hosts? Explain.
A) Stateful Firewall.
B) Non-Passive Firewall.
C) Active State Firewall.
D) Stateless Firewall.
E) None of the above

Answers

Answer:

A) Stateful Firewall.

Explanation:

A stateful firewall actively inspects the conditions and integrity of active connections. It is always in an active and standby mode to holistically evaluate the conditions of active network conditions.

Network traffics that pass their evaluation can have access to the protected network whereas traffics that do not pass their evaluation are blocked. A disadvantage of this firewall is that it can slow the activity of the local network because of all the monitoring it has to perform.

Answer:

The correct answer is A)

Explanation:

A firewall in the computer science parlance refers to a program that is designed specifically to monitor the inflow and outflow of connectivity traffic. By a predetermined set of rules, it is able to block unwanted connections, suspicious and or malicious connections thus preventing the computer from external attack.

As indicated in the question, there are various types of firewalls.

A Stateful Firewall is one that checks the complete state of network connections. This includes all communication between all incoming connections and internal protocol. So all incoming traffic is first screened and if they demonstrate any semblance of a malicious program or traffic, they are terminated at source.

Cheers

Other Questions
Decide if you should use t or usted when speaking to the following person.your little sister 1. A school has 400 students. They all come to school by bus, and each bus carries the same number of students. How many students might there be on each bus if each hold only 50 children? Which expression is equivalent to 6(7-2) PLEASE HELP ME El ImperfectoVerd PracticeA. Rewrite these sentences in the imperfect. Change the italicized verb to the imperfect.1. Nuestra familia quiere ir a la fiesta.2. Hay un rbol de Navidad en la sala.3. El rbol de Navidad es muy grande.4. Los nios cantan y bailan en la fiesta navidea.5. Los nios tienen muchos regalos debajo del rbol.6. Quiero ir al mercado para comprar regalos.7. Los fuegos artificiales iluminan el cielo para el Ao Nuevo.8. Los amigos se divierten en la fiesta.9. Los bizcochos son muy dulces.10. Ustedes necesitan estudiar mucho para el examen.B. Write the appropriate form of the verb in parenthesis.11. Ustedes siempre(estudiar) mucho.12. Yo(vivir) en Texas.13. Mi padre(trabajar) mucho.14. Mi hermana y yo(hablar) por telfono a menudo.15. Mis amigos me(dar) un regalo cada ao.16. Nuestros padres nos(comprar) muchos regalos cada ao.17. Yo(ir) al centro comercial cada dia.18. Mi hermano19.(ser) muy baja.(haber) muchos estudiantes en la clase de espaol.(saber) mucho.20. Ellos The table shows the rates for sending textmessages.Are the rates proportional?Explain.Messages Cost50$675$9100$12 Which expression has the greatest value? 25 16 18 22 PLSSSS HELPPP ME ASAAPPP PLSS ANSWER BOTH QUESTIONS!!!!!!!!!!I WILL GIVE BRAINLIEST!!!! Mr. Silverstone invested some money in 3 different investment products. The investment was as follows:a. The interest rate of the annuity was 4%.b. The interest rate of the annuity was 6%.c. The interest rate of the bond was 5%.d. The interest earned from all three investments together was $950.Which linear equation shows interest earned from each investment if the total was $950?a.) a + b + c = 950b.) 0.04a + 0.06b + 0.05c = 9.50c.) 0.04a + 0.06b + 0.05c = 950d.) 4a + 6b + 5c = 950 IM BEGGING YOU. The government will give each state the same amount of social security numbers. There are 5 x 10 to the 9th power available numbers to give in total. How many will be allocated to each state? PLEASE HELP MEEEE 28 POINTS!!!! A. Find an equation in point-slope form for the line having the slope m = 6 and containing the points (7,2)B. Find an equation in point-slope form for the line having the slope m=-4 and containing the point (1,9). Is boiling point and melting point are physical properties? (Answer quicklyyyyy) The length of the United States flag is 1 9/10 times the width of the flag. A particular U.S. flag is 5 feet long. Write and solve an equation to find the width of the flag. Which statement is FALSE? A. Phototropism and geotropism are adaptations of plants that allow for survival. B. Tropism is the growth response of plants to their environment due to external stimuli. C. A plant's response to moonlight is phototropism while it's response to gravity is geotropism. D. A tropism that causes a plant to grow towards the stimulus is positive. What do you think should be the ROLE of the free press (consider all types) in a democratic country? In what ways might today's media in the USA seem to fulfill such a role or purpose, and in what ways might we argue the media to be failing to fulfill its role. What should we expect from it? What should we demand? How does the media inform us, and how does it shape our attitudes and beliefs? Consider the media coverage of the 2016 candidates during the primaries. Consider TRUMP's attacks on the media (general or specific). Any threats or dangers for our democracy? Use evidence, sources. geometry help please explain no graph What are some tenets of Jewish monotheistic When you add clear, vivid details to your writing, you are:A. using an analogy.O B. elaboratingC. comparingO D. using a definition. Yes or yes? Please help me I am to not smart edhfvidsnf 1.What is force & how is it measured? Biodiversity is _____.1 waste that makes the air, water, or soil less clean2 a richness of different kinds of living things3 technology for building structures that alter the landscape5 investing in tree farms to fight deforestation