SDD Notes lol Flashcards
Define: the ALU
the [Arithmetic Logic Unit] deals with all calculations and logic decisions
the more bits used to represent each character;
the larger the file size will be
parts of the processor: (3)
registers
the ALU
the control unit
Define: array
arrays store multiple values of the same data type
is a gif standard file format?
yes
Compilers: translate speed
all at once - faster
largest unit of storage?
Petabyte (Pb)
example of a logic error
trying to calculate average from sum of 4, 5 and 6 but instead of the output being 5 it is 15
Define: Interfaces
an interface allows two devices to communicate with each other
equals
=
Integer
Whole Number
how does using a breadcrumb aid navigation
helps user view path taken to reach this page OR
useful to retrace steps and go back to previous pages OR
useful in indicating section of current page to orientate user
what is Unicode mainly used for
storing languages with very large character sets
state the data structure that would be used to store a list of Price values
examples of Price values: 34.3, 66.1, 92.3
an array of real numbers
how many bits does Extended ASCII use per character
8-bits; 2^8
Define: graphical object
An object that can be placed on the user interface that can contain a picture
Interpreters: when does the program need to be translated
every time the program is run - slower
Define: pre-defined functions
Code that has been created to perform a certain action which does not need to be programmed but can be used by the programmer
explain how a search engine is used to produce a list
through a search that matches user searched keywords then searches a database of known pages.
Python expression(s) to assign values to variables
declaring it: counter=0
requesting input: age=input(“How old are you?”)
changing an existing value: total=total+mark
real numbers are stored using
a mantissa and exponent
Define: Machine Code
the language that a computer understands which is made up from a combination of 1s and 0s
why is file compression used before transferring files to cloud storage
so the upload / transfer is faster OR
so more files can be stored
Compilers: when does the program need to be translated
only once as the translated code can be saved - faster
purposes of using an interface (3)
temporary storage of data handling of status signals data conversion - serial to parallel voltage conversion communication between devices
what is the domain name of
http://www.sqa.org.uk/sqa/41288.html
(www.)sqa.org.uk
If a number begins with a 0 does it need to be declared as a string?
yes
why must high level languages be translated into machine code in order for them to be run?
computer systems only speak machine code so out programs must be translated into machine code I order to have our instructions carried out.
how many bits does ASCII use per character
7-bits; 2^7
Features of a web browser (5)
shortcuts favourites bookmarks refresh home search box address bar stop button tabbed browsing customisation of toolbars change default homepage
an algorithm to check that the data that is inputted can be accepted
Get input from user While input = incorrect Display error message Get input from user End while
vectors graphics are stored as
individual objects with attributes such as StartPoint X, StartPoint Y, EndPoint X, EndPoint Y, line thickness, line colour etc.
pro of using bitmapped graphics
realistic
not equal to
!=
Fixed loops will
always execute a set number of times
more than or equal to
> =
what makes a program more readable? (3/4)
internal commentary
meaningful identifiers
indentation and whitespace
Interpreters: translate speed
one line at a time - slower
Will your program run with a logic error?
yes but will display an unexpected output
basic computer architecture: (4)
the processor
main memory
buses
interfaces