HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Astronomy & Space Science
  • Earth & Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Quizzes
  2. /Address 30 holds 8 and address 31 holds 5. A program runs LOAD 30, ADD 31, STORE 31, ADD 31, STORE 32 and then STOP. What value is at address 32 at the end?
Computer ScienceHardHigh School (9–10)Computer Systems › Computer HardwareIGCSE
StemPy LabCreated by StemPy Lab
Read about Computer Hardware first

Hardware is the physical parts of a computer. At its heart is the central processing unit, or CPU, which runs programs by the fetch-decode-execute cycle. Inside it, the control unit, the arithmetic logic unit and registers such as the program counter work together, with data moving on buses. The clock speed, the number of cores and the cache all affect how fast it works. Primary storage includes RAM and ROM. Secondary storage includes magnetic, optical and solid-state drives. Input and output devices, such as sensors and printers, connect the computer to the world.

Lessons, worked problems and more questions on Computer Hardware →

Address 30 holds 8 and address 31 holds 5. A program runs LOAD 30, ADD 31, STORE 31, ADD 31, STORE 32 and then STOP. What value is at address 32 at the end?

LOAD 30 gives 8, and ADD 31 gives 13. STORE 31 writes 13 into address 31. The next ADD 31 adds the new 13: 13+13=2613 + 13 = 2613+13=26. STORE 32 writes 26. 18 adds the old 5 a second time and forgets that address 31 has changed. 21 adds 8 to 13. 13 is the value stored at address 31, not at address 32.
Log in to save
← All Quizzes
← Ravi's photo filter needs 18 billion cycles when one core of his 3 GHz processor does it all. Only half of this work can be split equally between cores. Using the simple model, how long will the filter take with three cores working?Nine instructions sit in memory locations 20 onwards, the ninth being STOP, and the CPU runs them in order. Once the STOP instruction has been fetched, which value has the program counter reached? →
More onComputer Systems › Computer Hardware

Discussion (0)

Log in to join the discussion.

Loading…

More questions on this topic

  1. In a flash memory cell, what keeps the stored data when the power is switched off?Hard
  2. Why was IPv6 introduced alongside IPv4?Hard
  3. A tool shows an IPv4 address in binary as 10101100.00010000.00000111.00010110. What is the address…Hard
  4. Four apps are running together, using 3, 1.25, 1.5 and 0.25 GiB, on a tablet fitted with only 4…Hard
  5. A 64 GiB memory card already holds 20 GiB of video. How many photos of 16 MiB each fit in the…Hard
All questions on this topic →

Problems on this topic

  1. A family's home network has a laptop, two phones, a games console and a printer…Hard
  2. A network tool shows the IPv4 address of a laptop in binary: 11000000.10101000.00000001.00101101…Medium
  3. A printer's network interface card has the MAC address 00:1A:2B:3C:4D:5E…Easy
  4. A small design company has five staff. Two of them often work from home…Hard
All problems on this topic →