CSE 278
CSE 148 CSE 151 CSE 153 CSE 163 CSE 174 CSE 201 CSE 202 CSE 212 CSE 243 CSE 251 CSE 252 CSE 253 CSE 262 CSE 271 CSE 273 CSE 274 CSE 276 CSE 278 CSE 301 CSE 302 CSE 372 CSE 374 CSE 381 CSE 382 CSE 383 CSE 385 CSE 386 CSE 389 CSE 401/501 CSE 411/511 CSE 432/532 CSE 433/533 CSE 434/534 CSE 443/543 CSE 444/544 CSE 448 CSE 449 CSE 451/551 CSE 465/565 CSE 466/566 CSE 467 CSE 470 CSE 470A CSE 470G CSE 470K CSE 473/573 CSE 474/574 CSE 478/578 CSE 480 CSE 484/584 CSE 485/585 CSE 486/586 CSE 488/588 CSE 489/589 CSE 491 CSE 617 CSE 618 CSE 620 CSE 600 CSE 601 CSE 602 CSE 610 CSE 609 CSE 621 CSE 616 CSE 615 CSE 627 CSE 631 CSE 648 CSE 650 CSE 664 CSE 667 CSE 671 CSE 690 CSE 700
CSE278 - Systems I: Introduction to Systems Programming
Catalog description:
Principles of Von Neumann computer architecture through the C/C++ programming language. Data representation and computer arithmetic. Memory hierarchy. CPU structure and instruction sets. Network programming including use of sockets. Database programming through SQL.
Prerequisite:
CSE 271
Required topics (approximate weeks allocated):
- C++17 (5 weeks)
- Compiling, running, and testing program through IDE
- Stepping through code & observing stack using the IDE’s debugger, e.g., gdb
- Compilation on linux command line
- Header files
- Conditionals & Looping: if-else, switch-case, while, for, range-based for
- C++ I/O and file I/O (not printf/scanf)
- Objects & containers: string , vector , set , unordered map , (STL)
- Type aliasing via using declaration
- Constant variables/objects
- pointers & references (prefer references)
- Function/method calls
- Function Prototype declaration
- Pass by value, pass by reference, and const modifier for parameters & methods.
- Handling Command Line parameters argc, argv[]
- algorithms (e.g., sort, find) and iterators
- dynamic memory – using shared_ptr
- C++ classes
- Constructors & destructors
- Declaration vs. definition (header vs. source files)
- Split Design (header vs. source file)
- Constant methods
- Operator overloading, friend visibility modifier
- Basics of inheritance
- Functional testing (manual & automated)
- Basic computer architecture (3 weeks)
- CPU components, ALU
- Stack, heap
- CPU registers
- synonymity of pointers and addresses
- Review Number representation (Binary & hexadecimal)
- CPU components, ALU
- Unix (Linux) tools (1.5 weeks)
- Command Line basics
- I/O Redirection
- Using script command to record user activities
- Editing using console-only editors ( nano / vi / emacs )
- Compilation & running at the shell command-line using g++
- SSH (keys, command line uses, scp/sftp/Cyberduck)
- Intro to networks (2 weeks)
- Network Overview - IP addresses, RFC1918 addresses, Ports.
- TCP/IP Protocol Stack
- TCP versus UDP
- DNS, DHCP, NAT
- Basics of network protocols
- HTTP protocol (using telnet to generate HTTP request)
- Socket programming in C++
- Developing an HTTP client (using BOOST socket streams)
- Developing an HTTP server (using BOOST sockets)
- Intro to databases (1.5 weeks)
- Database Schemas
- connecting to a db (command line client and C++ API)
- Intro to SQL
- Review of HTML form, URL encoded string, GET vs POST
- Running C++ programs with both database & HTTP via Apache CGI
- Testing (.5 weeks)
- Functional testing (using diff ) and other tools (e.g., CODE plug-in on Canvas) as part of programming assignments
- Exams (1 week)
Learning Outcomes:
- Develop programs using a high level, systems programming language (currently C++) in a Linux environment.
- Critique properties and characteristics of various computer architecture choices including the major components and their functions.
- Analyze the salient aspects of machine instructions and memory addressing modes
- Convert a high level language program to machine language, generate assembly code from high level programs using suitable tools.
- Convert unsigned integers between the following representations: decimal, binary, and hexadecimal.
- Demonstrate the use of compiler optimizations to improve performance (e.g., by address issues in a pipeline, etc.).
- Use basic networking and socket programming concepts to develop a textual client-server program using sockets
- Develop SQL statements to manipulate a simple database including the use of APIs (e.g., ODBC) to access a database from a program.
- Use appropriate systems tools including those from a command line interface.
Contact
Department of Computer Science and Software Engineering
- McVey Data Science Building, 262 105 Tallawanda Road Oxford, OH 45056
- 513-529-0340
- cse@miamioh.edu