COMPSCI 1JC3 Lecture Notes - Lecture 2: Firstclass, Programming Paradigm, Machine Code

65 views3 pages

Document Summary

Hardware - enables massive amounts of data to be stored and manipulated with great speed and accuracy. Software - provides the means to control the behaviour of the hardware with power and flexibility. Programming language - formal language for writing programs. Imperative statement - expresses an action to be perform ( an instruction) Imperative program - a sequence of imperative statements that expresses how the program will work, how the data will be manipulated. Declarative program - sequence of declarative statements that explains what the program will achieve. Programming paradigm - well developed style of programming ( a style) Each programming language can support many styles of programming. Many languages are multi-paradigm (e. g python can support paradigms 1-3) Two main ways to execute and store information. Interpretation - the program is fed into a interpreter, who goes line by line and executes it. (e. g ghci is an interpreter) Advantage : interactive development and debugging of code.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents