UI, Python And Data Representation Flashcards
UI
User interface
A User interface is
The method in which a person controls a software application or hardware device
GUI
Graphical User Interface
A Graphical User Interface is…
A mixture of images and text. Offer a wide degree of control over the system
Menu
Menu interfaces allow the user to select options from a menu and don’t offer much customisation
Text
The user interacts with the interface using written (typed) commands. it requires a high skill level to use a text interface
Speech
Controlled by user’s voice
Sensor
Sensors are used to detect inputs, these can be motion, light, noise or fingerprints
Name the 5 design principles
Colour, Font Style/Size, Use of language, Amount of information, Layout
Colour principles
1)Don’t use too many
2)Don’t use bright colours for important stuff
3)Don’t use dull colours for unimportant stuff
Font Style/Size
1)Use appropriate font types
2)If you use decorative fonts make them large
3)Ensure it is readable
Use of language
Suit the language to the reader
Amount of information
Too much information is distracting and hard to read, too little information might leave the user confused
Layout
Should be consistent
Example of good colour usage
McDonalds using red and yellow as it is their brand’s colours
Good example of use of language
A Tesco UI should be simple as it is for anyone but a doctor’s UI could be more complex
Algorithm
A step by step set of instructions on how to do something
Sequence
The order of the steps in an algorithm
Output
When a computer gives information to the user
Input
When the computer takes in information from the user
Variable
A feature or factor that stores some data
Syntax error
Making a error in code that stops it from running
List the Data types
String, Boolean, Integer, Float
a Float is
A decimal
An integer is
A whole number
Boolean can be…
True or False
String is…
Text
The ig command is an example of…
Selection
The while command is an example of…
Iteration
“names = [“Bob”,”Mike”,”Jim”]” is an
Array
==,!=,>=,> are
Comparative operators
Order of units of data (smallest to biggest)
Bit,Nibble,Byte,Kilobyte,Megabyte,Gigabyte,Terabyte
How many different colours could you have with 4 bits
16
What is the relation between the amount of different colours you can have and the number of bits it takes up
No. Bits = 2(to the power of No. Bits)
How to figure out the amount of bits an image is
No. Pixels x number of colours squared
ACII means
American Standard Code for information interchange
What base is denary
Base 10
What base is hexadecimal?
Base 16
What base is binary?
Base 2