DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY. Department of Computer science and engineering

Similar documents
DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK

CS6303 Computer Architecture Regulation 2013 BE-Computer Science and Engineering III semester 2 MARKS

PREPARED BY: S.SAKTHI, AP/IT

CS6303-COMPUTER ARCHITECTURE UNIT I OVERVIEW AND INSTRUCTIONS PART A

Chapter 4. The Processor

INTELLIGENCE PLUS CHARACTER - THAT IS THE GOAL OF TRUE EDUCATION UNIT-I

Chapter 4. The Processor

DC57 COMPUTER ORGANIZATION JUNE 2013

SYLLABUS. osmania university CHAPTER - 1 : REGISTER TRANSFER LANGUAGE AND MICRO OPERATION CHAPTER - 2 : BASIC COMPUTER

The Processor: Datapath and Control. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Chapter 4. The Processor Designing the datapath

The Processor. Z. Jerry Shi Department of Computer Science and Engineering University of Connecticut. CSE3666: Introduction to Computer Architecture

COMPUTER ORGANIZATION AND DESIGN

Processor (I) - datapath & control. Hwansoo Han

COMPUTER ORGANIZATION AND ARCHITECTURE

Chapter 4. The Processor

Chapter 4. The Processor

COMPUTER ORGANIZATION AND DESIGN. 5 th Edition. The Hardware/Software Interface. Chapter 4. The Processor

Computer Architecture Review. Jo, Heeseung

LECTURE 3: THE PROCESSOR

2 MARKS Q&A 1 KNREDDY UNIT-I

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

JNTUWORLD. 1. Discuss in detail inter processor arbitration logics and procedures with necessary diagrams? [15]

CS2253 COMPUTER ORGANIZATION AND ARCHITECTURE 1 KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY

Chapter 4. Instruction Execution. Introduction. CPU Overview. Multiplexers. Chapter 4 The Processor 1. The Processor.

COMPUTER ORGANIZATION AND DESIGN. 5 th Edition. The Hardware/Software Interface. Chapter 4. The Processor

COURSE DELIVERY PLAN - THEORY Page 1 of 6

MaanavaN.Com CS1202 COMPUTER ARCHITECHTURE

1. (10) True or False: (1) It is possible to have a WAW hazard in a 5-stage MIPS pipeline.

Chapter 4 The Processor 1. Chapter 4A. The Processor

UNIT I BASIC STRUCTURE OF COMPUTERS Part A( 2Marks) 1. What is meant by the stored program concept? 2. What are the basic functional units of a

Computer organization by G. Naveen kumar, Asst Prof, C.S.E Department 1

The Processor (1) Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Chapter 4. The Processor. Instruction count Determined by ISA and compiler. We will examine two MIPS implementations

Final Lecture. A few minutes to wrap up and add some perspective

Computer Organization and Design, 5th Edition: The Hardware/Software Interface

COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. 5 th. Edition. Chapter 4. The Processor

CS 1013 Advance Computer Architecture UNIT I

Serial. Parallel. CIT 668: System Architecture 2/14/2011. Topics. Serial and Parallel Computation. Parallel Computing

Course Description: This course includes concepts of instruction set architecture,

PIPELINE AND VECTOR PROCESSING

Slide Set 7. for ENCM 501 in Winter Term, Steve Norman, PhD, PEng

CS6303 COMPUTER ARCHITECTURE QUESTION BANK

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers.

Control Hazards - branching causes problems since the pipeline can be filled with the wrong instructions.

5 Computer Organization

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

SAE5C Computer Organization and Architecture. Unit : I - V

Perfect Student CS 343 Final Exam May 19, 2011 Student ID: 9999 Exam ID: 9636 Instructions Use pencil, if you have one. For multiple choice

Performance of Computer Systems. CSE 586 Computer Architecture. Review. ISA s (RISC, CISC, EPIC) Basic Pipeline Model.

Structure of Computer Systems

Computer Organization

ECE331: Hardware Organization and Design

Instruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU

ROEVER ENGINEERING COLLEGE DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CS 654 Computer Architecture Summary. Peter Kemper

Keywords and Review Questions

Parallel Computing: Parallel Architectures Jin, Hai

EE 4980 Modern Electronic Systems. Processor Advanced

UNIT I DATA REPRESENTATION, MICRO-OPERATIONS, ORGANIZATION AND DESIGN

ECE 2300 Digital Logic & Computer Organization. Caches

Computer Systems Architecture Spring 2016

CMSC411 Fall 2013 Midterm 1

Introduction. Datapath Basics

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

QUESTION BANK UNIT-I. 4. With a neat diagram explain Von Neumann computer architecture

VETRI VINAYAHA COLLEGE OF ENGINEERING AND TECHNOLOGY THOTTIAM DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING B.

COURSE DELIVERY PLAN - THEORY Page 1 of 6

Computer Architecture CS372 Exam 3

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT-I

Chapter 6 Objectives

CSEE 3827: Fundamentals of Computer Systems

UNIT I (Two Marks Questions & Answers)

s complement 1-bit Booth s 2-bit Booth s

Lecture 26: Parallel Processing. Spring 2018 Jason Tang

5 Computer Organization

Locality. Cache. Direct Mapped Cache. Direct Mapped Cache

Computer organization and architecture UNIT-I 2 MARKS

GRE Architecture Session

ECE331: Hardware Organization and Design

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

COMPUTER ORGANIZATION AND DESIGN

Pipeline and Vector Processing 1. Parallel Processing SISD SIMD MISD & MIMD

Full Datapath. Chapter 4 The Processor 2

Computer Architecture Computer Science & Engineering. Chapter 4. The Processor BK TP.HCM

Course II Parallel Computer Architecture. Week 2-3 by Dr. Putu Harry Gunawan

Computer Architecture Spring 2016

Systems Architecture

CS 590: High Performance Computing. Parallel Computer Architectures. Lab 1 Starts Today. Already posted on Canvas (under Assignment) Let s look at it

Determined by ISA and compiler. We will examine two MIPS implementations. A simplified version A more realistic pipelined version

Instruction Pipelining Review

There are different characteristics for exceptions. They are as follows:

M. Sc (CS) (II Semester) Examination, Subject: Computer System Architecture Paper Code: M.Sc-CS-203. Time: Three Hours] [Maximum Marks: 60

EN2910A: Advanced Computer Architecture Topic 02: Review of classical concepts

1. Define Computer Architecture. Computer Architecture deals with the structure and behavior of a computer including the information formats.

Advanced Computer Architecture

Very short answer questions. "True" and "False" are considered short answers.

omputer Design Concept adao Nakamura

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

Chapter 2. Parallel Hardware and Parallel Software. An Introduction to Parallel Programming. The Von Neuman Architecture

Transcription:

DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY Department of Computer science and engineering Year :II year CS6303 COMPUTER ARCHITECTURE Question Bank UNIT-1OVERVIEW AND INSTRUCTIONS PART-B 1. Discuss in detail about Eight great ideas of computer Architecture. Design for moore s law Use abstraction to simplify designs Make the common case Fast Performance via parallelism Performance via pipelining Hierarchy of memories Dependability via redundancy Performance via predication. 2. Explain the various components of computer System with neat diagram. Input devices Output devices Memory CPU or processor Network 3. Discuss in detail the various measures of performance of a computer. Performance Evaluation

Measuring performance CPU performance Equation SPEC CPU benchmark o Implementation of Amdahl s law 4. Define Addressing mode and explain the basic addressing modes with an example for each. Immediate addressing Register addressing, Base or displacement addressing PC-relative addressing Pseudo direct addressing 5. Explain operations and operands of computer Hardware in detail. operands of computer Hardware compiling a C assignments using registers memory operands 6. Discuss the Logical operations and control operations of computer. Logical operations o Bitwise operation AND o Bitwise operation OR Control operations o MIPS encoding for jump instruction o MIPS code o Compiling loop statements o Case/switch statements o Jump and link o Coprocessor instructions o Summarization of MIPS instruction format

UNIT-II ARITHMETIC OPERATIONS 1. Explain the Multiplication algorithm in detail with diagram and examples Signed multiplication Booth algorithm Booth algorithm for Signed multiplication Faster Multiplication Multiply in MIPS 2. Discuss in detail about division algorithm in detail with diagram and examples. Signed division Faster division Division in MIPS o Step 1: Test divisor<dividend. o Step 2: if divisor<dividend. o Step 1: shift the divisor right by 1 bit 3. Explain in detail about floating point representation IEEE 754 standard Scientific notation in binary o Single precision floating point IEEE 754 standard o Double precision floating point IEEE 754 standard Normalization representation o Sizes o Sign bit o Exponent o Special values o Denormalized representation Floating point under flow and over flow Guard and rounding.

4. Explain in detail about floating point arithmetic operation. Floating point addition and subtraction Floating point addition o Procedure o Example Floating point Multiplication o Procedure o Example Floating point in MIPS 5. Explain in detail about basic concepts of ALU design 1-bit ALU design Full adder 32-bit ALU design MIPS ALU design Arithmetic for multimedia 6. Explain in detail about arithmetic operation Boolean addition Boolean subtraction Overflow MIPS Overflow handling Ripple carry adder Fast adder circuit Carry look ahead adder

UNIT III PROCESSOR AND CONTROL UNIT 1. Explain the basic MIPS implementation of instruction set The memory reference instruction load word(lw) and store word(sw) The arithmetic logical instruction add,sub,and,or,and slt The instruction branch equal (beq) and jump (j) Clocking methodology 2. Explain in detail about building a data path Data path elements Data path for branch instruction Creating a single Data path 3. Explain in detail about control implementation scheme. The ALU control Designing the control unit Operation of the Data path for an R type instruction Finalizing the control A multi cycle implementation 4. What are control hazards? Explain the methods for dealing with the control hazards. Reducing the delay of branch Pipeline branch dynamic branch prediction o 1-bit prediction scheme o 2-bit prediction scheme 5. Discuss the data hazards and forwarding in pipelining 1a) EX/MEM. RegisterRd =ID/EX. register RS 1b) EX/MEM. RegisterRd =ID/EX. register RT 2a) MEM/WB. RegisterRd =ID/EX. register RS

2b) MEM/WB. RegisterRd =ID/EX. register RT Dependence detection Sub $1,$2,$3 add $1,$2,$3 or $1,$2,$3 EX Hazards MEM Hazards 6. How exceptions are handled in MIPS Instruction fetch and memory stages o Memory protection violation Instruction decode stages o Undefined illegal opcode Execution stage o Arithmetic exception Write back stages UNIT IV PARALLELISM 1. Explain Instruction level parallelism Dynamic, hardware intensive approach Static, complier intensive approach Loop level parallelism Data dependences and hazards o Data dependences o Control dependences o Structure dependences ILP architecture

2. Explain the difficulties faced by parallel processing programs First major challenges goods speedup Second major challenges remote access in parallel processing 3. Explain in detail Flynn s classification of parallel hardware Introduction Flynn s taxonomy Single instruction stream, single data stream (SISD) Single instruction stream, multiple data stream (SIMD) Multiple instruction streams, single data stream (MISD) Multiple instruction stream, multiple data stream(mimd) 4. Explain in detail hardware Multithreading Fine grained multithreading o Advantages o Disadvantages Coarse grained multithreading o Advantages o Disadvantages SMT o A super scalar without multithreading o A super scalar Fine grained multithreading o A super scalar Coarse grained multithreading o A super scalar SMT multithreading 5. Explain Multicotre processor Centralized shared memory architecture Classification based on communication models Distributed shared memory Message passing multiprocessor

UNIT V MEMORY AND INPUT OUTPUT SYSTEMS 1. Explain in detail about memory hierarchy. The principle of locality, states that program access a relatively small portion pof their address space at any instant of time. Temporal locality Spatial locality i/o Bus cpu c a c h e Memory Bus Memory I/O Devices Register 2.Explain Memory Technologies Main memory is the next level hierarchy It satisfies the demand of caches and serves as I/o interface Types SRAM CMOS DRAM SYCHRONOUS DRAM DOUBLE DATA RATE DRAM RAMBUS MEMORY ROM PROM

EPROM EEPROM FLASH MEMORY FLASH CARD FLASH DRIVE 3.Explain about cache memory in detail Cache memory is a small amount of fast memory Placed between two levels of memory hierarchy» To bridge the gap in access times Between processor and main memory (our focus) Between main memory and disk (disk cache) How Cache Memory Works Prefetch data into cache before the processor needs it Need to predict processor future access requirements» Not difficult owing to locality of reference Important terms Miss penalty Hit ratio Miss ratio = (1 hit ratio) Hit time 4. Explain about DMA Conroller DMA channel: DMA channel is issued to transfer data between main memory and peripheral device in order to perform the transfer of data. The DMA controller access rs address and data buses. DMA with help of schematic diagram of controller on tile needs the dual circuits of and e to communicate with -CPU and I/O device. In addition, it nee s an address register; a word count register, and a set of, es The address register and address lines are used for communication with memory to word count

register specifies the no. of word that - must be transfer may be done directly between the device and memory. 5. Explain about 1/0 processor Input/Output processor/information processor: It is designed to handle input/ output processes of a device or the computer. This processor is separate from the main processor (CPU). I/O processor is similar to CPU but it controls input output operations only. The computer having I/O processor relieves CPU from Input/output operations only. CPU is the master processor of the computer and it instructs the I/O processor to handle the input output tasks. I/O processor cannot work independently and is controlled by the CPU. The I/O processor is composed of commercially available TTL logic circuits that generate the micro instructions necessary to implement the I/O instructions. The I/O processor is fully synchronous with the system clock and main processor. it receives starting control from the main processor (CPU) whenever an input output instruction is read from memory. The I/O processor makes use of system buses after taking the permission from the CPU. It can instruction the I/O processor 1/0 processor responds to CPU by placing a status word at prescribed location to be checked out by the CPU later on CPU informs the 1/0 processor to find out the 1/0 program and ask 1/0 processor to transfer the data. I/O 6. What are the advantages you got with virtual memory? permit the user to construct program as though a large memory space were available, equal to totality auxiliary memory. Each address that is referenced by CPU goes through an address mapping from so called virtual address to physical address main memory. There are following advantages we got with virtual memory: 1. Virtual memory helps in improving the processor utilization.

2. Memory allocation is also an important consideration in computer programming due to high cost of main memory. 3. The function of the memory management unit is therefore to translate virtual address to the physical address. 4. Virtual memory enables a program to execute on a computer with less main memory when it needs. 5.Virtual memory is generally implemented by demand paging concept In demand paging, pages are only loaded to main memory when they are required 6.Virtual memory that gives illusion to user that they have main memory equal to capacity of secondary stages media. The virtual memory is concept of implementation which is transferring the data from secondary stage media to main memory as and when necessary. The data replaced from main memory is written back to secondary storage according to predetermined replacement algorithm.