Computer Science 340
Programming Languages
Fall 2023, Siena College
Lecture 14: Datatypes
Date: Tuesday, October 24, 2023
Agenda
- Announcements
- Problem Set 4: [HTML] [PDF] is on the late clock
- Exam 2 coming next week, more info coming Thursday in class
- Thursday: I have an early morning doctor's appointment, should
be here in plenty of time but watch your email in case I'm delayed
- Programming Language of the Day: C#
- Chapter 5 Discussion Notes (see the link in your email and/or in Canvas)
- Problem Set 5: [HTML] [PDF] out
- Datatypes
- Assignment due in Canvas at the start of our next class: Read
Sebesta Chapter 6, and indicate that you have done so by
entering your name as your response in the Canvas assignment. This
assignment is worth 20 points in the "Assignments" category. We
will be spending some time in class on Thursday working through some
of the questions at the end of the chapter as a group.
Terminology
- primitive data type
- most/least significant bit
- endianness
- big endian/little endian/network byte order
- signed magnitude
- excess n
- 1's complement
- 2's complement
Examples