GoConqr has a new look! Let us know what you think.

Flashcards

Sub Programs and Von Neumann

Cole Sutton English 12 cards

Cards in this deck (12)

  1. 1What are the 2 main types of sub program?Procedures and Functions
  2. 2Describe the difference between a function and a procedure?Function returns an output, procedure does not
  3. 3What is the difference between a parameter and an argument?Function parameters are the names listed in the function's definition. Function arguments are the real values passed to the function.
  4. 4Sub programs are good for decomposition. What does this mean?Each sub program can be tested separately, making the testing process easier.
  5. 5Give 2 advantages of using sub programs1. A subprogram may be used repeatedly at various points. However, the code only has to be written once.
    2. Subprograms can be saved separately as modules and used again in other programs.
  6. 6What is the order of speed for the caches?L1 is fastest compared to L2 and L3
    L3 is the slowest compared to L1 and L2
  7. 7What is the order of capacity of the caches?L3 has the biggest capacity compared to L2 and L1
    L1 has the lowest capacity compared to L2 L3
  8. 8What controls the flow of data by sending control signals between the CPU and other parts of the computer system?The control unit
  9. 9What stores the intermediate results of a calculation?Accumulator
  10. 10What stores the address of the next instruction to be run.Program Counter
  11. 11What stores the instruction currently being executed?Current Instruction Register (CIR)
  12. 12What temporarily stores data or instructions in memory?Register

Information

Description
Flashcards on Sub Programs and Von Neumann, created by Cole Sutton on 24/09/2021.
Created by
Cole Sutton
Views
5
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?