62
Introduction Multi-tasking Multi-threading Multi-processing Hyper-threading Activity

Processing Techniques

Embed Size (px)

Citation preview

Page 1: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Page 2: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Page 3: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Table of contents showing names of sections in the lesson– these will all be clickable

Name of the section currently in view

Name of lesson

Close button for section currently in view

SCREEN LAYOUT

Navigation between different screens within a section

Instructions to tell user where to click on the screen next

Navigation between different sections in the lesson

Page 4: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

CHARACTERS USED IN THE LESSON:SiphoBenjamin

Crystal

Nikki

Mrs M

Click the highlighted icon

Page 5: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

LEARNING OUTCOMES AND ASSESSMENT STANDARDS

Processing Techniques

Learning Outcome 1: Hardware and system software

Assessment Standard 11.1.11:

• Discusses processing techniques and memory management.

Lesson outcomes

Once you have worked through this lesson, you should be able to:• List the four processing techniques.• Explain how each processing technique can be implemented.

Click the highlighted icon

Page 6: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

OTHER MINDSET RESOURCES FOR GRADE 11 IT

Type name of lesson here

Video lessons:

Worksheets:

Page 7: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Introduction

Processing Techniques

So, are you ready for today’s IT class test?

Click on Sipho

Introduction

Page 8: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Introduction

Processing Techniques

So, are you ready for today’s IT class test?

Don’t joke around Benjamin! The test is only tomorrow.

Click on Benjamin

Introduction

Page 9: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Introduction

Processing Techniques

I am serious! When the bell rings, we are writing the

test!

Click on Crystal

Introduction

Don’t joke around Benjamin! The test is only tomorrow.

Page 10: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Introduction

Processing Techniques

Oh no! Benjamin is right! We are writing

the IT test today!

I am serious! When the bell rings, we are writing the

test!

Click on Nikki and Crystal

Introduction

Page 11: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Introduction

Processing Techniques

What did we have to study?

Multi-tasking,multi-threading,

multi-processing and hyper-threading.

What did we have to study?

Click on BenjaminClick on Sipho

Introduction

Page 12: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

I know what multi-tasking is!

Click on Sipho

Multi-tasking

Multi-tasking

Page 13: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Read the definition and then click the monitor

MULTI-TASKING is a processing technique where the computer switches between programs giving each one a

“slice” of the CPU’s processing time. Multi-tasking

Multi-tasking

Page 14: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Type instruction here

MULTI-TASKING is a processing technique where the computer switches between programs giving each one a

“slice” of the CPU’s processing time.

Browsing Internet

Playing music

Instant messaging

Typing a document

The CPU isexecuting

this program

The CPU isexecuting

this program

The CPU isexecuting

this program

The CPU isexecuting

this program

The CPU isexecuting

this program

The CPU isexecuting

this program

The CPU isexecuting

this program

The CPU isexecuting

this program

NOTE: This is done so fast that it seems like the programs are actually running at the same time.

Multi-tasking

Multi-tasking

Page 15: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Type instruction here

So, when Sam says his dad’s new

computer is so advanced that it

can do everything at the same time, it’s not really the

case?

Multi-tasking

Multi-tasking

Page 16: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-tasking

Processing Techniques

Type instruction here

So when Sam says his dad’s new

computer is so advanced that it

can do everything at the same, it’s

not really the case?

His computer is just super fast and switches between programmes so

quickly that, for us humans, it looks as if the computer is doing everything at

once.

Multi-tasking

Page 17: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Type instruction here

Can you please explain the other terms for us Sipho?

Multi-threading

Multi-threading

Page 18: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Type instruction here

MULTI-THREADING is a processing technique where parts of a program are broken into “threads.” The computer switches

between these threads giving each one a “slice” of the CPU’s processing time.

Multi-threading

Multi-threading

Page 19: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-threading

Processing Techniques

Click the Next button

MULTI-THREADING is a processing technique where parts of a program are broken into “threads.” The computer switches between these threads giving each one a “slice” of the CPU’s

processing time.

Browsing Internet

Playing music

Instant messaging

Typing a document

The CPU isexecuting

this program

The CPU isexecuting

this program

Spelling FormattingInserting images

SavingTyping a document

Multi-threading

The CPU isexecutingthis thread

The CPU isexecutingthis thread

The CPU isexecutingthis thread

The CPU isexecutingthis thread

NOTE: This happens so fast that it seems like the threads are running and are executed at the same time.

Page 20: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-threading

Processing Techniques

Click on Benjamin

That is why Mrs M said in class that the idea of multi-tasking was so clever that computer scientists used the same idea within single

programs too.

Multi-threading

Page 21: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click on Nikki

Suppose we are asked to give an

example of multi-threading, what would be a good

one to use? Multi-threading

Multi-threading

Page 22: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click the Example button

ExampleCan you help us to

find a good example of multi-threading?

Multi-threading

Multi-threading

Page 23: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Select you answer and then click the Check button.

A word processor tracks what I am typing (input), displays the text (output) while checking spelling and also grammar at the same time.

Check

While typing in values into a spreadsheet, I open the calculator, check if my values are correct and then continue to update the spreadsheet.

CLOSE

Click the radio button next to the example of multi-threading and then click the Check button.Multi-threading

Multi-threading

Page 24: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Select you answer and then click the Check button.

A word processor tracks what I am typing (input), displays the text (output) while checking spelling and also grammar at the same time.

Check

While typing in values into a spreadsheet, I open the calculator, check if my values are correct and then continue to update the spreadsheet.

CLOSECORRECT ANSWER:

Multi-threading

Multi-threading

Page 25: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

A word processor tracks what I am typing (input), displays the text (output) while checking spelling and also grammar at the same time.

Check

While typing in values into a spreadsheet, I open the calculator, check if my values are correct and then continue to update the spreadsheet.

CLOSE

Click the Close button

Good thinking! All the tasks listed are performed within the same program – that is why this is a good example of multi-threading.

Multi-threading

Multi-threading

Page 26: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click the Close button

A word processor tracks what I am typing (input), displays the text (output) while checking spelling and also grammar at the same time.

Check

While typing in values into a spreadsheet, I open the calculator, check if my values are correct and then continue to update the spreadsheet.

CLOSE

The first one is a good example of multi-threading because the CPU has to execute different tasks within the same programme.

In the second example, the spreadsheet is a program and the calculator is another program and “jumping” or “switching” between two programs is called multi-tasking.

Multi-threading

Multi-threading

Page 27: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click on Nikki

Multi-threading

Multi-threading

Thanks for the help!

Page 28: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-processing

Processing Techniques

Type instruction here

Sipho, are there computers that can do multi-tasking and multi-

threading at the same time?

Multi-processing

Page 29: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-processing

Processing Techniques

Click on Sipho

Yes. A computer with a dual core processor can easily perform

multi-tasking and multi-threading because it has two cores on the

CPU. This is called multi-processing. Let me explain…

Sipho, are there computers that can do multi-tasking and multi-

threading at the same time?

Multi-processing

Page 30: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-processing

Processing Techniques

Type instruction here

MULTI-PROCESSING is a processing technique where different processing tasks are run on different processors (or

“processor cores”) at the same time.

Multi-processing

Page 31: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-processing

Processing Techniques

Type instruction here

MULTI-PROCESSING is a processing technique where different processing tasks are run on different processors (or “processor cores”) at the same time.

Internet browser Music player Word processorInstant

messenger

The CPU isexecuting

this program

The CPU isexecuting

this program

The CPU is

executingthis

thread

The CPU is

executingthis

thread

The CPU isexecuting

this program

Display output

SaveInsert image

The CPU is

executingthis

threadClick the arrow to see what happens when you add a second processor.

Multi-processing

CPU /core 1

Page 32: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-processing

Processing Techniques

Click the Next button

MULTI-PROCESSING is a processing technique where different processing tasks are run on different processors (or “processor cores”) at the same time.

Internet browser Music player Word processorInstant

messenger

CPU /core 1

Display output

SaveInsert image

Internet browser Music player Word processorInstant

messenger

CPU /core 2

Display output

SaveInsert image

NOTE: Each of the two cores can implement multi-tasking and multi-threading.

Multi-processing

Imagine how fast a quad core processor (a CPU with four cores) will be able to multi-process, multi-task and multi-thread!

Page 33: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-processing

Processing Techniques

Click on Sipho

Is the word “multi” used in all the terms because more than one task is processed or executed?

Multi-processing

Page 34: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Multi-processing

Processing Techniques

Click on Benjamin

Is the word “multi” used in all the terms because more than one task is processed or executed?

Correct!

• Multi-tasking: more than one programme is executed.

• Multi-threading: more than one thread is executed.

• Multi-processing: more than one processor is executing programmes and/or threads.

Multi-processing

Page 35: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Hyper-threading

Processing Techniques

Type instruction here

All the terms make sense to me now.

But where does hyper-threading fit

in?Hyper-threading

Page 36: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Type instruction here

Modern multi-core processors don’t

always use hyper-threading.

Let me explain to you how it works on a single processor.

All the terms make sense to me now.

But where does hyper-threading fit

in?Hyper-threading

Hyper-threading

Page 37: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Type instruction here

HYPER-THREADING is a processing technique where threads can share the use of one CPU by simulating two execution

units.

Hyper-threading

Hyper-threading

Page 38: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click the highlighted area

HYPER-THREADING is a processing technique where threads can share the use of one CPU by simulating two execution

units.

Internet browser Music player Word processor

Display output

Edit text

Insert image

The CPU executes

threadThe CPU loads

the registers with the

appropriate data.

The CPU executes the program

The CPU loads the registers

with the appropriate

data.

The CPU executes

thread

When the CPU has to execute a thread, it first has to load the registers with the

appropriate data for the thread.

This process is repeated every time the CPU swaps between threads, in other words when it’s implementing multi-

threading.

Hyper-threading

Hyper-threading

Page 39: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click the Next button

HYPER-THREADING is a processing technique where threads can share the use of one CPU by simulating two execution

units.

Internet browser Music player Word processor

Display output

Edit text

Insert image

The CPU executes

thread

Intel processors that implement hyper-threading have an extra set of registers so that the data

does not need to be loaded into the same set of registers and can be accessed immediately by

the other thread.

This saves a lot of time and the operating system is “fooled” into believing that there is a second processor core when there isn’t actually one.

The CPU loads the registers

with the appropriate

data.

Extra set of registers

The CPU loads the registers

with the appropriate

data.

Hyper-threading

Hyper-threading

Page 40: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Type instruction here

So, with hyper-threading the CPU can do multi-

threading quicker?

Hyper-threading

Hyper-threading

Page 41: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click the classroom door

Hyper-threading

Hyper-threading

So, with hyper-threading the CPU can do multi-

threading quicker?

Yes, because it has an additional set of

registers to which the data can be loaded!

Page 42: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the classroom door to enter

OK everybody! Please come inside. I hope

you are well prepared for today’s test.

Activity

Page 43: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the START button

Good luck everybody!

When you are ready, click the start button on your screen.

START

Activity

Page 44: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Good luck!

Activity

Page 45: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Drag the term from the left column onto the correct definition on the right.

Question 1

Match the definitions to the terms:

Hyper threading

Multi-threading

Multi-processing

Multi-tasking

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores

A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.CHECK

Activity

Page 46: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Drag the term from the left column onto the correct definition on the right.

Question 1

Match the definitions to the terms:

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores

A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.

Activity

CORRECT ANSWERS:

Hyper threading

Multi-threading

Multi-processing

Multi-tasking

Page 47: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Question 1

Match the definitions to the terms:

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores

A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.

Activity

Hyper threading

Multi-threading

Multi-processing

Multi-tasking

Well done! All your answers are correct.

Page 48: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Question 1

Match the definitions to the terms:

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores

A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.

Activity

Hyper threading

Multi-threading

Multi-processing

Multi-tasking

Oops! Only some of your answers are correct.

Click the RETRY button.

RETRY

Page 49: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Question 1

Match the definitions to the terms:

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores

A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.

Activity

Hyper threading

Multi-threading

Multi-processing

Multi-tasking

Oops! None of your answers are correct.

Click the RETRY button.

RETRY

Page 50: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Question 1

Match the definitions to the terms:

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores

A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.

Activity

Some are still incorrect.

Click the information icons.

Page 51: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Question 1

Match the definitions to the terms:

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores

A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.

Activity

Some are still incorrect.

Click the information icons.

A processing technique where “time-slices” are allocated to several applications and processing switches between them giving the impression that all the applications are running at the same time.

This is a definition of multi-tasking - the computer switches between programs giving each one a “slice” of the CPU’s processing time.A processing technique where threads share the use of one CPU by simulating two CPU execution units. This “fools” the operating system into believing that there are two CPUs.

This is a definition of hyper-threading and it happens when a computer has an extra set of registers/execution units into which it can load the data required for a particular thread. The result is that the CPU can execute threads much quicker.A processing technique where more than one program or thread executes at the same time on different CPUs or CPU cores.

This is a definition of multi-processing - the computer can only do multi-processing if it has more than one CPU.A processing technique where time-slices are allocated to active threads and processing switches between these so fast it appears that an application is doing several things simultaneously.

This is a definition of multi-threading and it happens when parts of a program are broken into “threads” and the CPU switches between these threads, giving each one a “slice” of its processing time.

Page 52: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the radio buttons next to the answers of your choice

Question 2

Read the statements below and indicate whether they are true or false:

Activity

1. Multi-tasking is implemented by means of more than one CPU.

2. Hyper-threading simulates multiple CPU cores so that a single core CPU is able to process threads more efficiently.

3. Multi-processing gives the appearance that more than one task is being executed at a time.

4. Multi-processing and multi-tasking are primarily implemented by means of time-slices.

5. Multi-threading and multi-processing can be implemented at the same time in a quad core CPU.

6. Multi-tasking results in more than one task and/or thread being executed at the same time.

True False

True False

True False

True False

True False

True False

Page 53: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the radio buttons next to the answers of your choice

Question 2

Read the statements below and indicate whether they are true or false:

Activity

1. Multi-tasking is implemented by means of more than one CPU.

2. Hyper-threading simulates multiple CPU cores so that a single core CPU is able to process threads more efficiently.

3. Multi-processing gives the appearance that more than one task is being executed at a time.

4. Multi-processing and multi-tasking are primarily implemented by means of time-slices.

5. Multi-threading and multi-processing can be implemented at the same time in a quad core CPU.

6. Multi-tasking results in more than one task and/or thread being executed at the same time.

True False

True False

True False

True False

True False

True False

CORRECT ANSWERS:

Page 54: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the radio buttons next to the answers of your choice

Question 2

Read the statements below and indicate whether they are true or false:

Activity

1. Multi-tasking is implemented by means of more than one CPU.

2. Hyper-threading simulates multiple CPU cores so that a single core CPU is able to process threads more efficiently.

3. Multi-processing gives the appearance that more than one task is being executed at a time.

4. Multi-processing and multi-tasking are primarily implemented by means of time-slices.

5. Multi-threading and multi-processing can be implemented at the same time in a quad core CPU.

6. Multi-tasking results in more than one task and/or thread being executed at the same time.

True False

True False

True False

True False

True False

True False

Page 55: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the information icon

Question 2

Read the statements below and indicate whether they are true or false:

Activity

1. Multi-tasking is implemented by means of more than one CPU.

2. Hyper-threading simulates multiple CPU cores so that a single core CPU is able to process threads more efficiently.

3. Multi-processing gives the appearance that more than one task is being executed at a time.

4. Multi-processing and multi-tasking are primarily implemented by means of time-slices.

5. Multi-threading and multi-processing can be implemented at the same time in a quad core CPU.

6. Multi-tasking results in more than one task and/or thread being executed at the same time.

True False

True False

True False

True False

True False

True False

This statement is FALSE – With multi-tasking, you have one CPU that switches between different execution tasks. Multi-processing is implemented by means of multiple CPU cores.

This statement is FALSE – Multi-processing is when multiple processing cores are executing tasks and threads at the same time.This statement is FALSE – Multi-

processing is implemented by means of more than one processing core performing tasks at the same time.

This statement is FALSE – Multi-tasking is the result of more than one task being executed at the same time. When more than one thread is being executed, we call it multi-threading.

Page 56: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the computer of your choice

Question 3

Read the specifications below.

Which of the following two desktop computers is able to perform multi-processing?

http://images.tigerdirect.com/skuimages/large/981241_01_300.jpg

SPECIFICATIONS:• Intel ® processor 1.6 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

SPECIFICATIONS:• Intel ® Celeron ® Dual Core

processor 2.4 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

Activity

DESKTOP 1 DESKTOP 2

Page 57: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the computer of your choice

Question 3

Read the specifications below.

Which of the following two desktop computers is able to perform multi-processing?

SPECIFICATIONS:• Intel ® processor 1.6 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

SPECIFICATIONS:• Intel ® Celeron ® Dual Core

processor 2.4 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

Activity

DESKTOP 1 DESKTOP 2

CORRECT ANSWER:

Page 58: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Question 3

Read the specifications below.

Which of the following two desktop computers is able to perform multi-processing?

SPECIFICATIONS:• Intel ® processor 1.6 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

SPECIFICATIONS:• Intel ® Celeron ® Dual Core

processor 2.4 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

Activity

DESKTOP 1 DESKTOP 2

Well done! This computer has a dual core processor and will therefore be able to multi-process.

Desktop 1 has an Intel ® single processor and will be able to perform hyper-threading, but not multi-processing.

Page 59: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Question 3

Read the specifications below.

Which of the following two desktop computers is able to perform multi-processing?

SPECIFICATIONS:• Intel ® processor 1.6 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

SPECIFICATIONS:• Intel ® Celeron ® Dual Core

processor 2.4 GHz• 1024 MB RAM• 160GB HDD• Super multi DVD writer• Integrated LAN

Activity

DESKTOP 1 DESKTOP 2

This computer has an Intel ® single core processor and will therefore NOT be able to perform multi-processing. However, it can perform hyper-threading.

Because Desktop 2 has a dual core processor, it will be able to perform multi-processing.

Page 60: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Activity

Processing Techniques

Click the Next button

Activity

Oops! There goes the bell.

I will check on the server to see how well you all did in the test.

See you all tomorrow.

Page 61: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

Click on Crystal

Multi-threading

Thanks to you, I did very well in the

test.

It showed me what can be

accomplished with a little team effort!

Activity

Page 62: Processing Techniques

Introduction

Multi-tasking

Multi-threading

Multi-processing

Hyper-threading

Activity

Processing Techniques

You can now close the lesson

Multi-threading

Activity

Three cheers for a great team!

We hope you did well too. See you again soon!