0% found this document useful (0 votes)
114 views2 pages

Assignment 2

The document is an assignment sheet for an Introduction to Computing course. It includes two questions assessing the student's understanding of computer organization concepts like instruction types, clock cycles, and parallel vs pipelined processor execution. The first question calculates the cycles per instruction (CPI) and CPU time for two machines based on given instruction frequencies and cycle counts. The second question asks the student to calculate the overall time needed to execute a program using 4 parallel processors and 1 pipelined processor, showing the work and providing a block diagram. Both questions relate to the course learning outcomes of understanding computer architecture and data representation fundamentals.

Uploaded by

omer khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
114 views2 pages

Assignment 2

The document is an assignment sheet for an Introduction to Computing course. It includes two questions assessing the student's understanding of computer organization concepts like instruction types, clock cycles, and parallel vs pipelined processor execution. The first question calculates the cycles per instruction (CPI) and CPU time for two machines based on given instruction frequencies and cycle counts. The second question asks the student to calculate the overall time needed to execute a program using 4 parallel processors and 1 pipelined processor, showing the work and providing a block diagram. Both questions relate to the course learning outcomes of understanding computer architecture and data representation fundamentals.

Uploaded by

omer khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PAF- KARACHI INSTITUTE OF ECONOMICS & TECHNOLOGY

College of Engineering
(Department of Software Engineering)

CS1303 – Introduction to Computing

Assignment: 2

Semester: ______________________ Date of Experiment: _____________________


Student name: __________________ Faculty Signature: ______________________
Student ID: ____________________ Remarks/Comments: ____________________

PLOs PLO 01- Engineering Knowledge Bloom’s Taxonomy C2: Understand

CLO’s Aspects of Assessments Marks


CLO2 Describe and explain the basics of computer and
network organization including computer Question:1 Question:2
100%
architecture and recognize data representation in
terms of number systems.
Total Marks 15:
1. The table below indicates frequency of all instruction types executed in two different machines;
we are provided with a number of cycles per instruction for each type as given below. Consider an
implementation of Instruction set architecture with 500 MHz clock. Calculate the CPI and CPU
time. Which machine is faster and how many times it is faster than other? (Marks:10)

Machine A Machine B
Instruction Type
Frequency Cycles Cycles
ALU Instruction 50% 4 3
Load Instruction 30% 5 7
Store Instruction 5% 4 3
Branch Instruction 15% 2 4

2. If there are 23 instruction in a program which will execute on 5 processors. Suppose 4 processors
run instruction in a parallel fashion and 5th processor run programs in a pipeline fashion. Each
instruction cycle block requires 1.12nanosc to execute. How much overall time is required to
execute 23 instruction? Describe it and verify your answer with calculations and block diagram.
(Marks:15)

You might also like