Exam 2, material covered: Ch. 11-17, pp. 87-141, plus classroom and lab material and discussion.

COMP128 Computer Science Problem Solving

Name_________________________

 

NAID_________________________

 

Exam 2, Fall 1999

(6 pages, 100 points == 12% of semester grade, approximately)

 

 

1. What is a packet?
a. it is one kind of networking.
b. the unit of data that can be transferred at one time.**
c. total amount of data that is transferred through a particular line.
d. None of the above.

 

2. ___________ contains the address of the computer that sent it and the computer to which it is sent.
a. A packet**
b. A Switch
c. A CPU
d. A packet switching system

 

3. Find the true statement:
a. Packet Switching avoids delays.
b. Each Packet must be labeled.
c. Packets are not all the same size.
d. All of the above **

 

4. Each computer attached to a network is assigned a unique number called its :
a. packet
b. address**
c. source
d. none of the above

 

5. Arranging for multiple devices to share a single transmission path lowers cost because:
a. it uses fewer wires and fewer switching machines.**
b. it uses no switching machine.
c. it uses no wires
d. it uses no wires and no switches.

 

6. Find the false statement:
a. Both LANs and WANs use packet switching.
b. A packet contains the address of the computer that sent it and the computer to which it is sent.
c. Network hardware does not handle sharing.**
d. Packets from many machines traverse the Internet at the same time.

 

7. Many packet switching technologies exist because:
a. each has been designed to meet constraints of speed, distance, and cost.**
b. each has been designed individually, and there is no particular reason.
c. every different company makes a different one.
d. producers are trying to attract customers in a different way.

 

8. Why is an interconnected network better than an individual network?
a. It saves time.
b. It saves money.
c. Both a and b**
d. None of them

 

9. Which one is not the way to extend the connection between a computer and a network:
a. two modems with wire connecting them.
b. two modems that communicate across the voice telephone system.
c. two optical modems with glass fiber connecting them.
d. two dial-up modems with glass fiber connecting them.**

 

10. What is/are the property/properties of an optical fiber?
a. It can be installed similar to any cable, because it is flexible.
b. Light can travel through it, because the fiber is made from glass.
c. The light intensity does not diminish much as it travels along, because the fiber is constructed to reflect light back inside.
d. All of the above.**

 

11. What does an optical modem do in a network?
a. convert data from the computer into a pulse of light and send the pulse down the fiber.
b. Sense pulses of light and turn them back into data.
c. Both a and b.**
d. None of a and b.

 

12. The process of selecting a network over which to send a packet is called ________, and the dedicated computers that interconnect networks and perform this task are called ___________.
a. hacking, hackers
b. routing, routers**
c. searching, searchers
d. finding, finders

 

13. How do you connect a private network to the global Internet?
a. By adding one additional router.**
b. By adding a dial-up modem.
c. By adding an optical modem.
d. It is impossible.

 

14. What would happen if the Internet did not permit multiple types of networks?
a. It could be slower.
b. It could not survive.**
c. It could be cheaper.
d. Nothing could happen.

 

15. Because a/an ____________ can interconnect diverse technologies, it can interconnect a Local Area Network and a Wide Area Network.
a. net
b. dial-up modem
c. router**
d. optical modem

 

16. A computer on the Internet
a. must have a permanent IP address
b. can have a temporary IP address**
c. can have no IP address
d. can have two IP addresses

 

17. A router can interconnect:
a. LAN and LAN
b. LAN and WAN
c. WAN to WAN
d. All of the above**

 

18. To use your telephone system to access Internet service, what do you need?
a. a dial-up modem**
b. a LAN card
c. an optical modem
d. a router

 

19. Find the false statement.
a. The Internet is a network of networks.
b. Two computers can communicate without sharing any common language.**
c. Interconnecting computers are called routers.
d. A computer can have multiple connections.

 

20. What does IP specify?
a. The rules that define the details of how computers communicate.
b. Exactly how a packet must be formed.
c. How a router must forward each packet towards its destination.
d. All of the above.**

 

21. Because all Internet services use the Internet Protocol, a computer must have _____ software before it can use the Internet.
a. TCP
b. IP**
c. FTP
d. All of the above

 

22. Which one is analogous to Internet :: datagrams?
a. Television :: cable
b. Telegraph office :: telegram**
c. Computer :: keyboard
d. Camera :: photo

 

23. Each packet sent across the Internet must follow the format specified by the Internet Protocol. Such packets are called ___________.
a. telegrams
b. IP datagrams**
c. IP software
d. TCP kilograms.

 

24. __________ allows any computer to send an IP datagram to any other computer.
a. TCP software
b. FTP software
c. IP software**
d. Routers

 

25. Find the true statement.
a. When a datagram travels across the Internet from one computer to another, it must follow a physical path.**
b. The IP datagram does not define a standard format for all Internet packets
c. The Internet packet format depends on the particular technology.
d. All of the above.

 

26. The unique number assigned to a computer is called its __________, often abbreviated IP address.
a. Internet address**
b. Model number
c. Address proxie
d. Number address

 

27. In how many binary units does a computer store for an IP address?
a. five
b. two
c. four**
d. six

 

28. Which one canít be the IP address of a computer?
a. 134.129.111.111
b. 192.5.48.3
c. 123.10.25.1
d. 125.12.3.10.600**

 

29. Find the false statement.
a. IP address are random**
b. Computer networks and routers transfer datagrams at incredibly high speed.
c. TCP helps IP guarantee delivery.
d. TCP stands for Transfer Control Protocol.

 

30. ________ automatically checks for lost datagrams and handles the problem.
a. TCP**
b. IP
c. TCP/ IP
d. FTP

 

31. Although _____ software allows a computer to send and receive datagrams, ______ does not handle all the problems that arise. A computer using the Internet also needs ______ software to provide reliable, error free communication.
a. TCP, IP, TCP
b. IP, IP, TCP**
c. TCP, TCP, IP
d. IP, TCP, TCP

 

32. Why does a computer connected to the Internet needs both TCP and IP software?
a. To provide a reliable way to send data across the Internet.**
b. To make data transmission slower.
c. To avoid data congestion.
d. All of the above.

 

33. What is master-slave networking?
a. The arrangement in which small remote computers control small I/O devices at remote sites.
b. The arrangement in which a large, central computer controls small I/O devices at remote sites.**
c. Any kind of networking.
d. None of them

 

34. Which statement/statements is/are true?
a. A server must always run
b. If a computer losses power or the operating system crashes, all servers running on the computer are lost.
c. Computers can run multiple programs.
d. All of them.**

 

35. Among the fifty most common names assigned to computers on the Internet in 1996, the first three are:
a. www, ns, and ftp**
b. ftp, mail, and user
c. news, gateway, and gw
d. venus, Pluto, and mars

 

36. Each computer on the Internet must have __________ name .
a. the same
b. a unique**
c. a duplicate
d. a secondary

 

37. What is the software that translates the domain name to an IP address?
a. IP software
b. TCP software
c. DNS**
d. There is no software to do that.

 

38. Are IP address and Domain name related?
a. No**
b. Yes
c. It depends on server
d. It depends on the time

 

39. DNS stands for:
a. Domain Name System**
b. Domain Number System
c. Domain Name Software
d. Domain Number Software

 

40. The ___________ works similar to the way directory assistance does.
a. TCP
b. IP
c. FTP
d. DNS**

 

41. A computerís name consists of multiple alphabetic strings separated by _________.
a. Periods (.)**
b. Commas (,)
c. Slashes (/)
d. Back slashes (\)

 

42. Find the true statement.
a. computer's name always has three parts.
b. Two different computers canít have two names like www.ndsu.edu, and www.ndsu.com.
c. A computer on the Internet only needs to know the location of one domain name server.**
d. All of the above

 

43. What is peer-to-peer networking?
a. Any networking system in which all computers are equal.**
b. A networking system where computers have a master-slave relationship.
c. A networking system where no domain is necessary.
d. All of the above.

 

44. The IP accommodates many types of devices because it makes almost no assumptions about the underlying network _______
a. software
b. hardware**
c. software and hardware
d. None of them

 

45. It is ____________ and may be economically _________ to require all computers in an enterprise to use the same network technology.
a. practical, infeasible
b. practical, feasible
c. impractical, infeasible**
d. impractical, feasible

 

46. What does TCP do if the timer expires before an acknowledgment arrives?
a. It assumes the datagram was lost and sends another copy.**
b. TCP cancels the timer and does nothing.
c. It will keep waiting for acknowledgment.
d. All of the above.

 

47. An HTML <form> tag can support:
a. buttons
b. check boxes
c. text fields
d. all of the above**

 

48. For which element in HTML is an end tag not required?
a. BODY**
b. CENTER
c. TITLE
d. B

 

49. What is the code in HTML for a pure red back ground color?
a. <BODY bgcolor="#ff0000">
b. <BODY bgcolor="#red">
c. both a and b will work**
d. none will work

 

50. What would be the HTML code that will link to your resume page ?
a. <a href = "./resume.html">My Resume</a>**
b. <a href = "./resume.html">My Resume
c. < href = "./resume.html">My Resume</a>
d. < href = "./resume.html">My Resume