This document introduces programming and the QBasic programming language. It discusses what programming is, the program life cycle, levels of programming languages from machine language to natural languages. It also covers flowcharting, variables, strings, input/output, and basic programming structures like IF/THEN statements. The document uses examples in QBasic to demonstrate concepts like printing output, taking user input, and making conditional comparisons. It provides an overview of key programming concepts for beginners to get started with QBasic.
This slideshow is all about QBASIC PROGRAMMING. This slideshow contains Introduction ,Interface,Features,Rules,Data,Types of Mode,Keywords,Commands and Reminders about QBASIC plus a Simple Activity!
This slideshow is all about QBASIC PROGRAMMING. This slideshow contains Introduction ,Interface,Features,Rules,Data,Types of Mode,Keywords,Commands and Reminders about QBASIC plus a Simple Activity!
It gives you the basic difference between among different types of loop...So here its my Presentation that help to clear all the confusions you faced while studying the LOOPS.
useful presentation for both students and also for teachers. i just share it because i want that everyone can get benefit from it. it consists definition of command and statement and its examples
It gives you the basic difference between among different types of loop...So here its my Presentation that help to clear all the confusions you faced while studying the LOOPS.
useful presentation for both students and also for teachers. i just share it because i want that everyone can get benefit from it. it consists definition of command and statement and its examples
It is all you need to know about Qbasic. This gives knowledge where did Qbasic was founded, who founded it, what does Qbasic mean, What is its use, and how to solve problems using Qbasic.
This is a presentation abo0ut QBASIC: A Tool For Modern Programming made by Mr. Reden R. Patacsil and Ms. Gifty Belle B. Manaois of Juan G. Macaraeg National High School.
Learn Programming with Livecoding.tv http://goo.gl/tIgO1Ilivecoding.tv
If you want to learn programming, Livecoding.tv is a perfect platform to learn with the help of live-streams. Interact with expert coder on live chat and enrich your skills.
Come and join us
to see our streamers schedule please click on this link, http://goo.gl/tIgO1I
This is a presentation about QBASIC: A Tool For Modern Programming made by Mr. Reden R. Patacsil and Ms. Gifty Belle B. Manaois of Juan G. Macaraeg National High School and to be submitted to Mr. Angel L.Coro
Introduction to simulating datasets in R. No prior knowledge of R required. Illustrates idea of spurious correlation, and accompanies this blogpost:
http://tinyurl.com/7h5j8eo
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
2. Programming???? A brief background
• Programming is a set of step by step instructions
that tells or direct the computer what to do. It
sequences the tasks a user wants to be done and
produces the results or output needed.
• The set of rules or instructions that tells the
computer what to perform is done through a
programming languange. In this tutorial we will
use the QBASIC programming language.
• A programmer is the person who designs a
program.
4. Did you know that the first
programmed word is
“HELLO WORLD”
LEVELS OF PROGRAMMING LANGUAGES
Machine Language or First Generation Programming Language
-this is considered to be the lowest level of programming
language.
Assembly Language or Second Generation of Programming
Language
-instead of using 1s and 0s assembly language uses MNEMONIC
Codes. Mnemonic codes are abbreviations that easy to
remember
High Level Language or Third Generation Programming
Language
-this language transformed programming in the early 1960’s.
Very High Level Languages or Fourth Generation Languages
-Fourth generation languages (4GL) simplifies further the third
level generation languages.
Natural Languages
- These languages are considered to be the fifth
Generation languages. These programming languages are called
Natural Languages because of their resemblance to
English Language.
5. Procedural Languages
Programming languages which are considered
procedural that uses a series of instructions or statements which
are sequential from the beginning to the end.
Examples of Procedural Languages:
BASIC – Beginner’s All-Purpose Symbolic Instruction Code
COBOL – Common Business Oriented Language
PASCAL
FORTRAN- Formula Translator
C
PL1 – Programming Language One
6. Non-procedural
Languages
These Programming languages are considered as object-
oriented programming languages. It is different from
procedural language since statements are not executed line
per line instead a series of instructions are executed as a whole
when an event occurs.
Examples of Non-procedural Languages
VISUAL BASIC
C++
JAVA
DELPHI
7. FLOWCHARTING
Flowcharting is one of the processes used in
designing or planning the solution to a
problem. It is a graphical representation to the
solution of a problem. It uses shapes to show
instructions and arrow lines and heads to
display the flow. It uses the shapes OVAL,
PARALLELOGRAM, RECTANGLE,
DIAMOND,CIRCLE & PENTAGON
8. Oval Terminal Symbol
Parallelogram Input/Output
Rectangle Process
Diamond Decision
Hexagon Initialization/Preparation
Arrow Lines & Arrow
Heads
Direction
Annotation
Circle On Page Connector
Pentagon Odd-Page connector
9. Qbasic Tutorial
After launching the QBasic interpreter (see before you start), you might
see a window requesting a list of "parameters." If this window comes up,
press the Enter key to continue.
You should now see the QBasic interpreter, which has a blue
background and displays a dialog box at the center. (If the interpreter
fills the entire screen, then you may want to press "Alt + Enter," to make
it smaller.)
Press the Esc key to hide the dialog box.
QBasic interpreter - main screen
10. Type the following (including the quotation marks) in the QBasic interpreter:
PRINT "Hello World!" <press Enter>
Now press F5 to run the program. You should now see a black screen,
with Hello World at the top, and Press any key to continue at the bottom.
Press a key on the keyboard to return to the main screen.
(The figure below displays the "output screen.")
Basic interpreter - output screen
If you run the program again, the interpreter adds another Hello World. QBasic
adds Hello World each time the program is run.
11. Deleting the program
To erase the current program:Go to the "File" menu.
Click "New."
The interpreter asks if you want to save the program.
Select "No" (or if you'd rather keep the program, select "Yes").
Strings
There are certain types of data (or information) called "strings." Strings contain a sequence of
characters (letters, numbers, and symbols) enclosed in quotation marks. For
example, "Hello World!" is a string.
The following are also strings:
"0123456789"
"This is a string"
"abc123"
"1 + 1 = 2"
12. Commands
There are also special functions called "commands" (also called "instructions").
A "command" tells the QBasic interpreter to do something.
The PRINT command tells the QBasic interpreter to print something to the
screen. In this case, the interpreter printed"Hello World!".
TIP: Instead of typing PRINT, you can enter a question mark. For example:
?"Hello World!"
With the PRINT command, you can also print numbers to the screen. Delete
the current program (unless you already have) and write the
following:PRINT 512 (or ?512)
<press Enter>
Press F5 to run the program. The program outputs:512
13. More about the PRINT command
You can use multiple print statements in your program.PRINT "Hello"
PRINT "World"
Output:Hello
World
To place World onto the previous line, place a semi-colon
after PRINT "Hello".PRINT "Hello";
PRINT "World"
Output:HelloWorld
Also, if you put a comma instead of a semi-colon on the first line, the program will
insert spaces between the two words.PRINT "Hello",
PRINT "World"
Output:Hello World
14. Variables
This chapter discusses an important topic in programming, "variables." Please read
this section thoroughly.
A variable is a piece of data kept in the computer's memory (RAM). The location of a
variable in RAM is called the"address."
How a variable is stored in RAM
The following program prints the variable X to the screen:print X
Since the variable hasn't been assigned a number, the value of the variable is 0. So, the
output of the program is:0
This next program sets X to 15, and then prints the variable:
X = 15
print X
This time, the output is:15
In the above example, the number 15 was stored in the computer's RAM at a certain
memory address. Then the PRINTcommand accessed (or looked at) that address when it
printed "15" to the screen.
15. Expressions
If you pass an expression to a variable, the expression is evaluated and the variable is set to that
value.x = 500 + (10 * 7)
PRINT x
Output:570
You can also use variables as expressions.rate = 50
time = 2
distance = rate * time
PRINT distance
Output:100
Plus, you can have both variables and numbers in an expression.X = 100
Y = X * 7
PRINT Y
Output:700
TIP: The following increases X by 1:
X = X + 1
16. Strings
If you add a dollar sign ($) to the end of a variable, the variable is a string.X$ = "Hello World!"
PRINT X$
Output:Hello World!
If you try to set a string to a non-string variable, an error occurs.X = "Hello World!"
The QBasic interpreter says "Type mismatch" when you try to run the above program.
A string can be added to the end of an existing variable string.X$ = "Hello"
X$ = X$ + "World"
PRINT X$
Output:HelloWorld
You can also add variable strings together.a$ = "String1"
b$ = "String2"
c$ = "String3"
d$ = a$ + b$ + c$
PRINT d$
Output:String1String2String3
17. Retrieving keyboard input from the user
One way to receive input from the keyboard is with the INPUT command.
The INPUT command allows the user to enter either a string or a number, which is
then stored in a variable.INPUT data$
PRINT data$
When this program is executed, the INPUT command displays a question mark,
followed by a blinking cursor. And when you enter text, the program stores that text
into the variable data$, which is printed to the screen.
TIP: If you place a string and a semi-colon between INPUT and the variable, the
program will print the string.
INPUT "Enter some text:"; data$
To receive a number, use a non-string variable.INPUT number
PRINT number
If you enter text instead of a number, the QBasic interpreter displays an error
message ("Redo from start").
18. To receive a number, use a non-string variable.INPUT number
PRINT number
If you enter text instead of a number, the QBasic interpreter displays an error
message ("Redo from start").
Below is another example of the INPUT command:PRINT "Enter some text:"
INPUT text$
PRINT "Now enter a number:"
INPUT num
PRINT text$
PRINT num
TIP: You can have the question mark displayed on the previous line by using a
semi-colon.
PRINT "Enter some text:";
INPUT text$
19. The IF and THEN commands
The IF and THEN commands are used to compare an expression and then perform some
task based on that expression.
x = 5
IF x = 5 THEN PRINT "x equals 5"
Since X does equal 5 in this case, the program outputs:x equals 5
Expression signs
You can also enter the following statements, instead of the equals
sign:x < 5 (x is less than 5)
x > 5 (x is greater than 5)
Run the following:x = 16
IF (x > 5) THEN PRINT "x is greater than 5"
Output:x is greater than 5
20. ELSE
Using the ELSE command, you can have the program perform
a different action if the statement is false.x = 3
IF x = 5 THEN PRINT "Yes" ELSE PRINT "No"
Since X doesn't equal 5, the output is:No
END IF
END IF allows you to have multiple commands after the IF...THEN statement,
but they must start on the line after theIF statement. END IF should appear
right after the list of commands.x = 5
IF (x = 5) THEN
INPUT a$
PRINT a$
21. END IF
The following program uses ELSE with the END IF command:x = 16
IF (x = 5) THEN
INPUT a$
PRINT a$
ELSE
PRINT x * 2
END IF
Output:32
TIP: There is a way to have multiple commands after IF...THENwithout
using END IF. To do so, place a colon between each command.
IF (x = 5) THEN INPUT a$: PRINT a$
22. THANK
YOU
FOR INQUIRIES Contact us.
https://www.facebook.com/mhonarch
https://www.facebook.com/eirelavlavun?fref=ts
Or Email us at hillcypress89@yahoo.com