ERODD HOME
Operating Systems
Fall 2008
Exam 1 - Study Guide
Earl Rodd
erodd@malone.edu Extension 8546 www.malone.edu/erodd
The exam has a possible 108 points. Your grade is total points
so a grade of over 100 is possible. WARNING: The exam is long.
If you need a lot of time to look up simple questions in the text,
you will run out of time!
- In general, the exam tracks very much to the homework and labs and
avoids obscure sections of the text.
- Simple binary and hex questions. The BONUS requires working with
little endian numbers.
- Understanding when interrupts are used. Know what is a hardware
and software interrupt.
- Understand the flow of booting a system - in particular where code
comes from.
- You will be asked to write a simple Windows BAT file to do some
functions (like create directories). Remember that a BAT file is just
a list of Windows commands.
- The portability of various kinds of files.
- Questions requiring you to understand what the current directory is
when various forms of CD are done such as "cd \dir1" and "cd ../".
Also questions posing file names with various forms of
absolute (with leading slash) and relative path names and asking you
what file, including full directory path, the name refers to.
- Where configuration information is kept in different.
- Write simple Windows or LINUX commands to perform functions like in
our user interface labs.
- Set of questions requiring you to understand which files
are created with "g++" and what they are (source/object/executable) and
their relative sizes.
- Understand what is in source, object (machine instructions plus
names of library subroutines and names of DLLs), and executables
(machine instructions plus names of DLL routines).
- The difference between LINUX and UNIX.
- You will be given a PATH and current directory and asked to determine
how the shell searches for executable programs. Remember the subtle
difference that in Windows, the current directory is by default
the first directory in the PATH and LINUX it is not.
Windows/LINUX commands
The exam does ask you to write Windows and LINUX command line
commands including:
- Windows TYPE
- Windows DIR with a wildcard and subdirectory recursion (/s)
- Windows MKDIR
- Windows COPY with a wildcard
- Windows ERASE
- LINUX grep to search for all lines of a file with a string
- LINUX pwd
- LINUX rm and cp (with wildcards)
- Use of "echo" in both Windows and LINUX to create a file.