Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,449 members, 7,808,604 topics. Date: Thursday, 25 April 2024 at 02:09 PM

Programming For Learners. The Basics - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Programming For Learners. The Basics (1060 Views)

Can You Transition Desktop Site To Mobile Responsive Site? Not For Learners Pls! / Java Programming For Dummies (2) (3) (4)

(1) (Reply) (Go Down)

Programming For Learners. The Basics by Jeus(m): 6:00pm On Dec 24, 2014
This thread should people learn how to program in an easy way.
Re: Programming For Learners. The Basics by luvlyoracle(m): 6:23pm On Dec 24, 2014
Ok
Re: Programming For Learners. The Basics by NigAmbassador: 7:01pm On Dec 24, 2014
Am interested
Re: Programming For Learners. The Basics by Aybee92(m): 8:07pm On Dec 24, 2014
let's roll
Re: Programming For Learners. The Basics by Kovic08(m): 8:31pm On Dec 24, 2014
Okay
Am a novice when it comes to programming
Am currently learning C ( my first)

Any better idea on how to tackle it is welcome
Be it ebook, video tutorial and sites

Thanks
Re: Programming For Learners. The Basics by omoelu1(m): 10:36pm On Dec 24, 2014
go on.
#following#
Re: Programming For Learners. The Basics by Jeus(m): 11:26am On Dec 25, 2014
efore you jump in and start learning the Visual
Basic programming language, it may help you to
understand what a programming language is and
how it works. This includes some programming
terminology. The best place to start is with the basics.
How Programming Works
On its own, a computer isn't very smart.
A computer is essentially just a big bunch of small
electronic switches that are either on or off. By
setting different combinations of these switches, you
can make the computer do something, for example,
display something on the screen or make a sound.
That's what programming is at its most basic—telling
a computer what to do.
Of course, understanding which combination of
switches will make the computer do what you want
would be a difficult task—that's where programming
languages come in.
What Is a Programming Language?
People express themselves using a language that has
many words. Computers use a simple language that
consists of only 1s and 0s, with a 1 meaning "on" and
a 0 meaning "off." Trying to talk to a computer in its
own language would be like trying to talk to your
friends by using Morse code—it can be done, but
why would you?
A programming language acts as a translator
between you and the computer. Rather than learning
the computer's native language (known as machine
language), you can use a programming language to
instruct the computer in a way that is easier to learn
and understand.
A specialized program known as a compiler takes the
instructions written in the programming language
and converts them to machine language. This means
that as a Visual Basic programmer, you don't have to
understand what the computer is doing or how it
does it. You just have to understand how the Visual
Basic programming language works.
Inside the Visual Basic Language
The language you write and speak has structure: for
example, a book has chapters with paragraphs that
contain sentences consisting of words. Programs
written in Visual Basic also have a structure: modules
are like chapters, procedures are like paragraphs,
and lines of code are like sentences.
When you speak or write, you use different
categories of words, such as nouns or verbs. Each
category is used according to a defined set of rules.
In many ways, Visual Basic is much like the language
that you use every day. Visual Basic also has rules
that define how categories of words, known as
programming elements, are used to write programs.
Programming elements in Visual Basic include
statements, declarations, methods, operators, and
keywords. As you complete the following lessons,
you will learn more about these elements and how to
use them.
Written and spoken language also has rules, or
syntax, that defines the order of words in a sentence.
Visual Basic also has syntax—at first it may look
strange, but it is actually very simple. For example, to
state "The maximum speed of my car is 55", you
would write:
Car.Speed.Maximum = 55
You will learn more about syntax later, and tools in
Visual Basic such as IntelliSense provide you with
guidance in using the correct syntax when you write
programs.

2 Likes

Re: Programming For Learners. The Basics by Jeus(m): 8:12pm On Dec 26, 2014
A programming language is a formal constructed
language designed to communicate instructions to a
machine, particularly a computer. Programming
languages can be used to create programs to
control the behavior of a machine or to express
algorithms.
The earliest programming languages preceded the
invention of the digital computer and were used to
direct the behavior of machines such as Jacquard
looms and player pianos.[1] Thousands of different
programming languages have been created, mainly
in the computer field, and many more still are being
created every year. Many programming languages
require computation to be specified in an imperative
form (i.e., as a sequence of operations to perform),
while other languages utilize other forms of
program specification such as the declarative form
(i.e. the desired result is specified, not how to
achieve it).
The description of a programming language is
usually split into the two components of syntax
(form) and semantics (meaning). Some languages
are defined by a specification document (for
example, the C programming language is specified
by an ISO Standard), while other languages (such as
Perl) have a dominant implementation that is
treated as a reference.
Definitions
A programming language is a notation for writing
programs, which are specifications of a computation
or algorithm.[2] Some, but not all, authors restrict
the term "programming language" to those
languages that can express all possible algorithms.
[2][3] Traits often considered important for what
constitutes a programming language include:
Function and target
A computer programming language is a language
used to write computer programs, which involve a
computer performing some kind of computation
[4] or algorithm and possibly control external
devices such as printers, disk drives, robots,[5]
and so on. For example, PostScript programs are
frequently created by another program to control
a computer printer or display. More generally, a
programming language may describe
computation on some, possibly abstract,
machine. It is generally accepted that a complete
specification for a programming language
includes a description, possibly idealized, of a
machine or processor for that language.[6] In
most practical contexts, a programming language
involves a computer; consequently, programming
languages are usually defined and studied this
way.[7] Programming languages differ from
natural languages in that natural languages are
only used for interaction between people, while
programming languages also allow humans to
communicate instructions to machines.
Abstractions
Programming languages usually contain
abstractions for defining and manipulating data
structures or controlling the flow of execution.
The practical necessity that a programming
language support adequate abstractions is
expressed by the abstraction principle;[8] this
principle is sometimes formulated as
recommendation to the programmer to make
proper use of such abstractions.[9]
Expressive power
The theory of computation classifies languages by
the computations they are capable of expressing.
All Turing complete languages can implement the
same set of algorithms. ANSI/ISO SQL-92 and
Charity are examples of languages that are not
Turing complete, yet often called programming
languages.[10][11]
Markup languages like XML, HTML or troff, which
define structured data, are not usually considered
programming languages.[12][13][14] Programming
languages may, however, share the syntax with
markup languages if a computational semantics is
defined. XSLT, for example, is a Turing complete
XML dialect.[15][16][17] Moreover, LaTeX, which is
mostly used for structuring documents, also
contains a Turing complete subset.[18][19]
The term computer language is sometimes used
interchangeably with programming language.[20]
However, the usage of both terms varies among
authors, including the exact scope of each. One
usage describes programming languages as a
subset of computer languages.[21] In this vein,
languages used in computing that have a different
goal than expressing computer programs are
generically designated computer languages. For
instance, markup languages are sometimes referred
to as computer languages to emphasize that they
are not meant to be used for programming.[22]
Another usage regards programming languages as
theoretical constructs for programming abstract
machines, and computer languages as the subset
thereof that runs on physical computers, which have
finite hardware resources.[23] John C. Reynolds
emphasizes that formal specification languages are
just as much programming languages as are the
languages intended for execution. He also argues
that textual and even graphical input formats that
affect the behavior of a computer are programming
languages, despite the fact they are commonly not
Turing-complete, and remarks that ignorance of
programming language concepts is the reason for
many flaws in input formats.

1 Like

Re: Programming For Learners. The Basics by Jeus(m): 8:15pm On Dec 26, 2014
Before you learn a language, start with 'drag and
drop' programming.
"Drag and drop" programming is a basic technique that allows
you to build code by dragging and dropping blocks or some
other visual cue rather than manually writing text-based code.
It makes it easy to understand the basics of programming
without getting caught up in meticulous character placement,
according to Hadi Partovi, co-founder of a website that offers
online coding courses called Code.org.
"Once you've learned the basic concepts using drag and drop,
you'll immediately want to learn [how to] do the real thing,"
Partovi said to Business Insider.
There are plenty of programs out there that can help you get
started with drag and drop programming, including MIT
Scratch and Code.org's Code Studio, and Google Blocky.
Python is one of the easiest languages to start with.
Python is an easy language for beginners, according to
Partovi, because there's less of an emphasis on syntax. So, if
you forget your parentheses or misplace a few semicolons, it
shouldn't trip you up as much as it might if you were coding
in a different language.
But Javascript is one of the most useful languages
to know as a developer.
Javascript isn't as easy as Python, but it runs on every single
platform out there — Mac, Windows, iOS, and Android
among others. Every single Web browser, and even new types
of devices like smartwatches use Javascript at some capacity,
Partovi said.
"Once you reach that level of critical mass, it's not going
away," Partovi said.
Once you have the hang of Javascript, try playing
with Ruby and Ruby on Rails.
Ruby on Rails is a great tool that can help you with the
backend aspect of your programming. Although Ruby and
Ruby on Rails have similar names, there's actually an
important difference. Ruby is a scripting language, just like
Python, but Ruby on Rails is a Web app framework built on
Ruby. In other words, Ruby is the language, while Ruby on
Rails is a tool that makes it easy to use the Ruby language to
build websites.
What makes Ruby and Ruby on Rails so attractive, according
to Partovi, is that there's very little prototyping involved. This
means that once you have the code written, it's pretty easy to
get the final product up and running.
BONUS: Get familiar with HTML...you're going to
need it if you want to build a website.
While HTML isn't a programming language in the sense that
Python, Ruby, and Javascript are, you still need it to build a
website. HTML is used to describe how your website looks,
while other languages like Javascript power the interactive
components, such as what happens when you clock a button
on the site.

1 Like

Re: Programming For Learners. The Basics by baba11(m): 5:28pm On Dec 30, 2014
Following......

(1) (Reply)

Masts At Banks What Are They Realky Used For? / Guys Z Ur Simple Server Still Working? / Nairaland Website Offline [with Screenshot Of Error]

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 33
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.