Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger


Thursday 19 June 2008

Basic C++ and UNIX OS programming

Q1: Could you tell something about the Unix System Kernel? (from ITCO )

A1: The kernel is the heart of the UNIX openrating system, it’s reponsible for controlling the computer’s resouces and scheduling user jobs so that each one gets its fair share of resources.

Q2: What are each of the standard files and what are they normally associated with? (from ITCO )

A2: They are the standard input file, the standard output file and the standard error file. The first is usually associated with the keyboard, the second and third are usually associated with the terminal screen.

Q3: Detemine the code below, tell me exectly how many times is the operation sum++ performed ? (from ITCO )

for ( i = 0; i < j =" 100;"> 100 - i; j–)
sum++;
A3: (99 * 100)/2 = 4950
The sum++ is performed 4950 times.

Q4: Give 4 examples which belongs application layer in TCP/IP architecture? (from CISCO )

A4: FTP, TELNET, HTTP and TFTP

Q5: What’s the meaning of ARP in TCP/IP? (from CISCO )

A5: The "ARP" stands for Address Resolution Protocol. The ARP standard defines two basic message types: a request and a response. a request message contains an IP address and requests the corresponding hardware address; a replay contains both the IP address, sent in the request, and the hardware address.

2 comments:


  1. Salve


    Thanks for highlighting this and indicating about Basic C++ and UNIX OS programming where more study and thought is necessary.

    in 16 bit DOS programming, keep() is used to resident a program in memory, but in 32 bit / 64 bit C compiler, how can I use this?If keep() does not work, then what is the alternative function that works?


    Great effort, I wish I saw it earlier. Would have saved my day :)


    Thank you,

    ReplyDelete
  2. Hi Bru,

    11/10!! Your blog is such a complete read. I like your approach with Basic C++ and UNIX OS programming . Clearly, you wrote it to make learning a cake walk for me.

    When moving from Unix to Linux how the existing applications will move which already has several FTP's batch jobs in Production systems?
    Is it easy enough to retrofit all the Unix functionalities, CRON jobs etc..?

    But nice Article Mate! Great Information! Keep up the good work!

    Many Thanks,
    Irene Hynes

    ReplyDelete