INLS 181 Fall 1998 Midterm Exam

Instructions: For each question on the exam, write the letter of your choice (or your short answer) in the space provided below. Choose the single best answer to the question.

This exam has 33 questions. Please check that you have all pages.

 

Please write your name:______________________________________________

 

  1. A
  2. C
  3. A
  4. A
  5. E
  6. B
  7. E
  8. C
  9. B
  10. E
  11. tcsh
  12. E
  13. E
  14. B
  15. A
  16. F
  17. D
  18. E
  19. D
  20. B
  21. E
  22. 1109
  23. A
  24. D
  25. E
  26. D
  27. C
  28. E
  29. E
  30. A
  31. C
  32. E
  33. C

 

 

 

1. Which is a true statement?

  1. The Internet is the IP network
  2. The Internet is the TCP network
  3. The Internet is the LAN of WANs
  4. The Internet Protocol allows only military (DARPA) computers to connect to each other
  5. None of the above

 

2. A protocol is:

  1. Only necessary for different types of computers (such as PCs and Macs) to communicate
  2. A document, called a Request for Comments (RFC), that dictates human behavior
  3. A set of rules for communicating
  4. For allowing Unix computers to receive Internet connections from non-Unix computers
  5. None of the above

 

3. Which of the following hosts are currently connected to the Internet?

  1. news.duke.edu
  2. scandal.gov
  3. anti-government.com
  4. pro.government.net
  5. None of the above

 

4. True or false: people can use a computer and modem at home to connect to the Internet.

  1. True
  2. False

 

5. Which is a true statement?

  1. IP addresses consist of 4 numbers that add up to 255
  2. TCP addresses consist of 4 numbers that add up to 255
  3. All hostnames that start with "www" must have odd-numbered IP addresses
  4. Addresses in EDU add up to 255, while addresses in COM add up to 127
  5. None of the above

 

 

6. HTML has:

  1. One set of tags for text, and another set of tags for multimedia
  2. Evolved over the years
  3. Been sped up by the availability of HTML compilers
  4. Only one tag that does always requires a "close" tag: <P>
  5. None of the above

 

  1. What things do Netscape Navigator and Microsoft Internet Explorer have in common?
  1. They both are Web clients
  2. They both include help screens
  3. They both can access Gopher sites, in addition to Web sites
  4. They both may be customized by the end-user
  5. All of the above

 

  1. Which is a difference between HTTP and HTML?
  1. HTTP is a protocol, and HTML are the commands used by the protocol
  2. HTML is a protocol, and HTTP are the commands used by the protocol
  3. HTTP is a protocol, HTML is the markup language for Web pages
  4. HTTP is used by all Web browsers, HTML is only used by TCP/IP

 

  1. What port is used to login using telnet?
  1. 21
  2. 23
  3. 25
  4. 80
  5. All of the above may be used to login

 

  1. What is true about ruby.ils.unc.edu?
  1. It was manufactured by Sun
  2. It is available for use by SILS students, faculty and staff
  3. It runs the Solaris brand of Unix
  4. It runs Web server software
  5. All of the above are true

 

 

  1. What Unix shell do you use on Ruby? (Write the shell command on the answer sheet)
  2.  

  3. In the Unix command, " ls -l index.html ",
  1. The " -l " is an option
  2. The "index.html" is an option
  3. The "index.html" is an argument
  4. The " -l " is an argument
  5. (A) and (C) are correct
  6. (B) and (D) are correct

 

  1. When logged into Ruby, which method will work to stop viewing a file with more (for example, to stop "more /etc/passwd")?
  1. Press the "q" key
  2. Press Control-C (^C)
  3. Press Control-Z (^Z)
  4. Close your telnet session
  5. All of the above

 

  1. On Ruby, why does " ls -l ~gbnewby " give a "permission denied" message?
  1. Because of the " -l " option
  2. Because the directory permissions do not allow "world" access
  3. Because you are using the wrong shell
  4. Because the username "gbnewby" is invalid
  5. None of the above

 

  1. What is a difference between Lynx and Netscape Navigator?
  1. Lynx cannot display images, Netscape can
  2. Netscape understands JPEG and GIF files, but only Lynx only understands JPEG
  3. Lynx uses sound, but Netscape does not
  4. Netscape includes online help files, but Lynx does not
  5. All of the above are true

 

 

  1. Which is true about FTP?
  1. FTP was one of the original purposes of the Internet
  2. FTP may be used to "upload" files from a PC to a Unix server
  3. FTP may be used to "download" files to a PC from a Unix server
  4. Web browsers can access files via FTP
  5. (A) and (B) are true
  6. All of the above are true

 

  1. Which is better, Netscape Composer or Microsoft FrontPage?
  1. Composer is better because it can upload files with FTP
  2. FrontPage is better because it lets you edit your source code directly
  3. Composer is better because it incorporates Microsoft's Active Server Extensions
  4. It depends on who is using them, and what they need to do
  5. None of the above are true

 

  1. Why aren't all OPACs Web-accessible?
  1. Some are older, and do not have HTTP functionality
  2. Some have searching facilities or syntax that is hard to implement in a Web page
  3. Some libraries prefer for their OPACs to be less accessible to the outside world
  4. (A) and (B) only
  5. All of the above

 

  1. What is SMTP used for?
  1. Transferring messages between a POP server and a client, such as Siren
  2. Transferring messages between an IMAP server and a client, such as Eudora
  3. Transferring messages between a Web server and a client, such as Netscape
  4. Transferring messages between two computers connected to the Internet
  5. All of the above

 

  1. What facts might help someone decide between using Pine versus Siren as an email client?
  1. Only Pine understands IMAP
  2. Siren has a graphical user interface
  3. Siren does not store messages on the remote IMAP server, but Pine does
  4. Siren has an address book capability, Pine does not
  5. None of the above are correct, so none would help

 

  1. What is a difference between Majordomo and Listprocessor?
  1. Majordomo can be used for moderated mailing lists, but Listprocessor cannot
  2. Majordomo runs on Unix computers, but Listprocessor does not
  3. Majordomo is written in the C programming language, but Listprocessor is written in PERL
  4. Majordomo can run as a CGI program, but Listprocessor only runs as Javascript
  5. None of the above are differences

 

  1. How many entries in Ruby's /etc/passwd file specify " /bin/tcsh " as their shell? (Write your answer on the answer sheet)
  2.  

  3. Why differences might make someone choose to use IRC instead of Network News (Usenet)?
  1. They prefer synchronous communication over asynchronous communication
  2. They like to choose from a variety of different forums for interaction
  3. They have no Internet access
  4. It's easier to be anonymous with IRC
  5. None of the above are differences between IRC and Usenet

 

  1. Which organization was not a key player in the early (pre-1990) days of the Internet?
  1. MERIT
  2. NSF
  3. DARPA
  4. NIH
  5. All of the above were key players

 

25. Why is "Archie" needed less today than it was before Mosaic became available?

  1. Because Gopher is seldom used any more
  2. Because anonymous FTP has been replaced by SMTP
  3. Because Jughead and Veronica have replaced it
  4. Because U.S. export laws forbid the use of software that was developed in Canada
  5. None of the above are reasons

 

 

26. If you were asked to give advice about whether to use a MUD or IRC for an online class discussion, what factors might you consider?

  1. Whether different students would have different typing skills
  2. Whether some students might be helped more by a virtual environment, instead of just chatting
  3. Whether multiple synchronized servers might be needed
  4. All of the above factors might help to choose between MUD or IRC
  5. None of the above factors would help

 

  1. Why would you add width and height to an <img> tag in HTML?
  1. To tell the Web browser whether to expect a GIF image, or JPEG
  2. To tell the Web server how many bytes of data must be sent to the client
  3. To let the Web browser pre-allocate space on the screen for the image
  4. In case the user wants to copy the image, he or she will know how large it is
  5. All of the above

 

  1. What factors might help you decide which Web search engine to use?
  1. Whether you have a graphical Web browser
  2. Whether you need to use Boolean constructs such as AND or NOT
  3. Whether you want to control how many results you get
  4. Whether your query is specific or broad
  5. All of the above factors might help you decide
  6. (B) and (C) only might help you decide

 

  1. What are differences between PERL and Javascript?
  1. PERL is more likely to be used for client-side programming
  2. Javascript is more likely to be used for server-side (CGI) programming
  3. PERL is available for Microsoft Explorer, but not Netscape
  4. Javascript is faster than PERL because it is compiled
  5. None of the above are differences

 

 

  1. What is true about programming?
  1. Syntax can be checked by compilers or other programs, but logic is hard to check
  2. Most programs have no bugs, but a few do have bugs
  3. Programmers are known for their excellent social skills, healthy diets, and reasonable working hours
  4. Languages such as FORTRAN and COBOL are extremely well-suited for CGI programming, and will probably replace Object Oriented languages someday soon
  5. None of the above are true

 

  1. Ultimately, how was Cliff Stoll's computer hacker caught?
  1. The FBI traced his cellular phone calls
  2. The hacker's university professor turned him in to the police
  3. The German police traced his telephone calls
  4. The KGB covertly leaked his name and address to Stoll
  5. None of the above

 

  1. What is the difference between <UL> and <OL> tags in HTML?
  1. <UL> tags require a <LI> tag, but <OL> tags to not
  2. <UL> tags are for underlined lists, <OL> tags are for overlined lists
  3. <UL> tags automatically color their bullets, but <OL> bullets are always black
  4. <UL> tags may not be used in conjunction with imagemaps, but <OL> tags may
  5. None of the above are differences

 

  1. What is a true statement about the development of new Internet standards?
  1. The academic community makes the standards, and then commercial companies implement them
  2. The Internet-2 will eventually make it illegal for universities to connect to commercial Web servers
  3. Organizations such as the IETF (Internet Engineering Task Force), IAB (Internet Architecture Board) and others try to balance the ideas of academics, the commerce goals of companies, and the practical needs of Internet users
  4. The NSF has the final word in any decision or policy related to the Internet

THIS IS THE END OF THE EXAM. PLEASE CHECK YOUR WORK, THEN TURN THE ANSWER SHEET IN.

MAKE SURE YOUR ANSWERS ARE ALL WRITTEN CLEARLY ON THE ANSWER SHEET. YOU MAY KEEP THE REST OF THE EXAM.