Computer Science 284

Introduction to Operating Systems

Fall Semester 2000

Question Pool for Exam 3

CONSTANTS IN THESE QUESTIONS MAY CHANGE WHEN THE QUESTION IS INCLUDED ON THE EXAM

UP TO 25% OF THE EXAM MAY BE TAKEN FROM QUESTIONS ON QUESTION POOLS #1 & #2

____________________ and _____________________ are generally credited with the invention of C/Unix?

____________________ and _____________________ started Microsoft in 19______.

What corp./laboratory may fairly take credit for inventions like the mouse, windows, pull-down menus etc.?

____________________ and ______________________ co-founded Apple.  ________________ then started NeXT, and is now the CEO of Pixar?

What company purchased NeXT and their OS NExT Step?

What did Steve Jobs see while visiting PARC that inspired him to build a different kind of computer?  What did he see that he completely ignored?
    What was the 1st computer that he built based on this inspiration (that flopped)?
    What was the 2nd one that didn't flop?

What 'product' got Microsoft into the microcomputer software business?

What lucky event got Microsoft into the operating system market?

MS/DOS was 90% derived from a predecessor product named  ________
    which was written by _______________
    and owned by   _________________.
    which in turn had been cloned from ____________
    written by _______________________

What is a 'killer application'?

What was the killer app for the Apple II?

What was the killer app for the IBM PC?

What was the killer app for the Apple MacIntosh?

Why didn't IBM create their own OS for their 1st PC?

Who 'should have' sold IBM their operating system for the 1st IBM PC?

What was the one part of the 1st IBM PC that was proprietary (that Compaq had to later reverse engineer)?

Why did IBM decide to build the PC using 'open architecture'?
    What was the almost immediate result of IBM having made that decision?

What was IBM's motivation for designing/building PS-2/OS-2?

What person ______________ what company ________________ built the 1st commerically available micro computer in 19____?

ASSUME:   (the inodes and their content may change on the actual exam)

   1.that your home directory is root and has associated inode 2.
   2.that your current directory is your home directory and that it contains
          a data file named your_data
          an executable named a.out
          a subdirectory name sub_dir

Draw a picture starting with inode 2.  Indicate where the content of each file would be.  Where would the executable flag for a.out be?
(Assume that inode numbers are assigned sequentially) Your picture should include the inode_table, the individual inodes and pointers
to the actual data.

Part 2:    Assume that you

     cd sub_dir.
     Using a hard link,
          make new_data in the currect directory an alias for the previous your_data

Draw a picture of what now exists

Part 3:

   1.mkdir DIR3
   2.cd DIR3
   3.code a soft link command that will
          create an entry in DIR3 named PROGRAM which is linked to a.out in the root

ln _______________________

Draw a picture of what now exists

List the major items that are stored in a file's inode.

Given:

   1.a blocksize of k/2,
   2.a file-pointer size of 4 (The blocksize and pointer size may change for the exam).

          What is the theoretical maximum size of a unix file.  Express the answer in terms of KB, MB, GB.  Do NOT convert the final
answer to base 10.

The OS named NT

What do the letters NT stand for?

What is the purpose of the HAL layer?

What are the responsibilities of the KERNEL?  How is the kernel scheduled and memory managed?

Why are the responsibilities of the OS split among the HAL, the KERNEL and the EXECUTIVE?

What role does a 'subsystem' play?

Name n of the subsystems.

Unix combines fork() + exec() to start a new process with a new executable.  How does NT accomplish this?

Unix uses a global page allocation scheme.  Describe  NT's scheme.

What is an LPC (in NT).  What is it used for?

What is the important different between NT  threads and Solaris user threads?  An NT thread is most like ___________ in Solaris.

NT's total virtual address space = __________.  __________ available to a user process and ___________ available to the kernel.

NT's virtual addresses are treated as 3 parts.  Make a small drawing of those with labels and simple descriptions.

List at least 3 flags that are contained in a PTE.

What in NT roughly corresponds to the Unix inode table.

What corresponds to the Unix inode NUMBER.  How is the NT equivilant different?

NTFS files have an 'unnamed attribute data stream'.  What is it or what function does it serve?

What does the following open refer to in NTFS?  open("MyFile:backup", ios::output | ios::create);

What do the letters JCL stand for?

What does //  EXEC PGM=ABCDEF
          communicate to the OS

Given:   //name1 DD DSNAME=name2,DSORG=IS,
            //        DCB=(LRECL=100,BLKSIZE=800,RECFM=F),DISP=(OLD,KEEP,DELETE)
What does name2  refer to?
What information is DSORG trying to communicate to the OS
What information is RECFM trying to communicate to the OS
What information is DISP trying to communicate to the OS
What information is LRECL trying to communicate to the OS
What information is BLKSIZE trying to communicate to the OS

Why are there so many files with a record length = 80?

What is the difference between an OS that views a file as a STREAM vs. viewing it as a collection of RECORDS?