Docsity

Pearson GCSE Computer Science,Exam, Exams of Computer Science

Toggle sidebar
bg1
Pearson GCSE Computer Science,Exam
Describe the Stored Program Concept (4 marks) - correct answer The stored program concept is the
concept in which a computer has many programs stored inside of it (1)
The computer is reprogrammable (1)
Instructions and data in the same place (1)
Contents of memory can be changed (1)
Describe the Von Neumann architecture (10 marks) - correct answer Has a processing unit (1) that
contains an arithmetic logic unit (1) and control unit (1)
Control unit contains an instruction register (1) and program counter register (1)
Has memory that stores both data (1) and instructions (1)
Has external data storage (1)
Has input and output mechanisms (1)
Describe the purpose of the control unit (2 marks) - correct answer Coordinate other components (e.g.
input/output) (1)
Decode fetched instructions (1)
Describe the purpose of the ALU (2 marks) - correct answer Perform calculations (e.g.:/,*,+,-) (1) and
perform logic (e.g.:AND, OR, NOT) (1)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34

Partial preview of the text

Download Pearson GCSE Computer Science,Exam and more Exams Computer Science in PDF only on Docsity!

Pearson GCSE Computer Science,Exam

Describe the Stored Program Concept (4 marks) - correct answer The stored program concept is the concept in which a computer has many programs stored inside of it (1) The computer is reprogrammable (1) Instructions and data in the same place (1) Contents of memory can be changed (1) Describe the Von Neumann architecture (10 marks) - correct answer Has a processing unit (1) that contains an arithmetic logic unit (1) and control unit (1) Control unit contains an instruction register (1) and program counter register (1) Has memory that stores both data (1) and instructions (1) Has external data storage (1) Has input and output mechanisms (1) Describe the purpose of the control unit (2 marks) - correct answer Coordinate other components (e.g. input/output) (1) Decode fetched instructions (1) Describe the purpose of the ALU (2 marks) - correct answer Perform calculations (e.g.:/,*,+,-) (1) and perform logic (e.g.:AND, OR, NOT) (1)

Draw a diagram of the ALU (11 marks) - correct answer 1 mark for shape, 5 marks for the letters and arrows, 5 marks for what different letters mean State the 3 main registers - correct answer Instruction register, accumulator, program counter State the main registers in the control unit (2 marks) Describe the function of these registers (4 marks) - correct answer Instruction register (1) and program counter. (1) The instruction register holds instructions (1) currently being executed (1). The program counter holds the memory address (1) of the next instruction to be executed. (1) Describe clock speed (4 marks) - correct answer The number of times a CPU can perform the fetch- decode-execute cycle (1) in 1 second (1), measured in Hz (1), where 1 Hz is 1 cycle per second (1) Explain how pipelining works (2 marks) Explain the purpose of pipelining (2 marks) - correct answer Pipelining is where all parts of the CPU involved in the fetch-decode-execute cycle are constantly kept busy (1) by overlapping cycles on top of each other (1) To keep all parts of the CPU working all the time (1), ensuring no wasted CPU cycles (1). Define the fetch-decode-execute cycle (1 mark) - correct answer The cycle with which the CPU carries out instructions Describe the fetch step of the fetch-decode-execute cycle work (2 marks) - correct answer The CPU fetches data and instructions from the RAM (1) and stores it in its registers (1)

Storage that can hold data permanently insted of being volatile (1) State the three main storage technologies - correct answer Magnetic, Optical and Solid State. State the storage medium used by a DVD - correct answer Optical State the storage medium used by a hard disk - correct answer Magnetic Describe how magnetic storage works (3 marks) - correct answer Magnetic media is coated with a substance that is able to be magnetized (1). By magnetizing something based on north and south poles this can be converted into binary, 1's and 0's (1). The data is stored on magnetic disks called platters (1) Describe how optical storage works (3 marks) - correct answer Optical media has a flat reflective surface (1). Optical storage technology burns pits (small holes) into the surface, and areas between pits are called lands. (1) A land is translated into a 1 because the laser reflects off of it, and a pit into a 0 because the laser doesn't reflect off of it. (1) State why solid state storage is called "solid state" (1 mark) Describe how solid state storage works (6 marks) - correct answer Solid state media is known as solid state because it has no moving parts. (1) It works by using electric current (1) to force electrons through a barrier (1), trapping them in positions called pools (1). A full pool represents a 0 and an empty one a 1 (1). A pool is drained by connecting the switch/transistor to it (1). An empty pool translates to a binary 1 as when a pool is drained, electrons flow through a transistor (1) Draw a diagram of solid state storage (2 marks) - correct answer Describe the properties of magnetic storage (4 marks) - correct answer Capacity: High

Portability: Possibly portable but should not be carried around while active due to moving parts which could easily break. Speed: Slow Cost: Cheap Describe the properties of optical storage (4 marks) - correct answer Capacity: Low Portability: High portability, light Speed: Slow (slower than magnetic storage) Cost: Cheap Describe the properties of solid state storage (4 marks) - correct answer Capacity: Medium Portability: High, NO MOVING PARTS Speed: High/est Cost: Most expensive Come up with a mnemonic for storage medium properties - correct answer Example: CCPS Capacity, Cost, Portability, Speed State how many bytes are in a bit - correct answer 1/ State how many bytes are in a nibble - correct answer 1/ State how many bytes are in a byte - correct answer 1 State how many bytes are in a kibibyte - correct answer 2^10 bytes (KiB), 1024 bytes State how many bytes are in a mebibyte - correct answer 2^20 bytes (MiB), 1024 kibibytes

Flip digits: 11001010 (1) Add 1 (to account for 0): 11001011 (1) Answer: 11001011 This translates to -128+64+8+2+1 = - Describe sign and magnitude (3 marks) Convert the number -53 to sign and magnitutde (2 marks) - correct answer Sign and magnitutde is a way of representing positive or negative denary values in binary (1). The Most Significant Bit has a sign and no value (1), and the rest of te binary is added on normally. (1) 53 is 00110101 in Binary (1). Add negative sign: 10110101 (1) Te MSB of 1 translates to a negative sign.

  • (32 + 16 + 4 + 1) = - Define a logical binary shift (1 mark) Describe how a logical binary shift works (2 marks) Describe the effects of a binary shift on a binary number (2 marks) Give an example of a left logical shift

Give an example of a right logical shift - correct answer A way of shifting a binary sequence's bits. (1) In a logical binary shift, every bit is shifted to the left or right. (1) Any missing bits are set to 0. (1) This either doubles (1) or halves (1) the number Left shift example: 00101101 Value: 45 After shift: 01011010 Value: 90 Right shift example: 00101101 Value: 45 After shift: 00010110 Value: 22 Define an arithmetic binary shift (1 mark) Describe how an arithmetic binary shift works (3 marks) Give an example of a left arithmetic shift Give an example of a right arithmetic shift - correct answer A way of shifting a binary sequence's bits. (1)

E is 14. 14 in binary is 1110 3 is 3. 3 in binary is 0011. Put together is 11100011. Describe how to convert a denary number to a two's complement number (3 marks) - correct answer Turn the number into binary (1). Flip the bits (1) and add one (1). Example: -5 --> 00000101 --> 11111010 --> 111110011. State how many bits are in standard ASCII State the maximum possible ASCII value State the amount of combinations possible in ASCII - correct answer 7 bits 2^7 = 128. Therefore the maximum value is 127. A maximum value of 127 means 128 possible permutations State where capital letters start in ASCII - correct answer Number 65 (denary) State where lower case letters start in ASCII - correct answer Number 97 (denary) State the value of space " " in ASCII - correct answer Number 32 (denary) Calculate 00010101 + 00010011 (binary addition) - correct answer 00010101 + 00010011 = 00101000

This translated to: 21 + 19 = 40 Define overflow (1 mark) State the consequence of voerflow (1 mark) - correct answer When calculations result in more bits than allocated (1) This will cause an error in future calculations (1) Explain two issues with sign and magnitude (4 marks) - correct answer One issue is that a sign bit is wasted (1), so memory is wasted (1). It can represent 0 in two different ways (1), which can lead to errors (1). Describe what a {0:.2f} format in python means (4 marks) - correct answer Selects the first item in format (0) (1), Apply format to the items on the left (:) (1), limit to 2 decimal places (2) (1), convert to float (f) (1) State what adding additional empty characters is known as - correct answer Padding State what the characters >, < and ^ mean in .format - correct answer Right align, Left align and Center align respectively Describe the purpose of an operating system (2 marks) - correct answer An operating system provides a platform on which all other software can run. (1). It enables software to communicate with hardware. (1). State the two types of software

Give 3 examples - correct answer Software run by the user (1) Not necessary for the system (1) and performs a specific task for the user.(1) Examples: Word processor, Presentation software, Web browsers State the 4 responsibilities of the operating system - correct answer Process management, File management, Peripheral management, User management Define process managament (2 marks) - correct answer Organising instructions on memory (1) so that they can be processed (1) Define file management (1 mark) - correct answer Organising the contents of secondary storage (1) Define peripheral management (2 marks) - correct answer Interfacing with device drivers (1) to control physical devices (1) Define user management (2 marks) - correct answer Providing a user interface (1) and access levels (1) Describe how file management is done (2 marks) - correct answer Using file hierarchy (a file in a folder in a folder etc.) (1), Allocating space using blocks (1) Describe the process of allocating space using blocks (4 marks) - correct answer Files are broken into blocks that have a set size (e.g. 256MiB). (1) Each block of a file is placed into an empty sector. (1) Blocks from the same item do not have to be placed next to each other. (1) If the whole sector/block is not filled, wasted (slack) space is left. (1) Devise an expression for the amount of blocks it would take to store a 256 Kibibyte file with a block size of 256 bytes (3 marks) - correct answer Convert file size to block size: 2561024 (1) Divide by block size: (2561024)/256 (1) Add ceiling function: |(256*1024)/256| (1)

State the 4 actions that can be done on a file - correct answer Read, Write, Execute, Delete (RWED) Describe how computer system access permissions and levels of access are implemented (4 marks) - correct answer Using a root directory (1), managed by an administrator (1) that has access to everything below it (1). Different users will have different access to these directories. (1) State the 4 types of validation - correct answer Range, Length, Presence, Look-up Describe range validation - correct answer Checks if the (numerical) input falls within the expected range of values Describe length validation - correct answer Checks if the input is between the minimum and maximum length values Describe presence validation - correct answer Checks if the input is empty (e.g. an empty string in python) Describe look-up validation - correct answer Checks if the input is one of the given options Describe how process management is done (2 marks) - correct answer Scheduling algorithms (1) and memory management (1) State what happens to a program on secondary memory when it is run - correct answer It is copied from secondary memory into primary memory (RAM) Define a process (2 marks) - correct answer Programs in memory (1) that are or are waiting to be executed (1) State how many instructions a CPU core carry out at a time - correct answer 1

Advantages: Low wasted time, No processes starved Disadvantages: Throughput may be low as longer processes make wait times high, no prioritization Come up with a mnemonic for scheduling algorithm properties - correct answer Example: PPSTRW Prioritization, Preprocessing, Starvation, Throughput, Response times, Wasted time Describe how memory management is achieved for processes (3 marks) - correct answer The OS assigns it a series of memory addresses to use. (1) These blocks of addresses are called pages. (1) Managementof these pages is often done with a paging algorithm. (1) Describe virtual memory (4 marks) - correct answer When many processes are running a computer's RAM may become full. (1) Whenthis happens, The OS moves the pages of memory associated with a process in RAM to the hard disk, thereby freeing up some memory. (1) That part of the hard drive designated as virtual memory. (1) Whenthat process is ready to be executed again, the OS moves the page from virtualmemory back into RAM. (1) Define peripheral device - correct answer Additional hardware that is connected to a computer. Describe how peripherals and software interact (2 marks) - correct answer Devices have specialist pieces of software called drivers that are installed on the hard disk. (1) The driver provides an interface between the peripheral device and the operating system (1). State the two types of UI (User Interface) - correct answer GUI (Graphical user interface) and CLI (command line interface) State 4 properties of a Graphical User Interface (4 marks) - correct answer The WIMP format Windows (1), Icons (1), Menus (1) and Pointers (1). State 2 properties of a Command Line Interface - correct answer CLI's give direct commands to the software (1). They only require a keyboard to type the commands as the commands are text-based (1).

Give advantages and disadvantages of GUI's (4 marks) - correct answer 2 marks for advantages, 2 marks for disadvantages Advantages: Intuitive, Aesthetic Disadvantages: Much more system intensive, less control Give advantages and disadvantage of CLI's (3 marks) - correct answer 2 marks for advantages, 1 mark for disadvantage Advantages: Less computer-intensive, Greater control over software Disadvantages: Non-intuitive State the 6 main types of utility software - correct answer File repair, Backup and recovery, Data compression, Disk defragmentation, File encryption, anti-malware State the purpose of file repair and how it works (5 marks) - correct answer File repair's purpose is to repair damaged or corrupted files (1) by scanning for damage (1), extracting any remaining data (1) and storing it in a usable file (1) while quarantining the corrupted area. (1) State the purpose of backup and recovery and how it works (5 marks) - correct answer The purpose of backup and recovery is to backup a computer (1) so data can later be recovered (1) in case the data is lost (1). It works by creating a copy of your system (1) on the cloud or a hard drive. (1) State the purpose of data compression and how it works (3 marks) - correct answer Data compression's purpose is to compress files so they take up less space (1) and so that file transfer are faster (1), by reincoding file data to use fewer bits. (1) State the purpose of disk defragmentation and how it works (4 marks) - correct answer The purpose of disk defragmentation is to increase disk performance (1) by taking data blocks on the hard drive (1) and bringing all the parts of a file together (1) so that the whole drive does not need to be scanned. (1)

expected. (1) IPv6 was created, which has an address size of 128 bits. (1) to accomodate for the growth in devices connected to the internet (1). Define download speed - correct answer How much data can be downloaded per second State 2 factors affecting download speed - correct answer Bandwidth and latency Define bandwidth (2 marks) State the unit used to measure bandwidth - correct answer The maximum amount of data that can be transmitted over a connection (1) per second (1) This is measured in bits per second. Define latency State the unit used to measure latency - correct answer The time taken for a transmission to reach its destination Measured in milliseconds State the number base used to measure bandwidth Devise an expression for the amount of time a 43MiB file would take to be transmitted with a bandwidth of 5kbps. Assume there is no latency. (4 marks) - correct answer Base 10 Convert file size to bytes (1): 431024 Convert file size to bits (1): 4310241024*

Divide by bandwidth (1): (43102410248)/ Convert bandwidth to bits (1): (43102410248)/(5*1000) State 2 ways in which data is physically transferred between devices - correct answer Using wired methods (electrical or light signals) or wireless methods (radio waves) State the two types of network cables - correct answer Copper and Fiber Optic Compare copper and fiber opticcables (4 marks) - correct answer Fiber cables use light signals (1) while copper cables use electrical signals (1). Fiber cables have a higher bandwidth (1) and lower latency (1). Define broadband Describe the two main types of broadband (5 marks) - correct answer Broadband is a type of high- capacity internet connectivity Typically for homes, broadband is implemented as fibre to the cabinet (FTTC) (1). In this approach, fibre optic cables run to green street cabinets (1). Copper cables then link homes to the cabinets (usually over distances of less than a mile) (1). The alternative, which is generally used for businesses, is fibre to the premises (FTTP) (1). In this approach, the final stretch from the cabinet to the business uses another fibre optic cable (1). State the 4 limits/problems of wireless communication - correct answer Range is generally limited to a few meters (not including extensions) The signal is easily interrupted by physical obstacles Wireless has much lower bandwidth than wired connections