IP address or Internet Protocol address is the address of a device attached to an IP network (TCP/IP network). It is a must for every client, server and network device to have a unique IP address for each network connection (network interface). Every IP packet contains a source IP address and a destination IP address. As a device moves from one network to another, its IP address changes.
Networking - How would you define IP address?
Computers using the TCP/IP for communication are uniquely identified by a 32 bit address called as an IP address. The routers use the IP address information to forward the packet to the destination computer.
IP addresses are categorized as:
Private address: these IP addresses are used exclusively within a private network and not for public to see.
Public Address: these are registered IP addresses used for public.
Each IP address has a network address and a host address. IP addresses are expressed in four sets of three numbers, separated with dots. Each set is called as an octet because when converted to binary; it denotes eight binary.
Difference between Static and Dynamic IP.
Static IP is also called as permanent address assigned to each device in a network, whereas Dynamic IP, a temporary address assigned to the device via DHCP software. IP address assigned to your service by your cable or DSL Internet provider is typically dynamic IP. In routers and operating systems, the default configuration for clients is dynamic IP.
What is the difference between public and private IP?
A public IP address allows equipment accessible to everyone on the internet. A private IP address is for private use within the network and allows many more PCs to be connected. If you are using a private IP and wants VOIP, you need to change to a public IP address.
What is Network Address Translation?
Network Address Translation acts as an agent between the Internet and a local network. It is a dynamic method which is used to minimize Internet connectivity needs. Network address translation describes the rewriting of the Internet Protocol (IP) addresses of data packets so that multiple transmissions require only one IP address.
What is subneting?
Subnet adds one level to the way IP address is represented. It logically organizes the network. For instance, it can logically group computers belongs to the finance department.
What is Routing Protocol?
Routing protocol is the way to send routing information between any routers in an autonomous system.
Explain the structure and use of internet addresses.
Each IP address is 32 bit long. In human language the IP addresses are written in dotted decimal notation. These are then converted to binary by the computer. Each IP address has two parts: Network identifier or a network ID and host ID. The current internet protocol standard is IPV4. The IP addresses are divided into three classes: a class A network, a class B network, and a class C network. Class A being the largest. The four digit numbers in an IPV4 address, each network of class A will have different first number, and then its network will be addressed by the rest of the three numbers, or three bytes. The IP addresses identify a machine to deliver packets and load web pages.
Digital Signatures?
Digital signature is an attachment to an electronic message used for security purpose. It is used to verify the authenticity of the sender.
What is broadcast domain?
It is a logical area in a computer network where any computer connected to the network can directly transmit to any other computer in the domain without having to go through a routing device.
Diff b/w Bridge and switch
A bridge connects two different LAN networks. A switch is something like you can connect many computers to a switch and then one computer can connect to another through the switch. Switch is a unicast one to one connection.
What is a Router?
A router is a device or sometimes a software in a computer which decides the next network point to which a packet should be forwarded to reach its destination on Internet. It is usually included as part of the network switch and is located at a gateway, including each point-of-presence on the Internet. The router is connected to at least two networks and determines which way to send each information packet based on its understanding of the state of the networks it is connected to.
Describe the basics of internet routing.
When a source sends a packet to a destination, this packet has a specific path or route it follows. Different routing protocols are used to find the shortest path to the destination. The protocols maintain routing tables. Routing tables consist of a set of rules used to determine where these packets will travel. When a packet is received, a network device examines the packet and matches it to the routing table entry providing the best match for its destination. The packet keeps hopping until it reaches its destination.
Define gateway
A gateway is a network point that provides entrance into another network. On the Internet, a node or stopping point can be either a gateway node or a host (end-point) node. Both the computers of Internet users and the computers that serve pages to users are host nodes. The computers that control traffic within your company's network or at your local Internet service provider (ISP) are gateway nodes.
What is firewall?
A firewall is a hardware or software installed to provide security to the private networks connected to the internet. They can be implemented in both hardware and software, or a combination of both. All data entering or leaving the Intranet passes through the firewall which allows only the data meeting the administrators’ rules to pass through it
What are the types of firewalls?
Packet Filtering Firewall:
This type of Firewall detects packets and block unnecessary packets and makes network traffic release.
Screening Router Firewalls:
It's a software base firewall available in Router provides only light filtering.
Computer-based Firewall:
It's a firewall stored in server with an existing Operating System like Windows and UNIX.
Hardware base Firewall:
Its device like box allows strong security from public network. Mostly used by big networks.
Proxy Server:
Proxy server allows all clients to access Internet with different access limits. Proxy server has its own firewall which filters the all packet from web server.
What is Ethernet technology?
Ethernet technology is a high speed broadcast bus technology. In this type, all the station shares a single ether channel and receives every single transmitted signal.
Rise up your computer speed, protect your PC from virus, interview question
Thursday, August 25, 2011
Some sql queries for beginners
SQL (Structured Query Language) is an ANSI standard computer language that allows you to access a database by execute queries, retrieve, insert, delete, update records etc. SQL is a standard language for accessing databases.
Q :What is SQL?
• SQL stands for Structured Query Language
• SQL is pronounced as /ˌɛs.kjuːˈɛl/
• SQL is designed for manipulate data in relational database management system
Q :What can you do with SQL?
• SQL can retrieve and update data from relational database management system by using data manipulation language.
• SQL can create and modify database schema and database objects such as tables, views, indexes... via data definition language.
• SQL can grant or revoke authorization to user through data control language.
SQL Data Manipulation Language (DML)
SQL data manipulation language (DML) is a main part of SQL statements. SQL DML allows you to retrieve data from the database tables in relational database management system (RDBMS). In addition, SQL DML allows you change or delete data from the database tables by using UPDATE and DELETE statements. Here are all the SQL statements related to the SQL data manipulation language:
SQL Syntax
1)SQL SELECT:-
SELECT Company, Country FROM Customers WHERE Country <> 'india'
SQL Result
Company Country
Wipro Delhi
HCL Noida
TCS Pune
2)SQL DELETE
SQL DELETE statement allows you to delete one or more records in a database table. The syntax of SQL DELETE statement is as follows:
1 DELETE FROM table_name
2 WHERE conditions
If you want to remove employee number 3 just execute the following query:
1 DELETE FROM employees
2 WHERE employeeID = 3
3) SQL INSERT :-
1 INSERT INTO table_name (column1, column2…)
2 VALUES (value1, value2,…).
example of inserting data into the Shippers table by using SQL INSERT statement.
1 INSERT INTO Shippers (companyName, phone)
2 VALUES ('Shippers','1-800-222-0451')
Insert multiple records into a database table
SQL INSERT statement also allows you to insert multiple records into a database table at a time. Here is the syntax:
1 INSERT INTO shippers(companyName,phone)
2 VALUES ('zte','1-800-782-1235'),
3 ('cms','1-800-225-1234')
4)SQL UPDATE
1 UPDATE table_name
2 SET column1 = value1,
3 column2 = value2
4 WHERE condition
Ex:- Suppose one of employee in the company get married and need to change her last name, so you have to make the change by using the SQL UPDATE statement. Here is the query to do so:
1 UPDATE employees
2 SET lastname = 'ram'
3 WHERE employeeID = 3.
Q :What is SQL?
• SQL stands for Structured Query Language
• SQL is pronounced as /ˌɛs.kjuːˈɛl/
• SQL is designed for manipulate data in relational database management system
Q :What can you do with SQL?
• SQL can retrieve and update data from relational database management system by using data manipulation language.
• SQL can create and modify database schema and database objects such as tables, views, indexes... via data definition language.
• SQL can grant or revoke authorization to user through data control language.
SQL Data Manipulation Language (DML)
SQL data manipulation language (DML) is a main part of SQL statements. SQL DML allows you to retrieve data from the database tables in relational database management system (RDBMS). In addition, SQL DML allows you change or delete data from the database tables by using UPDATE and DELETE statements. Here are all the SQL statements related to the SQL data manipulation language:
SQL Syntax
1)SQL SELECT:-
SELECT Company, Country FROM Customers WHERE Country <> 'india'
SQL Result
Company Country
Wipro Delhi
HCL Noida
TCS Pune
2)SQL DELETE
SQL DELETE statement allows you to delete one or more records in a database table. The syntax of SQL DELETE statement is as follows:
1 DELETE FROM table_name
2 WHERE conditions
If you want to remove employee number 3 just execute the following query:
1 DELETE FROM employees
2 WHERE employeeID = 3
3) SQL INSERT :-
1 INSERT INTO table_name (column1, column2…)
2 VALUES (value1, value2,…).
example of inserting data into the Shippers table by using SQL INSERT statement.
1 INSERT INTO Shippers (companyName, phone)
2 VALUES ('Shippers','1-800-222-0451')
Insert multiple records into a database table
SQL INSERT statement also allows you to insert multiple records into a database table at a time. Here is the syntax:
1 INSERT INTO shippers(companyName,phone)
2 VALUES ('zte','1-800-782-1235'),
3 ('cms','1-800-225-1234')
4)SQL UPDATE
1 UPDATE table_name
2 SET column1 = value1,
3 column2 = value2
4 WHERE condition
Ex:- Suppose one of employee in the company get married and need to change her last name, so you have to make the change by using the SQL UPDATE statement. Here is the query to do so:
1 UPDATE employees
2 SET lastname = 'ram'
3 WHERE employeeID = 3.
Subscribe to:
Posts (Atom)