110 likes | 281 Views
SE-1021 Software Engineering II. Week 8, Class 1 Return Exam Producing UML diagrams automatically in EA Poll Everywhere Files Tomorrow Week 6 HW due (if not already submitted) Thursday Quiz at start of lab. Exam.
E N D
SE-1021Software Engineering II • Week 8, Class 1 • Return Exam • Producing UML diagrams automatically in EA • Poll Everywhere • Files • Tomorrow • Week 6 HW due (if not already submitted) • Thursday • Quiz at start of lab
Exam • If you believe that I made a mistake in counting points or similar, please ask me • If you believe that I took off too many points or incorrectly said that you made a mistake, send me a signed document (e.g. email) explaining why you deserve more points • If you would like a “second chance” to show you know something, let me know after class. 10pts max, I will announce if there is interest SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick
Creating Diagrams in EA • https://faculty-web.msoe.edu/yoder/se1021/slides/ • Look for: se1021-8-1-ImportingCodeIntoEA.docx https://faculty-web.msoe.edu/yoder/se1021/slides/se1021-8-1-ImportingCodeIntoEA.docx SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick
SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick
Files • A file is a sequence of bytes stored on the computer • Each byte is made up of 8 bits • An ASCII character is one way of storing letters. • “Plain text files” often use ANSI ASCII encoding. • To encode other languages, we need to use a different encoding. SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick
SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick
SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick
SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick
Using files in Java • Both files and folders (Directories) are represented with a “File” object. • We can open the file to get the byte stream • (Coding example) • File file = new File(); • boolean isDir = file.isDirectory(); SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick
SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick