0% found this document useful (0 votes)
24 views3 pages

CH 5 Summary

Uploaded by

elonreevemusk2k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

CH 5 Summary

Uploaded by

elonreevemusk2k
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Ch 5 Summary

• Data refer to unorganised facts that can be processed to generate meaningful result or information.

• Data can be structured or unstructured.

• Hard Disk, SSD, CD/DVD, Pen Drive, Memory Card, etc. are some of the commonly used storage devices.

• Data Processing cycle involves input and storage of data, its processing and generating output.

• Summarizing data using statistical techniques aids in revealing data characteristics.

• Mean, Median, Mode, Range, and Standard Deviation are some of the statistical techniques used for data
summarisation.

• Mean is the average of given values.

• Median is the mid value when data are sorted in ascending/descending order.

• Mode is the data value that appears most number of times.

• Range is the difference between the maximum and minimum values.

• Standard deviation is the positive square root of the average of squared difference of each value from the mean.

Ch 6 Summary

• Array is a data type that holds objects of same datatype (numeric, textual, etc.). The elements of an array are
stored contiguously in memory. Each element of an array has an index or position value.

• NumPy is a Python library for scientific computing which stores data in a powerful n-dimensional ndarray object for
faster calculations.

• Each element of an array is referenced by the array name along with the index of that element.

• numpy.array() is a function that returns an object of type numpy.ndarray.

• All arithmetic operations can be performed on arrays when shape of the two arrays is same.

• NumPy arrays are not expandable or extendable. Once a numpy array is defined, the space it occupies in memory is
fixed and cannot be changed.

• numpy.split() slices apart an array into multiple sub-arrays along an axis.

• numpy.concatenate() function can be used to concatenate arrays.

• numpy.loadtxt() and numpy.genfromtxt() are functions used to load data from files. The savetxt() function is used
to save a NumPy array to a text file.

Ch 7 Summary

• A file in a file system is a container to store data in a computer.

• File system suffers from Data Redundancy, Data Inconsistency, Data Isolation, Data Dependence and Controlled
Data sharing.

• Database Management System (DBMS) is a software to create and manage databases. A database is a collection of
tables. • Database schema is the design of a database

• A database constraint is a restriction on the type of data that that can be inserted into the table.

• Database schema and database constraints are stored in database Catalog.


• Whereas the snapshot of the database at any given time is the database instance.

• A query is a request to a database for information retrieval and data manipulation (insertion, deletion or update). It
is written in Structured Query Language (SQL).

• Relational DBMS (RDBMS) is used to store data in related tables. Rows and columns of a table are called tuples and
attributed respectively. A table is referred to as a relation.

• Destructions on data stored in a RDBMS is applied by use of keys such as Candidate Key, Primary Key, Composite
Primary Key, Foreign Key.

• Primary key in a relation is used for unique identification of tuples.

• Foreign key is used to relate two tables or relations.

• Each column in a table represents a feature (attribute) of a record. Table stores the information for an entity
whereas a row represents a record.

• Each row in a table represents a record. A tuple is a collection of attribute values that makes a record unique.

• A tuple is a unique entity whereas attribute values can be duplicate in the table.

• SQL is the standard language for RDBMS systems like MySQL.

Ch 8 Summary

• Database is a collection of related tables. MySQL is a ‘relational’ DBMS. A table is a collection of rows and columns,
where each row is a record and columns describe the feature of records.

• SQL is the standard language for most RDBMS. SQL is case insensitive.

• CREATE DATABASE statement is used to create a new database.

• USE statement is used for making the specified database as active database.

• CREATE TABLE statement is used to create a table.

• Every attribute in a CREATE TABLE statement must have a name and a datatype.

• ALTER TABLE statement is used to make changes in the structure of a table like adding, removing or changing
datatype of column(s).

• The DESC statement with table name shows the structure of the table.

• INSERT INTO statement is used to insert record(s) in a table.

• UPDATE statement is used to modify existing data in a table.

• DELETE statement is used to delete records in a table.

• The SELECT statement is used to retrieve data from one or more database tables.

• SELECT * FROM table_name displays data from all the attributes of that table.

• The WHERE clause is used to enforce condition(s) in a query.

• DISTINCT clause is used to eliminate repetition and display the values only once.

• The BETWEEN operator defines the range of values inclusive of boundary values.

• The IN operator selects values that match any value in the given list of values.

• NULL values can be tested using IS NULL and IS NOT NULL.


• ORDER BY clause is used to display the result of an SQL query in ascending or descending order with respect to
specified attribute values. The default is ascending order.

• LIKE clause is used for pattern matching. % and _ are two wild card characters. The percent (%) symbol is used to
represent zero or more characters. The underscore (_) symbol is used to represent a single character.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy