Computer Science GCES AQA
-
Representing Algorithms Aqa4 主题
-
Efficiency Of Algorithms Aqa1 主题
-
Searching Algorithms Aqa3 主题
-
Sorting Algorithms Aqa3 主题
-
Data Types Aqa1 主题
-
Programming Concepts Aqa5 主题
-
Arithmetic Relational And Boolean Operations Aqa1 主题
-
Data Structures Aqa3 主题
-
String Manipulation Aqa1 主题
-
Random Number Generation Aqa1 主题
-
Structured Programming Aqa2 主题
-
Robust And Secure Programming Aqa4 主题
-
Number Bases Aqa2 主题
-
Converting Between Number Bases Aqa3 主题
-
Units Of Information Aqa9 主题
-
Hardware And Software Aqa4 主题
-
Boolean Logic Aqa3 主题
-
Programming Languages And Translators Aqa2 主题
-
Cpu Architecture Performance And Embedded Systems Aqa4 主题
-
Memory Aqa2 主题
-
Secondary Storage Aqa3 主题
-
Fundamentals Of Computer Networks Aqa8 主题
-
Fundamentals Of Cyber Security Aqa1 主题
-
Methods Of Preventing Cyber Security Threats Aqa1 主题
-
Relational Databases Aqa2 主题
-
Ethical Legal And Environmental Impacts Aqa2 主题
Inputs And Outputs Aqa
Exam code:8525
Inputs & Outputs
What is an input?
-
An input is a value that is read from an input device and then processed by a computer program
-
Typical input devices include:
-
Keyboards – Typing text
-
Mice – Selecting item, clicking buttons
-
Sensors – Reading data from sensors such as temperature, pressure or motion
-
Microphone – Capturing audio, speech recognition
-
-
Without inputs, programs are not useful as they can’t interact with the outside world and always produce the same result
-
In programming the keyboard is considered the standard for user input
-
If the command ‘USERINPUT‘ is executed, a program will wait for the user to type a sequence of characters
-
In other programming languages different command words can be used
Examples
|
AQA pseudocode |
Python |
|---|---|
|
|
|
What is an output?
-
An output is a value sent to an output device from a computer program
-
Typical output devices include:
-
Monitor – Displaying text, images or graphics
-
Speaker – Playing audio
-
Printer – Creating physical copies of documents or images
-
-
In programming the monitor is considered the standard for user output
-
If the command ‘OUTPUT‘ is executed, a program will output to the screen
-
In other programming languages different command words can be used
Example
|
AQA pseudocode |
Python |
|
|
|
Worked Example
A bus company offers a discount to passengers if they have a valid ‘student’ card or are over 65 years of age.
Identify all the inputs that will be required in an algorithm to solve this problem [2]
Answer
-
Student card (YES/NO)
-
Age (integer)
Responses