BASIC is a family of high-level programming languages that was originally developed in the 1960s. It was designed to be easy to learn and use, especially for non-technical users. Some key features of early BASIC dialects included simple English-like commands, loops, user-defined functions, and built-in math and string functions. While criticized for potentially encouraging poor programming practices, BASIC was highly successful due to its ease of use and ability to run on many different systems. It evolved significantly over time with improved structured programming features and was adapted for personal computers and later graphical user interfaces.
This C tutorial covers every topic in C with the programming exercises. This is the most extensive tutorial on C you will get your hands on. I hope you will love the presentation. All the best. Happy learning.
Feedbacks are most welcome. Send your feedbacks to dwivedi.2512@gmail.com. You can download this document in PDF format from the link, http://www.slideshare.net/dwivedi2512/learning-c-an-extensive-guide-to-learn-the-c-language
To understand algorithm and flowchart, it is better to refer this Slideshare that I have created. I have thoroughly presented the key points that make easy in remembering what algorithm and flowchart is. The slide is really simple and wonderful to use it for a quick reference.
This C tutorial covers every topic in C with the programming exercises. This is the most extensive tutorial on C you will get your hands on. I hope you will love the presentation. All the best. Happy learning.
Feedbacks are most welcome. Send your feedbacks to dwivedi.2512@gmail.com. You can download this document in PDF format from the link, http://www.slideshare.net/dwivedi2512/learning-c-an-extensive-guide-to-learn-the-c-language
To understand algorithm and flowchart, it is better to refer this Slideshare that I have created. I have thoroughly presented the key points that make easy in remembering what algorithm and flowchart is. The slide is really simple and wonderful to use it for a quick reference.
this ppt is related to the introductory part of assembly language and will be very useful for beginners of information technology students either at their graduation level or at post graduation level
Introduction to Visual Basic 6.0 FundamentalsSanay Kumar
Ā
A powerpoint presentation on Intoduction To Visual Basic 6.0. This ppt contains slides on variuos topics of visual programming, IDE, and COM based Microsoft's software VB 6.0.
Importance of loops in any programming language is immense, they allow us to reduce the number of lines in a code, making our code more readable and efficient.
this ppt is related to the introductory part of assembly language and will be very useful for beginners of information technology students either at their graduation level or at post graduation level
Introduction to Visual Basic 6.0 FundamentalsSanay Kumar
Ā
A powerpoint presentation on Intoduction To Visual Basic 6.0. This ppt contains slides on variuos topics of visual programming, IDE, and COM based Microsoft's software VB 6.0.
Importance of loops in any programming language is immense, they allow us to reduce the number of lines in a code, making our code more readable and efficient.
Presentation is about Traditional Two Pass Compiler architecture done by 4th year Computer Science and Technology(special) undergraduates at Uva Wellassa University, Sri Lanka
Want to know how programming works? how it helps the human being with their everyday work? well you can easily find the answers to those questions that are in your minds. Programming, well it is a kind of software that can make games, applications, movies and a lot more. For a start, programming can help us students with our home works and such stuffs. and now, we can learn more about the different languages used in programming, program life cycle, rules and symbols used and its level. Let us discover how programming works!
This Slide will clear all the Question Regarding compiler development and will also help to understand how a compiler works and how the phases are connected to each one
Welcome to the first live UiPath Community Day Dubai! Join us for this unique occasion to meet our local and global UiPath Community and leaders. You will get a full view of the MEA region's automation landscape and the AI Powered automation technology capabilities of UiPath. Also, hosted by our local partners Marc Ellis, you will enjoy a half-day packed with industry insights and automation peers networking.
š Curious on our agenda? Wait no more!
10:00 Welcome note - UiPath Community in Dubai
Lovely Sinha, UiPath Community Chapter Leader, UiPath MVPx3, Hyper-automation Consultant, First Abu Dhabi Bank
10:20 A UiPath cross-region MEA overview
Ashraf El Zarka, VP and Managing Director MEA, UiPath
10:35: Customer Success Journey
Deepthi Deepak, Head of Intelligent Automation CoE, First Abu Dhabi Bank
11:15 The UiPath approach to GenAI with our three principles: improve accuracy, supercharge productivity, and automate more
Boris Krumrey, Global VP, Automation Innovation, UiPath
12:15 To discover how Marc Ellis leverages tech-driven solutions in recruitment and managed services.
Brendan Lingam, Director of Sales and Business Development, Marc Ellis
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
Ā
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
Ā
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Ā
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Ā
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
Ā
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more āmechanicalā approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Ā
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navyās DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATOās (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofsAlex Pruden
Ā
This paper presents Reef, a system for generating publicly verifiable succinct non-interactive zero-knowledge proofs that a committed document matches or does not match a regular expression. We describe applications such as proving the strength of passwords, the provenance of email despite redactions, the validity of oblivious DNS queries, and the existence of mutations in DNA. Reef supports the Perl Compatible Regular Expression syntax, including wildcards, alternation, ranges, capture groups, Kleene star, negations, and lookarounds. Reef introduces a new type of automata, Skipping Alternating Finite Automata (SAFA), that skips irrelevant parts of a document when producing proofs without undermining soundness, and instantiates SAFA with a lookup argument. Our experimental evaluation confirms that Reef can generate proofs for documents with 32M characters; the proofs are small and cheap to verify (under a second).
Paper: https://eprint.iacr.org/2023/1886
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilotā¢UiPathCommunity
Ā
In questo evento online gratuito, organizzato dalla Community Italiana di UiPath, potrai esplorare le nuove funzionalitĆ di Autopilot, il tool che integra l'Intelligenza Artificiale nei processi di sviluppo e utilizzo delle Automazioni.
š Vedremo insieme alcuni esempi dell'utilizzo di Autopilot in diversi tool della Suite UiPath:
Autopilot per Studio Web
Autopilot per Studio
Autopilot per Apps
Clipboard AI
GenAI applicata alla Document Understanding
šØāš«šØāš» Speakers:
Stefano Negro, UiPath MVPx3, RPA Tech Lead @ BSP Consultant
Flavio Martinelli, UiPath MVP 2023, Technical Account Manager @UiPath
Andrei Tasca, RPA Solutions Team Lead @NTT Data
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Ā
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Ā
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Ā
Clients donāt know what they donāt know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clientsā needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
The Art of the Pitch: WordPress Relationships and Sales
Ā
BASIC Programming Language
1. BASIC
Includes Visual BASIC, VB.net, QuickBasic,
PowerBasic, GW Basic, PowerBASIC and the
BASIC Programming Language
Shane Estavillo
Jeffrey James Valerio
2. BASIC
eginner
āsll
Purposeymboli
c
nstructionod
e
It is a family of high-level programming languages, in other words, a multi
platform language.
One of the earliest and simplest high-level languages with commands
similar to English. It can be learned with relative ease even by
schoolchildren and novice programmers.
It is in widespread use but has gotten little respect.
3. BASIC
The language was based partly on the
FORTRAN IV and partly on the ALGOL
60, with additions to make it suitable for
timesharing.
FORTRAN
IV (1962)
ALGOL 60
(1960
BASIC
(1964)
4. Genealogy of BASIC
The language was based partly on the
FORTRAN IV and partly on the ALGOL
60, with additions to make it suitable for
timesharing.
BASI
C
(1964
)
QuickBASIC
(1988)
Visual
BASIC
(1990)
5. BASIC was first implemented on
the GE-265 mainframe which
supported multiple terminals.
6. Original BASIC Language
Overview
Very small and oddly, was not
interactive.
No means of getting input data from
terminal.
Programs were typed in, compiled and
run, in sort of batch-oriented way.
Had only 14 different statement types
and a single data type, floating point,
referred to as ānumbersā.
Overall, it was very limited language
though quite easy to learn.
9. Significant Language
Features
Adds powerful additional features for
the advanced user
Is designed for interactive use rather
than batch work
Lends itself to learning by hands-on
practical use
and is therefore suitable for both the
professional and non-professional.
10. The goals of the system were:
1. It must be easy for non-science
students to learn and use.
2. It must be pleasant and friendly.
3. It must provide fast turnaround for
homework.
4. It must allow free and private access.
5. It must consider user time more
important than computer time.
11. The eight design principle of
BASIC:
1. Be easy for beginners to use.
2. Be a general-purpose programming
language.
3. Allow advanced features to be added for
experts (while keeping the language simple
for beginners).
4. Be interactive.
5. Provide clear and friendly error messages.
6. Respond quickly for small programs.
7. Not to require an understanding of
computer hardware.
8. Shield the user from the operating system.
12. Evaluation and Criticisms
Poor structure of programs written in
it.
Early versions were not meant for
serious programs of any significant
size, though later versions can handle
such tasks.
Edsger W. Djikstra, a highly-respected
computer proffessional that the use of
GoTo statements, particularly in
BASIC, promoted poor programming
practices.
13. Then why BASIC is
successful?
Ease with which it can be learned and
the ease with which it can be
implemented, even on very small
computers.
14. The original
BASIC was
designed in 1964
by John George
Kemeny (right)
and Thomas
Eugene Kurtz
(left) at Dartmouth
College (now
Dartmouth
University) in New
Hampshire, USA
15. Brief History of BASIC
Before the mid-1960s, computers were
extremely expensive and used only for
special-purpose tasks.
As prices decreased, from research
aabs, computing went into commercial
use.
Newer computer systems then supported
time-sharing, a system that allows
multiple users or processes to use
the CPU and memory.
16. Brief History of BASIC
In the following years, as other dialects
of BASIC appeared, Kemeny and Kurtzās
original BASIC dialect became known as
Dartmouth BASIC.
When it was implemented in
minicomputers DEC PDP Series and the
Data General Nova; HP-Time Shared
BASIC System (1960s), BASIC acted
merely as an interpreter rather than a
compiler.
18. Brief History of BASIC
It was the introduction of Altair 8800
ākitā microcomputer in 1975 that
provided BASIC a path to
universality.
BASIC provided faster memory
access for audio tapes and suitable
text editors that time.
19. Brief History of BASIC
In order to promote the language, it
was available FREE OF CHARGE.
One of the first to appear was the Tiny
Basic originally written by Li-Chen
Wang, a simple BASIC
implementation. For 8080 machines
like the Altair.
20. Brief History of BASIC
MITS then released Altair BASIC,
developed by Bill Gates and Paul
Allen in 1975.
Microsoft BASIC (widely known as
MBASIC or M BASIC)was soon
bundled with an original floppy disk
based CP/M computers.
21. Brief History of BASIC
The Atari 8-bit family had their own
Atari BASIC that was modified in order
to fit on 8 kB ROM cartridge.
The BBC published BBC BASIC,
developed for them by Acorn
Computers Ltd, incorporating many
extra structuring keywords.
23. Brief History of BASIC
As early as 1979 Microsoft was in
negotiations with IBM to supply them
with a version of BASIC. Microsoft
sold several versions of BASIC for
MS-DOS/ PC-DOS including BASICA,
GW-BASIC (a BASICA-compatible
version that did not need IBM's ROM)
and QuickBASIC.
26. Brief History of BASIC
Turbo Pascal & Turbo C++-publisher
Borland published Turbo BASIC 1.0 in
1985 (successor versions are still
being marketed by the original author
under the name PowerBASIC).
27.
28. Brief History of BASIC
These languages introduced many
extensions to the original home
computer BASIC, such as improved
string manipulation and graphics
support, access to the file system and
additional data types. More important
were the facilities for structured
programming, including additional
control structures and proper
subroutines supporting local variables.
29. The Shift of BASIC into Visual
BASIC
The Visual BASIC introduced by
Microsoft is difficult to consider to be
really the original BASIC, since of its
major shift towards being object-
oriented and event-driven in
perspective.
VB Version 3.0 is widely considered
the first relatively stable version.
30.
31. Basic BASIC Syntax
SYNTAX
TYPICAL BASIC KEYWORDS
Data manipulation
LET: assigns a value (which may be
the result of an expression) to a
variable.
DATA: holds a list of values which are
assigned sequentially using the READ
command.
32. Program flow control
IF ... THEN ... ELSE: used to perform comparisons or
make decisions.
FOR ... TO ... {STEP} ... NEXT: repeat a section of code
a given number of times. A variable that acts as a
counter is available within the loop.
WHILE ... WEND and REPEAT ... UNTIL: repeat a
section of code while the specified condition is true. The
condition may be evaluated before each iteration of the
loop, or after.
DO ... LOOP {WHILE} or {UNTIL}: repeat a section of
code Forever or While/Until the specified condition is
true . The condition may be evaluated before each
iteration of the loop, or after.
GOTO: jumps to a numbered or labelled line in the
program.
33. Program flow control
GOSUB: jumps to a numbered or labelled line, executes
the code it finds there, but upon encountering the
RETURN Command, it jumps back to the line following
the line from which the jump occurred. This is used to
implement subroutines.
ON ... GOTO/GOSUB: chooses where to jump based
on the specified conditions. See Switch statement for
other forms.
DEF FN: a pair of keywords introduced in the early
1960s to define functions. The original BASIC functions
were modelled on FORTRAN single-line functions.
BASIC functions were one expression with variable
arguments, rather than subroutines, with a syntax on
the model of DEF FND(x) = x*x at the beginning of a
program. Function names were restricted to FN+one
letter.
34. I/O: Input and Output
PRINT: displays a message on the
screen or other output device.
INPUT: asks the user to enter the
value of a variable. The statement
may include a prompt message.
TAB or AT: sets the position where the
next character will be shown on the
screen or printed on paper.
35. Miscellaneous Syntax
REM: holds a programmer's comment or REMark; often
used to give a title to the program and to help identify
the purpose of a given section of code.
USR: transfers program control to a machine language
subroutine, usually entered as an alphanumeric string
or in a list of DATA statements.
TRON: turns on a visual, screen representation of the
flow of BASIC commands by displaying the number of
each command line as it is run. The TRON command,
largely obsolete now, stood for, TRace ON. This meant
that command line numbers were displayed as the
program ran, so that the command lines could be
traced. This command allowed easier debugging or
correcting of command lines that caused problems in a
program.
36. Miscellaneous Syntax
Problems included a program terminating without
providing a desired result, a program providing
an obviously erroneous result, a program running
in a non-terminating loop, or a program otherwise
having a non-obvious error. (The command
TRON has also entered popular cultural with the
name of the 1982 Disney movie, "TRON," with a
subsequent movie, "TRON: Legacy," a television
series, "TRON: Uprising," and two video games,
"TRON: Legacy," and "TRON:Evolution." In each
of these entertainments the TRON command is
personified as a character that battles against
evil elements in programs.)
TROFF: turns off the display of the number of
each command line as command lines run after
the command TRON has been used.
37. DATA TYPES AND VARIABLES
Minimal versions of BASIC had only integer variables and one-letter
variable names. More powerful versions had floating-point
arithmetic, and variables could be labelled with names six or more
characters long.
String variables are usually distinguished in many microcomputer
dialects by having $ suffixed to their name, and string values are
typically enclosed in quotation marks.
Arrays in BASIC could contain integers, floating point or string
variables.
Some dialects of BASIC supported matrices and matrix operations,
useful for the solution of sets of simultaneous linear algebraic
equations. These dialects would support matrix operations such as
assignment, addition, multiplication (of compatible matrix types), and
evaluation of a determinant. Microcomputer dialects often lacked this
data type and required a programmer to provide subroutines to carry
out equvalent operations.
BASIC (PROGRAMMING LANGUAGE) IS AN EARLIER VERSION
OF VISUAL BASIC. VB IS MODIFIED FOR PC USER U CAN SAY
IT IS A GUI VERSION OF BASIC.
40. The next set of
discussions are
directly based on
the Original
Manual of the
BASIC
Programming
Language
designed for use
in the Darthmouth
Time-Sharing
BASIC Programming
74. Unstructured BASIC
These are the first-generation BASIC
languages such as MSX BASIC and
GW BASIC.
Most support:
Simple Data Types
Loop Cycles
Arrays
75.
76. 10 PRINT "Hello World! "
20 GOTO 10
Sample Program for GW
BASIC
78. 10 PRINT "Hello World! "
20 GOTO 10
This program prints the phrase āHello
World! ā infinitely.
Sample Program for GW
BASIC
79. 10 INPUT "ENTER TWO NUMBERS
SEPARATED BY A COMMA:
20 LET S = N1 + N2
30 LET D = N1 - N2
40 LET P = N1 * N2
50 LET Q = N1 / N2
60 PRINT "THE SUM IS ", S
70 PRINT "THE DIFFERENCE IS ", D
80 PRINT "THE PRODUCT IS ", P
90 PRINT "THE QUOTIENT IS ", Q
100 END
Sample Program for GW
BASIC
80. ENTER TWO NUMBERS SEPARATED BY A COMMA:
THE SUM IS 6
THE DIFFERENCE IS 2
THE PRODUCT IS 8
THE QUOTIENT IS 2
81. Structured BASIC
Second Generation BASICs are
structured and procedure-oriented
programming.
Line numbering is omitted and then
replaced with labels for GoTo and
procedure.
QuickBASIC and PowerBASIC are
examples.
84. BASIC with Object-Oriented
features
Third generation BASIC dialects such
as Visual Basic and StarOffice Basic
introduced features to support object-
oriented and event-driven
programming paradigm.
Most built-in procedures and functions
now represented as methods of
standard objects rather than operators
.
85.
86. Visual BASIC
Visual basic is derived form the BASIC
programming languages, it is a Microsoft
window programming language, visual
basic program are created in an
integrated development environment
(IDE), which allows the programmer to
create run and design visual basic
programs conveniently itās also allow a
programmer to create working programs
in a fraction of time that normally takes to
code programs without using IDES.
87. Visual BASIC
The wide spread use of BASIC
Language with various types of
computer (sometimes called hardware
platform) led to many enhancement to
the languages with the development of
Microsoft windows graphical user
interface (GUI) in the late 1980ās and
the early 1990ās, the natural evolution
of basic was visual basic which was
created by Microsoft corporation in
1991.
88. Procedural BASIC: True
BASIC
True BASIC, C, Fortran, and Pascal are
examples of procedural languages. Procedural
languages change the state or memory of the
machine by a sequence of statements. True
BASIC is similar to F (a subset of Fortran 90) and
has excellent graphics capabilities which are
hardware independent. True BASIC programs
can run without change on computers running
the Macintosh, Unix, and Windows operating
systems. We will consider version 3.0 (2.7 on the
Macintosh) of True BASIC. Version 5 includes
the ability to build objects such as buttons, scroll
bars, menus, and dialog boxes. However,
because we wish to emphasize the similarity
between True BASIC and other procedural
languages such as C, F, and Java, we do not
consider these features.
89. Procedural BASIC: True
BASIC
PROGRAM product
! taken from Chapter 2 of Gould &
Tobochnik
LET m = 2 ! mass in
kilograms
LET a = 4 ! acceleration in
mks units
LET force = m*a ! force in
Newtons
PRINT force
END
90. Procedural BASIC: True
BASIC
The features of True BASIC included
in the above program include:
The first statement is an optional
PROGRAM header. The inclusion of a
program header is good programming
style.
91. Procedural BASIC: True
BASIC
Comment statements begin with ! and
can be included anywhere in the
program.
PROGRAM, LET, PRINT, and END
are keywords (words that are part of
the language and cannot be
redefined) and are given in upper
case. The case is insignificant (unlike
C, F, and Java). The DO FORMAT
command converts keywords to upper
case.
92. Procedural BASIC: True
BASIC
The LET statement causes the
expression to the right of the = sign to be
evaluated and then causes the result to
be assigned to the left of the = sign. (The
LET statement reminds us that the
meaning of the = symbol is not the same
as equals.) It is not necessary to type
LET, because the DO FORMAT
command automatically inserts LET
where appropriate. The LET statement
can be omitted if the OPTION NOLET
statement is included.
93. Procedural BASIC: True
BASIC
True BASIC does not distinguish
between integer numerical variables and
floating point numerical variables and
recognizes only two types of data:
numbers and strings (characters). The
first character of a variable must be a
letter and the last must not be an
underscore.
The PRINT statement displays output on
the screen.
The last statement of the program must
be END.
94. Sample True BASIC with
input
PROGRAM product2
INPUT m
INPUT prompt "acceleration a (mks
units) = ": a
LET force = m*a ! force
in Newton's
PRINT "force (in Newtons) ="; force
END
95. Visual BASIC
Visual basic is the worlds most widely use
RAD language, (Rapid Application
Development (RAD) is the process of rapidly
creating an application. Visual Basic provide
a powerful features such as graphical user
interface, events handling assess to Win 32
API, object-oriented features, error handling,
structured programming and much more. Not
until Visual Basic appeared, developing
Microsoft windows based application was a
difficult and cumbersome process. Visual
basic greatly simplifies window application
development. The advantages of visual basic
programming language
96. Visual BASIC
VB 1.0 was introduced in 1991. The drag
and drop design for creating the user
interface is derived from a prototype form
generator developed by Alan Cooper and
his company called Tripod. Microsoft
contracted with Cooper and his
associates to develop Tripod into a
programmable form system for Windows
3.0, under the code name Ruby (no
relation to the Ruby programming
language).
97. Visual BASIC Features
Visual Basic gives a disciplined
approach to writing programs that are
clearer than unstructured programs,
easier to test, debug and can be easily
modify.
It allows for the creation of powerful
and professional looking application
with less time and coding. It allows for
strong typing i.e. has wide variety of
input data types and support Rapid
Application Development (RAD).
98. Visual BASIC Features
It has a complete edifying and debugging
facilities and has the ability to generate a
Dynamic Link Libraries (DLL`S), it
allows for easier management of
document and it is easy to learn.
Visual Basic is a complete form of
package for building user interface
Visual basic is a fairly easy language to
pick up. However, it is generally not used
to make very large applications. VB was
also created for MS Windows.
99. Sample VB Program
Private Sub Form_Load()
' Execute a simple message box
that says "Hello, World!"
MsgBox "Hello, World!"
End Sub
108. REMEMBER
Please do not be mistaken by BASIC
and Visual BASIC.
BASIC (PROGRAMMING
LANGUAGE) IS AN EARLIER
VERSION OF VISUAL BASIC.
Visual BASIC is MODIFIED for
personal computer users, so we can
say that it is a GUI VERSION of
BASIC.