movieID = 132 Int
movieCost = 4.95 Float
movie ='Star Wars' string
movieAwards = ('Oscar', 'Golden Globe', 'Director's Guild') tuple
movieStars = ['Carrie Fisher', 'Harrison Ford'] list
movieRatings = {5:'language', 3:'violence'} dictionary
If you want these explained , can do in replies :)
Answer:
B. 80%
Explanation:
To assertain:
1 hit takes 1 clock cycle while 1 miss takes 6 clock cycles
Assuming that:
- we have 100 accesses in total,
- p are hits,
- 100 - p are misses

Hence, option B. 80% will result in an effective access time of 2 clock cycles.
Answer:
sed '/march/{d;}' birthdays.txt > result
.txt
Explanation:
sed syntax is basically:
<em>sed '/expression/{command;command;...;}' inputfile > outputfile</em>
- First, for the expression part, we use /march/ to match all lines containing that string.
- Then for the command part, we only use {d} command to delete every matching line found.
- The third part contains the input file to process, I have named it birthdays.txt, but it could have been any other file needed.
- Finally "> result
.txt" makes the script output to be saved into a file named result.txt