Computers Hardware and Software - PowerPoint PPT Presentation

1 / 40
About This Presentation
Title:

Computers Hardware and Software

Description:

Terminology (e.g., memory types, CPU, baud rates, Internet) ... Structured programming (e.g., assignment statements, loops and branches, function calls) ... – PowerPoint PPT presentation

Number of Views:64
Avg rating:3.0/5.0
Slides: 41
Provided by: auta
Category:

less

Transcript and Presenter's Notes

Title: Computers Hardware and Software


1
Computers- Hardware and Software
  • FE Preparation
  • Autar Kaw
  • kaw_at_eng.usf.edu
  • Mechanical Engineering

2
Syllabus
  • Computers 7
  • Terminology (e.g., memory types, CPU, baud rates,
    Internet)
  • Spreadsheets (e.g., addresses, interpretation,
    what if, copying formulas)
  • Structured programming (e.g., assignment
    statements, loops and branches, function calls)

3
Computers- Hardware and Software
  • All computers have three main components

Main Memory
Output Device
Input Device
4
Definitions
  • Accumulators
  • Program Counter
  • Instruction Register
  • Stacks

5
More Definitions
  • Bus or Channel
  • Address Bus
  • Data Bus
  • Control Bus

6
More Definitions
  • Input/Output Devices
  • Parallel Interface
  • Serial Interface

7
More Definitions
  • Flow Control
  • Random Access Memory
  • Hard Drives, its Parts, Rotational Delay
  • Sequential Access Devices
  • Real and Batch Time processing
  • Multi-Tasking and Time Sharing

8
More Definitions
  • Teleprocessing
  • Asynchronous Transmission
  • Synchronous Transmission
  • Communication Lines
  • Errors in Transmission

9
Question
  • Q How many states can five 8-bit memory
    locations be in?
  • 28
  • 25
  • 240
  • 213

Answer -3
10
Question
  • Q How long will it take to transmit 400 k (byte)
    text file using 56 k modem in simplex mode?
  • 1 min
  • 2 min
  • 10 min
  • 15 min

Answer -1
11
Question
  • Q How many 8-bit bytes in a 4 MB memory?
  • 4,000,000
  • 32,000,000
  • 4,194,304
  • 4,000

Answer -3
12
Question
  • Q A hard disk drive with 5 cm diameter platters
    turns at 3000 RPM. What is the average latency
    for the drive?
  • 0.003 s
  • 0.01 s
  • 0.02 s
  • 0.04 s

Answer -2
13
Software
  • ASCII
  • EBCDIC
  • Program Design
  • Flow Chart Languages
  • Structured Programming
  • Fields, Records and File Types

14
Question
  • Q Base 10 equivalent of (257.725)a is?

15
Question
  • Q Base a equivalent of (375.35)10 is?

16
Question
  • Q How do I convert between bases 2, 8 and 16?

17
Negative Integer Representation
  • Sign magnitude
  • 1s complement
  • 2s complement

18
Negative Integer Representation
  • (29)10 (0011101)2
  • (-29)10(11100010) 2 - 1s complement
  • (-29)10 (11100011) 2 2s complement

19
Negative Number Representation
  • (40)10 (0101000) 2
  • (-40)10(11010111) 2 - 1s complement
  • (-40)10 (11011000) 2 2s complement

20
What is a program?
Input
Processing
Output
21
Planning a program
  • Analyze define a problem
  • Design plan the solution interface
  • Code
  • Test Debugging
  • Complete Documentation

22
Flow Chart Basics
23
Question
  • SUM1
  • FOR I1 TO 10
  • SUMSUMI
  • NEXT I
  • 1
  • 45
  • 55
  • 56

Answer - 4
24
Question
  • I2
  • J3
  • If IJ gt6 then answerPaul
  • If IJgt5 then answerPeter
  • If IJgt 4 then answerLawrin
  • Lawrin
  • Peter
  • Paul
  • Ellis

Answer -1
25
Question
  • If A4 is copied from C4, sum (a1a4) is
  • A. 9 B. 17 C. 8 D. 0

26
Question
  • If C4 is the distance covered by a body in A3
    seconds, what formula would you use in A5 to
    calculate the speed
  • A. A3/C4 B. C4/A3 C. C4/C3 D. A4/A3

Answer -2
27
Question
  • If formula A3C1B2 is used in A4 and then copied
    to A5, the value in A5 would be
  • A. 33 B. 75 C. 81 D. 111

28
Question
  • If formula A3C1B2 is used in A4 and then
    copied to A5, the value in A5 would be
  • A. 33 B. 75 C. 81 D. 111

29
Question
  • If formula A3C1B2 is used in A4 and then
    copied to A5, the value in A5 would be
  • A. 33 B. 75 C. 81 D. 111

30
Question
  • If formula A3C1B2 is used in A4 and then
    copied to A5, the value in A5 would be
  • A. 33 B. 75 C. 81 D. 111

31
Question
  • Q What will be printed
  • I2
  • If Igt2 then Print ABC Else Print DEF
  • ABC
  • DEF
  • ABCDEF
  • Nothing printed

Answer -2
32
An Afternoon Session Question
  • The following algorithm is written for finding
    root of a nonlinear equation f(x)0
  • INPUT X, N
  • FOR I1 TO N
  • X X F(X)/F(X)
  • NEXT I
  • PRINT X

33
Questions
  • Q What algorithm does the program represent?
  • Runge-Kutta Method
  • Bisection Method
  • Secant Method
  • Newton-Raphson Method

Answer -4
34
Questions
  • Q What would be the value of x if the input
    value of x is 16, the function f(x)x2-4 and n4
  • 2.619
  • 2.073
  • 16.000
  • Division by zero will precede

Answer - 2
35
Questions
  • Q What would be the value of x if input value of
    x 0, the function f(x)x2-4 and n4
  • 8.125
  • 4.308
  • 2.073
  • Division by zero will precede

Answer - 4
36
Write a program to find ex using Maclaurin Series
Choose 5 terms
37
Eulers Method
38
Trapezoidal Rule
39
First, Second and Last Rule of Learning
  • If you don't let a teacher know at what level you
    are - by asking a question, or revealing your
    ignorance - you will not learn or grow. You can't
    pretend for long, for you will eventually be
    found out. Admission of ignorance is often the
    first step in our education.
  • Stephen Covey - Seven Habits of Highly
    Effective People

40
Thank You
  • Thank you
  • Best of Luck
  • Your performance on EIT is very important to you
    as well as to the reputation of your school.
Write a Comment
User Comments (0)
About PowerShow.com