Fundamentals of Geographical Information System (GIS)
Reference

INTRODUCTION TO GIS

GIS stands for Geographical Information System. It is defined as an integrated tool, capable of mapping, analyzing, manipulating and storing geographical data in order to provide solutions to real world problems and help in planning for the future.
GIS deals with what and where components of occurrences. For example, to regulate rapid transportation, government decides to build fly-over (what component) in those areas of the city where traffic jams are common (where component).

GIS means differently to different people and therefore has different definitions. For example, Burrough (1998) defined GIS as “ a powerful set of tools for collecting, storing, retrieving at will, transforming and displaying spatial data from the real world for a particular set of purposes”

March 2017 Current Affair

World
  1. The 2017 BRICS Film Festival will be held in Chengdu, South West China’s Sichuan Province from June 23 to 27. There will be 30 films from BRICS countries (Brazil, Russia, India, China and South Africa) Screened during the festival, including an anthology by five directors from the aforementioned countries.
  2. Rodrigo Duterte, the President of Philippines has won this year’s Time Magazine’s Readers Readers Poll of the 100 most influential people in the world.
  3. The World Health Organization (WHO) recently published a report, Global Analysis and Assessment of Sanitation and Drinking Water (GLASS) 2017, that states that nearly two billion people currently use contaminated water. 
  4. United Nations Chief Antonio Guterres appointed Achim Steiner as new administrator of the United Nations Development Programme (UNDP) on 12 April, 2017. 
  5. The Government of China recently launched a rail freight service between China and London. The train is loaded with whisky soft drinks, vitamins and baby products.  The train with 30 containers filled with UK produced goods, set off on the 7500 – mile journey from Stanford –le-Hope in Essex. 
  6. Ecuador elected Lenin Moreno as the country’s new President, according to the CNE (National Electoral Council) electoral agency.
  7. Japan officially recognized bitcoin and digital currencies as legal money with effect from 1 April 2017.
  8. Myanmar become the seventh member of the South Asia Subregional Economic Cooperation (SASEC) partnership, opening up new markets and supply chain links for trade and business between South Asia and Southeast Asia.
India and World
  1. In the list of 180 counties mapped, India stands at 136, down from last year’s 133, colour coded again in red to show the situation as difficult. India has slipped three notches in the World Press Freedom Index 2017.
  2. The Indian Navy has began a joint maritime exercise with the French Navy at the Mediterranean Sea to further deepen combat coordination between the two Navies.
  3. As per figures revealed by Stockholm International peace Research Institute (SIPRI), India has become World’s fifth largest military spender in the year 2016.
  4. Time Magazine on 20 April 2017 released the annual list of 100 most influential people of 2017.This year only two Indians to feature on the list Prime Minister Narendra Modi and Paytm founder vijay Shekhar Sharma.
  5. China has announced its official names for six places in Arunachal Pradesh and has strong protests with India over the Dalai Lama’s visit to the frontier state. 
  6. Actress Alia Bhatt has featured in Forbes 30 Under 30 Asia list. She is the only Bollywood Actress who has made it to this year.
  7. US-based tech giant CISCO has launched its fifth global range lab in Gurugram, Haryana with an aim to train Indian firms and govt. agencies on real-world cyber attacks.
  8. Indian Ambassador to Nepal Manjeev Singh Puri inaugurated cultural programme “Colours of the Northern Southern States of India” at Kathmandu. 
  9. Instagram: Prime Minister Narendra Modi has just topped the list, beating US President Donald Trump to bag the first spot. PM Modi has 101 posts and 6.9 million followers currently. He is also the most “Effective World leader”, an assessment made on the number of likes and comments he receives on his posts. 
  10. Over a year after Indian Navy Officer Kulbhushan Jadhav, was arrested, a military court in Pakistan has sentenced him to death for “espionage and subversive activities, triggering sharp reaction from India which called it “premeditated Murder”.
  11. India’s travel and tourism sector ranks 7th in the terms of its total contribution to the country’s Gross Domestic product (GDP), according to a new report of the World Travel and Tourism council  (WTTC), 2016. 
  12. India has ranked 9th out of 41 countries in bribery and corrupt practices in business as per the EY (Ernst & Young) Europe, Middle East, India and Africa (EMEIA) Fraud Survey 2017. 
  13. The Indian Institute of Science (IISC), Bangalore, the first Indian institution to make it to the top 10 in a global ranking, has been ranked at the top in the annual national rankings released by the HRD Ministry. Seven Indian Institutes of Technology (IITS) have also made it to the list of top 10 educational institutions released under the national Institutional RAnking Frame Work (NIRF), the other two being Banaras Hindu University and Jawaharlal Nehru University. 
National
  1. The Mukesh Ambani-Led Reliance Industries Ltd (RIL) Regained it status as India’s most valued firm by market capitalisation. RIL overtook Tata Group’s crown Jewel TCS.
  2. The Department of Administrative Reforms and public Grievances (DARDG) along with the Ministry of Personnel, Public Grievances and pensions is Organising a two day Civil Services Day Programme from 20 April to 21 April 2017.
  3. TAL Manufacturing Solutions in April 2017 unveiled India’s first conceptualized, designed and manufactured articulated industrial robot called BRABO. BRABO stands for “Bravo Robot”. It has been developed indigenously for micro, small and medium enterprises (MSME) in India. TAL Manufacturing Solutions is a wholly owned subsidiary of Tata Motors.
  4. Union  Cabinet on 19 April 2017 decided prohibiting the use of red beacons (lal batti) on all vehicles except for certain exempted categories. The only five categories would be allowed to use it are President, Vice – President, Prime Minister, Chief Justice of India, and the Speaker of Lok Sabha.
  5. The Rashtriya Uchchatar Shiksha Abhiyan (RUSA) under the aegis of the Ministry of Human Resources Development, on 17 April 2017 launched its own portal and mobile app. The portal and app were officially launched by Union Minister of Human Resources Development Prakash Javadekar in New Delhi.
  6. Suresh Prabhu inaugurated the new Vista Dome Coach which has glass roof, LED lights, GPS based infosystem and rotating seats among other features.
  7. India Meteorological Department (IMD), Ministry of Earth Sciences in implementing Agrometeorological Advisory Services (AAS) under the scheme Gramin Krishi Mausam Seva (GKMS) in the country.
  8. The Union Ministry of Labour & Employment has launched Aadhaar Seeding Application for efficient service delivery and widening the reach of Employees Provident Fund (EPF) benefits. It was launched at the 2017th special meeting of the central Board of Employees provident Fund (CBEPF/EPFO) in New Delhi under the Chairmanship of Minister of state for Labour of Employment Bandaru Dattatreya.
  9. The Union Ministry of power has launched Urja Mitra app for empowering citizens by real time information sharing on power supply. 
  10. The Union Minister for Science of Technology and Earth Sciences,  Harshvardhan launched a new web portal called ‘nakshe’ in New Delhi on 10 April 2017. The launch commemorates the 250th anniversary of survey of India.
  11. Home Minister Rajnath Singh along with Bollywood actor Akshay Kumar launched the website Bharat Ke Veer” during an event held at Vigyan Bhavan in New Delhi on 9 April 2017. The Web portal will enable the donors to contribute for the welfare of the kin of fallen soldiers. Rajnath Singh also presented bravery awards and medals to some of the Central Reserve Police Force (CRPF).
  12. Following Supreme Court’s ruling to ban the sale of BD-III compliant vehicles in the country, the Government of India has now launched Bharat Stage (BS) -IV grade fuel across the nation. Dharmendra Pradhan, Minister of state for petroleum and Natural Gas, formally launched BS-IV grade transportation fuels from Bhubaneswar, odisha recently. The BS – IV Complaint Vehicles release less pollutants Carbon Mono-oxide (Co), Hydrocarbons (HC), Oxides of Nitrogen (NOX), Sulphur (SOX) and particulate matter (PM) compared to BS III Complaint Vehicles.
States
  1. Bhubaneswar, the capital city of Odisha, on 27 April 2017 was selected for the Pierre L’Enfant Planning Excellence and Achievement awards 2017.
  2. North east’s Sixth and largest hub for information technology has been inaugurated in Agartala, Tripura
  3. Union Government will set up a Central University for Divyangs in Uttar Pradesh.
  4. Chief Minister of Haryana, Manohar Lal Khattar launched a mobile app as named “Kilkari” to awareness pregnant women & New born baby.
  5. Hyderabad Police’s HYD COP’ app has been awarded the Golden Peacock Innovative Product Service Award for 2017. 
  6. Haryana Govt has been launched “Operation Durga” to ensure women safety in the state. 

C++

Introduction
  • C++ is extension of C language and was developed by Bjarne Stroustrup at Bell Lab.
  • C++ is an intermediate level language, as it comprises a confirmation of both high level and low level language.
  • C++ is an Object Oriented Programming language.

Computer Science: DBMS

Contents

  • Introduction: RDBMS, Table/relation, tupple, attribute
  • Key in RDBMS
  • Structure Query Language: DDL, DCL, DML, Transitional language..
  • Example of various queries. 





Relational Database
A relational database is a collection of data items organized as logically related tables.
The software required to handle/manipulate these table/relations is know as Relational Database Management System (RDBMS). Example -
Oracle, Sybase, DB2, MSSQL, etc.

Table/Relation

A group of rows and columns form a table. 
The horizontal subset of the Table is known as a Row/Tuple

  - Cardinality: No. of Rows of Table

The vertical subset of the Table is known as a Column/an Attribute
  - Degree: No.of columns of Table.

Key in RDBMS
To maintain data integrity (that is data should be correct and in well formed) we use concept of keys. There are five types of keys in database which is as follows -

  1. Candidate key
  2. Primary Key
  3. Foreign Key
  4. Alternate Key
  5. Composite Key

Candidate Key
Candidate keys are those keys which is candidate for primary key of a table. In simple words we can understand that such type of keys which full fill all the requirements of primary key which is not null and have unique records is a candidate for primary key. So thus type of key is known as candidate key. Every table must have at least one candidate key but at the same time can have several.

Primary Key
Such type of candidate key which is chosen as a primary key for table is known as primary key. Primary keys are used to identify tables. There is only one primary key per table. In SQL Server when we create primary key to any table then a clustered index is automatically created to that column.

Foreign Key
Foreign key are those keys which is used to define relationship between two tables. When we want to implement relationship between two tables then we use concept of foreign key. It is also known as referential integrity. We can create more than one foreign key per table.  foreign key is generally a primary key from one table that appears as a field in another where the first table has a relationship to the second. In other words, if we had a table A with a primary key X that linked to a table B where X was a field in B, then X would be a foreign key in B.

Alternate Key
If any table have more than one candidate key, then after choosing primary key from those candidate key, rest of candidate keys are known as an alternate key of  that table. Like here we can take a very simple example to understand the concept of alternate key. Suppose we have a table named Employee which has two columns EmpID and EmpMail, both have not null attributes and unique value. So both columns are treated as candidate key. Now we make EmpID as a primary key to that table then EmpMail is known as alternate key.

Composite Key
When we create keys on more than one column then that key is known as composite key. Like here we can take an example to understand this feature. I have a table Student which has two columns Sid and SrefNo and we make primary key on these two column. Then this key is known as composite key.

SQL- Structured Query Language
SQL commands classified by function:

  1. Data definition language (DDL) - used to define or change database structure(s) (e.g., CREATE, ALTER, DROP)
  2. Data manipulation language (DML) - used to select or change data (e.g., INSERT, UPDATE, DELETE, SELECT)
  3. Data control language (DCL) - used to control user access (e.g., GRANT, REVOKE)
  4. Transnational language - used to control logical units of work (e.g., COMMIT,)

Creating a new table in the database
Syntax :

CREATE TABLE table_name
(
column_name1 data_type(size),
column_name2 data_type(size),
column_name3 data_type(size),
....
);

Example :

CREATE TABLE student
(
    rno int, 
    name char(25), 
    fees int, 
    dob date,
    class char(3)
); 

Inserting a new row at the bottom of the table
Syntax :

INSERT INTO table_name
VALUES (value1,value2,value3,...);

You can also specifies both the column names and the values to be inserted:

INSERT INTO table_name (column1,column2,column3,...)
VALUES (value1,value2,value3,...);

Examples

INSERT INTO student 
VALUES(10, 'Alex', 7800, '1998-10-03','K12');
INSERT INTO student(rno, name, fees, dob, class) 

values(11, 'Peter', 6700, '1997-11-15', 'K12');



Displaying the content from a table – SELECT
Example : SELECT * FROM student;
rnonamefeesdobclass
10Alex78001998-10-03K12
11Peter67001997-11-15K12
12Alisha78001999-07-03K11
13John69002000-12-13K11

SELECT name FROM student;

name
Alex
Peter
Alisha
John

Relational Operator
=, <, >, <=, >=, <>

Logical Operator

AND, OR, NOT

SELECT * FROM student WHERE fees < 7000;
rnonamefeesdobclass
11Peter67001997-11-15K12
13John69002000-12-13K11

SELECT * FROM student WHERE fess > 7000 AND fees < 8000;
rnonamefeesdobclass
10Alex78001998-10-03K12
12Alisha78001999-07-03K11

SELECT * FROM student WHERE fees > 7000 OR class = 'K12';
rnonamefeesdobclass
10Alex78001998-10-03K12
11Peter67001997-11-15K12
12Alisha78001999-07-03K11

SELECT name, fees FROM student WHERE NOT (class = 'K12');
namefees
Alisha7800
John6900

SELECT name, fees FROM student WHERE class <> 'K12';
note: here <> is denote not equal.
namefees
Alisha7800
John6900

SELECT * FROM student WHERE rno IN(10, 12, 13);
rnonamefeesdobclass
10Alex78001998-10-03K12
12Alisha78001999-07-03K11
13John69002000-12-13K11

SELECT * FROM student WHERE rno BETWEEN 11 AND 13;
rnonamefeesdobclass
11Peter67001997-11-15K12
12Alisha78001999-07-03K11
13John69002000-12-13K11

SELECT name FROM student WHERE name LIKE 'A%';
name
Alex
Alisha

SELECT * name FROM student WHERE name LIKE '%a';
rnonamefeesdobclass
12Alisha78001999-07-03K11

SELECT name FROM student WHERE Name LIKE '%e%' ;
name
Alex
Peter

Modifying the existing content of the table

Syntax:
UPDATE table_name
SET column1=value1,column2=value2,...
WHERE some_column=some_value;
Example
UPDATE student
SET fees = '7900'
WHERE rno = 12 ;
SELECT * FROM student;  
rnonamefeesdobclass
10Alex78001998-10-03K12
11Peter67001997-11-15K12
12Alisha79001999-07-03K11
13John69002000-12-13K11

Arranging the data in ascending or descending order of one/multiple columns (ORDER BY clause)

Syntax:
SELECT column_name,column_name
FROM table_name
ORDER BY column_name,column_name ASC|DESC;
Example
SELECT * FROM student ORDER BY name;
rnonamefeesdobclass
10Alex78001998-10-03K12
12Alisha79001999-07-03K11
13John69002000-12-13K11
11Peter67001997-11-15K12
SELECT * FROM student ORDER BY fees DESC;
rnonamefeesdobclass
12Alisha79001999-07-03K11
10Alex78001998-10-03K12
13John69002000-12-13K11
11Peter67001997-11-15K12
SELECT class, name, dob, fees FROM student ORDER BY class, name DESC;
classnamedobfees
K11John2000-12-136900
K11Alisha1999-07-037900
K12Peter1997-11-156700
K12Alex1998-10-037800
SELECT class, name, fees, fees*12 annualfees FROM student;
classnamefeesannualfees
K12Alex780093600
K12Peter670080400
K11Alisha790094800
K11John690082800

Using Aggregate Functions with SELECT

COUNT( ) To count the number of rows
SUM( ) To find the sum of values in the column
MAX( ) To find the maximum value in the column
MIN( ) To find the minimum value in the column
AVG( ) To find the average of values in the column
SELECT COUNT(*) FROM student;
COUNT(*)
4
SELECT COUNT(rno) FROM student;

COUNT(rno)
4
SELECT SUM(fees) FROM student;

SUM(fees)
29300
SELECT AVG(fees) FROM student;
AVG(fees)
7325.0000
SELECT MAX(fees), MIN(fees) FROM student;
MAX(fees)MIN(fees)
79006700

Grouping data under given Column- (GROUP BY)

SELECT class, SUM(fees) FROM student GROUP BY class;
classSUM(fees)
K1114800
K1214500
SELECT class, MAX(fees), MIN(fees) FROM student GROUP BY class;
classMAX(fees)MIN(fees)
K1179006900
K1278006700
SELECT class, MAX(dob) FROM student GROUP BY class HAVING COUNT(*)>1; 
classMAX(dob)
K112000-12-13
K121998-10-03

 

Deleting a row/rows from a table

Syntax:

DELETE FROM table_name
WHERE some_column=some_value;
Example:
DELETE FROM Student WHERE rno = 13;

Adding a new column(s) in the table

Syntax :
ALTER TABLE table_name
ADD column_name datatype
Examples :
ALTER TABLE student ADD (grade CHAR(2));

 

Modifying the data type of a column

Syntax;
ALTER TABLE table_name
MODIFY column_name datatype
Example:
ALTER TABLE student MODIFY (grade CHAR(1));

 

Deleting a table

Syntax:
DROP TABLE table_name
Example:
DROP TABLE student;

 

Working with more than one table

Syntax:
SELECT col1, col2, col3...
FROM table_name1, table_name2 
WHERE table_name1.col2 = table_name2.col1;
Table - product
product_id
product_name
supplier_name
unit_price
100CameraNikon300
101TelevisionOnida100
102RefrigeratorVideocon150
103IpodApple75
104MobileNokia50
Table - order_items
order_id
product_id
total_units
customer
510010430Infosys
51011025Satyam
510210325Wipro
510310110TCS
SELECT order_id, product_name, unit_price, supplier_name, total_units 
FROM product, order_items 
WHERE order_items.product_id = product.product_id;




Chemistry Notes SSC CGL

ACID
 - Acids are sour in taste, sharp odor, they are corrosive with active metal, change the color of certain vegetable dye, such as litmus from blue to red, loose acidity when they are combined with alkalies(Base).
 - Vinegar taste sour because it is dilute solution of acetic acid in water. Lemon Juice tastes sour because it contains citric acid, Non-Metal etc.
 - Arrhenius concept: Acid release a hydrogen ion H+ into water(aqueous) solution such as HCL - hydrochloric acid.
 - Bronsted Lowery concept: An acid is molecule or ion which is capable of donating a proton.
 - Lewis concept: An acid is a substance which can accept an electron e.g. carbon dioxide.

Physics for SSC CGL Part 7: Miscellaneous topics Measurement units, Scientific Units

Angstrom: For measurement length of light waves.
Barrel: For measuring liquid. 1 barrel = 31.5 gallon or 7326.5 cubic inches.
Cable: For measuring length of cables. 1 cable = 183m.
Carat: Use for measuring precious stones. It also measure purity of gold alloy.
Fathom: It is used for measuring depth of water. 1 fathom = 4 inches.
Knot: for measuring speed of ships.