COSC 175 Lecture Notes - Lecture 2: Dennis Ritchie, Machine Code, Bell Labs
Document Summary
Advantages and disadvantages of using pseudocode: pseudocode. Do(cid:374)"t (cid:449)a(cid:374)t to use o(cid:374)e to pla(cid:374) out entire program. Why is it necessary to compile a program: it translates, it"s a (cid:374)e(cid:272)essary step (cid:271)e(cid:272)ause the (cid:272)o(cid:373)puter o(cid:374)ly u(cid:374)dersta(cid:374)ds (machine) language. Costs a lot of money: if progra(cid:373) ru(cid:374)s (cid:271)ut i(cid:374)(cid:272)orre(cid:272)tly, it"s (cid:272)alled a (cid:271)ug or logi(cid:272) error. Maintenance: huge part of programming, changing and maintain existing programs. Not getting rid of existing programs, just changing the old ones. Not portable, runs only on specific type of computer. Language directly used by the computer: assembly language. Must be translated (assemble) to run on computer in machine language: high level languages. If free, people use them, even if not the best. Beginners is key: intended for beginning programmers. Used a lot in business and banking programs: common business oriented language. Why were more cobol classes being started in.