Lec 1 | MIT 6.00 Introduction to Computer Science and Programming, Fall 2008
Please login to search this video.
Lecture 1: Goals of the course; what is computation; introduction to data types, operators, and variables
Instructors: Prof. Eric Grimson, Prof. John Guttag
View the complete course at: http://ocw.mit.edu/6-00F08
License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu
Watch the Source Video Here!
The students are as mesmerized at the spellbound presentation in understandable but no nonsense manner. I am loving the Prof
6 primitives to code them all…….6 primitives to compile them…….6 primitives to run the code……and in this course you find them
i wonder about some super genius kid at harvard or MIT in the late 80s , like some tall kid with a ponytail and glasses assuming there were people there who fit that description
and i wonder who were the greatest geniuses at harvard medical school in september 1989, the greatest month in history of course.
Offline binary number converter and equation solving app
http://play.google.com/store/apps/details?id=com.dev44.modernCalculator
The crowd laughed at John’s jokes but not the professor’s. 🙁
They are already teaching python back in 2008
ATTENTION: MAYBE YOU DIDN'T GET THE MEMO. SO I REGRETFULLY INFORM YOU THAT THE FUNCTION MAIN() IS DEAD. IT DIED OVER 30 YEARS AGO WHEN MS-DOS/DOS DIED AND WINDOWS WAS BORN.
THE REPLACEMENT FUNCTION TO MAIN() IS WINMAIN () OR ONE OF IT'S ALTERNATIVES.
AHAHAHA AHAHAHA LOL
Roses are red violets are blue if you give a like God will forgive you 0:22xx.
Laugh damn it! "Everybody gets a ZERO today! How's that for a punchline class?"
Türkçe çeviriyi kim yaptıysa bu işi bir daha yapmasın.
Fixed program computer-Eg. Calculator
Stored program computer
Consists of Memory ALU PC
instructions are stored in memory and PC(program counter) points to the instruction.
Program is like a recipe.
Given a fixed set of primitives a good programmer can program anything
With six primitives anything can be programmed
Turning compatibility- What can be done in one Programming language fundamentally can also be done in another language too
THIS PROGRAM IS NOT ABOUT PYTHON
Different dimensions of language
-High vs Low level
-General vs Targetted language
-Interpreted vs Compiled
Interpreted languages are easier to debug but are slow
Compiled lang involve converting code to object code
Syntax vs Semantics
Syntax – legal expressions in the lang
Static semantics- Which programs/expressions are meaningful
Eg.- "My desk is simson" grammitaclly correct but no sense
The program will give
Semantics (Full semantics)- What does the program mean/do and outcomes it gives
The code might keep running in infinite loop or crash or might run and give correct answers or wrong answers
Python
2 types of values
1.Numbers(int,float) 2.Strings(type on their own)
Set of operations
+*/- Arithmatic
print('a'*'b') – Static semantic error
print('3'*3) – 333
No error as multiplication operator is overloaded as it can do number multiplication as well as string duplication and concatenation
52A – Syntax error
3/5 will give 0 because both are integer
3.0/5 =0.599999 one of the float so we get float answer
There is alot of iq is concentrated in one class
This is the most popular video on this channel
if( teacherMakesJoke )
{
studentsLaugh = false;
}
College might be actually enjoyable if it weren't, well, college
College: where students are helpless chew toys for the wantonly vicious beasts called "faculty members".
Man… as example click 22:34 and pause. If I were a student I'd be pissed at the horrible lighting and chalkboard situation. The handwriting isn't helping.. Lol
I have to admit, once watching these courses, the myth of MIT dissipated quite quickly.
Jai hind sir
This prof is hilarious but no one is laughing 🙁
Who th would thumbs down this video?
https://youtu.be/ogvEAC8gEgw
22:37
Good lecture and good way of delivering material to the students
Gracias, MIT.