lecture01 - Introduction to Low-Level Programming Concepts...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Low-Level Programming Concepts CMSC 212 ecture 1 1 CMSC 212 Lecture 1 September 1, 2009 Introduction to Low-Level Programming Concepts & Syllabus & Class submit and grades servers – grades.cs.umd.edu – submit.cs.umd.edu & Discussion sections 2 CMSC 212 – exercises to reinforce lecture material – new material (not from lecture) – hands-on practice with material needed for projects – quizzes Reading & Read the posted UNIX tutorial (under "Information" on the class webpage), unless you already know UNIX/Linux & Read Chapters 1, 2, & 3 in Reek (Pointers on C) by the next lecture 3 CMSC 212 Introduction and motivation 4 CMSC 212
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
What is low-level programming? & Characteristics: – programming where details and intricacies of the hardware are visible – low-level languages are closer to the hardware, while high- level languages are closer to natural languages – in a low-level language each operation corresponds to a few 5 CMSC 212 of the hardware's native instructions; in a high-level language each operation corresponds to many native hardware instructions Why study low-level programming? & To understand how things work & Allows access to hardware when required & You have more control & On the other hand: – poorly-written low-level programs could be slower 6 CMSC 212 – programs in a low-level language can be dangerous The C programming language & Is lower-level than Java, but higher-level than assembly language & Widely used for systems programming & A "middle-aged" language, created in the early 1970s & Goals: 7 CMSC 212 – a small language – designed to allow low-level programming – much functionality is supplied via libraries – assumes the programmer knows what they're doing & Major differences from Java: – procedural rather than object-oriented – explicit memory allocation and deallocation – is typically compiled directly to machine code Stored Program Computers (not in the text) 8 CMSC 212
Background image of page 2
Stored program computer &
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

lecture01 - Introduction to Low-Level Programming Concepts...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online