OCRComputer Science Comp 1 Res Pack
OCRComputer Science Comp 1 Res Pack
A-Level
Computer Science
Component 1
Computer Systems
Copyright Notice
All material is Copyright ICT Interactive unless otherw is e stated. Each worksheet can be photocopied
within the purchasing institute as long as they remain at the institute which made the initial purchase.
No form of this resource can be transmitted electronic ally, digitally, mechanically, paper based, or
otherwise outside the purchasing institute w ithout prior permission of the publisher or author.
Microsoft Windows, Windows NT, Vista, XP, Seven/Eight, Office 2003, Office 2007/2010 and/or other
Microsoft's products referenced are either trademarks or regis tered trademarks of Microsoft.
Macromedia/Adobe and/or other such Adobe products referenced are either trademarks or registered
trademarks of Adobe.
Disclaimer
The publisher or author has tried their very best to ensure that the resource pac k is accurate and up-
to-date. However, the publisher or author takes no responsibility if any of the information content is
inaccurate or incorrect that may contradict or mislead in anyway at the time w hen the resource was
published. The publisher and author specif ically dis claim any responsibility for any liability, loss, or
risk, personal or otherwise, which is incurred as a consequence, directly or indirectly, of the use and
application of any of the contents of this resource. For purposes of illustrating the content and
techniques described in this resource, the author has created variety of names, company names,
mailing, e-mail and internet addresses, phone and fax numbers and similar information, all of w hic h
are fictitious. Any organiz ation, website or software application referenced in this resource is not an
endorsement by the publisher or author. Any websites referred to within this resource may have
changed at the time of publishing and reading of this resource.
The publisher or author cannot guarantee that the content in the resource w ill help, assist and
progress the learning of the purchaser and/or institute including students/learners/teachers in any
formal or informal exams or coursework practices. The purchasers own self judgement must be used
to ensure information is understood, delivered, used responsibly, appropriately and effectively . It is
the sole discretion and responsibility of the subject teacher/purchaser who will determine how , when
and decide the best method of using the resource pack relating to any form of examination,
coursework or lesson/class.
Every effort has been made to ensure all images are acknowledged and referenced accordingly. ICT
Interactive will be happy to amend any details or make special arrangements to whom copyright
holder has not been contacted.
ICT Interactive is not affiliated w ith AQA, OCR, Edexcel or any other exam board or priv ate/corporate
institute.
Acknowledgement
The content in the book refers to either a specif ication or softw are application and all intellectual
property rights of the software/specif ication are owned by that institute/organis ation. The publisher or
author neither accepts responsibility of ownership of the softw are application and/or specific ation as
their own.
For further details of Acknowledgements/Disclaimers please refer to the ICT Interactive website.
Content
1.1 CPU 9
1.2 Structure of a CPU 10
1.3 Components of a CPU 11
1.4 CPU Register 12
1.5 Fetch, Execute, Decode Cycle 13
1.6 Von Neumann 14
1.7 Von Neumann Architecture 15
1.8 Factor Affect Performance of a PC 16
1.9 Pipelining 17
1.10 Architecture 18
1.11 RISC / CISC 19
1.12 GPU 20
1.13 GPU’s Vs CPU’s 21
1.14 Secondary Storage Media 22
1.15 Storage Devices 23
1.16 Types Storage Media 24
End of Chapter Questions 25
Comp
1
COMPUTER SYSTEMS - 3
OCR COMPUTER SCIENCE
4.1 Units 70
4.2 What is Binary? 71
4.3 What is Hexadecimal? 72
4.4 What is ANSI/Unicode? 73
4.5 Data Representation In Binary Form 74
4.6 Binary Calculations 75
4.7 Bitwise manipulation and masks 76
4.8 Floating Point Arithmetic 77
4.9 Arrays 78
4.10 Boolean Logic 79
4.11 Karnaugh Map 80
4.12 De Morgan’s Law 81
4.13 Logic Gates and Truth Tables 82
4.14 Understanding Logic Gates and Truth Tables 83
4.15 D Flip Flops 84
End of chapter Questions 85
5.1 Legislation 87
5.2 Understanding the Data Protection Act 88
5.3 Understanding the Computer Misuse Act 89
5.4 Data Protection Act 90
5.5 Computer Misuse Act 91
Comp
1
COMPUTER SYSTEMS - 4
OCR COMPUTER SCIENCE
Worksheet Answers
1.1-1.16 101
2.1-2.18 104
3.1-3.21 108
4.1-4.15 113
5.1-5.12 115
Comp
1
COMPUTER SYSTEMS - 5
OCR COMPUTER SCIENCE
This resource pack has been designed to help students learn and support
teachers in delivery of OCR GCE Computer Science (H446) at KS5
Summary Disclaimer
The publisher or author cannot guarantee that the content in the resource pack
will help, assist and progress the learning of the purchaser and/or institute
including students/learners/teachers in any formal or informal exams or
coursework practices. The purchasers own self judgement must be used to
ensure information is understood, delivered, used responsibly, appropriately and
effectively. I t is the sole discretion and responsibility of the subject teacher who
will determine how, when and decide the best method of using the resource
pack relating to any form of examination, coursework or lesson/class.
Feedback
Request a Resource
Register your email to receive free future updates and other resources from I CT
Interactive
Comp
1
COMPUTER SYSTEMS - 6
OCR COMPUTER SCIENCE
This book has been designed as a resource pack to support the delivery of Comp1
Computer Systems for OCR Computer Science (Level 3) H446 Specification 2015.
How to use
The resource contains full content coverage of the specification and matches the
requirements exactly. Each worksheet has been designed to ensure a mixture of content
and learning activities for students to complete. The worksheets can be set as starter,
main or plenary activities or as homework or as a complete revision booklet in preparation
for the unit.
Learning Content
The characteristics of contemporary processors, input, output and storage devices
Comp
1
COMPUTER SYSTEMS - 7
OCR COMPUTER SCIENCE
Comp
1
COMPUTER SYSTEMS - 8
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
1.1 CPU
Activity
a) b) c)
...........................................................................................................................................................
...........................................................................................................................................................
Feature 1
...........................................................................................................................................................
...........................................................................................................................................................
Feature 2
...........................................................................................................................................................
...........................................................................................................................................................
Activity
Look at the following diagram of a CPU: Explain each key component: Useet
the following words, Memory, Control Unit, ALU, Accumulator [4]
a)
b)
c)
d)
QUESTIONS
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 10
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
ALU
...........................................................................................................................................................
PC
...........................................................................................................................................................
MAR
...........................................................................................................................................................
MDR
...........................................................................................................................................................
CIR
...........................................................................................................................................................
CU
...........................................................................................................................................................
IR
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 11
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Complete the following fill in the blanks activity:
Use the following words: digital, processor, memory, registers, architecture, addressed,
arithmetic, memory, data
Questions
...........................................................................................................................................................
....................................................................................................................................................... [1]
Feature 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Feature 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 12
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
QUESTIONS
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 13
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
QUESTIONS
both instructions (code) and data (variables and input/output) are stored in memory
memory is an collection of binary digits (bits) that have been organized into bytes, words,
and regions with addresses
the code instructions and all data have memory addresses
to execute each instruction, it has to be moved to registers
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 14
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
b)
a)
QUESTIONS
1. Explain how the following components function within the Von Neumann’s diagram:
Logic Unit
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 15
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Using the table below, explain each type of computer architecture: [2]
CPU Cores
Cache
Comp
1
COMPUTER SYSTEMS - 16
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
1.9 Pipelining
Activity
Questions
1. What is pipeling:
...........................................................................................................................................................
....................................................................................................................................................... [2]
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [2]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 17
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
1.10 Architecture
Activity
1. Computer Architecture is
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
5. PC Stands for
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
8. Fetch performs
............................................................................................................................................................
9. Execute performs
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 18
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Questions
...........................................................................................................................................................
....................................................................................................................................................... [2]
RISC
...........................................................................................................................................................
....................................................................................................................................................... [1]
CISC
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 19
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
1.12 GPU
Activity
Use the following words: datacenters phones drones applications world. enterprises,
government scientific accelerated, graphics, cars, consumer
Questions
GPU
...........................................................................................................................................................
....................................................................................................................................................... [1]
CPU
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 20
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Use the follow words: multiple, workloads sequential difference, CPU, GPU, cores
parallel, thousands, process, efficient
Questions
....................................................................................................................................................... [1]
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 21
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table and identify a problem, explain how different
input, output and storage devices can be applied to a problem.
Output
Storage
Comp
1
COMPUTER SYSTEMS - 22
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following images; identify as many different storage devices as
you can: [6]
b)
a)
c)
d) g)
e) f)
Questions
............................................................................................................................................................
........................................................................................................................................................[2]
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 23
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table of storage devices/media. For each
device/media, give one advantage/disadvantages: [6]
Cd/DVD Rom
USB/Flash
Drive
Comp
1
COMPUTER SYSTEMS - 24
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Using the Internet and other sources of information, answer ALL questions:
Questions
8. Give the main differences between and uses of CISC and RISC processors.
9. Explain the main different between GPUs and their uses to a CPU
10. Explain how multicore and parallel systems operate
Extension: List areas which you need to revise and further develop your understanding
Comp
1
COMPUTER SYSTEMS - 25
OCR COMPUTER SCIENCE
Comp
1
COMPUTER SYSTEMS - 26
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Questions
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
....................................................................................................................................................... [1]
Example1
....................................................................................................................................................... [1]
Example 2
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 27
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following computer and name four key functions of an OS: [4]
a)
b)
c) d)
QUESTIONS
....................................................................................................................................................... [1]
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 28
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Use the words: processor, signal, interruption, priority, suspending, software, immediate,
state, service, handler, normal, activities, code, temporary
Questions
...........................................................................................................................................................
....................................................................................................................................................... [1]
Example 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Example 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 29
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
2.4 Scheduling
Activity
Questions
1. What is a scheduling?
...........................................................................................................................................................
....................................................................................................................................................... [1]
Example 1
...........................................................................................................................................................
....................................................................................................................................................... [2]
Example 2
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 30
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Questions
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 31
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table of software types. Fo each one explain the purpose
and give an example of use [6]
embedded,
multi-user
multi-
taskin
Comp
1
COMPUTER SYSTEMS - 32
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table of storage devices/media. For each device/media,
give one advantage/disadvantages: [6]
Virtual
Storage
Devices
Drivers
Comp
1
COMPUTER SYSTEMS - 33
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table of different types of software. For each type of software, explain
and give an example: [6]
Proprietary
Comp
1
COMPUTER SYSTEMS - 34
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
2. What is the main difference between the compiler and the assembler?
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 35
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table of stages of complication. For each type of software,
explain and give an example: [6]
syntax
analysis
code
generation
optimisation
Comp
1
COMPUTER SYSTEMS - 36
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table of linkers and loaders. For each, explain and give an
example: [6]
Loaders
Comp
1
COMPUTER SYSTEMS - 37
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
The systems ……………… life cycle (SDLC) is a ……………….. model used in project
………………….. that describes the stages involved in an ………………………. system
development project, from an initial ……………….. study through ………………….. of
the completed…………………. Various SDLC ……………… have been developed to
guide the processes involved, including the ……………… model (which was the original
SDLC method); …………… application development (RAD); ……………. application
………………….. (JAD)
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 38
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Use the words: Model, Process, next, path development, sequential, project, determine,
small, discard, whether, review, fully
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 39
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
The spiral model is similar to the ………………. model, with more emphasis placed on
risk……………….. . The spiral model has ………….. phases: Planning, Risk Analysis,
…………….. and……………... A software project repeatedly passes through these
phases in ………………… (called ………………. in this model). The ……………. spiral,
starting in the ……………….. phase, requirements are gathered and ………………. is
assessed. Each …………… spirals builds on the baseline spiral.
Use the words: Evaluation, incremental, analysis, four, Engineering, baseline, iterations,
planning, risk, subsequent, Spirals
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 40
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 41
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Use the words: removed, Machine, numbers, read, write, structure, commands,
language, almost
Questions
a) Machine Code
b) Binary Code
c) Hex Code
d) Software Code
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 42
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Developed for use with "The …………………. of Computer Hardware and Software
Systems: An Information ……………………Approach" Second and Third Editions by
Irv………………….. The Little Man Computer (LMC) was created by Dr. ……………....
…………………….. . The LMC models a simple von ……………………. architecture
computer, so it has all of the basic ………………….. of a ………………computer. The
………….. can be programmed in ……………. or …………………… code, and the
following ………………… will allow you to run your programs
Use the words: Madnick, Stuart Englander, Architecture, LMC, machine, assembly,
Technology, simulator, features, modern, Neumann
Questions
a) Stuart Madnick
b) Stuart Riley
c) Stuart Samwick
d) Stuart Little
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [3]
Comp
1
COMPUTER SYSTEMS - 43
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Print "passed"
else
Print "failed"
QUESTIONS
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[2]
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[1]
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 44
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Using the Internet and other sources of information, answer ALL questions:
Questions
9. Explain the nature of applications, justifying suitable applications for a specific purpose.
10. List five different software Utilities.
11Give three differences of Open source vs closed source.
12. Explain how a translator: Interpreters, compilers and assembler function
13. What are the stages of compilation?
14. Explain each stage when producing coding: lexical analysis, syntax analysis, code
generation and optimisation).
15. How do Linkers and loaders function in programming environment?
16. How are libraries used in a programming language?
17. Produce a table that explain the waterfall lifecycle, agile methodologies, extreme
programming, the spiral model and rapid application development.
18. Explain the merits and drawbacks of different methodologies
Extension: List areas which you need to revise and further develop your understanding
Comp
1
COMPUTER SYSTEMS - 45
OCR COMPUTER SCIENCE
Comp
1
COMPUTER SYSTEMS - 46
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Lossless ……………….., every single bit of ………….. that was originally in the file
remains after the file is…………………. . All of the information is completely restored.
……………….. compression reduces a ………….. by permanently …………………..
certain information, especially …………………information. When the file is
uncompressed, only a part of the ……………….. information is still there (although the
user may not notice it). Lossy compression is generally used for …………….. and
sound
Questions
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [2]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 47
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.2 Encryption
Activity
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 48
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.3 Hashing
Activity
Use the words: Hashing, transformation, characters, database, faster, shorter, key,
encryption, string, index, item
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 49
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.4 Database
Activity
Use the words: database, stores, information, multiple, company, products, financial,
relevant, tables, fields, stored, several
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 50
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.5 Normalisation
Activity
Use the words: Normalization, dividing, tables, relationships, deletions, deletions, field,
propagated, isolate
Questions
1. What is a normalisation?
...........................................................................................................................................................
....................................................................................................................................................... [2]
3. Explain the process of the following normalisation:
1NF
...........................................................................................................................................................
....................................................................................................................................................... [1]
2NF
...........................................................................................................................................................
....................................................................................................................................................... [1]
3NF
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 51
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Questions
1 to 1 ............................................................................................................................ .
Many to 1 ............................................................................................................................ .
3. Draw an example of an ERD for a Online Streaming Movies Database that include tables
called, customers, Online Streams (Movies) and Sales [4]
Comp
1
COMPUTER SYSTEMS - 52
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Use the words: primary, assigned, number, database, defining, record, text, listed,
sense, key, data, table, the, computer
Questions
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 53
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.8 DBMS
Activity
Use the following words: DBMSs, collection, reservation, mainframes, systems, library,
teller, information, personal
Questions
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 54
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.9 SQL
Activity
Use the words: Query, SQL, updating, language, ANSI, proprietary, standard, command,
location, Queries, database
Questions
...........................................................................................................................................................
....................................................................................................................................................... [1]
Example 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Example 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 55
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table that include types of transaction processing.
For each type give a brief explanation the purpose and example of
use[6]
record
locking and
redundancy
Comp
1
COMPUTER SYSTEMS - 56
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.11 Databases
Activity
1. A database is
............................................................................................................................................................
............................................................................................................................................................
3. Normalisation is
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
7. BNF is
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 57
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
QUESTIONS
3. Give one advantage for the use of the following types of network:
LAN
...........................................................................................................................................................
....................................................................................................................................................... [1]
WAN
...........................................................................................................................................................
....................................................................................................................................................... [1]
Difference 1
...........................................................................................................................................................
....................................................................................................................................................... [1]
Difference 2
...........................................................................................................................................................
....................................................................................................................................................... [1]
Comp
1
COMPUTER SYSTEMS - 58
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Look at the following table of types of networks and list each type of
hardware/software needed: [6]
Network Hardware/Software
LAN
WAN
Comp
1
COMPUTER SYSTEMS - 59
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
QUESTIONS
Packet:
...........................................................................................................................................................
....................................................................................................................................................... [1]
Circuit:
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 60
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
3.15 Protocols
Network protocols like HTTP, TCP/IP, and SMTP provide a foundation that
much of the Internet is built on.
QUESTIONS
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
TCP
...........................................................................................................................................................
....................................................................................................................................................... [1]
IP
...........................................................................................................................................................
....................................................................................................................................................... [1]
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [3]
Comp
1
COMPUTER SYSTEMS - 61
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
1. TCP is
...........................................................................................................................................................
2. IP stands for
...........................................................................................................................................................
3. SMTP provides
...........................................................................................................................................................
4. FTP is
...........................................................................................................................................................
5. POP provides
...........................................................................................................................................................
6. HTTP is
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
10. UDP is
...........................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 62
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
1. Data transmission is
............................................................................................................................................................
2. Full Duplex is
............................................................................................................................................................
............................................................................................................................................................
4. Packet switching is
............................................................................................................................................................
5. Circuit switching is
............................................................................................................................................................
............................................................................................................................................................
7. An example of IP is
............................................................................................................................................................
8. IP stands for
............................................................................................................................................................
9. A network protocol is
............................................................................................................................................................
............................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 63
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[1]
Advantage 2
............................................................................................................................................................
........................................................................................................................................................[1]
Danger 1
............................................................................................................................................................
........................................................................................................................................................[2]
Danger 2
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 64
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Function 1
............................................................................................................................................................
........................................................................................................................................................[2]
Function 2
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 2
............................................................................................................................................................
........................................................................................................................................................[2]
4. Give three potential dangers to a computer system when not using a firewall:
............................................................................................................................................................
........................................................................................................................................................[3]
Comp
1
COMPUTER SYSTEMS - 65
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Search engine
indexing.
PageRank
algorithm.
Comp
1
COMPUTER SYSTEMS - 66
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Use the words: methods, numeric, represents, Google, casting, relevance, determines,
web, figures, important, another, cast
Questions
Factor 1
............................................................................................................................................................
........................................................................................................................................................[2]
Factor 2
............................................................................................................................................................
........................................................................................................................................................[2]
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[2]
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 67
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Using the Internet and other sources of information, answer ALL questions:
Questions
1.3.2 Databases
10. Explain the function of a Relational database, flat file, primary key, foreign key, secondary
key, entity relationship modelling
11. Explain the stages of Normalisation
12. SQL – Interpret and modify.
13. Transaction processing, ACID (Atomicity, Consistency, Isolation, Durability), record locking
and redundancy.
1.3.3 Networks
Comp
1
COMPUTER SYSTEMS - 68
OCR COMPUTER SCIENCE
Comp
1
COMPUTER SYSTEMS - 69
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
4.1 Units
There are several different types of units in computing, For example, 1 Bit =
Binary Digit and 8 Bits = 1 Byte. 1024 Bytes = 1 Kilobyte, 1024 Kilobytes = 1
Megabyte, 1024 Megabytes = 1 Gigabyte , 1024 Gigabytes = 1 Terabyte, 1024
Terabytes = 1 Petabyte
Activity
Look at the following table about units of data, give a brief explanation and example of the
size: [6]
Nibble
Kilobyte
Megabyte
Gigabyte
Terabyte
Comp
1
COMPUTER SYSTEMS - 70
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
QUESTIONS
2. From the above images, what is the binary code for 1, 3, and F:
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 71
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
QUESTIONS
2. From the above images, what value is 1000 and 111 in Hexadecimal and decimal?
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 72
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
QUESTIONS
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 73
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Value: 128 64 32 16 8 4 2 1
ON/OFF: 1 1 1 1 1 1 1 1
Counting on a computer normally start with 0, instead of 1. Therefore, counting all the bits
does equal 255, however, if you start at 0, it is really 256. Below is another example of
10001101, which is 141 or 1 + 4 + 8 + 128.
Value: 128 64 32 16 8 4 2 1
ON/OFF: 1 0 0 0 1 1 0 1
QUESTIONS
...........................................................................................................................................................
....................................................................................................................................................... [1]
2. Using the above table, work out the following binary digits: [9]
0110111 ............................................................................................................................................
01101101 ..........................................................................................................................................
11000111...........................................................................................................................................
0011101.............................................................................................................................................
1010101.............................................................................................................................................
0110011.............................................................................................................................................
1101011.............................................................................................................................................
111011...............................................................................................................................................
0100111.............................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 74
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Questions
1. Using the above table, work out the following binary digits: [9]
10111101 ..........................................................................................................................................
10110111 ..........................................................................................................................................
11010111 ...........................................................................................................................................
10110101 ...........................................................................................................................................
1011101 .............................................................................................................................................
01100011 ...........................................................................................................................................
11011111 ...........................................................................................................................................
00110111 ...........................................................................................................................................
0011111 .............................................................................................................................................
00110111 ...........................................................................................................................................
10111111 ...........................................................................................................................................
0001111 .............................................................................................................................................
1111111 .............................................................................................................................................
1111101 .............................................................................................................................................
10111011 ...........................................................................................................................................
00111011 ...........................................................................................................................................
1100111011.......................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 75
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Questions
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 2
............................................................................................................................................................
........................................................................................................................................................[2]
Example 1
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 76
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Questions
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[1]
Advantage 2
............................................................................................................................................................
........................................................................................................................................................[1]
Comp
1
COMPUTER SYSTEMS - 77
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
4.9 Arrays
Activity
Use the words: language, collection, individual, structure, variables, sequential, store
represent, numbers
Questions
Reason1
............................................................................................................................................................
........................................................................................................................................................[2]
Reason 2
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 78
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Use the following words: algebra, NOT, AND, conjunctions, scanned, eliminating,
keywords, focused
Questions
Example 1
............................................................................................................................................................
........................................................................................................................................................[2]
Example 2
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 2
............................................................................................................................................................
Comp........................................................................................................................................................[2]
1
COMPUTER SYSTEMS - 79
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Use the following words: pictorial, achievable, Boolean, manipulations, variables, seven.
Version, table
Questions
Reason 1
............................................................................................................................................................
........................................................................................................................................................[2]
Reason 2
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 2
............................................................................................................................................................
Comp
1 ........................................................................................................................................................[2]
COMPUTER SYSTEMS - 80
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
De Morgan's laws are used to simplify Boolean equations so that you can build equations only
involving one sort of gate, generally only using NAND or NOR gates. This can lead to cheaper
hardware. There are two laws that you need to remember:
Rule 1 Rule 2
Questions
Advantage 1
............................................................................................................................................................
........................................................................................................................................................[2]
Advantage 2
............................................................................................................................................................
........................................................................................................................................................[2]
Example1
............................................................................................................................................................
............................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 81
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Here is an example of a two input gate. It is an AND gate and the truth table for this gate can be
seen to the right of it.
Here is an example of a three input AND gate. Notice that the truth table for the three input gat e is similar
to the truth table for the two input gate. It works on the same principle, this time all three inputs need to be
high (1) to get a high output.
Here is an example of a four input AND gate. It also works on the same principle, all four inputs need to
be high (1) to get a high out put. The same principles apply to 5, 6,..., n input gates.
Comp
1
COMPUTER SYSTEMS - 82
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
a) Give a high output when one or more of its inputs are high
b) Give a high output when only one of its inputs are high
c) Give a low output when one or more of its inputs are high
d) Give a low output when only one of its inputs are high
a) b)
c) d)
3. What does connecting together the inputs of NAND and NOR gates do?
4. How do you make a NAND gate out of an AND gate using inverters (NOT gates)?
5. How do you make an AND gate out of an OR gate using inverters (NOT gates)?
Comp
1
COMPUTER SYSTEMS - 83
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Use the words: bistable, flip-flop, logic, inputs, rules, trigger, circuit, outputs, attain,
sequential
Questions
a) Type of logic in binary form designed to produce less than one inputs
b) A Type of logic in binary form designed to revere engineer one or more inputs
c) Type of logic in binary form designed to produce one or more inputs
d) Type of logic in binary form designed to produce one or more outputs
Reason 1
............................................................................................................................................................
........................................................................................................................................................[2]
Reason 2
............................................................................................................................................................
........................................................................................................................................................[2]
............................................................................................................................................................
........................................................................................................................................................[1]
Comp
1
COMPUTER SYSTEMS - 84
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Using the Internet and other sources of information, answer ALL questions:
Ques tions
8. What are arrays and type of arrays used in records, lists, tuples.
9. What are stack, queue, tree, binary search tree and hash table?
Extension: List areas which you need to revise and further develop your understanding
Comp
1
COMPUTER SYSTEMS - 85
OCR COMPUTER SCIENCE
Comp
1
COMPUTER SYSTEMS - 86
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
5.1 Legislation
There are many different types of legislation which govern ICT and computing
within the UK.
Activity
Copyright and
Patent Act
Freedom of
Information
Act
Comp
1
COMPUTER SYSTEMS - 87
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
ACTIVITY
Read the following exact about the Data Protection Act and fill in the blanks
The Data ……………….. Act was created to govern the way data is used. The DPA
gives ………………….. certain rights regarding information ………………….. about
them. It places ………………….. on those who process ……………………(data
controllers) while giving …………………. to those who are the subject of that data (data
subjects). ……………….information covers both facts and opinions about the
…………….. There are 8 principles of the DPA:
Use the words: Protection, individual, Personal, individuals, information, held, rights
Questions
...........................................................................................................................................................
....................................................................................................................................................... [1]
2. Give two examples of how the Data Protection Act can be implemented:
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
3. Explain why data should not to be kept for longer than necessary and giving an example:
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 88
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
The Computer Misuse Act is a law that was introduced relating how computers are used. There
are three key elements of the Computer Misuse Act:
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [3]
3. Explain two potential punishments for breaking the Computer Misuse Act:
...........................................................................................................................................................
....................................................................................................................................................... [2]
...........................................................................................................................................................
Comp
1
COMPUTER SYSTEMS - 89
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Data Protection Act is a law which protects how data is used, stored and transmitted
............................................................................................................................................................
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[8]
3. Give two examples on how the Data Protection Act applies to businesses:
Example 1
............................................................................................................................................................
........................................................................................................................................................[1]
Example 2
............................................................................................................................................................
........................................................................................................................................................[1]
4. Explain the penalties for not following the Data Protection Act:
............................................................................................................................................................
........................................................................................................................................................[1]
Comp
1
COMPUTER SYSTEMS - 90
OCR COMPUTER SCIENCE
Name……………………………………… Date…………….........
Activity
2. Name the three main offences the Computer Misuse Act is designed for:
............................................................................................................................................................
........................................................................................................................................................[3]
Example 1
............................................................................................................................................................
........................................................................................................................................................[1]
Example 2
............................................................................................................................................................
........................................................................................................................................................[1]
4. Give two types of people mainly prosecuted by the computer Misuse Act:
Type 1
............................................................................................................................................................
........................................................................................................................................................[1]
Type 2
............................................................................................................................................................
........................................................................................................................................................[1]
Comp
1
COMPUTER SYSTEMS - 91
OCR COMPUTER SCIENCE
Name……………………………………… Date…………….........
Purpose 1
............................................................................................................................................................
........................................................................................................................................................[1]
Purpose 2
............................................................................................................................................................
........................................................................................................................................................[1]
a) 2001
b) 2000
c) 2002
d) 2003
Penalties
............................................................................................................................................................
........................................................................................................................................................[2]
Penalties
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 92
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Read the following exact about Computer Misuse Act and fill in the blanks:
The Copyright ………………….. and …………….. Act of 1988 states, that it is illegal to
copy software without the …………………………of the person or company that
……………………. the copyright for the software. The ………………….. holder is usually
the author of the software or the company that the ……………………….. works for.
Illegal copying of ………………….. reduces the income of software companies. Having
……………………… money in ………………… the software in the first place these
………………..need to earn income from software ………………. to recover these costs
and make a profit.
Use the words: Designs, Patents, copyright, software, sales, permission, author, invested,
owns, producing
Questions
............................................................................................................................................................
............................................................................................................................................................
.
........................................................................................................................................................[1]
............................................................................................................................................................
........................................................................................................................................................[2]
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[2]
Comp
1
COMPUTER SYSTEMS - 93
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Use the words: transformed, Computers, cyber, streamline, People, business information,
negative, society, vendors
Questions
............................................................................................................................................................
............................................................................................................................................................
........................................................................................................................................................[2]
3. Give one advantage and one disadvantage for computers in the workforce:
Advantage
............................................................................................................................................................
........................................................................................................................................................[1]
Disadvantage
............................................................................................................................................................
........................................................................................................................................................[1]
Comp
1
COMPUTER SYSTEMS - 94
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
ACTIVITY
Use the words: making, Decisions, media, automate, data, reference, design, extraction,
variety, branches
Questions
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
3. Explain two types of properties used for decision making in media analysis:
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 95
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
ACTIVITY
Questions
1. What is censorship:
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [3]
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 96
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Questions
a) Arithmetic Intelligence
b) Actual Intelligence
c) Artificial Intelligence
d) American Intelligence
...........................................................................................................................................................
...........................................................................................................................................................
....................................................................................................................................................... [3]
Advantage 1:
...........................................................................................................................................................
....................................................................................................................................................... [2]
Advantage 2
...........................................................................................................................................................
....................................................................................................................................................... [2]
Comp
1
COMPUTER SYSTEMS - 97
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Using the table below, explain each type of issues affecting computer science: [6]
Artificial
intelligence
Censorship and
the Internet.
Piracy and
offensive
communications.
Comp
1
COMPUTER SYSTEMS - 98
OCR COMPUTER SCIENCE
Name……………………………………… Class…………….........
Activity
Using the Internet and other sources of information, answer ALL questions:
Questions
Extension: List areas which you need to revise and further develop your understanding
Comp
1
COMPUTER SYSTEMS - 99
OCR COMPUTER SCIENCE
Worksheet Answers
Comp
1
COMPUTER SYSTEMS - 100
OCR COMPUTER SCIENCE
Comp 1 Answers
ALL answers are not executives. - Accept other relevant answers that students submit.
Questions Answers
1.1 1. a) AMD Phenom II Socket AM3, b) Intel I7, c) Intel I5
2. Purpose: purpose of the CPU in executing instructions and the structure of the CPU
relating to its function.
3. Provide Caching, Faster Instruction execution,
1.2 a) Memory
b)ALU
c)Control Unit
d)Input/Output
1. An arithmetic logic unit (ALU) is a digital circuit used to perform arithmetic and logic
operations within the CPU
1.3 1 Mark for Each
2. The cache is used to hold recently used (and speculatively - soon to be used) data
and instructions in a fast memory closest to the CPU, so that consequent access
requests from the CPU to the same memory areas are responded as fast as possible.
3. Advantages – Speeds up processing, executes/store next instruction to load into the
CPU
1.4 Answers for fill in the blanks
1
COMPUTER SYSTEMS - 101
OCR COMPUTER SCIENCE
(ALU), memory, Input/Output, and a control unit. This design is still used, in one form or
another, in all computers and many electronic devices produced today
3 both instructions (code) and data (variables and input/output) are stored in memory
memory is an collection of binary digits (bits) that have been organized into bytes,
words, and regions with addresses
4 Advantages - Advantage of the von Neumann architecture are flexibility: instructions
(code) and data can occupy the same "bucket" of memory.
1.7 a)Input/Output
b) Main Memory
1. Logic Unit - In the Von Neumann’s architecture, the arithmetic/logical unit (ALU) and
the Control Unit (CU) are separate components, but in modern systems they are
integrated into the processor. The ALU has 3 sections, the register, the ALU circuitry,
and the pathways in between.
Program Control Unit -The processing unit can be broken down into a coupe of
subunits, the ALU, the processing control unit and the program counter.
1.8 Clock Speed – Speed of the CPU
Higher clock speed, faster instructions are executed and programs are loaded quicker
CPU Core – Number of Core units within the CPU
Quad core have greater speed executing instructions compared to dual core or single
core processors
Cache – Memory type within the CPU, L1 or L2
Higher the level 2 cache, more instructions are loaded to be executed quicker
1.9 Answers for fill in the blanks
1B
2 - instructions enter at one end, progress through the stages, and exit at the other end.
2. Advantages - it increases instruction throughput, stage completes a part of an
instruction in parallel.
1.10 1. Computer Architecture is
2. Features of Von Neumann are the use of ALU,PC, Main Memory and Input/Output
3. ALU stands for Arithmetic Logic Unit
4. MAR stands for Memory Address register
5. PC Stands for Program Counter
6. CISC stands for Complex Instruction Set Computer
7. RISC stands for Reduced Instruction Set Computer
8. Fetch performs the process of gathering the instruction
9. Execute performs the process of applying/completing the instruction
10. CPU stands for Central Processing Unit
Comp
1
COMPUTER SYSTEMS - 102
OCR COMPUTER SCIENCE
1.11 Answers for fill in the blanks
GPU-accelerated computing is the use of a graphics processing unit (GPU) together with a
CPU to accelerate scientific, analytics, engineering, consumer, and enterprise applications.
GPU accelerators now power energy-efficient datacenters in government labs, universities,
enterprises, and small-and-medium businesses around the world. GPUs are accelerating
applications in platforms ranging from cars, to mobile phones and tablets, to drones and
robots.
A simple way to understand the difference between a CPU and GPU is to compare how they
process tasks. A CPU consists of a few cores optimized for sequential serial processing while
a GPU has a massively parallel architecture consisting of thousands of smaller, more efficient
cores designed for handling multiple tasks simultaneously. GPUs have thousands of cores to
process parallel workloads efficiently
1
COMPUTER SYSTEMS - 103
OCR COMPUTER SCIENCE
e) DVD Rom
f) External Hard Drive
g) SD memory cards etc
1. Devices which are used to store data/files depending on the type of storage device
2. To large amounts of data for different purposes, eg for backup, storage, to transport or
transfer
1.16 Other Answers can be accepted
Hard Drive – Advantage – Large Storage, Faster Access, Disadvantage – Internet, None
portable
CD Rom – Advantage – Large Storage, Portable, Writeable – Disadvantage, cant be damaged
USB Flash Advantage – Large Storage, Portable, Writeable - – Disadvantage, cant be
damaged
An operating system, or "OS," is software that communicates with the hardware and
allows other programs to run. It is comprised of system software, or the fundamental
files your computer needs to boot up and function. Every desktop computer, tablet,
and Smartphone includes an operating system that provides basic functionality for
the device
1. B
2. Provide interface between hardware and software, memory management, file and user
management. Resource management. System/Secuirty
3. To run/operator the computer hardware using device drivers and provide an interface for
the user and computer
4. Windows 10, 8.1, 7, Linux, Android, IOS
1
COMPUTER SYSTEMS - 104
OCR COMPUTER SCIENCE
continue running. The resources may be virtual computation elements such as
threads, processes or data flows, which are in turn scheduled onto hardware
resources such as processors, network links or expansion cards. Schedulers are
often implemented so they keep all compute resources busy (as in load balancing),
allow multiple users to share system resources effectively, or to achieve a target
quality of service
1D
2. The process scheduler is the component of the operating system that is
responsible for deciding whether the currently running process should continue
running. The resources may be virtual computation elements such as threads,
processes or data flows,
3 Medium-term scheduling -the medium-term scheduler temporarily removes processes
from main memory and places them in secondary memory
Short-term scheduling -he short-term scheduler (also known as the CPU scheduler) decides
which of the ready, in-memory processes is to be executed
2.5 Answers for fill in the blanks
The memory management function keeps track of the status of each memory location,
either allocated or free. It determines how memory is allocated among competing
processes, deciding who gets memory, when they receive it, and how much they are
allowed. When memory is allocated it determines which memory locations will be assigned.
It tracks when memory is freed or unallocated and updates the status.
1B
2 Memory management is the process of controlling and coordinating computer memory,
assigning portions called blocks to various running programs to optimize overall system
performance. Memory management resides in hardware, in the OS (operating system), and
in programs and applications.
3 Via Virtual Memory or within the RAM - program requests a block of memory, a part of the
memory manager called the allocator assigns that block to the program
4
virtual memory is a memory management technique that is implemented using both
hardware and software. It maps memory addresses used by a program, called virtual
addresses, into physical addresses in computer memory. Main storage as seen by a process
or task appears as a contiguous address space or collection of contiguous segments. The
operating system manages virtual address spaces and the assignment of real memory to
virtual memory.
1
COMPUTER SYSTEMS - 105
OCR COMPUTER SCIENCE
the computer's operating system and attached devices such as the hard disk, video adapter,
keyboard, mouse and printer.
Virtual Storage
Virtual storage is the pooling of physical storage from multiple network storage devices into
what appears to be a single storage device that is managed from a central console.
Devices Drivers
A device driver is a program that controls a particular type of device that is attached to your
computer. There are device drivers for printers, displays, CD-ROM readers, diskette drives,
and so on. When you buy an operating system, many device drivers are built into the
product.
2.8 Open Source
Open source software is software whose source code is available for modification or
enhancement by anyone. "Source code" is the part of software that most computer users
don't ever see; it's the code computer programmers can use to change how a piece of
software works.
Proprietary
Proprietary software or closed source software is computer software licensed under
exclusive legal right of the copyright holder with the intent that the licensee is given the
right to use the software only under certain conditions, and restricted from other uses, such
as modification, sharing, studying
2.9 Assembler
A program that translates programs from assembly
language to machine language.
Interpreter
A program that translates source code into object code.
The compiler derives its name from the way it works,
looking at the entire piece of source code and collecting
and reorganizing the instructions.
Compiler
A program that executes instructions written in a high-level
language. There are two ways to run programs written in a
high-level language. It translates high-level instructions into
an intermediate form, which it then executes.
2 translates programs from assembly language to machine language.
3. Interpreter translates and compiler complies code
4. To be understood by the CPU and written in a format the OS can understand
2.10 lexical analysis
lexical analysis is the process of converting a sequence of characters (such as a computer
program or web page) into a sequence of tokens (strings with an identified "meaning").
syntax analysis
yntactic analysis, or parsing, is needed to determine if the series of tokens given are
appropriate in a language - that is, whether or not the sentence has the right shape/form.
code generation
Code generation is the process by which a compiler's code generator converts some
Comp intermediate representation of source code into a form (e.g., machine code) that can be
1
COMPUTER SYSTEMS - 106
OCR COMPUTER SCIENCE
2.11 A linker combines one or more object files and possible some library code into either some
executable, some library or a list of error messages.
A loader reads the executable code into memory, does some address translation and tries to
run the program resulting in a running program or an error message (or both)Loaders
The systems development life cycle (SDLC) is a conceptual model used in project
management that describes the stages involved in an information system development
project, from an initial feasibility study through maintenance of the completed application.
Various SDLC methodologies have been developed to guide the processes involved,
including the waterfall model (which was the original SDLC method); rapid application
development (RAD); joint application development (JAD)
1B
2B
3C
4 . Consists of stages in development of a software application from design to deve lopment,
each stage completed sequentially before the next stage is completed
2.13 Answers for fill in the blanks
The Waterfall Model was first Process Model to be introduced. It is also referred to as a
linear-sequential life cycle model. It is very simple to understand and use. In a waterfall
model, each phase must be completed fully before the next phase can begi n. This type of
model is basically used for the project which is small and there are no uncertain
requirements. the end of each phase, a review takes place to determine if the project is on
the right path and whether or not to continue or discard the project. In this model the
testing starts only after the development is complete. In waterfall model phases do not
overlap.
1D
2 . Each phase must be completed fully before the next phase can begin. This type of model
is basically used for the project which is small
3 Diagram of each stage
The spiral model is similar to the incremental model, with more emphasis placed on risk
analysis. The spiral model has four phases: Planning, Risk Analysis, Engineering and
Evaluation. A software project repeatedly passes through these phases in iterations (called
Spirals in this model). The baseline spiral, starting in the planning phase, requirements are
gathered and risk is assessed. Each subsequent spirals builds on the baseline spiral.
1A
2. The spiral model has four phases: Planning, Risk Analysis, Engineering and Evaluation.
3 Diagram of each stage needs to be drawn
Comp
1
COMPUTER SYSTEMS - 107
OCR COMPUTER SCIENCE
Developed for use with"The Architecture of Computer Hardware and Software Systems:
An Information Technology Approach" Second and Third Editions by Irv Englander
The Little Man Computer (LMC) was created by Dr. Stuart Madnick. The LMC models a
simple von Neumann architecture computer, so it has all of the basic features of a modern
computer. The LMC can be programmed in machine or assembly code, and the following
simulator will allow you to run your programs
1b
2a
3 The LMC has nine instructions. Each instruction has an assembly mnemonic that is
equivalent to a three-digit (decimal) instruction. In this numerical instruction, the first digit
usually represents the instruction, and the second and third digits usually represent a
mailbox address.
4 INP OUT HLT
2.18 1 Pseudcode is a type of structured language used to produce algoryhtms or code
2 Student grade must be higher than 60 to attain a pass, else less than 60, student has
attained a failr
3. Easy to write, understand and develop. Provides structure to algorithms and coding
Lossless compression, every single bit of data that was originally in the file remains after the
file is uncompressed. All of the information is completely restored. lossy compression
reduces a file by permanently eliminating certain information, especiall y redundant
information. When the file is uncompressed, only a part of the original information is still
there (although the user may not notice it). Lossy compression is generally used for video
Comp and sound
1
COMPUTER SYSTEMS - 108
OCR COMPUTER SCIENCE
1A
2B
3 Reduces file size and Easy to transport
3.2 Answers for fill in the blanks
Encryption is the conversion of electronic data into another form, called ciphertext, which
cannot be easily understood by anyone except authorized parties. The primary purpose of
encryption is to protect the confidentiality of digital data stored on computer systems or
transmitted via the Internet or other computer networks. Modern encryption algorithms
play a vital role in the security assurance of IT systems
1B
2 Ciphertext, which cannot be easily understood by anyone except authorized parties
3 Advantages: Protects, file/folders from unwanted sources. Can only be decipher by a key.
1C
2 Hashing is the transformation of a string of characters into a usually shorter fixed-length -
Indexing
3. Advantages, easy to index and retrieve items in the database, faster and efficient
3.4 Answers for fill in the blanks activity:
A database is a data structure that stores organized information. Most databases contain
multiple tables, which may each include several different fields. For example, a company
database may include tables for products, employees, and financial records. Each of these
tables would have different fields that are relevant to the information stored in the table
1B
2 Normalisation
3 Provide structure to the database, produces fieldnames/primary keys for tables and
indentifies relationships between tables
3.5 Answers for fill in the blanks
Normalization usually involves dividing a database into two or more tables and defining
relationships between the tables. The objective is to isolate data so that additions,
deletions, and modifications of a field can be made in just one table and then propagated
through the rest of the database via the defined relationships.
1A
2 Produces defined relationship between tables and identifies tables/content to be
produced.
3 First /second Normal Form - fundamental rules for database normalization and relates to a
single table within a relational database, producing tables and relationships. 3NF states that
all column reference in referenced data that are not dependent on the primary key should
be removed.
3.6 Answers for fill in the blanks activity:
Comp
1
COMPUTER SYSTEMS - 109
OCR COMPUTER SCIENCE
A primary key is a unique identifier for a database record. When a table is created, one of
the fields is typically assigned as the primary key. While the primary key is often a number, it
may also be a text field or other data type. For example, if a database contains definitions of
computer terms, it would make sense that each term is only listed once in the database. By
defining the "Term" field as the primary key, it would ensure that no term is listed more
than once in the database.
1 Unique identifier within a table
2C
3 provide unique identifier for a database record, able to organise the database, provide
links or relationship between the database, not able to duplicate tables or fieldnames.
3.8 Answers for fill in the blanks activity:
A collection of programs that enables you to store, modify, and extract information from a
database. There are many different types of DBMSs, ranging from small systems that run on
personal computers to huge systems that run on mainframes. The following are examples of
database applications: computerized library systems, automated teller machines, flight
reservation systems and computerized parts inventory systems
1C
2 DBMS are large database system used for ATM/Libray systems
3. Provides quick access to information, stores large amounts of information,
organises/structures the information.
SQL (Structured Query Language) is a standard interactive and programming language for
getting information from and updating a database. Although SQL is both an ANSI and an ISO
standard, many database products support SQL with proprietary extensions to the standard
language. Queries take the form of a command language that lets you select, insert, update,
find out the location of data, and so forth. There is also a programming interface.
1A
2 Queries take the form of a command language that lets you select, insert, update
3 SQL Queries can be used to retrieve large amounts of
records from a database quickly and efficiently. Well Defined Standards Exist:
SQL databases use long-established standard, which is being adopted by ANSI & ISO. Non-
SQL
databases do not adhere to any clear standard.
* No Coding Required: Using standard SQL it is easier to manage database systems without
having to write substantial amount of code.
3.10 Atomicity. In a transaction involving two or more discrete pieces of information, either all of
Comp the pieces are committed or none are.
1
COMPUTER SYSTEMS - 110
OCR COMPUTER SCIENCE
Consistency. A transaction either creates a new and valid state of data, or, if any failure
occurs, returns all data to its state before the transaction was started.
Isolation. A transaction in process and not yet committed must remain isolated from any
other transaction.
Durability. Committed data is saved by the system such that, even in the event of a failure
and system restart, the data is available in its correct state.
record locking - is the technique of preventing simultaneous access to data in a database, to
prevent inconsistent results
redundancy
Data redundancy is a condition created within a database or data storage technology in
which the same piece of data is held in two separate places. This can mean two dif ferent
fields within a single database, or two different spots in multiple software environments or
platforms. Whenever data is repeated, this basically constitutes data redundancy. This can
occur by accident, but is also done deliberately for backup and recovery purposes.
1
COMPUTER SYSTEMS - 111
OCR COMPUTER SCIENCE
1
COMPUTER SYSTEMS - 112
OCR COMPUTER SCIENCE
must be. Also, the importance of the page that is casting the vote determines how
important the vote itself is. Google calculates a page's importance from the votes cast for it.
1B
2 Sorts/index/votes of the relevance of a website
3 . Google figures that when one page links to another page, it is effectively casting a vote
for the other page.
4.2 1C
2 1 – 0001 3 –0011 G -1111
3 Computers can only use binary numbers. A binary number is a representation of any other
number broken down into powers of 2. This allows the number to consist simply of on and
off signals. Computers can only see any signal as an electrical state, on or off, so you need
binary numbers for the computer to understand them.
4.3 1B
2 1000 – 8, 1111 - F/15
3Simplifies use of the binary, allows binary to be converted into letters
4.4 1C
2D
3 32 and 35
4.5 1 - A binary code represents text or computer processor instructions using the binary
number system's two binary digits, 0 and 1. The binary code assigns a bit string to each
symbol or instruction.
0110111 - 55
01101101 - 109
11000111 -199
0011101 - 29
1010101 - 85
0110011 - 51
1101011 - 107
111011 - 59
0100111 - 39
10111101 - 189
10110111 -183
11010111 -215
Comp 10110101 -181
1
COMPUTER SYSTEMS - 113
OCR COMPUTER SCIENCE
1011101 -93
01100011 -99
11011111 -223
00110111 -55
0011111 -31
10111111 -191
00111111 -63
0001111 -15
1111111 -127
1111101 -125
10111011 -187
00111011 -59
1100111011 -827
4.7 Answers for fill in the blanks
A bitwise operation operates on one or more bit patterns or binary numerals at the level of
their individual bits. It is a fast, primitive action directly supported by the processor, and is
used to manipulate values for comparisons and calculations. On simple low-cost processors,
typically, bitwise operations are substantially faster than division, several times faster than
multiplication, and sometimes significantly faster than addition:
1. C
2 Advantages, faster execution of operating on low cost processors, faster on division
3. &
Binary AND Operator copies a bit to the result if it exists in both operands.
(A & B) will give 12 which is 0000 1100
4.8 Answers for fill in the blanks
1B
2 Floating-point numbers are represented in computer hardware as base 2 (binary)
fractions. For example, the decimal fraction
3 1. Advantage Provides a very large range
2. Disadvantage Rounds off large numbers
4.9 Answers for fill in the blanks
C programming language provides a data structure called the array, which can store a fixed-
size sequential collection of elements of the same type. An array is used to store a collection
of data, but it is often more useful to think of an array as a collection of variables of the
same type. Instead of declaring individual variables, such as number0, numbe r1, ..., and
number99, you declare one array variable such as numbers and use numbers[0],
numbers[1], and ..., numbers[99] to represent individual variables. A specific element in an
array is accessed by an index.
Comp 1C
1
COMPUTER SYSTEMS - 114
OCR COMPUTER SCIENCE
2Y ou declare the type of an array. The type indicates what type of objects/values you can
put in the array. (An ArrayList object stores Object objects).
Arrays can either hold primitive values or object values.
You must decide the size of the array when it is constructed.
3 List arrays : myList=[1,2,3,4,5,6]
4.10 Answers for fill in the blanks
Boolean algebra and truth tables can be used to describe logical expressions.. Boolean
Operators are simple words (AND, OR, NOT or AND NOT) used as conjunctions to combine
or exclude keywords in a search, resulting in more focused and
productive results. This should save time and effort by eliminating inappropriate hits that
must be scanned before discarding.
1C
2 And / OR / NOT or AND NOT
3 save time and effort by eliminating inappropriate hits – Provide only two possible
answers. Results are more focussed and defined
4.11 Answers for fill in the blanks
1
COMPUTER SYSTEMS - 115
OCR COMPUTER SCIENCE
4.14 1B
2B
3C
4A
5D
4.15 Answers for fill in the blanks activity:
Sequential logic is a form of binary circuit design that employs one or more inputs and one
or more outputs, whose states are related by defined rules that depend, in part, on previous
states. Each of the inputs and output(s) can attain either of two states: logic 0 (low) or logic
1 (high). A common example of a circuit employing sequential logic is the flip-flop, also
called a bistable gate. A simple flip-flop has two stable states. The flip-flop maintains its
states indefinitely until an input pulse called a trigger is received
1C
2 has two stable states, waits for A trigger to be received
3 Accept any example for the mark
The Data Protection Act was created to govern the way data is used. The DPA gives
individuals certain rights regarding information held about them. It places on those
who process data controllers) while giving. to those who are the subject of that data
(data subjects).information covers both facts and opinions about the There are 8
principles of the DPA:
1
COMPUTER SYSTEMS - 116
OCR COMPUTER SCIENCE
4. Accurate
5. Not kept for longer than is necessary
6. Processed in line with your rights
7. Secure
8. Not transferred to other countries without adequate protection
3. Accept any real examples for the marks
4. Fine of money
5.5 1A
22Unauthorised access to computer material, Unauthorised access with intent to commit
further offences, Unauthorised modification of computer material
3 Accept any real work examples
3 Hackers/ Hacking groups, scammers/fraudsters
5.6 1A
2 Monitor surveillance govern investigation
3B
4 Fine and prison sentences
5.7 Answers for fill in the blanks
The Copyright Designs and Patents Act of 1988 states, that it is illegal to copy software
without the permission of the person or company that owns the copyright for the software.
The copyright holder is usually the author of the software or the company that the author
works for. Illegal copying of software reduces the income of software companies. Having
invested money in producing the software in the first place these companies need to earn
income from software sales to recover these costs and make a profit.
Computers have transformed the workplace and society as a whole. People and
organizations have become dependent on computers to connect them to co-workers,
vendors, customers and information. Computers are used to track schedules,
streamline information and provide needed data. Although computers have provided
workers countless tools for business and easier access to information nearby or
abroad, there are negative effects. These include more than the obviously dreaded
system failures and cyber crimes.
1A
2 Use of ATM, robtots, self managing system, expert systems
3 Increase productivity and efficiency – people lose their jobs, replaced by computers
1
COMPUTER SYSTEMS - 117
OCR COMPUTER SCIENCE
1C
2 To model existing system, make decision using these systems for production/media
industry
3 video or audio analysis, quality measurements or reference checks
5.10 Answers for fill in the blanks
1A
2 Stop certain types of information being in the public domain
3 Accept any answer here from a real world example
5.11 Answers for fill in the blanks
Comp
1
COMPUTER SYSTEMS - 118