quiz3 - 3: Circle which one (1) of the following is the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 220: Computer Systems II: Architecture and Programming Fall 2009 - Section A0 Quiz #3 - 2009/10/19 Name: ______________________________ ================================================================================ 1: Circle which one (1) of the following is the term for a procedure which calls itself in order to perform its function: a) Dependent b) Recursive c) Reversed ================================================================================ 2: Circle which one (1) of the following should be the first argument pushed onto the stack in the assembly code equivalent of the following C function call: ================= func(1, 2, 3, 4); ================= a) 1 b) 2 c) 3 d) 4 ================================================================================
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 3: Circle which one (1) of the following is the register used as the frame pointer by gcc on the 80386: a) eax b) ebx c) ecx d) edx e) ebp f) esp g) edi h) esi ================================================================================ 4: Circle which (if can be any number of them) of the following are problems with the following line of C code: ======================== scanf("%[0-9] %d", str); ======================== a) There are too many arguments to the function. b) There are too few arguments to the function. c) The "%[0-9]" pattern requires a numerical limiter. d) The "%d" pattern requires a numerical limiter....
View Full Document

Ask a homework question - tutors are online