CS 1010 Midterm: CS 101 UVA Exam2 051
Document Summary
This exam is open text book and closed notes. Different questions have different points associated with them. Because your goal is to maximize your number of points, we recommend that you do not spend too long on any particular question during your first pass through the exam. Assume s t di n is an initialized sc anner throughout the test. In questions asking whether two object references are the same we are asking whether they represent like objects (i. e. , we are not asking whether the references point to the same memory location). Email id ___________ name _____________________________________: (6 points) what are the values of the following expressions? t r ue && f al s e. ______________________ t r ue | | f al s e. ______________________ t r ue && f al s e. What are the values of the following invocations? ev al uat e( t r ue, f al s e)