Docsity

A-level A2 Information technology 9626, Summaries of Computer science

Toggle sidebar
bg1
IT Practical Notes:
1)Spreadsheet:(Practical part)
Spreadsheet elements:-
Rows: Horizontal set of cells We can add, delete or hide them
Columns: A vertical set of cells
Cells: An intersection of rows and columns(ex B34)
Worksheet: A set of rows and columns
Workbook: Consists of one or multiple worksheets
Range: A set of one or more cells ,can be named for absolute reference and quick
references
Spreadsheet security:-
Protect the whole workbook form protect workbook(password is optional)
Protect a cell from a list of options from protect sheet(pass is optional)
Protect a new named range from allow users to edit ranges(pass is op)
Format spreadsheet:-
Data Types (ex-Date/time/Text/Numeric/Currency/Percentage/Fraction etc.)
Text orientation (ex-Diagonal/Vertical)
Alignment text is by default is to left and numbers are to right
Emphasis is making a cell standout from the rest (ex- B/I/U/Shading etc.)
Comments is additional information to explain what the content of the cell is
Conditional formatting where cells are formatted whenever a condition is met
Page formatting (ex-Page Setup/Fit to page/Margins/Header w footer)
Formulas and functions':
Remember: Spreadsheet is used to manipulate numbers, perform
calculations, present summary data and make predictions
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
Discount

On special offer

Partial preview of the text

Download A-level A2 Information technology 9626 and more Summaries Computer science in PDF only on Docsity!

IT Practical Notes:

1)Spreadsheet:(Practical part)

Spreadsheet elements:-

 Rows: Horizontal set of cells We can add, delete or hide them

 Columns: A vertical set of cells

 Cells: An intersection of rows and columns(ex B34)

 Worksheet: A set of rows and columns

 Workbook: Consists of one or multiple worksheets

 Range: A set of one or more cells ,can be named for absolute reference and quick

references

Spreadsheet security:-

 Protect the whole workbook form protect workbook(password is optional)

 Protect a cell from a list of options from protect sheet(pass is optional)

 Protect a new named range from allow users to edit ranges(pass is op)

Format spreadsheet:-

 Data Types (ex-Date/time/Text/Numeric/Currency/Percentage/Fraction etc.)

 Text orientation (ex-Diagonal/Vertical)

 Alignment text is by default is to left and numbers are to right

 Emphasis is making a cell standout from the rest (ex- B/I/U/Shading etc.)

 Comments is additional information to explain what the content of the cell is

 Conditional formatting where cells are formatted whenever a condition is met

 Page formatting (ex-Page Setup/Fit to page/Margins/Header w footer)

Formulas and functions :

Remember : Spreadsheet is used to manipulate numbers, perform calculations, present summary data and make predictions

 Formula uses basic arithmetical calculations + or – or * or /

 Function is a ready-made formula representing complex calculations

 Referencing (essential for replication)

o Absolute call references used when you do not want a cell reference to change

using a $ symbol before row or column or both

o Relative cell reference is used when we want to change content of cell based

on row or column or both

o Named cell/range using a name instead of a reference and is always absolute

FUNCTIONS

 Summary Function (Sum,Average,Min,Max)

 Rounding functions:

o Integer (returns the value before the decimal point without rounding)

o Round (rounds a decimal to the nearest dp rounds up if above 5)

o Roundup (always rounds up the specified dp even if below 5)

o Rounddown (always rounds down the specified dp even above 5)

 POWER (indices): =POWER(number,power)

 Date and time functions

o Day/Year/Month (extract Day/Year/Month from a specified date according to

the formatting of that date so pay attention)

o Date (Calculates the date from given Day/Year/Month)

o Hour/Min/Sec (extract Hour/Min/Sec from a specified date according to the

formatting of that date so pay attention)

o Time (Calculate time from given Hour/Min/Sec

o Now gives current date and time, can be formatted to give only date or only time

 Text Functions;

o Concatenate (Joins two text values)

o Left/Right/Mid (extracts a certain amount of characters staring beg/end/within a

word-

o Upper/Lower (Changes the case of the text)

o Len (calculates length of characters within the text)

NESTED FORMULAS

 Conditional functions only performs a calculation if a criteria is met

o If function :This has three attributes where the first is the condition second is the

value displayed if true and last is if the value displayed is wrong values if false can

be substituted by another if function to give a nested if

o COUNTA : counts all values in a range

o COUNTIF : only counts cells that contain values that met the criteria

o SUMIF : adds up all values that meet a criterion within a range

o AVERAGEIF : calculates the average of all values that meet a criterion

HOW TO DEAL WITH THE NESTED IF FUNCTION QUESTIONS:

Remember the following:

1. It is a jumping if so if the criteria isn’t met it will ignore anything within the value if

true

2. There is no in between

3. All of the criteria within a nester if should all be < or >

4. Condition is only a single cell

5. Number of ifs used is the number of options in question -

6. Between means it includes the value as well as the < or >

7. Always check the function by testing some value preferably on the boundaries

Validation rules

 If data passes the validation rules then it will be entered otherwise an error

message will be displayed

 Validation rules within spreadsheet which can be used are found in data tab

 Input message usually state what the criteria for data to be accepted(this is

displayed before data is entered to cells)

 Error message is displayed once the data entered is wrong which explains

what you did wrong

 In list to separate between options we use a comma for

 If we want to specify a range we use whole number and fill in min and max

 Many times you’ll be asked to do a table showing that your validation rule used is correct you should mention extreme normal and abnormal data types with at least 2 examples on each and the expected results as well as for the actual results obtained also you should place screen shot in the result for the abnormal data type

INDEX AND MATCH

=INDEX() returns the value of a cell in a table based on the column and row number.

=MATCH() returns the position of a cell in a row or column.

Combined, the two formulas can look up and return the value of a cell in a table based on vertical and

horizontal criteria. For short, this is referred to as just the Index Match function.

We can use this to make a form where any details can be retrieved

from a table by simply typing the information

#1 How to use the INDEX formula

Below is a table showing people’s name, height and weight. We

want to use the INDEX formula to look up Kevin’s height… here

is an example of how to do it.

#2 How to use the MATCH formula

Sticking with the same example as above, let’s use MATCH to

figure out what row Kevin is in. then use MATCH again to

figure out what column Height is in

#3 How to combine INDEX and MATCH

Now we can take the two MATCH formulas and use them to replace the “4” and the “2” in the original

INDEX formula. The result is an INDEX MATCH MATCH formula.

Verification of data enteries

1. Double entry - entering the data twice and comparing the two copies. This effectively doubles the

workload, and as most people are paid by the hour, it costs more too.

2. Proofreading data - this method involves someone checking the data entered against the original

document. This is also time-consuming and costly.

 filtering data

 Sorting data

 Importing (always ensure you show all file types)and exporting data

Charts and GraphsRules of selecting type of graph:( might need to add a secondary axis ) Type of graph/chart Purpose Bar/Column chart To show a single series of data in columns/orws Comperative bar/comperatice chart To compare more than one series in columns/rows Line graphs To show how a single series changes over a period of time Comperative line graphs To show how multiple series changes over a period of time Pie chart Used to show the proportion that is used by each item of data  Labeling charts and graphs Label Purpose Title An overview of what the graph is showing Legend A key to show what colors represent Value axis Each axis includes value and any units Category axis A title to state what the axis represent Percentages/ segment value Displaying percentages on each segment in pie chart/the value Segment label Instead of a legend a segment in pie

Advantages of a flight simulator o The pilot can learn the basics without any risk of damaging the plane or injuring passengers and crew. o It is cheaper than buying and maintaining a real plane for training purposes. o No fuel or crew is required. o The pilot can practise flying in dangerous weather conditions, eg heavy wind and rain. o The pilot can practise what to do in emergencies, eg engine failure.  Other uses of simulation o Nuclear power stations use simulation to improve output by looking at temperature, pressure and gas flow in the plant. o Scientific experiments, eg plant growth, can be simulated in varying conditions. o Studying the effect of the sea on the coastline in order to position defences to protect against erosion and flooding. o Investigating the need for new roads or traffic lights by simulating traffic flow. o The aerodynamics of cars can be investigated by simulating air flow over different body shapes.  Advantages of modelling and simulation o Can be safer and cheaper than the real world. o Able to test a product or system works before building it. o Can use it to find unexpected problems. o Able to explore ‘what if…’ questions. o Can speed things up or slow them down to see changes over long or short periods of time.  Disadvantages of modelling and simulation o Mistakes may be made in the programming or rules of the simulation or model. o The cost of a simulation model can be high.

o The cost of running several different simulations may be high. o Time may be needed to make sense of the results. o People’s reactions to the model or simulation might not be realistic or reliable. Cooperate House styleFeatures of a corporate house style o Consistent colour scheme o Consistent font styles o Logo o Has a set of rules o Branding  Reasons why a corporate house style is used o Method of company recognition o Ensure consistency of company documents  Setting up house styles are done by: o Applying to all documents/websites o Style guides and use of document template  Where cooperate house styles are found: o Letterheads o Business cards o Advertising

Validation doesn’t always work because: o Data can be reasonable but not correct(that’s why we use both verif and valid)  Methods of validation: o Range check o Look up check o Format check o Length check o Type check 2)Database:(Practical part) QueriesSimple queries: This only has one criterion applied to a specific field Examples:

  1. =”AB” will display all records that say AB in field applied
  2. True will display all records that say True in field applied
  3. 100 displays all records that say 100 in field
  4. /<50 displays all records w more than/less than 50

  5. =/<= 3.99 displays all records with more than or equal/less than or equal to 3.99 in field

  6. <01/01/2010 displays all record of before 1st^ January 2010 (pay attn to formatting)
  7. Like “A*” displays all record that start with an A in the field applied
  8. Like “??B??” displays all record where the third character is B in the field applied
  1. Not ”HI” displays all records that don’t contain Hi in the field applied  Complex queries: This has more than one criterion.They use the AND or OR Boolean operator AND: used when we want all the criteria to be applied OR: used wen we want any one of the specified criteria to be satisfied REMEMBER: When an OR needs to be combined with an AND you have to repeat the AND part of the query for each OR  Nested queries: To create a query on an existing query. This means that the original query is narrowed down further more. By placing a query on an original query Basically a nested function is like using an “AND” operator between the criteria however sometimes it is necessary for breaking down a problem making it easier step by step and for creating a cross-tab based on two or more table.  Summary queries: A cross-tab query is used to summarize data. Used to show the total number of records and sum of values within a field, averages or other statistical data. To create a cross-tab query based on data from more than one table, you should use a nested query by first creating a query that joins the tables together and then creating the cross-tab query based on the original query. A pivot table is another type of summary query that allows data to be summarized by selecting the row headings and column headings to be used to give summary data. This is done to group by two categories Parameters: Values used within the criteria.  Static Parameters: should be used when those parameters values will not change no matter how many times the query is used. For example searching a table regularly based on gender so you use a static parameter query with criteria (in Gender”Male/Female”)  Dynamic Parameters: Allows the values within the criteria to be chosen at run time of query. Can be used with ranges(><=) and Boolean operators (OR AND NOT). This should be used when the user is likely to want to change the value each time the query is run. For example if you want a query that would enable you to search for a specific product code but that product can be different every time with the criterion of Product code=[Please enter product code] Performing calculations within a database
  1. Character spacing of individual fields: -Enough space between each character within the data to be viewed avoiding overlapping and making text easier to be read because they are not too far apart -Ensure consistency
  2. Use of white space: -So a screen doesn’t look too cluttered -user is less likely to select the wrong button
  3. Buttons: -Navigation buttons: to move between records and go to first/last record -Radio buttons allows a user: to select one exclusive option
  4. Drop down menus: -Allows user to select from a set of option -Less space than radio buttons -ensures consistency in data entry -only allows entry of specific data -Less spelling errors are made -Maintains referential integrity.
  5. Highlighting key fields: -Structural enhancement -Making text bold or of a different color.
  6. Check boxes: -For Boolean data types Switchboards/Menus: to help user navigate between elements of a database including forms queries and action queries Exporting data We can export to a common format .so people who don’t have the software or don’t know how to use it can view the folder. We can export:
  7. Tables: as CSV files or RTF files.
  8. Queries: refined data from a table is exported
  1. Reports GENERAL NOTES:  Attributes should be specific and not unnecessary so that we won’t occupy more storage than needed  Relationships links a value in the table and the record in the corresponding table  Enforce integrity option: is applied one you are sure that for every value in first table has a record in the second table and for every record in the second table there is a value in the first table for example: if there are two tables named branch and employee we enforce integrity one we are sure that every employee works for a branch and every branch has an employee  Ensure data types of foreign and primary key should be the same and if one has a validation rule the other key should have a validation rule(obviously applied on values of that key) Importing Table: Before importing: To use database efficiently we have to
  2. Examine source file
  3. Check for primary and foreign key Check data types and field names During importing: You should pay attention to the following data type:
  4. Boolean
  5. Double
  6. Date/time (formatting DMY/MDY) Standard in double means that even if the number has no decimal places it will be displayed as.

After importing:

  1. Go to design view
  2. Check data types and you can enter certain data types(ones not mentioned above)
  3. Formatting in data types example (decimal places)
  4. Enter input
  5. Enter validation rules(if we want the criteria that is between you can simply type between the [min number] And [max number])  Difference between validation and criteria:

THEORY PART Introduction to database:

  1. Database: a structured method of storing data
  2. Table: a set of similar data
  3. Record: a common word for entity (a set of data about one thing)
  4. field: a common word for attribute (a category of information within an entity) Data types and fields sizes: (each field will have data type)
  5. text
  6. alphanumeric
  7. numeric(decimal/integer)
  8. date/time
  9. Boolean Relationships:

This is used to connect entities (records) together

A foreign key is an attribute (field) in one entity that connects to a primary key in

another entity

  1. One-to-one is when each record in one table only connects to one record in another table to create this type: a. at least one table should contain a primary key b. the other table must at least have a primary key that is also a foreign key linking it to a primary key of the other table or a foreign key field with a unique index linking it to the primary key of the other table c. Data types and field sizes of foreign key and primary key should match d. Only data items that exist in primary key of a table can be used in the foreign key of another table
  2. one-to-many is when each record in one table can connect to more than one record in another table To create this type: a. the table on the one side should have the primary key b. the table on many side should contain the foreign key c. data types, field sizes should match between primary and foreign key d. Only data items that exists in the primary key on the one side can be used in the foreign key
  3. Many-to-many (inefficient method) not used and if used it is split into two sets of one- many relationships

The difference between a flat file and a relational database: A flat file: a database that consists of a single table with no relationships Disadvantages:

  1. Redundancy: unnecessarily repeated data
  2. Takes up more memory than needed (because of redundancy)
  3. Inconsistency
  4. Maintenance of flat file is a problem(if a piece of data changes it will force you to change it multiple times due to redundancy of data, you may forget to change some data causing inconsistency nad so further problems when searching or filtering) Advantages:
    1. Often simple to set up(sometimes there is no need to set up data types ,field sizes or relationships)
    2. Can be shared easily through e mails and across the internet (not dependent over specific file types or software)
    3. You can easily add new columns(simply add a column)
    4. Easy for computer to process data(all of data is within same table) A relational database: a database consisting of multiple tables joined together by key Advantages:
  5. This database is more useful when data needs to be managed properly.
  6. They save the problems of inaccurate data
  7. inconsistencies is reduced
  8. and redundant data is reduced
  9. can apply security permission to each table so different types of people can access different tables
  10. can create queries to enable data to be searched and sorted efficiently
  11. can produce detailed and customized reports
  12. flexible(fields and tables can be added without disturbing the rest of data) this is achieved by using related tables Disadvantages:
  13. it take s time and expertise to plan in order to ensure that it is all set up correctly