Computer Science 215 Quiz L Name ______________________ 1. Suppose class link_t is being defined. The correct way to declare a prototype for its DEFAULT constructor is: a. class link_t b. class link_t { { public: public: link_t link_t(); int link_t(); c. class link_t d. class link_t { { public: public: link_t(); link_t link_t(const link_t); 2. In the linked list classes we described in class last time a. both the link_t and b. The list_t class was external and the list_t were but the link_t's were embedded external to the obj_t's within the obj_t being managed. c. The link_t class was external d. Both were embedded within but the list_t was embedded the obj_t within the obj_t 3. In the linked list classes described last time the pointer to the obj_t is a private element of the: a. list_t class b. link_t class c. both classes require obj_t * pointers 4. In the add method of the list_t class which of the following is the proper way to add a new link_t named "link" to an non-empty list. a. last = link; b. last->set_next(link); last->set_next(link); last = link; c. the order in which the two statements are executed is irrelevant 5. If a class declaration begins as follows: class link_t { public: link_t(void); // constructor link_t(obj_t *); // constructor a. There will be a syntax b. The second constructor will error because of conflicting "override" the first and will constructors definitions always be the one used. c. The constructor that is used will be determined based upon whether or not an obj_t pointer is passed in the call to "new"