Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 26 pages
Exam (elaborations)

Computer Science OCR AS Level 2026 | Study Guide, Practice Questions, Answers, Rationales & Exam Review

Document preview thumbnail
Preview 3 out of 26 pages

Prepare for Computer Science OCR AS Level with focused study material covering programming fundamentals, algorithms, data structures, computer systems, data representation, networking, databases, cybersecurity, computational thinking, and problem-solving. Includes practice questions, answers, and rationales to reinforce key concepts and support effective OCR AS Level Computer Science exam preparation and review.

Content preview

Computer Science OCR AS
Level 2026 | Study Guide,
Practice Questions,
Answers, Rationales &
Exam Review | Complete
Ethics Study Guide




Updated 2026 Questions and Answers
100% Verified Exam Prep and Comprehensive
Rationales
Included

,Give an example of assembly code LMC




Give an example of a high-level language C




Pseudocode Pseudocode is not a programming language, it is a simple way of describing a set
of instructions that does not have to use specific syntax.



Dry running A dry run is the process of a programmer manually working through their code to
trace the value of variables. There is no software involved in this process.



Variables Stores numbers, letter and special characters




Sequence Is the execution of statements or functions one after another. (Do this - then this -
then this)



Selection Is where the flow through a program is interrupted and control is passed to another
point in the program. The decision is based on a Boolean expression.



Iteration In computer programming, this is a single pass through a set of instructions.




HLT (LMC) Stop (Little Man has a rest)




ADD (LMC) Add the contents of the memory address from the accumulator




SUB Subtract the contents of the memory address from the accumulator




STA or STO (LMC) Store the value in the accumulator

, LDA (LMC) Load the accumulator with the contents of the memory address given




BRA (LMC) Branch always - use the address given as the address of the next instruction




BRZ (LMC) Branch to the address given if the accumulator is 0




BRP (LMC) Branch to the address given if the accumulator is 0 or positive




INP or OUT (LMC) Input or output, Take from Input if address is 2, copy to output if address is 2




OTC (LMC) Output the accumulator as a character if address is 22. (Non-standard instruction)




DAT (LMC) Used to indicate a location that contains data




What does = mean in LMC Assignment




What does == mean in LMC Checking if equal to




Local variable Variable declared is inside the function, only available to that function. This type of
variable can only be read or modified by the subroutine itself.



Global variable Variable declared outside functions available to whole functions. This type of
variable is available for any part of the code to read and modify



What is the life time of the local variable Function only

Document information

Uploaded on
September 8, 2026
Number of pages
26
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Docmaster20
4.2
(5)
Sold
27
Followers
2
Items
1252
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions