CMSC 104, Section 301, Fall 20021 Lecture 03, 9/09/02 Operating Systems and Using Linux Topics Review Number Systems. Go over Homework 1 Solution. CSHC.

Slides:



Advertisements
Similar presentations
 An operating system (OS) is a set of computer programs that allow the user to perform basic tasks like copying, moving, saving and printing files. 
Advertisements

DATA REPRESENTATION CONVERSION.
CMSC 104, Section 301, Fall Lecture 01, 8/28/02 CMSC 104 Course Information Instructor: Dr. Li-Chuan Chen Emai: Work Phone:
Number System Conversions Lecture L2.2 Section 2.3.
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
© Copyright 2012 by Pearson Education, Inc. All Rights Reserved. 1 Number Systems 0, 1 0, 1, 2, 3, 4, 5, 6, 7 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 0, 1, 2, 3,
Chapter 16 Binary and Hexadecimal Numbers. §16.2 thru 16.3 – Addition and Subtraction of Binary Numbers Binary = Base 2 Addition and subtraction are similar.
CMSC 104, L031 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Chapter 3 Section 1 Number Representation Modern cryptographic methods, unlike the classical methods we just learned, are computer based. Representation.
CMSC 104, Lecture 011 Introduction CMSC 104 Problem Solving and Computer Programming Section 301, M-W 7:10-8:25 pm Fred Kuss Office: ITE.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
Number systems, Operations, and Codes
Numbering System Base Conversion. Number systems Decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary – 0, 1 Octal – 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal system.
CMSC 104, Lecture 011 Introduction CMSC 104 Problem Solving and Computer Programming Section 401, Thurs. 7:00-9:30 pm, ACIV-305 Fred Kuss
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
Section 2.6 Representation of numbers. Decimal representation (base 10) Given a positive integer X, the decimal representation of X is a string of digits.
Converting From decimal to Binary & Hexadecimal to Binary
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Some content in this lecture added.
Operating Systems and Using Linux CMSC 104, Lecture 3 John Y. Park 1.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
CMSC 104, Version 8/061L01Introduction.ppt Introduction CMSC 104 Problem Solving and Computer Programming.
CMSC104 Problem Solving and Computer Programming Spring 2011 Section 04 John Park.
CMSC 104, Lecture 011 Course Introduction CMSC 104 Problem Solving and Computer Programming Spring 2002 Section 0801, Wed 7:00-9:30pm Dr. Thomas Gaeng.
Aug Introduction CMSC 104 section 301 Problem Solving and Computer Programming Fall 05.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Number Systems 0, 1 0, 1, 2,
CMSC104 Problem Solving and Computer Programming Spring 2009 Sections 0201 & 0301 Ms. Dawn Block.
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Machine Architecture and Number Systems
CMSC 1041 Introduction CMSC 104 Problem Solving and Computer Programming Fall 2000 Section 0101 MW 11:00-12:15.
Octal & Hexadecimal Number Systems
CMSC 104, Lecture 031 Operating Systems I An Introduction to Operating System Concepts.
Programming 12 : Mr. Jean February 8 th, The plan: Video clip of the day Website Introduction to Hexadecimal Converting from Hexadecimal to Decimal.
ECE 362 Microprocessor Systems and Interfacing ©5-1 Lecture 1 Hexadecimal Computation Outline n Decimal n Binary n Octal n Hexadecimal.
 2012 Pearson Education, Inc. Slide Chapter 4 NumerationSystems.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
CMSC 104, Version 1/021 Introduction CMSC 104 Problem Solving and Computer Programming Summer 2004 Section 6080 Ms. Dawn Block.
Operating Systems and Using Linux Courtesy of John Y. Park 1.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
CMSC 104, Version 8/061L03OperatingSystems.ppt Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
CMSC 104, Version 9/011 Introduction CMSC 104 Problem Solving and Computer Programming Fall 2001.
UMBC CMSC 104 – Section 01, Fall UMBC CMSC 104, Section 01 - Fall 2016  Nothing. Enjoy your weekend! 2.
Appendix F Number Systems binary 0, 1 0, 1, 2, 3, 4, 5, 6, 7
Computer Architecture and Number Systems
CMSC104 Problem Solving and Computer Programming Fall 2010 Section 01
Convert Decimal to Binary
Operating Systems and Using Linux
Introduction CMSC 104 Problem Solving and Computer Programming
Operating Systems and Using Linux
Operating Systems and Using Linux
Introduction to IT By: Muhammed s. anwar.
CMSC 104 Problem Solving and Computer Programming Fall 2010
Operating Systems and Using Linux
Operating Systems and Using Linux
Numbering System TODAY AND TOMORROW 11th Edition
CMSC104 Problem Solving and Computer Programming Fall 2010
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Introduction CMSC 104 Problem Solving and Computer Programming
Notes from Last Class Office Hours: GL Accounts?
Information Representation
Introduction CMSC 104 Problem Solving and Computer Programming
Introduction CMSC 104 Problem Solving and Computer Programming
§4.2, Number Bases in Positional Systems
Dr. Clincy Professor of CS
Presentation transcript:

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Operating Systems and Using Linux Topics Review Number Systems. Go over Homework 1 Solution. CSHC Hours of Operations. What is an Operating System?

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 The Number System Position Number System The same digits have different meaning depending on their position in the numeral. The value of a digit depends on the digit itself of its position. Binary, decimal, hexadecimal are all position number system.

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 The Number System (con’t) Example: x = 44 10

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 The Number System (con’t) Binary Decimal Hexadecimal A B C D E F

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Converting From Hexadecimal to Decimal Example: Convert 1A5F 16 to decimal. 1 A 5 F Recall: A 16 = and F 16 = = 1 x A x x 16 + F x 1 = 1 x x x x 1 = =

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Converting From Decimal to Hexadeciaml Perform successive divisions by 16, placing the remainder (0-9, A-F) in each of the positions from right to left. Continue until the quotient is zero. Example: Convert to hex. 143 / 16 = 8 rem = = F 16 8 / 16 = 0rem = 8 Done answer = 8F 16 To Check: 8 x = =

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Example of Equivalent Numbers Binary: Decimal: Hexadecimal: 50A7 16 Notice that the number of digits needed is smaller as the base increases.

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Homwork Solution 1 Go over homework solution 1!

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Operating Systems and Using Linux Topics What is an Operating System?

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Computer Science Help Desk CSHC (Computer Science Help Center) is staffed by student tutors. Help with homework and projects. Text editors and Linux questions. ECS 332A – Hours of Operations: Monday – Thursday PM Friday 12 – 4 PM

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 What is an Operating System (OS)? A computer program Performs many operations, such as: Allows you to communicate with the computer (tell it what to do) Controls access (login) to the computer Keeps track of all processes currently running At this point, your main concern is how to communicate with the computer using the OS.

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 How Do I Communicate With the Computer Using the OS? You communicate using the particular OS’s user interface. Graphical User Interface (GUI) - Windows Command-driven interface - DOS, UNIX, Linux We will be using the Linux operating system, which is very similar to UNIX.

CMSC 104, Section 301, Fall Lecture 03, 9/09/02 How Do I Communicate With the Computer Using the OS? (con’t) When you log in to the Linux system here, a user prompt will be displayed: linux#[1]% _ where # is the number of the Linux server that you have connected to. You may use any of the Linux servers. The number in the brackets will change as you work. It is the “number” of the command that you are about to type. If this prompt is not on the screen at any time, you are not communicating with the OS.