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.

FREE DNS Is Back

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


Its GNU/Linuxhelp.net
*******

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
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 3)
Corey
post Dec 21 2005, 11:23 AM
Post #2


Its GNU/Linuxhelp.net
*******

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) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? 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
DS2K3
post Dec 21 2005, 01:23 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



I have module exams in January, but only in 3 of my subjects. Main exams are in June. Revision spoils Christmas sad.gif

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
Jim
post Dec 21 2005, 06:36 PM
Post #4


Its GNU/Linuxhelp.net
*******

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



That was exactly my answer Corey, in a few less words. Right on. You get an A.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post

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: 11th December 2017 - 04:07 PM