TCP/IP Sample questions I. IP protocol: 1. What is the purpose of IP protocol? 2. What OSI layer is IP protocol occupying ? 3. Given the IP address 126.110.16.7 what class of address is it? 4. Given a netmask of 255.255.255.0 how many subnets are available for a Class B IP address? 5. How many hosts can we attached to each subnet? 6. What is the decimal equivalent of hex number f0 ? 7. Each protocol consists of a header and data. What is the most important part of IP header? 8. What goes into IP data? 9. Explain the IP Address Exhaustion problem. 10. What are the current methods of dealing with the IP Address Exhaustion problem? 11. Every active NIC card will have a corresponding IP address. [T / F] 12. Every active IP address has a corresponding NIC card address. [T / F] II. TCP protocol 1. What OSI layer is TCP protocol occupying? 2. What is the purpose of TCP protocol? 3. What is the most important info in TCP header? 4. What goes into TCP data? 5. TCP is connection less protocol [T / F] 6. How would you find out the port number of FTP service? 7. How would you find out the protocol FTP service is using? III. UDP protocol 1. What OSI layer is UDP protocol occupying? 2. What is the purpose of UDP protocol? 3. What is the most important info in UDP header? 4. What goes into UDP data? 5. UDP is an connection less protocol [T / F] IV. Sockets 1. What is the purpose of a socket? 2. Where is a socket located? 3. Who maintains sockets? 4. What is a packet? 5. What is a datagram? 6. Who maintains packets and datagrams? 7. What is a difference between packets, datagrams and frames? V. DNS service 1. What is the purpose of DNS service? 2. What is a Fully Qualified Domain Name? 3. What is a Domain Name Server? 4. How would you find out the name and IP Address of a Domain Name Server attached to your application? 5. U of C has only one Domain Name Server [T / F] 6. There is one-to-one correspondence between Fully Qualified Domain Name and IP address [T / F] 7. There is a one-to-one correspondence between the Subdomain and the subnet number. [T / F] VI. Socket Programming 1. List the function calls executed by the TCP server program 2. List the function calls executed by the TCP client program 3. Programmer has a choice of using TCP sockets or UDP sockets [T / F] 4. What is the difference between Concurrent and Non-concurrent server? VII. Security 1. Explain authentication 2. Explain Symmetrical-key, Public-key encryption 3. Explain Digital Signature 4. What will SSL provide and how does it work? 5. Why do we need Certification Authorities (CAs)? 6. What is Virtual Private Network? 7. What is the purpose of firewall? 8. What kinds of firewalls do we have and how do they work? 9. What is the purpose of Kerberos system?