Computer Languages Humans Computers How can humans “talk to”

Slides:



Advertisements
Similar presentations
LECTURE 1 CMSC 201. Overview Goal: Problem solving and algorithm development. Learn to program in Python. Algorithm - a set of unambiguous and ordered.
Advertisements

ITEC 1010 Information and Organizations Artificial Intelligence.
BT101: Hermeneutics Introduction. A. Description of Hermeneutics 1. General Hermeneutics The study of the activity of interpretation;
Comprehension.
CS100J 18 September 2003 Rsrecah on spleilng Aoccdrnig to a rscheearch at Cmabirgde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are,
What is science? Science: is a process by which we gain knowledge deals only with the natural world collects & organizes information (data/evidence) gives.
Logo Design. UNTITLED Cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mind: aoccdrnig to a rscheearch.
Count the Number of “f”s FINISHED FILES ARE THE RE SULT OF YEARS OF SCIENTI FIC STUDY COMBINED WITH THE EXPERIENCE OF YEARS... How many did you find?
Inclusive Learning Through Technology Damian Gordon.
Standard Grade Computing SYSTEM SOFTWARE CHAPTER 19.
Slide 1 Standard Grade Computing Studies Systems Software.
Human-to-Human Communication A model for human-computer interaction? Important scope limitation: problem solving Why look at human-human interface? – The.
What do you see?. O lny srmat poelpe can raed tihs. I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor.
~ Thought Journal ~ SILENTLY read the following passage. When you are finished, SILENTLY write down your reaction in your thought journal. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Communication “ The exchange of information, facts, ideas and meanings” Quinn et al. (2003, p38) Transferring information to bring about change “ The process.
The phenomenal power of the human mind   I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg.The phaonmneal pweor of the hmuan mnid!
6. Program Translation CS100: The World of Computing John Dougherty Haverford College.
Programming Languages
PROOFREADING Mini-lesson (Step 4 of WHAT GOOD WRITERS DO... )
A compiler is a computer program that translate written code (source code) into another computer language Associated with high level languages A well.
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
The human brain … … tricks us whenever it can!. The human mind is so non-literal! I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg.
CALL Computer Assisted Language Learning : Research University of Stellenbosch.
Illusions and Other Visual Defects CITA 6016 Food Sensory Analysis University of Puerto Rico Food Science & Technology.
I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid. Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy,
Analysis of Programming Languages (2). 2 LANGUAGE DESIGN CONSTRAINTS  Computer architecture  Technical setting  Standards  Legacy systems.
1.
Compilers and Interpreters
Welcome to Group Dynamics LDSP 351 Dr. Crystal Hoyt.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
Chapter 1: Introduction to Computers and Programming.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
As a general rule you should be using multiple languages these days (except for Java)
Software Engineering Algorithms, Compilers, & Lifecycle.
Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary.
Introduction to CptS 111 Adam Carter. Meet your instructor Adam Carter "PhD Candidate" (ABD) Feel free to call me: – Adam (preferred) – Professor Carter.
Inspiring Youth to Live their Dreams! Scott Shickler Founder & CEO.
Chapter 1. Introduction.
Basic Concepts: computer, program, programming …
What Do Computers Do? A computer system is
Why don’t programmers have to program in machine code?
Aoccdrnig to rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist.
What Is Neuropsychological (Neurocognitive) Testing?
The human brain … … tricks us whenever it can!.
The phenomenal power of the human mind   I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg The phaonmneal pweor of the hmuan mnid!
Please read the sign..
Bell Ringer Have your homework out and ready to be checked
The human brain … … tricks us whenever it can!
Hello World 2 What does all that mean?.
Mobile Development Workshop
Schema and Scripts.
Even though the next page may look weird, you can still read it!
There are 9 people in this picture. Can you find them all?
Unit 4: Sensation & Perception
Science and the Scientific Method
Sensation and Perception
Science and the Scientific Method
Interesting Sequences
Sabotage Effective Communication

Science and the Scientific Method
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
Understand the interaction between computer hardware and software

General Computer Science for Engineers CISC 106 Lecture 03
Interesting Sequences
Mining Gold from Data Data Mining.
Programming language translators
The EYE YE VIDEO.
Presentation transcript:

Computer Languages Humans Computers How can humans “talk to” 00101010110010 011000101110101 010111001001 10 0011 Humans Computers How can humans “talk to” (instruct) computers? Answer: Computer languages (e.g., Java, C, Python, FORTRAN, Basic, C++, Lisp, Ruby, …)

Computer Languages Natural languages are often ambiguous. Consider: “Alice and Betty had on the same dress.” Alice Betty Alice & Betty YES NO

Computer Languages Consider: “Alice and Betty ran from the same building.” Alice Betty Alice Betty NO YES

Computer Languages Natural languages contain a great deal of redundant information, making them quite “fault tolerant.” It deosn't mttaer in waht oredr the ltteers in a word are, the iprmoatnt tihng is taht the frist and lsat ltteer are in the rghit pcale. Easy for a human to make sense of this despite 13 of the 27 words being misspelled.

Computer Languages Computers typically can’t tolerate ambiguity or mistakes. Statements (instructions) must be unambiguous and without mistakes. Computer languages provide framework for humans to communicate to computers in a way that is almost natural to humans.

Computer Languages Executable Compiler File Source File 1001010001110 1011101001101 0000110010100 Compiler int main() { printf(”Hi\n”); return 0; } Source File Two-step process to execute source code. Executable File 1001010001110 1011101001101 0000110010100 Processor Output/Results

Computer Languages Source File Source code is Interpreter executed directly. Interpreter print(”Hi”) Output/Results Interactive Environment We will use Python interpreter. Compilers better at catching errors and producing faster code. Interpreters better for developing code and learning to use a language.