IB Diploma Programme (DP) - SL & HL · Computer Science

Data representation and number systems: Practice Questions

3 multiple-choice questions marked as you go, and 3 written questions with worked solutions. All on Data representation and number systems.

6 questions14 marksFree, no account
Question 1
1 mark

What is the primary function of the Central Processing Unit (CPU) in a computer system?

Question 2
1 mark

Which statement correctly distinguishes between Random Access Memory (RAM) and Read-Only Memory (ROM)?

Question 3
1 mark

In a cache memory system, a four-way set associative mapping scheme is used. The cache has 256 cache lines, and each cache line holds 64 bytes. What is the total number of sets in this cache, and how many unique tag bits are required to identify a block in a main memory with $$2^{32}$$ bytes address space? Assume a byte-addressable memory.

Question 4
2 marks

State the purpose of the Memory Data Register (MDR) during the machine instruction cycle.

Write your answer out first, then check it against the worked solution.

Question 5
4 marks

Distinguish between the Random Access Memory (RAM) and the Read Only Memory (ROM) in terms of their volatility and typical contents.

Write your answer out first, then check it against the worked solution.

Question 6
5 marks

The Central Processing Unit (CPU) is fundamental to a computer's operation. Its ability to process instructions involves several key components working in concert.

a) Identify and describe the primary function of the Program Counter (PC) and the Accumulator (ACC) within the CPU, specifically explaining their roles during the execution of an instruction that involves arithmetic operations.

b) Explain the role of the Address Bus and the Data Bus in facilitating the transfer of data between the CPU and Main Memory. Describe how these buses are utilized when the CPU retrieves an instruction from memory.

Write your answer out first, then check it against the worked solution.

* The content provided by thinka is generated by AI and may not always be accurate or up-to-date. Please use it as a supplementary resource and verify with official materials.

You've seen the model answer. Now get yours marked.

This page can show you how a good answer looks. It cannot tell you what your answer was missing. thinka marks your written work against the real mark scheme in about 15 seconds.

Want more questions like these? Get a fresh set on this topic, graded as you go.

Practice More