阿摩線上測驗 登入

申論題資訊

試卷:106年 - 106 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#110221
科目:中山◆電機◆資料結構
年份:106年
排序:0

題組內容

2.[15] Suppose we use a singly linked list to store integers in its nodes. Assume that, initially, 100 is stored in the first node starting at address 2000, 200 is stored in the second node starting at address 500, 300 is stored in the third node starting at address 1000, and 400 is stored in the fourth node starting at address 100. Let the starting address of the first node of the list is stored in the variable named head. Let an integer take 4 bytes and a pointer (or address) take 8 bytes. Please answer the following questions:

申論題內容

2.1 [3] What is the size, in the number of bytes, of each node of the list?