Docsity

Computer Architecture and Organization - Square root algorithm, Study notes of Computer Architecture and Organization

Partial preview of the text

Download Computer Architecture and Organization - Square root algorithm and more Study notes Computer Architecture and Organization in PDF only on Docsity!

Square root algorithm

OutLine

Recap

Session Objectives & Teaching Learning

Material

Session Plan

 Introduction to Square Root

 Steps to valuate square root

 Example

Assignment

References

Objectives & Teaching Learning Material

Session Objectives

 To teach algorithm for square root

 To provide practice on square root algorithm

for some examples

Teaching Learning Material

 LCD, White board Marker, Presentation slides

Session Plan

Time

(in min)

Content

Learning Aid

and

Methodology

Faculty

Approach

Typical

Student

Activity

Skill and

Competency

Developed

05

Re-Cap

Quiz

Presentation

Questions

Organizes

Answers

Identifies

Knowledge

Evaluation

05 Introduction Explains^ Presentations^ Listens^ Knowledge

05

Steps to Evaluate

Square Root

Explains

Presentatio

n

Listens (^) Synthesis

10 Examples

Presentati

on

Facilitates Observes^ Analytical

15

Practice

problems

Presentati

on

Facilitates Solves^ Analytical

10

Conclusion and

Summary

Summary Facilitates

Listens

Participates

Comprehensio

n

Procedure for square root - Similar to division restoring method

negative

Remainder = 00 00 0 q 1 q 2

q 3 q 4 = Q = 13 = A = 169 Subtract first test value 01 Answer positive; let q 1 = 1 Bring down next pair Subtract second test value 0q 1 01 Answer positive; let q 2 = 1 Bring down next pair Subtract third test value 00q 1 q 2 01 Answer negative; let q 3 = 0 Restore partial remainder Bring down next pair Subtract fourth test value 000q 1 q 2 q 3 01 Answer positive (zero); let q 4 = 1

Summary

 Introduction

 Square Root Computation procedure

 Interpretation to square root computation

 Examples

References

Text Book

William Stallings “Computer Organization

and architecture” Prentice Hall, 7th edition,

2006