SlideShare a Scribd company logo
2
Most read
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

What's hot (20)

PPTX
Unit i (part1) b.sc
Hepsijeba
 
PDF
Understanding Computers - Today and Tomorrow
GufranAhmadJU
 
PPT
Basic computer fundamentals
atheenndrh
 
PPT
Computer Essentials
Peter Ferguson
 
DOCX
Cambridge IGCSE ICT Revision Notes
Yash Bhatt
 
PPS
Power Point Lesson 01
Nasir Jumani
 
PPTX
Introduction to computer science ch2
Mohamed Essam
 
PPTX
Hardware- the entire parts of a computer
Ananna Nashid
 
PPT
Computer Organization
avinashghildiyal
 
PPT
Unit 1- computer hardware system
Hardik Patel
 
PPTX
Chapter 1 computer fundamentals
Praveen M Jigajinni
 
PPT
Fundamentals of computer system and Programming EC-105
NUST Stuff
 
PPS
NI221 - Fundamentals of Computer
paulcaspe
 
PPTX
Computer Fundamentals
Mujahid Riaz
 
PPT
Basic computer and_intenet_terminologies
aticar
 
PPTX
Computer fundamental
rachit jaish
 
PPT
Basic of computer
Tukaram Gundoor
 
PPT
Computer Systems Hardware
nS789
 
PPT
Computer Concepts
Phoebe Kim
 
PPTX
Computer fundamentals-internet p1
Leo Mark Villar
 
Unit i (part1) b.sc
Hepsijeba
 
Understanding Computers - Today and Tomorrow
GufranAhmadJU
 
Basic computer fundamentals
atheenndrh
 
Computer Essentials
Peter Ferguson
 
Cambridge IGCSE ICT Revision Notes
Yash Bhatt
 
Power Point Lesson 01
Nasir Jumani
 
Introduction to computer science ch2
Mohamed Essam
 
Hardware- the entire parts of a computer
Ananna Nashid
 
Computer Organization
avinashghildiyal
 
Unit 1- computer hardware system
Hardik Patel
 
Chapter 1 computer fundamentals
Praveen M Jigajinni
 
Fundamentals of computer system and Programming EC-105
NUST Stuff
 
NI221 - Fundamentals of Computer
paulcaspe
 
Computer Fundamentals
Mujahid Riaz
 
Basic computer and_intenet_terminologies
aticar
 
Computer fundamental
rachit jaish
 
Basic of computer
Tukaram Gundoor
 
Computer Systems Hardware
nS789
 
Computer Concepts
Phoebe Kim
 
Computer fundamentals-internet p1
Leo Mark Villar
 

Viewers also liked (20)

PPTX
GCSE Computing Software Key Terms
jog_glister
 
PPTX
Let's Learn
DIGDARSHAN KUNWAR
 
PDF
Gcse computing mooc_-_so_p
Ricardo A. VanEgas
 
PPTX
Programming Key terms Flash Cards
jog_glister
 
PPTX
GCSE Compuitng Hardware Key terms
jog_glister
 
PDF
Computer science
DIGDARSHAN KUNWAR
 
PPTX
GCSE Computing Data Key terms
jog_glister
 
PPTX
GCSE Computing Networks Key terms
jog_glister
 
PPTX
Database Key terms Flash Cards
jog_glister
 
PDF
As Level Computer Science Book -2
DIGDARSHAN KUNWAR
 
PDF
Tutorial PHP and Dreamweaver CS3
Halizah Ahmad
 
PPTX
Computer science ppt
brijesh kumar
 
PDF
SMART Infrastructure Business and Policy Dialogue Event: A private sector per...
SMART Infrastructure Facility
 
DOCX
Tlc 023 syllabus su14 brockman
Carolyn Brockman
 
PDF
1Q 2016 EMEA ISG Outsourcing Index®
Information Services Group (ISG)
 
PDF
Villa - Toda mulher merece um elogio
Grupo Phocus
 
PPS
Transcantábrico
Carlos Colomer
 
PDF
ISNGI 2016 - Keynote Speaker: A/Prof Rodney Clarke - "International industry ...
SMART Infrastructure Facility
 
PPT
Pp4
finnlaura
 
PPTX
Scorion dashboard 4 voorbeelden
parantion
 
GCSE Computing Software Key Terms
jog_glister
 
Let's Learn
DIGDARSHAN KUNWAR
 
Gcse computing mooc_-_so_p
Ricardo A. VanEgas
 
Programming Key terms Flash Cards
jog_glister
 
GCSE Compuitng Hardware Key terms
jog_glister
 
Computer science
DIGDARSHAN KUNWAR
 
GCSE Computing Data Key terms
jog_glister
 
GCSE Computing Networks Key terms
jog_glister
 
Database Key terms Flash Cards
jog_glister
 
As Level Computer Science Book -2
DIGDARSHAN KUNWAR
 
Tutorial PHP and Dreamweaver CS3
Halizah Ahmad
 
Computer science ppt
brijesh kumar
 
SMART Infrastructure Business and Policy Dialogue Event: A private sector per...
SMART Infrastructure Facility
 
Tlc 023 syllabus su14 brockman
Carolyn Brockman
 
1Q 2016 EMEA ISG Outsourcing Index®
Information Services Group (ISG)
 
Villa - Toda mulher merece um elogio
Grupo Phocus
 
Transcantábrico
Carlos Colomer
 
ISNGI 2016 - Keynote Speaker: A/Prof Rodney Clarke - "International industry ...
SMART Infrastructure Facility
 
Scorion dashboard 4 voorbeelden
parantion
 
Ad

Similar to AQA Computer science easter revision (20)

PPT
មេរៀនៈ Data Structure and Algorithm in C/C++
Ngeam Soly
 
PDF
Data Structures and Applications: A Simple and Systematic Approach Padma Reddy
wzdsrggdhv2416
 
PDF
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
dangarlossev
 
PDF
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
mnsrrakema
 
PDF
Introduction to-computers
gufranresearcher
 
PPTX
Introduction to programming concepts
hermiraguilar
 
PPTX
Understanding Computers - Introduction to Computers
GufranAhmadJU
 
PDF
C Programming - Refresher - Part I
Emertxe Information Technologies Pvt Ltd
 
PPT
slides01slides01slides01slides01slides01slides01.ppt
RaymondQuidasol4
 
DOCX
CSCI 1800 Cybersecurity and International Relations Comp.docx
annettsparrow
 
PDF
Engineering C-programing module1 ppt (18CPS13/23)
kavya R
 
PDF
Be cps-18 cps13or23-module1
kavya R
 
PPTX
Introduction to programming concepts
hermiraguilar
 
DOC
CPDS1-8UNITS.docCPDS1-8UNITS.CPDS1-8UNITS.docdoc
yatakonakiran2
 
PPT
Computer Systems Organization
LiEdo
 
PDF
Data Structures And Applications A Simple And Systematic Approach Padma Reddy
yaqoutkacy
 
PDF
Lecture 1
neocremia
 
PPT
Lecture 1 2
guest8d58d3
 
PDF
number system understand
rickypatel151
 
PPTX
A few fundamental concepts in digital electronics
Joy Prabhakaran
 
មេរៀនៈ Data Structure and Algorithm in C/C++
Ngeam Soly
 
Data Structures and Applications: A Simple and Systematic Approach Padma Reddy
wzdsrggdhv2416
 
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
dangarlossev
 
Data Structures and Applications: A Simple and Systematic Approach 1st editio...
mnsrrakema
 
Introduction to-computers
gufranresearcher
 
Introduction to programming concepts
hermiraguilar
 
Understanding Computers - Introduction to Computers
GufranAhmadJU
 
C Programming - Refresher - Part I
Emertxe Information Technologies Pvt Ltd
 
slides01slides01slides01slides01slides01slides01.ppt
RaymondQuidasol4
 
CSCI 1800 Cybersecurity and International Relations Comp.docx
annettsparrow
 
Engineering C-programing module1 ppt (18CPS13/23)
kavya R
 
Be cps-18 cps13or23-module1
kavya R
 
Introduction to programming concepts
hermiraguilar
 
CPDS1-8UNITS.docCPDS1-8UNITS.CPDS1-8UNITS.docdoc
yatakonakiran2
 
Computer Systems Organization
LiEdo
 
Data Structures And Applications A Simple And Systematic Approach Padma Reddy
yaqoutkacy
 
Lecture 1
neocremia
 
Lecture 1 2
guest8d58d3
 
number system understand
rickypatel151
 
A few fundamental concepts in digital electronics
Joy Prabhakaran
 
Ad

Recently uploaded (20)

PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
PPTX
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
PPTX
How to Configure Storno Accounting in Odoo 18 Accounting
Celine George
 
PDF
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
PPTX
HEAD INJURY IN CHILDREN: NURSING MANAGEMENGT.pptx
PRADEEP ABOTHU
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PPTX
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
PPTX
Presentation: Climate Citizenship Digital Education
Karl Donert
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
Latest Features in Odoo 18 - Odoo slides
Celine George
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PDF
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
PPTX
ROLE OF ANTIOXIDANT IN EYE HEALTH MANAGEMENT.pptx
Subham Panja
 
PPTX
How to Manage Promotions in Odoo 18 Sales
Celine George
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
CONVULSIVE DISORDERS: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
community health nursing question paper 2.pdf
Prince kumar
 
Capitol Doctoral Presentation -July 2025.pptx
CapitolTechU
 
How to Configure Storno Accounting in Odoo 18 Accounting
Celine George
 
IMP NAAC-Reforms-Stakeholder-Consultation-Presentation-on-Draft-Metrics-Unive...
BHARTIWADEKAR
 
HEAD INJURY IN CHILDREN: NURSING MANAGEMENGT.pptx
PRADEEP ABOTHU
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
Accounting Skills Paper-I, Preparation of Vouchers
Dr. Sushil Bansode
 
Presentation: Climate Citizenship Digital Education
Karl Donert
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Latest Features in Odoo 18 - Odoo slides
Celine George
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
ROLE OF ANTIOXIDANT IN EYE HEALTH MANAGEMENT.pptx
Subham Panja
 
How to Manage Promotions in Odoo 18 Sales
Celine George
 

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: [email protected] [email protected] [email protected] 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. ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ ___________________________________________________________________ __________________________________________________________________