
Signature __________________
Name_______________
cs30x____
Student ID _________________
Score:
Quiz 4
CSE 30
Spring 2006
#1.
A) Loader D) Linker
B) C Compiler E) Assembler
C) C Preprocessor
_____ translates assembly code into machine code.
_____ performs syntax analysis on its input high-level language (HLL).
_____ takes an executable file on disk and makes it ready to execute in memory.
_____ translates C code into assembly code.
_____ performs semantic analysis on its input high-level language (HLL).
_____ expands # directives and strips comments from its input high-level language (HLL).
#2. a) Convert 122.625
10
to binary fixed-point and single precision IEEE floating-point representation
(expressed in hexadecimal).
binary fixed-point __________________________________ x 2
0
IEEE floating-point _______________________________________ (hexadecimal)
b) Convert 0xC2550000 (single precision IEEE floating-point representation) to fixed-point decimal.
fixed-point decimal ______________________________ (decimal / no exponential notation)
(over)