Luokat: Kaikki - instructions - data - calculations - portable

jonka siti amnah 4 vuotta sitten

282

INRODUCTION TO PROGRAMMING

Programming involves creating and modifying software applications, directing computers to perform specific tasks. A computer program is a series of instructions written in a programming language, which can be low-level, high-level, or machine code.

INRODUCTION TO PROGRAMMING

INRODUCTION TO PROGRAMMING

Use a die to choose which activities you will have to perform.

If there are multiple players, they will roll the dice one by one. The first one who gets all sides of the die and completes the mind map will win. They can use the same die or different dice.

Let's roll the dice!

LANGUAGE TRANSLATOR

If you rolled a 4, you will have to type in the name of four plants.

3 categories
COMPILER

Translates entire programming statements of a program into machine language

INTERPRETER

Translates one high-level program instructions to a time into machine language ( code ). no object code is saved & thwn executes it immediately line by line

ASSEMBLER

Convert programs written in assembly language to machine language

Definition : A computer program that converts instruction written in one programming langugae to be traslated to machine langugae

COMPUTER PROGRAM

If you rolled a 6, you will have to type in the name of six wild animals.

Definition : a series of instructions that directs a computer to perform a task

PRORAMMING PARADIGM

If you rolled a 3, you will have to type in the name of three movies.

Examples
Logic

example

Prolog ( programming in logic )

Based on axiom, inferences, rules & queries to solve problem

Object-oriented

VISUAL BASIC

C++

JAVA

Advantages

create applications faster

repeated use

Oop create classes, templates for creating objects

Object

represent ; real person, place, event or trasaction

item contains both data & instruction that read or manipulate the data

Function ; to implement object in a program

Procedural

Example

COBOL

FORTRAN

PASCAL

BASIC

C

Definition : a way of approach in problem solving based on module or function.

Definition: A way in which computer language looks at the problem to be solved

COMPUTER PROGRAMMER

If you rolled a 2, you will have to type in the names of two books.

e-form
data automically enters in,or updates existing data in
to secure data while transported across network
Definition :send entered data acrosss internet/network
Definition : a window on the screen that provides area for entering or modifying data in database
can perfome calculations and combine fields
allow you to view your data record at one time
present a friendlier interface than a table
updating, viewing, editing, adding and printing records
Definition ; often called, developer, creates amd modifies computer programs

PROGRAMMING LANGUAGE

If you rolled a 1, you will have to type in the name of the game.

TYPES OF LANGUAGE
Low-level language

consist of

HIHG-LEVEL LANGUAGE

done using ;

interpreter

compiler

disadvantaged

run slower

not as efficient as low level language

programmer-friendly

portable

have to converted to machine language before executed

instructons quite english-like

ASSEMBLY LANGUGAE

machine dependant

long & tedious to write

run much faster & use less memory

easy to understand & use

Definition ; Made of instructions written mneonics

MACHINE LANGUAGE

Subtopic

disadvantages

machine language is machine dependant

insrtuctions are difficult to learn

advantages

translation free

execution speed is very fast

Definirion :Made of instuctions written in a binary code

not easily portable

Runs on only one particular type of computer

Definition ; programming langugae tat is machine dependant

Definition : A set of words, abbreviations, and symbols that enables a software developer to communicte instructions to a computer or mobile device