Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> End of the semester, Finals Fun!
post Dec 21 2005, 01:08 AM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828

I don't know about you guys, but its finals time for me up here and I was just wondering if its the same for any of you guys. Thought I would share a few of my questions from some of my finals.

CSci4061- Operating Systems
We were given a code segment that created x number of threads, then each thread accessed an array x long at the index relating to the order it was created. It would then fill that index with the number before it + 1. We had to write more filler code in C that would use semaphores to ensure that no two threads accessed the array at the same time, and use some other method to ensure linearity.

Discuss why the TCP/IP includes the UDP protocol even though it is unreliable and may deliver packets out of order.

CSci3081- Design and Development
Write a template function in C++ that takes an array of some data type and returned the data element that occurred the most times.

We were given a class definition and we had to draw a UML diagram for it, and write an overloaded == operator for the class.

I am not looking for answers as I have already taken the test, I am just not studying for my Stats test tomorrow.

--Jim Lester

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
+Quote Post
Start new topic
post Dec 21 2005, 11:23 AM
Post #2

Its GNU/

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3

I would guess that we still use UDP dispite it's reliability because it has a hell of a lot less overhead due to lack of error checking, etc. The benefit of this would be that some data transmissions over a network, do not require 100% accuracy of the packets such as streaming music/video or even gaming. The less overhead allows for faster transmission, where one computer basically just pushes the packets out the door as fast as possible without worrying about wether it reaches its target or not. With gaming and streaming audio/video, you can drop a few packets here and there and not notice anything. however, with things like email, webpages, or a download of a file, a dropped packet means that the transmission would most likely have to start all over again because it would not be able to re-assemble on the other end.

That's as far as i understand it smile.gif

Corey Quilliam
(former) Administrator

Want to help out Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st June 2018 - 06:55 PM