Algorithms File Systems Lab Environment.

Slides:



Advertisements
Similar presentations
The Windows File System and Windows Explorer To move around the file system and examine your files or get to one you want (say, to modify, delete or copy.
Advertisements

Chapter 11 File Systems and Directories. 2 Chapter Goals Describe the purpose of files, file systems, and directories Distinguish between text and binary.
January 13, Csci 2111: Data and File Structures Week1, Lecture 2 Basic File Processing Operations.
Chapter 11 File Systems and Directories Nell Dale John Lewis.
Chapter 11 File Systems and Directories. 2 File Systems File: A named collection of related data. File system: The logical view that an operating system.
Exploring the UNIX File System and File Security
MCT260-Operating Systems I Operating Systems I Navigating the File System.
11/7/06 1 Hofstra University - CSC005 Chapter 11 File Systems and Directories.
Chapter 11 File Systems and Directories. 2 Chapter Goals Describe the purpose of files, file systems, and directories Distinguish between text and binary.
1 File Systems Chapter Files 6.2 Directories 6.3 File system implementation 6.4 Example file systems.
Chapter 5 Accessing Files and Directories. How Directories Get Created OS installation: usr, dev, etc, export, kernel and others places to store installation.
The UNIX File System.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  Currently there.
Guide To UNIX Using Linux Fourth Edition
Chapter 11 File Systems and Directories Chapter Goals Describe the purpose of files, file systems, and directories Distinguish between text and.
Computer Systems Week 10: File Organisation Alma Whitfield.
Chapter 11 File Systems and Directories. 2 Chapter Goals Describe the purpose of files, file systems, and directories Distinguish between text and binary.
Notes Assignment #1 is due next Friday by 11:59 pm via Test #1 will be held Thursday February 18 at the start of class (one period long) Format:
TERMS TO KNOW. Desktop This does not mean a computer desktop vs. a laptop. You probably keep a number of commonly used items on your desk at home such.
File Systems Long-term Information Storage Store large amounts of information Information must survive the termination of the process using it Multiple.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Interacting with a UNIX computer: Navigating through the directory tree.
ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. File and Directory.
Chapter Two Exploring the UNIX File System and File Security.
File System Interface. File Concept Access Methods Directory Structure File-System Mounting File Sharing (skip)‏ File Protection.
Chapter 11 File Systems and Directories. 2 File Systems File: A named collection of related data. File system: The logical view that an operating system.
File Systems (1). Readings r Reading: Disks, disk scheduling (3.7 of textbook; “How Stuff Works”) r Reading: File System Implementation ( of textbook)
Describe the purpose of files, file systems, and directories Distinguish between text and binary files Identify various file types by their extensions.
Chapter 11 File Systems and Directories. 2 Chapter Goals Describe the purpose of files, file systems, and directories Distinguish between text and binary.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 17, 2004 Lecture Number: 11.
CS 1308 Computer Literacy and the Internet File Systems and Directories.
1.  Microsoft DOS (Disk Operating System) use a command line user interface.command line  A command line user interface means that the user is required.
CPS120: Introduction to Computer Science File Systems and Directories Nell Dale John Lewis.
8-2 What is a program? What is a “Window Manager” ? What is a “GUI” ? How do you navigate the Unix directory tree? What is a wildcard? Readings: See CCSO’s.
Λειτουργικά Συστήματα - Lab1 Γιάννης Πετράκης. The Operating System  Unix is a layered operating system  The innermost layer is the hardware that provides.
A little hardware; a little software CS 139 – 08/29/07.
Chapter 1: Overview of SAS System Basic Concepts of SAS System.
Chapter 11 File Systems and Directories. 2 File Systems (Chapter 11.1) File: 1. A named collection of related data. 2.smallest amount of information that.
XP New Perspectives on Microsoft Windows XP Tutorial 2 1 Microsoft Windows XP Working with Files Tutorial 2.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Lecture Topics: 11/29 File System Interface –Files and Directories –Access Methods –Protection –Consistency.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  There are many different.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
HTML Links CS 1150 Spring 2017.
AP CSP: Creating Functions & Top-Down Design
Operating System Architecture
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Practical Oriented Theory
The Command Prompt Commands are the way to “do things” in Unix
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Operating Systems and Using Linux
Operating Systems and Using Linux
Exploring the UNIX File System and File Security
Operating Systems and Using Linux
File Systems and Directories
Operating Systems and Using Linux
New Perspectives on Windows XP
Week 1: File Systems and Directories
Chapter 10: File-System Interface
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Lab 2: Terminal Basics.
HTML Links CS 1150 Fall 2016.
Brent M. Dingle Texas A&M Directory Structure
Lecture Topics: 11/20 HW 7 What happens on a memory reference Traps
Chapter 5 File Systems -Compiled for MCA, PU
Presentation transcript:

Algorithms File Systems Lab Environment

What makes a good algorithm? Algorithms File Systems Lab Environment What makes a good algorithm?

Algorithms File Systems Lab Environment What is abstraction?

Algorithms File Systems Lab Environment Example Problem Create an address list that includes each person’s name, address, telephone number, and e-mail address This list should then be printed in alphabetical order The names to be included in the list are on scraps of paper and business cards

A Computer Example – a Top Down approach Page 156

A Computer Example Page 157

A Computer Example Page 158

A Computer Example Page 159

A new structure and a new feature of a good algorithm This algorithm features the use of abstraction, that is, removing the detail from a step. Example, first step of main says “enter names into list” This step does not say how; it simply says to do this activity. In another place, we find the detail.

This approach allows us to break a problem solution down into small components allows us to think of each component independently allows reuse

Graphically Enter names in list Fill in missing data Main Enter names in list Fill in missing data Put list in alphabetic order Print the list Our brains can grasp this amount of information. Only 5 things to worry about. Each of those 5 things has more detail but not an overwhelming amount. Prompt for and enter names

What makes a good algorithm? Algorithms File Systems Lab Environment What makes a good algorithm? Exercise

Algorithms File Systems Lab Environment

Algorithms File Systems Lab Environment One of the resources that the operating system manages is auxiliary storage. Some terminology A file is a named collection of related data A file system is the logical view that an operating system provides so that users can manage information as a collection of files A file system is often organized by grouping files into directories

Directory Trees - Windows Algorithms File Systems Lab Environment Directory Trees - Windows

Algorithms File Systems Lab Environment A Unix Directory Tree

A directory of files can be contained within another directory Algorithms File Systems Lab Environment A directory of files can be contained within another directory The directory containing another is usually called the parent directory, and the one inside is called a subdirectory A file system is often viewed as a directory tree The directory at the highest level is called the root directory At any point in time, you can be thought of as working in a particular location (that is, a particular subdirectory) This subdirectory is referred to as the current working directory

A relative path name begins from the current working directory Algorithms File Systems Lab Environment To indicate a particular file using text, we specify that file’s path, which is the series of directories through which you must go to find the file An absolute path name begins at the root and specifies each step down the tree until it reaches the desired file or directory A relative path name begins from the current working directory