QBasic commands any 10 with examples

Answers

Answer 1

Answer:

I haven't used qbasic in a quarter of a century, so my apologies if any of these are outdated.

I listed 13 here as I don't know what are being qualified as "commands" (I'm sure print is in there, but INT? LEN? these might be interpreted not so much as commands as functions)

PRINT prints text on the screen.

PRINT "How much wood would a woodcuhck chuck?"

INPUT gets text from the user

INPUT woodchuckwood$

INT casts a value as an integer

w = INT(woodchuckwood)

OPEN opens a file for input/output

OPEN "woodchuck.consumption" FOR OUTPUT AS #f

OPEN "woodchuck.consumption" FOR INPUT AS #f

CLS clears the screen

CLS

LOCATE specifies the cursor's location on the screen

LOCATE 10, 10

INKEY$ reads a character from the input buffer

a$ = INKEY$

LEN returns the length of a string

l = LEN(a$)

CHR$ takes an int and returns it's ascii value

$enter = CHR$(13)

ASC() returns the ascii value of a character:

$space = ASC(" ")

DO...LOOP repeats a loop until a condition is met:

x = 0

DO

   x = x + 1

LOOP UNTIL x = 10

SHARED declares global values as being accessible locally

SHARED $username

SHELL executes an os command

SHELL "dir /w"


Related Questions

Using the drop-down menu, complete these sentences to describe algorithms. Algorithms are instructions to solve a problem. Algorithms are when written in a programming language. Algorithms are step-by-step instructions for or to follow to solve a problem. Programmers use algorithms to and .

Answers

Answer:

Algorithms are instructions to solve a problem

Explanation:

Answer:

1. step by step

2. computer programs

3. a person

4. a computer

5. solve logic problems

6. start writing new programs

Explanation:

i just did it and got them all right

Identifying Responses and Replies
Use the drop-down menus to complete the sentences about message response options in Outlook.
v sends your response to everyone who received the initial email.
v creates a new message that includes the initial message to a new recipient.
v sends your response to only the sender of the initial message.

Answers

Answer:

Identifying Responses and Replies by using the drop-down menus to complete the sentences about message response is written below in detail.

Explanation:

A situation like this may be:

Someone receives a bike. They travel it and all, and then all of an unexpected they fall and get injured

If you only understood the first section of how the person received a bike when you draft a response, you would only draft about that piece, but getting harm after receiving the bike is also a huge portion of the "story". You could draft like how you were so pleased when you received your first bike, but you wouldn't remember to address the time you got injured when you were riding down a hill or something.

Answer:

Reply All

Forward

Reply

Explanation:

Which is an email protocol that retrieves email without deleting the email and its attachments from the server?
Simple Mail Transfer Protocol (SMTP)

Internet Message Access Protocol (IMAP)

Post Office Protocol version 3 (POP 3)

Simple Network Management Protocol (SNMP)

Answers

Answer:

Internet Message Access Protocol (IMAP)

Explanation:

The "Internet Message Access Protocol" or IMAP was created by Mark Crispin at the Stanford Knowledge Systems Laboratory. It allows a person to access his email from his local server. In comparison to the Post Office Protocol Version 3 (POP 3), which deletes the emails once they are downloaded, the IMAP allows the contents to be saved on the server. The email will only be deleted if the user intends to do so.

Answer:

It is Pop 3 not IMAP

Explanation:

Correct on edg 2022

a deque is a type of collection,but it is not automatically available when you open IDLE. What is missing that allows you to use the deque class?

Answers

Answer:

Import

Explanation:

The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.

The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.

What is Import instructions?

When you transition to Shopify from another platform or need to make several adjustments to your products or inventory, importing products into your Shopify store using a CSV file might be helpful.

The data from the CSV file is transformed into products when you import products, and you can choose whether to publish your new products to all sales channels or only your web store.

You have the ability to overwrite any existing goods with the same handle when importing a CSV file. For any columns that are absent, the current values will be used.

Therefore, The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.

To learn more about CSV file, refer to the link:

https://brainly.com/question/29242949

#SPJ2

what is the binary for O?​

Answers

Answer:

01001111

Explanation:

Answer:

0000 0000

Explanation:

HELP ASAP!!! Complete the following sentence.
A portfolio helps you organize your abilities and determine your

Answers

Answer:

Strenghts.

Explanation:

A portfolio is a document, which can be both physical and electronic, in which people include their educational and work history, as well as those personal characteristics (character, personality, ability to work in a team, etc.).

Thus, for example, a portfolio may include the person's school and university performance, plus the courses and other training they have taken, plus the places where they work, indicating the positions and tasks they perform there.

Portfolios, then, allow employers to consider all aspects of prospective employees and thus decide who is the best candidate to hire.

A portfolio helps you organize your abilities and determine your GOALS

PLS i need help - programming challenge

Write an algorithm that:

· Ask the user to input how many GCSE’s they have.

· They should then be allowed to enter a result for each GCSE grade.

· The computer should work out how many points they have got (9=9, 8=8, 7=7 etc).

· If their score is 40 or over it should output ‘You can go to the sixth form’

· If they their score between 35 and 39 it should output ‘A discussion is needed’

· Otherwise it should say ‘Sorry not enough points.’

Answers

This is written in python 3, so you need to have python and rename the file to GCSE.py

It runs in vanilla python, no addons required.

20 points for ez question lol

Which are characteristics of effective presentations? Check all that apply.

The presentation is well organized.
The presenter speaks clearly.
The presenter reads from notecards.
The presentation is enhanced with visual aids.
The presentation includes some delay to set up audio or video.
The presentation captures the audience’s attention.

Answers

The characteristics of effective presentations are:

The presentation is well organized. The presenter speaks clearly.

What are characteristics of an effective presentation?

Others are:

The presentation is enhanced with visual aids. The presentation captures the audience’s attention.

A good presentation is known to be one that is often concise and also  focused on the topic that is under discussion.

Note that when the above presentation follows the option written above, it is said to be an effective or good presentation.

Learn more about presentations from

https://brainly.com/question/24653274

#SPJ2

Answer:

A,B,D,F

Explanation:

The presentation is well organized.

The presenter speaks clearly.

The presentation is enhanced with visual aids.

The presentation captures the audience’s attention.

Write a method that takes a RegularPolygon as a parameter, sets its number of sides to a random integer between 10 and 20 inclusive, and sets its side length to a random decimal number greater than or equal to 5 and less than 12. Use Math.Random() to generate random numbers.

Answers

Answer:

import java.lang.Object

import java.lang.Math

public class RegularPolygon  extends java.lang.Object{

  public void randomize(RegularPolygon c){

       int min = 10, max1 = 20;

       double  min1 = 5, max1 = 12;

       double range = (max - min) + 1;

       double range1 = (max1 -min1) + 1

       int side = (Math.random() * range) + min;

       double len = (Math.random() * range1) + min1;

       c.setNumSides(side);

       c.setSideLength( len);

 }

 public static void main(String[] args) {

    RegularPolygon r = new RegularPloygon();

    randomize(r);

 }

}

Explanation:

The randomize method accepts a regular polygon class as its only parameter and assigns a random number of sides and the length of these sides with the 'Math.random' function.

In Outlook 2016, the Tell Me function can be accessed by
O pressing F1 on the keyboard.
clicking on the File tab, then the question mark button.
typing a query in the textbox on the ribbon.
typing "help" in the search box in the message pane.

Answers

In Outlook 2016, the Tell Me function can be accessed by

O pressing F1 on the keyboard.

clicking on the File tab, then the question mark button.

typing a query in the textbox on the ribbon.

typing "help" in the search box in the message pane.

Explanation:

I think it should be typing a query in the textbox on the ribbon.

In Outlook 2016, the Tell Me function can be accessed by clicking on the File tab, then the question mark button. The correct option is B.

What is Outlook?

The preferred email client for sending and receiving emails from Microsoft Exchange Server is Microsoft Outlook. Accessibility to contact, email, calendar, and task management tools is also provided by Outlook.

You can send and receive emails, manage your calendar, save the names and phone numbers of your contacts, and keep track of your projects using Outlook.

Even if you utilize Outlook on a daily basis, you might not be aware of all the wonderful things it can do to boost your productivity.

By selecting the File tab, then the question mark button in Outlook 2016, you may open the Tell Me feature.

Thus, the correct option is B.

For more details regarding Microsoft outlook, visit:

https://brainly.com/question/26695071

#SPJ2

JAVVVAAAAAA HELPPPP EDHESIVE ​

Answers

Answer:

Here's some really bad code that works:

public static double average(int a, int b, int c, int d, int e)

{

return (((double)a + b + c + d + e) / 5);

}

Describe the difference between an interest and a skill.

Answers

Answer:

an interest you can be good but you can also not know where to start an interest is a want to start and a skill is when you are good at it but you don't have to be interested

Explanation:

Energy requirements of analog and digital signals.

First to get the correct answer is brainliest!

Answers

Analog signals require more energy.

Analog=Constant flowing modulated

Digital is bursts of on/off binary data.

Answer:

Explanation:

Analog requires more energy but I’m still trying to figure out what digital is please let me know if you found the answer

For which of the following situations would it be best to use a heuristic in order to find a solution that runs in a reasonable amount of time?
A Appending a value to a list of n elements, which requires no list elements be examined.
B Finding the fastest route that visits every location among n locations, which requires n! possible routes be examined.
c Performing a binary search for a score in a sorted list of n scores, which requires that fewer than n scores be examined.
D
Performing a linear search for a name in an unsorted database of n people, which requires that up to n entries be examined.

Answers

Answer:

The answer is "Option B".

Explanation:

In this question, determining the optimal path between several locations, which requires n!. It's also examining possible routes. It could just suggest here, designers need to do those equations as we have several forms. They have several methods to find the best and efficient path. Its basic idea is to use heuristic approaches for complex or uncertain issues so we do not provide proven solutions for linear programs.

The situation that should be best to use a heuristic in order to find a solution that runs in a reasonable amount of time is option B.

The following information should be considered:

For measuring the optimal path that lies between several locations that needs n!.It also examine the possible routes. It consist of various methods for determining the efficient path.

Learn more: brainly.com/question/17429689

.xls is the file extension for this file type

A. Image File

B. Internet File

C. Spreadsheet File

D. Word Processing File

Answers

Answer:

Spreadsheet File

Explanation:

Most word processing files are doc or docx

Most internet files are htm or html

Most Image files are jpg or png

You created a two-dimensional array with the following code.

A = [20, 'tennis', 'blue']
B = [15, 'soccer', 'green']
aList = [A, B]

How do you refer to 'green'?

Answers

Answer:

aList[1][2]

Explanation:

One can refer to the 'green' as per the given array, by aList[1][2].

What is an array?

An array is a type of data structure used in computer science that contains a set of elements (values or variables), each of which is identified by an array index or key.

An array is stored in a way that allows a mathematical formula to determine each element's position given its index tuple.

Use the new keyword, a space, the type, the number of rows in square brackets, and the number of columns in square brackets to build an array, as in new int[numRows][numCols].

A 2D array has as many elements as its number of rows twice its number of columns.

Thus, aList[1][2] is the way to represent a two-dimensional array.

For more details regarding array, visit:

https://brainly.com/question/13107940

#SPJ2

In a PC, which of the following components stores the BIOS

A. CPU
B. RAM
C. ROM
D. Hard drive

Answers

I think it’s rom because rom chip is on the PC mother chip

Menu options are usually selected by _____the mouse.

Answers

Answer:

clicking

Explanation:

right clicking the mouse

When heating a substance a phrase change will start to occur when the kinetic energy of the particles is blink the attractive forces between the particles

Answers

Answer:

great enough to overcome.

Explanation:

Kinetic energy can be defined as an energy possessed by an object or body due to its motion.

Mathematically, kinetic energy is given by the formula;

Where, K.E represents kinetic energy measured in Joules.

M represents mass measured in kilograms.

V represents velocity measured in metres per seconds square.

A conductor can be defined as any material or object that allows the free flow of current or electrons (charge) in one or more directions in an electrical circuit. Some examples of a conductor are metals, copper, aluminum, graphite, etc.

When heating a substance, a phase change will start to occur when the kinetic energy of the particles is great enough to overcome the attractive forces between the particles.

Basically, the phase change includes solid, liquid and gas.

Which was the first computer network in the world

Answers

Answer:

ARPAnet in 1969

Explanation:

hope this helps :)

Which item is used for formatting in responsive web design?

A.) Adding horizontal scroll

B.) Adding interesting text

C.) Improving image quality

D.) Removing horizontal scroll

Answers

Answer:

B) Adding interesting text

Explanation:

Answer:

Adding interesting text

Explanation:

please help me guys​

Answers

Answer:

1. Machine Independence

High level languages will have something beneath them that automatically can compile your code into different machine languages for different devices. This means that you can program for just about any device and not have to re-write your code.

2. Micro computers

Almost all the computers that average people interact with today are microcomputers. A microcomputer usually has a single main processing chip or central processing unit. They're smaller than mainframe computers, which dominate a reasonably sized room, and minicomputers, which may be as tall as a refrigerator.

3. VLSI

Third generation computers are basically what we work with today. They use VLSI (Very large scale Integration) which started in the 80s and continues to be the point where modern computers are at.

What genre do games that involve physical challenges and make use of hand-eye coordination, speed, accuracy, and precision fall into?
adventure
action
simulation
puzzle

Answers

Answer:

flexiblity

feedback

playin outdoor game

Answer:

I think simulation not 100% sure though.

How do you access the printing functions and settings in Outlook messages?
O Click the Print button on top of the message in the Reading Pane.
O Open the Print window under the View tab on the ribbon.
O Go to the navigation bar and click the Print icon at the bottom.
O Go to the message and access the Backstage view of the message.

Answers

Answer:

it D Go to the message and access the Backstage view of the message.

Explanation: just trust me

Give two examples of search​

Answers

Answer:

goo.gle and ya.hoo

Explanation:

Web browser, book looking up

write the name of the tab, command group, and icon you need to use to access borders and shading dialog box​

Answers

Answer:

Tab: Home Tab

Command group: Paragraph

Icon: Triangle

Explanation: Trust

What types of data can you filter using the
AutoFilter tool? Check all that apply.
text
numeric data
images
sound
DONE

Answers

Answer: A and B

Explanation: just did it on edge

How to unblock a website on a school computer? ASAP who's ever works will get Brainliest and will get a follow.

Answers

Answer:

You can't unblock them without admin access to the router. The only way to visit such sites is to find a VPN that is not also blocked by the school.

But you should know, what you are trying to do can get you in trouble if the school's IT department is competent to any extent.

Answer:

login as a teacher into the pc from there you can change the settings of the student acct. because you are the administrator of the pc due to the fact your acct is organized by the school organization such as Lightspeed and other organizations used by the school.

Explanation:

Which of the following is a palette of colors, fonts and special effects which complement one another?
O Placeholders
O Theme
O Background
Slide Masters

Answers

Answer:

Theme

Explanation:

What are the first letters of each of the 3 main colors in javaScript? (seperate with commas)

Answers

Answer:

R, G, B

Explanation:

Red, Green, Blue

Other Questions
The article states that amplitude plays a role in what happens to a soundwave. Why do you think higher amplitude waves are more oftentransmitted while lower amplitude waves are reflected or absorbed? (Will give Brainliest to serious answer) A glass dropper delivers liquid so that 25 drops equal 1.00 milliliters. How many drops would be required to get 0.68 liters? I really need help on this thank you. if I dont turn this on time I will fail math class just like how I have failed my life:( HELP QUICK!!R2 Was fehlt hier? Interpersonal Speaking BComplete the sentences below to make a logical dialogue Then, practice the dialoguewith a partner.A: Hast du (1)?B: Ja, ich (2) etwas essenCulture PracticesA: Mchtest (3) einen Hamburger? The word bitte, which here can betranslated as "please." is also used byB: Ja, bitte, mit (4)Germans when approaching someone,A: Willst du auch etwas (5)?making a request or saying "you'rewelcome after someone thanks youB: Nein, danke. Ich habe keinen (6).A: Da drben (7) ein EiscafB: 8) kenne esA: Was fr 9) schmeckt da besonders gut?B: Das Schokoels (10) mir immer.A Na gut. (11) wir ins Eiscafel What is the value of x in cm i need h e l p////////////// determine the length of AB Can you help me!!!!!!!!!!!!!!!!!!!!!!!!! What major event in world history led to a massive global population explosion Luis has four less than three times the number of apples that Ben has. If Ben has n apples, which expression shows the number of apples Luis has?A: 3nB: n-4C: 3n-4D: 4n-3 pleae help me I'm so confused What is the velocity of a person that runs 40 km in 100 hours? child labour of poverty and illiteracy HELP!!! The chemical formula is different from the empirical formula inA) H2O2B) CO2C) CO.OD) H20. Use the discriminant to determine the number and type of solutions for the equation 2x^24x+7=0(A). The equation has 2 real solutions because the discriminant is positive.(B). The equation has 1 real solution and 1 imaginary solution because the discriminant is negative.(C). The equation has 2 imaginary solutions because the discriminant is negative.(D). The equation has 1 real solution because the discriminant is 0. List 4 types of people Texas law would consider a family member. : Imagine that Caesar has learned of the conspirators plot. On a separate piece of paper, compose a speech he will give in the Senate denouncing Brutus, Cassius and the others. Use each of the four types of emotional appeals at least once. Underline them in your speech. Which of the following is true about smaller state and local governments?1.) They can create rules that overrule the Constitution.2.) They can set rules on their own that are not contrary to the Constitution.3.) They cannot create rules separate from other states.4.) They cannot maintain their own governmentPlease I am grounded and my mom will kill me or something idek :) A compound is made up of various elements totaling 90 ounces. If the total amount of uranium in the compound weighs 18 ounces, what percent of the compound is made up of uranium? If necessary, round your answer to the nearest hundredth. 7.Use the reaction below for the reaction of dicyanoacetylene withozone to produce carbon monoxide and nitrogen.3C4N2(8) + 403(g) 1200(8) + 3N2(g).What volume of CO is produced when 1.20 L of C4N2 reacts?a 0.300 L COb 3.60 L COC 14.4 L COd 4.80 L CO HURRY PLEASE Benefits of Frozen Food In today's fast-paced life, having a freshly cooked meal every day may not be practical. To deal with this problem, people have the option of frozen food. Freezing is a good way to preserve the taste and color of most foods. Freezing stops microbes, which are small microorganisms, from growing on the food, and helps to keep food fresher for a prolonged period. Frozen foods are also useful because supermarkets can store them for a long time, so one can buy frozen fruits and vegetables all year round, without seasonal boundaries. Furthermore, frozen foods make cooking much easier and quicker, because most frozen foods are already half-cooked, chopped, or cut. These half-cooked frozen foods often contain a lot of preservatives such as salt and sugar, which are bad for health. But, they also help make life simpler for those who do not have the time to cook food from scratch. For example, a frozen apple pie is already put togetherall one has to do is bake it. At home, people can cook a number of dishes when they have the time. In fact, there is no comparison to a delicious, hot meal cooked at home with the freshest ingredients. However, frozen foods can be stored for several weeks or months, making them the best choice if one wants to have meals that are instantly ready for consumption.5Which evidence from the passage is an example of unsound reasoning in support of the author's point that frozen food is better than meals cooked from scratch? A. Freezing ensures that the microbes do not spoil the nutritional value of the food. B. Some frozen foods contain ingredients that may not be good for health. C. All types of frozen fruits and vegetables can be found in supermarkets. D. Frozen food is a practical option as it can be stored for a long period of time.