1 |
h01 |
CS16 F18 |
Name: | ||||
---|---|---|---|---|
(as it would appear on official course roster) | ||||
Umail address: | @umail.ucsb.edu | section |
||
Optional: name you wish to be called if different from name above. | ||||
Optional: name of "homework buddy" (leaving this blank signifies "I worked alone" |
h01: Chapter 1: Computer systems, introduction to C++
ready? | assigned | due | points |
---|---|---|---|
true | Thu 09/27 12:30PM | Wed 10/03 12:30PM | 20 |
You may collaborate on this homework with AT MOST one person, an optional "homework buddy".
MAY ONLY BE TURNED IN IN THE LECTURE/LAB LISTED ABOVE AS THE DUE DATE,
OR IF APPLICABLE, SUBMITTED ON GRADESCOPE. There is NO MAKEUP for missed assignments;
in place of that, we drop the three lowest scores (if you have zeros, those are the three lowest scores.)
Reading: Read Chapter 1, pages 2-7 and 18-27. Please turn in the physical copy of your homework in person. Write in PEN or DARK PENCIL.
-
1. (4 pts) Before you come to your first discussion section (lab), PLEASE visit this website and create your College of Engineering account (unless you already have one). Then write your College of Engineering username below. (DO NOT WRITE YOUR PASSWORD!!!!! NEVER WRITE DOWN YOUR PASSWORD!!! Just your username!)
Website: https://accounts.engr.ucsb.edu/create. Write your username here:
2. (1 pt) What is the size of the smallest data item in main memory that has a memory address? You may provide your answer in bits or bytes.
3. (5 pts) The book talks about the five important hardware components of a computer i) input devices ii) output devices iii) processor iv) main memory and v) secondary memory. It also talks about two important pieces of software: compilers and operating systems. Which of the above is primarily responsible for each of the following tasks? Write 'none' if none of the options apply.
i. Converts a program from a high-level language to machine language.
ii. Executes a program stored in main memory.
iii. Allocates the computer's resources to the different tasks that the computer must accomplish.
iv. Stores a program while it is being executed.
v. Converts a program from one high-level language to another high-level language.
2 |
h01 |
CS16 F18 |