midterm1-solutions - CS 211 Midterm 1 100 points Instructor Prof Santosh Nagarakatte Full Name Here RUID Question 1 2 3 4 5 Max Points 20 25 15 15 25 1

midterm1-solutions - CS 211 Midterm 1 100 points Instructor...

  • Rutgers University
  • CS 211
  • Test Prep
  • HimadriB
  • 8
  • 95% (40) 38 out of 40 people found this document helpful

This preview shows page 1 - 3 out of 8 pages.

CS 211: Midterm 1: 100 points Instructor: Prof. Santosh Nagarakatte Full Name Here: RUID: Question Max Points Points 1 20 2 25 3 15 4 15 5 25 1
Image of page 1
Problem 1: (20 points)Answer “True” or “False” to these questions. If the answer is “False”, you need to provide a reason to statewhy the answer is “False” (you will not get points otherwise).1. Von-Neumman architecture is a stored-program computer. x86 is a Von-Neumann machine. True orFalse? 2. Hardware understands the simplified C program generated by the compiler and executes it. True orFalse? 3. A integer array (e.g., int a[100] in C). The start of the array is at address 0x100. Then the end of thearray is at address 0x140. True or False? 4. The endianness of machine (big endian or little endian) needs to be considered when you want to storea character (char in C) in memory. True or False? 5. ISA exposes the caches to the programmer. True or False? 6. Program counter (PC) stores the instruction that the hardware is going to execute next. Automaticincrement that occurs to the PC after the instruction has completed execution is the only way tochange it. True of False?
Image of page 2
Image of page 3

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture