SlideShare a Scribd company logo
Computer Science
Easter homework
DUE the first lesson back after the break!!!!!
Programming practice
To become familiar with the programming language
Complete the practice python programming tasks on code academy
http://www.codecademy.com/learn
A great book to learn to program:
http://files.swaroopch.com/python/byte_of_python.pdf
If you have any difficulties please feel free to contact:
p.morris@montomeryschool.co.uk
l.harwood@montgomeryschool.co.uk
Richard.west@go.edgehill.ac.uk
As well as using Montgomery high school on google + or @montyict on twitter
Theory Revision
Data Types
Boolean True /false
String It is hot outside
Integer 457
Floating Point 3.548
What data type is counter?
Please define the following
Variable
Iteration
Algorithm
Syntax error
Network Topology
Network topology refers to how computers are connected to a
network. There are three main types of network topology: bus, ring
and star.
The bus network
In a bus network all the workstations, servers and printers are joined
to one cable (the bus). At each end of the cable a terminator is
fitted to stop signals reflecting back down the bus.
The ring network
In a ring network each device (workstation, server, printer) is
connected to two other devices, this forms a ring for the signals to
travel around. Each packet of data on the network travels in one
direction and each device receives each packet in turn until the
destination device receives it.
The star network
In a star network each device on the network has its own cable that
connects to a switch or hub. A hub sends every packet of data to
every device, whereas a switch only sends a packet of data to the
destination device.
Pick one of the topologies and research their advantage and
disadvantages as well providing a drawing of a typical layout.
DECIMAL BINARY CORRECT?
0 8 4 2 1
1 8 4 2 1
2 8 4 2 1
3 8 4 2 1
4 8 4 2 1
5 8 4 2 1
0 1 0 1
Example
6 8 4 2 1
7 8 4 2 1
8 8 4 2 1
9 8 4 2 1
10 8 4 2 1
Binary Numbers
Binary means two. All
numbers in binary are
made up of either a 0 or a
1.
To work out a decimal
number we use a grid like
the ones on a left.
Decimal number 5
Is there any eights in five?
NO! so a zero goes in the
eight column.
Are there any fours in 5.
Yes so we put a 1 in the
four column.
Leaving one!
So we out the one in the 1
column and not the two
column
Now work out the binary
numbers for the other
questions.
Flowchart
Create a flowchart which demonstrates the process of ordering a
meal at a fast food restaurant.
Database / SQL
Table = Menu
Meal-code Name Price Meal-deal
1001 Fish Fingers 1.99 No
1002 Hot Dogs 2.85 No
1003 Turkey Burgers 2.19 No
1004 Jacket Potato 2.50 Yes
1005 Chicken Korma 3.25 No
Which of the above would be the primary key?
The following SQL statement has been executed to the database table
above what would happen?
SELECT Name, Price, Meal-deal
FROM Menu;
Where Meal-code = 1004;
Data Structures (revision only)
The study of data structures is about organising data so that it is suitable
for computer processing. Computer hardware looks at storage devices
like internal memory and disks as holders of elementary data units
(bytes), each accessible through its address (usually an integer).
Defining data structures
A data structure can be defined as a collection of different data
elements, which are stored together in a clear, structured form.
In programming, one of the most important design decisions involves
choosing which data structure to use. Arrays and linked lists are among
the most common data structures and each is applicable in different
situations.
Data structures: arrays
There are situations during the writing of code when programmers need
to hold related data as a single item, for example a list of employees’
names or makes of car. One method of doing this would be to assign a
variable to each item in the list.
One-dimensional arrays
A one-dimensional array in Python and PHP is a data structure that
allows a list of items to be stored with the capability of accessing each
item by pointing to its location within the array.
0 1 2 3
0 A B C D
1 E F G H
2 I J K L
3 M N O P
The reason why this type of array is referred to as a
‘one-dimensional array’ is that it only uses a single
number to point to the position of array elements.
Two-dimensional arrays
Two-dimensional arrays are a little more complex than the one-
dimensional versions, but really they are nothing more than an array of
arrays, in other words an array in one row and another in the next row.
4 Q R S T
Hardware
Hardware is a name given to a collection of physical ‘things’ that when
put together in a certain way form a ‘system’.
Computer hardware: system unit
Within a computer system there are basically two types of hardware. The
hardware within the system consisting of the CPU (central processing
unit), which is situated on a printed circuit board called the motherboard.
There is the hard disk drive, the RAM (random access memory), optical
drive and other circuit boards such as the graphics and sound cards.
These are all regarded as hardware because if you removed the case you
could physically touch the devices – although you should not do this
unless you know what you are doing.
Describe what the purpose of CPU & RAM along with
typical specs and costs each.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
__________________________________________________________________

More Related Content

PDF
GCSE ICT Revision
PDF
Module5 input output storage devices
PPT
Intro To Computer Hardware
PPT
Hardware and Software Basics With Dr. Poirot
PPT
Computer Systems
 
PPT
Comp hardware Introduction
GCSE ICT Revision
Module5 input output storage devices
Intro To Computer Hardware
Hardware and Software Basics With Dr. Poirot
Computer Systems
 
Comp hardware Introduction

What's hot (20)

PPTX
Unit i (part1) b.sc
PDF
Understanding Computers - Today and Tomorrow
PPT
Basic computer fundamentals
PPT
Computer Essentials
DOCX
Cambridge IGCSE ICT Revision Notes
PPS
Power Point Lesson 01
PPTX
Introduction to computer science ch2
PPTX
Hardware- the entire parts of a computer
PPT
Computer Organization
PPT
Unit 1- computer hardware system
PPTX
Chapter 1 computer fundamentals
PPT
Fundamentals of computer system and Programming EC-105
PPS
NI221 - Fundamentals of Computer
PPTX
Computer Fundamentals
PPT
Basic computer and_intenet_terminologies
PPTX
Computer fundamental
PPT
Basic of computer
PPT
Computer Systems Hardware
PPT
Computer Concepts
PPTX
Computer fundamentals-internet p1
Unit i (part1) b.sc
Understanding Computers - Today and Tomorrow
Basic computer fundamentals
Computer Essentials
Cambridge IGCSE ICT Revision Notes
Power Point Lesson 01
Introduction to computer science ch2
Hardware- the entire parts of a computer
Computer Organization
Unit 1- computer hardware system
Chapter 1 computer fundamentals
Fundamentals of computer system and Programming EC-105
NI221 - Fundamentals of Computer
Computer Fundamentals
Basic computer and_intenet_terminologies
Computer fundamental
Basic of computer
Computer Systems Hardware
Computer Concepts
Computer fundamentals-internet p1
Ad

Viewers also liked (20)

PPTX
GCSE Computing Software Key Terms
PPTX
Let's Learn
PDF
Gcse computing mooc_-_so_p
PPTX
Programming Key terms Flash Cards
PPTX
GCSE Compuitng Hardware Key terms
PDF
Computer science
PPTX
GCSE Computing Data Key terms
PPTX
GCSE Computing Networks Key terms
PPTX
Database Key terms Flash Cards
PDF
As Level Computer Science Book -2
PDF
Tutorial PHP and Dreamweaver CS3
PPTX
Computer science ppt
PDF
SMART Infrastructure Business and Policy Dialogue Event: A private sector per...
DOCX
Tlc 023 syllabus su14 brockman
PDF
1Q 2016 EMEA ISG Outsourcing Index®
PDF
Villa - Toda mulher merece um elogio
PPS
Transcantábrico
PDF
ISNGI 2016 - Keynote Speaker: A/Prof Rodney Clarke - "International industry ...
PPT
PPTX
Scorion dashboard 4 voorbeelden
GCSE Computing Software Key Terms
Let's Learn
Gcse computing mooc_-_so_p
Programming Key terms Flash Cards
GCSE Compuitng Hardware Key terms
Computer science
GCSE Computing Data Key terms
GCSE Computing Networks Key terms
Database Key terms Flash Cards
As Level Computer Science Book -2
Tutorial PHP and Dreamweaver CS3
Computer science ppt
SMART Infrastructure Business and Policy Dialogue Event: A private sector per...
Tlc 023 syllabus su14 brockman
1Q 2016 EMEA ISG Outsourcing Index®
Villa - Toda mulher merece um elogio
Transcantábrico
ISNGI 2016 - Keynote Speaker: A/Prof Rodney Clarke - "International industry ...
Scorion dashboard 4 voorbeelden
Ad

Similar to AQA Computer science easter revision (20)

PPT
មេរៀនៈ Data Structure and Algorithm in C/C++
PDF
Data Structures and Applications: A Simple and Systematic Approach Padma Reddy
PDF
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
PDF
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
PDF
Introduction to-computers
PPTX
Introduction to programming concepts
PPTX
Understanding Computers - Introduction to Computers
PDF
C Programming - Refresher - Part I
PPT
slides01slides01slides01slides01slides01slides01.ppt
DOCX
CSCI 1800 Cybersecurity and International Relations Comp.docx
PDF
Engineering C-programing module1 ppt (18CPS13/23)
PDF
Be cps-18 cps13or23-module1
PPTX
Introduction to programming concepts
DOC
CPDS1-8UNITS.docCPDS1-8UNITS.CPDS1-8UNITS.docdoc
PPT
Computer Systems Organization
PDF
Data Structures And Applications A Simple And Systematic Approach Padma Reddy
PDF
Lecture 1
PPT
Lecture 1 2
PDF
number system understand
PPTX
A few fundamental concepts in digital electronics
មេរៀនៈ Data Structure and Algorithm in C/C++
Data Structures and Applications: A Simple and Systematic Approach Padma Reddy
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
Introduction to-computers
Introduction to programming concepts
Understanding Computers - Introduction to Computers
C Programming - Refresher - Part I
slides01slides01slides01slides01slides01slides01.ppt
CSCI 1800 Cybersecurity and International Relations Comp.docx
Engineering C-programing module1 ppt (18CPS13/23)
Be cps-18 cps13or23-module1
Introduction to programming concepts
CPDS1-8UNITS.docCPDS1-8UNITS.CPDS1-8UNITS.docdoc
Computer Systems Organization
Data Structures And Applications A Simple And Systematic Approach Padma Reddy
Lecture 1
Lecture 1 2
number system understand
A few fundamental concepts in digital electronics

Recently uploaded (20)

PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
human mycosis Human fungal infections are called human mycosis..pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
Abdominal Access Techniques with Prof. Dr. R K Mishra
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
RMMM.pdf make it easy to upload and study
O5-L3 Freight Transport Ops (International) V1.pdf
Classroom Observation Tools for Teachers
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Anesthesia in Laparoscopic Surgery in India
Supply Chain Operations Speaking Notes -ICLT Program
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Final Presentation General Medicine 03-08-2024.pptx
A systematic review of self-coping strategies used by university students to ...
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
2.FourierTransform-ShortQuestionswithAnswers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Final Presentation General Medicine 03-08-2024.pptx

AQA Computer science easter revision

  • 1. Computer Science Easter homework DUE the first lesson back after the break!!!!! Programming practice To become familiar with the programming language Complete the practice python programming tasks on code academy http://www.codecademy.com/learn A great book to learn to program: http://files.swaroopch.com/python/byte_of_python.pdf If you have any difficulties please feel free to contact: p.morris@montomeryschool.co.uk l.harwood@montgomeryschool.co.uk Richard.west@go.edgehill.ac.uk As well as using Montgomery high school on google + or @montyict on twitter Theory Revision
  • 2. Data Types Boolean True /false String It is hot outside Integer 457 Floating Point 3.548 What data type is counter? Please define the following Variable Iteration Algorithm Syntax error
  • 3. Network Topology Network topology refers to how computers are connected to a network. There are three main types of network topology: bus, ring and star. The bus network In a bus network all the workstations, servers and printers are joined to one cable (the bus). At each end of the cable a terminator is fitted to stop signals reflecting back down the bus. The ring network In a ring network each device (workstation, server, printer) is connected to two other devices, this forms a ring for the signals to travel around. Each packet of data on the network travels in one direction and each device receives each packet in turn until the destination device receives it. The star network In a star network each device on the network has its own cable that connects to a switch or hub. A hub sends every packet of data to every device, whereas a switch only sends a packet of data to the destination device. Pick one of the topologies and research their advantage and disadvantages as well providing a drawing of a typical layout.
  • 4. DECIMAL BINARY CORRECT? 0 8 4 2 1 1 8 4 2 1 2 8 4 2 1 3 8 4 2 1 4 8 4 2 1 5 8 4 2 1 0 1 0 1 Example 6 8 4 2 1 7 8 4 2 1 8 8 4 2 1 9 8 4 2 1 10 8 4 2 1 Binary Numbers Binary means two. All numbers in binary are made up of either a 0 or a 1. To work out a decimal number we use a grid like the ones on a left. Decimal number 5 Is there any eights in five? NO! so a zero goes in the eight column. Are there any fours in 5. Yes so we put a 1 in the four column. Leaving one! So we out the one in the 1 column and not the two column Now work out the binary numbers for the other questions.
  • 5. Flowchart Create a flowchart which demonstrates the process of ordering a meal at a fast food restaurant.
  • 6. Database / SQL Table = Menu Meal-code Name Price Meal-deal 1001 Fish Fingers 1.99 No 1002 Hot Dogs 2.85 No 1003 Turkey Burgers 2.19 No 1004 Jacket Potato 2.50 Yes 1005 Chicken Korma 3.25 No Which of the above would be the primary key? The following SQL statement has been executed to the database table above what would happen? SELECT Name, Price, Meal-deal FROM Menu; Where Meal-code = 1004;
  • 7. Data Structures (revision only) The study of data structures is about organising data so that it is suitable for computer processing. Computer hardware looks at storage devices like internal memory and disks as holders of elementary data units (bytes), each accessible through its address (usually an integer). Defining data structures A data structure can be defined as a collection of different data elements, which are stored together in a clear, structured form. In programming, one of the most important design decisions involves choosing which data structure to use. Arrays and linked lists are among the most common data structures and each is applicable in different situations. Data structures: arrays There are situations during the writing of code when programmers need to hold related data as a single item, for example a list of employees’ names or makes of car. One method of doing this would be to assign a variable to each item in the list. One-dimensional arrays A one-dimensional array in Python and PHP is a data structure that allows a list of items to be stored with the capability of accessing each item by pointing to its location within the array. 0 1 2 3 0 A B C D 1 E F G H 2 I J K L 3 M N O P
  • 8. The reason why this type of array is referred to as a ‘one-dimensional array’ is that it only uses a single number to point to the position of array elements. Two-dimensional arrays Two-dimensional arrays are a little more complex than the one- dimensional versions, but really they are nothing more than an array of arrays, in other words an array in one row and another in the next row. 4 Q R S T
  • 9. Hardware Hardware is a name given to a collection of physical ‘things’ that when put together in a certain way form a ‘system’. Computer hardware: system unit Within a computer system there are basically two types of hardware. The hardware within the system consisting of the CPU (central processing unit), which is situated on a printed circuit board called the motherboard. There is the hard disk drive, the RAM (random access memory), optical drive and other circuit boards such as the graphics and sound cards. These are all regarded as hardware because if you removed the case you could physically touch the devices – although you should not do this unless you know what you are doing. Describe what the purpose of CPU & RAM along with typical specs and costs each. ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ __________________________________________________________________