Professional Documents
Culture Documents
Ict-10 (1) Ysabellemarie
Ict-10 (1) Ysabellemarie
Ict-10 (1) Ysabellemarie
-introduced code blocks and the begin … end pairs for delimiting them. It was also
the first language implementing nested function definitions with lexical scope.
THREE MAJOR SPECIFICATIONS: (named after the year they were first published)
-Influenced: COMAL, Visual Basic, Visual Basic .NET, Xojo, GRASS, AutoIt, Ring
Lisp
-Typing discipline: dynamic, strong
-is a line of electronic digital stored-program computers starting with the products
of the Eckert–Mauchly Computer Corporation.
MODELS:
- designed and primarily used to calculate artillery firing tables for the United
States Army's Ballistic Research Laboratory.
-completed in 1945 and first put to work for practical purposes at the end of that
year.
C++
-It was designed with a bias toward system programming and embedded,
resource-constrained and large systems, with performance, efficiency and flexibility of
use as its design highlights.
-It was developed in Switzerland in the 1970s by Niklaus Wirth, the same person
who designed Pascal.
Concurrent ML
Haskell
-Paradigm: Object-oriented
-It was designed and created in part for educational use, more so
for constructionist learning, at the Learning Research Group (LRG) of Xerox
PARC by Alan Kay, Dan Ingalls, Adele Goldberg, Ted Kaehler, Scott Wallace, and
others during the 1970s.
Prolog
-First appeared: 1972
-Influenced: Visual
Prolog, Mercury, Oz, Erlang, Strand, KL0, KL1, Datalog, Constraint Handling
Rules, XSB
Scheme
-It was the first dialect of Lisp to choose lexical scope and the first to require
implementations to perform tail-call optimization, giving stronger support for functional
programming and associated techniques such as recursive algorithms.
Imperative Programming
-is a programming paradigm that uses statements that change a program's state.
Logic Programming
Object-Oriented Programming
Concurrent Programmings
Distributed Programmings
1Programming Preliminaries
o 1.1Programming Languages
2Basic BASIC
o 2.1Control Structures
3Intermediate BASIC
4Advanced BASIC
5Further reading
Programming Preliminaries[edit]
Anybody can write a program. A background in mathematics or science is
not required. Patience, practice, and an interest in the subject matter should
suffice, along with the required software and hardware.
Understanding programs can appear daunting at first, but their reliance on
logical operations allow for easy learning of commands which you will
commonly see in many programs.
A program itself is merely a series of commands in the order in which they
are to be executed. That is to say, that the first line is the beginning of the
program!
All programs a user uses from day to day, including browsers (Internet
Explorer, Firefox, etc.) and operating systems (Windows, *nix and MacOS)
are separate sets of lines of code, which aim to fulfill tasks. the amount of
code is dependent on how simple the task generally, and different types of
code may be used for the advantages they give. BASIC is considered an
excellent starting point for moving onto other languages, and can be useful
for simple programs.
Programming Languages[edit]
Programming languages allow people to give instructions to a computer with
commands that both the computer and the programmer can understand.
Different programming languages use different commands and different rules
for entering those commands; similar to the way people speak different words
to each other with the same meaning. One person may say "hello", while
another says "hola", which appear different but express the same thought.
Computer programming languages can be similar to each other in the same
way that human languages, such as French and Spanish, can be.
Programming languages that are similar are usually referred to as related
languages. Once a person learns a programming language, it is easier to then
learn other programming languages, especially those related to the first one,
as many similarities in structure are shared between languages, especially
those with a common ancestor.
The language taught here, BASIC, is easier to learn than others as its
commands are similar to English and it has a simple set of rules for entering
them.
DEFINITION OF A PROGRAM
A program is defined as an instruction set that
describes the logical steps the computer will
follow to solve a particular problem.
Basic BASIC[edit]
Section for chapters detailing the basics of BASIC; i.e. data types, control
structures...
1. IF...THEN...ELSEIF...ELSE
2. WHILE...WEND
3. FOR...NEXT
4. DO...LOOP
5. GOTO
Intermediate BASIC[edit]
Advanced BASIC[edit]
1. External Libraries
Further reading[edit]