sp26-cs544 exammidterm-1practicecs544
Practice Exam 1A Practice Exam 1A
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readPractice Exam 1A - Midterm 1 Review
Q1. What type of software “manages resources” like storage space?
Q2. Which compute resource has thousands of cores optimized for floating-point operations?
Q3. A byte is 8 bits. How many possible values can a byte represent?
Q4. Which property is true of RAM but NOT of an SSD?
Q5. What is the correct order of the data size units from smallest to largest?
Q6. Python uses which approach to run code?
Q7. What does the | (pipe) operator do in a shell command like A | B?
Q8. In the command A > output.txt 2> errors.txt, where does stderr go?
Q9. What does && do in the command A && B?
Q10. What does the & at the end of a command do?
Q11. A Dockerfile starts with FROM ubuntu and then has RUN pip3 install pandas. What does the FROM instruction specify?
Q12. What is the relationship between Docker images and containers?
Q13. MAC addresses are how many bits long?
Q14. Which IP address range is a private IP range?
Q15. You are on a cloud VM behind a NAT. The internal IP is 10.128.0.5 and the external IP is 34.56.78.90. You want to run a web server accessible from the Internet. What should you bind to?
Q16. Which transport protocol provides reliable, ordered delivery of data?
Q17. In gRPC, what format is used to serialize data instead of JSON?
Q18. Which HTTP method is used to create a new resource?
Q19. You run docker run -d -p 127.0.0.1:5000:80 myimg. A process inside the container listens on port 80. From the VM, how do you access it?
Q20. You have 3 computers and want to distribute student records by name. You use hash(name) % 3 to decide which computer stores each record. What type of partitioning is this?