4/18/24, 8:39 PM Advanced Computer Architecture - - Unit 14 - Week 12
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
panitrinath2001@gmail.com
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Advanced Computer Architecture (course)
If already
registered, click
to check your
Week 12 : Assignment 12
payment status The due date for submitting this assignment has passed.
Due on 2024-04-17, 23:59 IST.
Course Assignment submitted on 2024-04-17, 22:22 IST
outline
1) Consider the following statements. 1 point
About S1: If a program has a data race, it may or may not show up in an SC execution.
NPTEL ()
S2: Two vector clocks are always comparable.
How does an
NPTEL Only S1 is true.
online
Only S2 is true.
course
work? () Both S1 and S2 are true.
Both S1 and S2 are false.
Week 1 () Yes, the answer is correct.
Score: 1
Week 2 () Accepted Answers:
Only S1 is true.
Week 3 ()
2) PLSC translates the axioms of ____________. 1 point
Week 4 ()
Parallelism
Week 5 () Multi-threading
Coherence
Week 6 () Multi-tasking
Yes, the answer is correct.
Week 7 ()
Score: 1
Accepted Answers:
Week 8 () Coherence
https://onlinecourses.nptel.ac.in/noc24_cs06/unit?unit=94&assessment=184 1/4
4/18/24, 8:39 PM Advanced Computer Architecture - - Unit 14 - Week 12
3) Which two factors determine a memory model? 1 point
Week 9 ()
Shared resources, coherence
Week 10 ()
Access delay, miss rate
Write atomicity, program-order
Week 11 ()
Shared variables, locks in a system
Week 12 () Yes, the answer is correct.
Score: 1
Multicore Accepted Answers:
Systems (Part Write atomicity, program-order
- VIII) (unit?
unit=94&lesso
4) Consider the following statements. 1 point
n=152)
Multicore S1: Eager version management writes directly to the memory.
Systems (Part S2: Eager version management does not require maintaining an undo log.
- IX) (unit?
unit=94&lesso
n=153) Only S1 is true.
Feedback Only S2 is true.
Form (unit? Both S1 and S2 are true.
unit=94&lesso
Both S1 and S2 are false.
n=154)
No, the answer is incorrect.
Quiz: Week Score: 0
12 :
Accepted Answers:
Assignment
Only S1 is true.
12
(assessment?
name=184)
5) ___________ transaction management checks for conflicts as soon as a transaction 1 point
accesses a memory location.
Download
Videos () Eager
Lazy
Transcript () Atomic
Non-Atomic
Yes, the answer is correct.
Score: 1
Accepted Answers:
Eager
6) Which of the following are the two types of concurrency control? 1 point
Transactional, Non-transactional
Optimistic, pessimistic
Eager, lazy
Atomic, Non-atomic
Yes, the answer is correct.
Score: 1
Accepted Answers:
Optimistic, pessimistic
https://onlinecourses.nptel.ac.in/noc24_cs06/unit?unit=94&assessment=184 2/4
4/18/24, 8:39 PM Advanced Computer Architecture - - Unit 14 - Week 12
7) Which sequential ordering is consistent with the real-time ordering? 1 point
Serializable
Strictly serializable
Eager
Lazy
Yes, the answer is correct.
Score: 1
Accepted Answers:
Strictly serializable
8) Bartok STM applies _________version management and ________ conflict 1 point
detection.
Eager, lazy
Lazy, eager
Optimistic, pessimistic
Pessimistic, Optimistic
No, the answer is incorrect.
Score: 0
Accepted Answers:
Eager, lazy
9) Consider the following statements. 1 point
S1: TL2 STM uses lazy version management.
S2: TL2 STM uses a global timestamp.
Only S1 is true.
Only S2 is true.
Both S1 and S2 are true.
Both S1 and S2 are false.
No, the answer is incorrect.
Score: 0
Accepted Answers:
Both S1 and S2 are true.
10) Which of the following is FALSE about software transactional memory (STM)? 1 point
STM systems do not handle non-transactional accesses
Acquiring and releasing locks is expensive in STM.
Maintaining undo and redo logs is difficult.
STM is much faster than hardware transactional memory (HTM).
Yes, the answer is correct.
Score: 1
Accepted Answers:
STM is much faster than hardware transactional memory (HTM).
https://onlinecourses.nptel.ac.in/noc24_cs06/unit?unit=94&assessment=184 3/4
4/18/24, 8:39 PM Advanced Computer Architecture - - Unit 14 - Week 12
https://onlinecourses.nptel.ac.in/noc24_cs06/unit?unit=94&assessment=184 4/4