Chapter 2 Comp Sci

Ace your homework & exams now with Quizwiz!

Outline two characteristics of spreadsheets. [2]

Made up of rows and columns used to organize data; Automatically calculates results when data is entered;

Explain two functions that an operating system needs to perform in relation to multitasking. [4]

Memory management; By allocating separate memory to each program; Processor Management; By the allocation of time slices;

Outline one feature of the operating system that needs to be considered when running a game application. [2]

Memory management; Game applications use a lot of memory and require constant refreshing;

Identify two features of a graphical user interface (GUI). [2]

Menus and dialogue boxes

Outline, with an example, one benefit of using computer-aided design (CAD) applications.

Support design prototyping in engineering; Save time associated to development;

Outline the purpose of the memory address register (MAR) in the central processing unit (CPU). [2]

The MAR holds the memory location of data that need to be accessed.

Define the term peripheral. [1]

A peripheral is an external device that is connected to a computer such as a keyboard;

Define the term operating system. [1]

A set of programs through which a computer manages its own resources;

Outline the relationship between binary an· d hexadecimal. [2]

Binary numbers have base 2, hexadecimal numbers have base 16; Each digit in a hexadecimal number can be represented by the group of four binary digits;

The machine instruction cycle is the process by which a program instruction is fetched, decoded, executed and the results are stored. (b) Outline the role of the data bus and address bus in this process. [2]

Buses are used as physical connections to carry information to the CPU; The data bus transports data from CPU, whereas the address bus the memory address where the data is supposed to go;

Describe how the cache memory can speed up the functioning of a processor. [2]

By holding frequently used data and instructions in cache; Execution of program instructions and data is faster;

4. Colours are represented by a computer as a combination of the three primary colours: red, green and blue. Numerical values are used to represent the different shades of each primary colour. These values range from 0 to 255 in decimal, or 00 to FF in hexadecimal. (a) State why hexadecimal numbers are frequently used in computing. [1]

Hexadecimal numbers are used for shorter representation of data because a byte can be represented exactly by two hexadecimal digits;

4. Colours are represented by a computer as a combination of the three primary colours: red, green and blue. Numerical values are used to represent the different shades of each primary colour. These values range from 0 to 255 in decimal, or 00 to FF in hexadecimal. (b) State the number of bits used to represent a non-primary colour, such as yellow. [1]

24;

State how many integers could be represented in this byte. [1]

256;

4. Colours are represented by a computer as a combination of the three primary colours: red, green and blue. Numerical values are used to represent the different shades of each primary colour. These values range from 0 to 255 in decimal, or 00 to FF in hexadecimal. (c) State the maximum number of colours that can be represented in a computer pixel. [1]

2^24

Construct the truth table for the following Boolean expression. X = not A and B or A and not B [4]

A. B. X T. T. F F. T. T T. F. T F. F. T

Define the term bit. [1]

Binary digit;

. Explain why cache memory can speed up the processing within a computer. [2]

Cache memory can be accessed faster than RAM; It is used to hold common used data;

(b) Explain the purpose of cache memory. [3]

Cache memory is a small-sized type of volatile computer memory;that provides high-speed data access to a processor;and stores frequently used computer programs, applications and data;

State the hexadecimal equivalent of the following binary number: 11011111 [1]

DF;

(a) Outline what is meant by a database management system. [2]

Database management system is an application software; provides access to the data;

(b) Distinguish between fundamental and compound operations of a computer. [2]

Fundamental operation requires one machine instruction cycle; A compound operation is complex;

Outline the role of the memory data register in the machine execution cycle. [2]

Holds the contents of the memory; Which are to be transferred from memory to other CPU components;

(a) State the purpose of cache memory. [1]

Is used to save time in accessing RAM;

(a) State the function of the control unit (CU) in the central processing unit (CPU). [1]

It decodes the instructions and controls all the other internal components of the CPU to make it work;

(ii) Outline the function of an operating system in managing primary memory. [2]

It will get the data from memory; And then it will place this data on to the data bus carries the data;

Describe the function of the control unit (CU) in the central processing unit (CPU). [2]

Obtains the data from the memory; Interprets them into commands;

Distinguish between the uses of two types of primary memory. [2]

RAM stores data and instructions currently in use ROM stores permanent instructions Cache stores frequently used instructions

(a) Identify one fundamental operation of a computer. [1]

Retrieve

Outline the purpose of the memory address register (MAR) in the central processing unit (CPU). [2]

The MAR holds the memory location of data;... that need to be accessed

One of the functions of an operating system is memory management. Describe how this function prevents the system from crashing when more than one program is run at the same time. [2]

The OS allocates specific sections of memory to each program; This ensures that the memory assigned to one program is not overwritten;

Outline why this byte could not be used to represent characters such as those used in Chinese. [2]

The characters must be represented as numbers so that computer can deal with them; Chinese exceeds the 256 character limit and therefore requires more bytes to represent all of the characters in this language;

14. A company that provides training for teachers plans to set up a training room in its offices with a network of 15 computers. Each computer has 1 TB of storage and 16 GB of random access memory (RAM). (b) State the purpose of persistent storage on the computers. [1] In order to minimize costs, the company decided only to install general application software on the training computers. ]

To store programs in a non-volatile device so it isn't lost;

Explain the roles of the data bus and the address bus in the machine instruction cycle. [4]

When the computer processor needs to fetch an instruction from the memory it uses the address bus to specify the address ;When the computer processor needs to fetch an instruction from the memory it uses the address bus to specify the address; It will get the data from memory; And put the data written to memory on to the data bus

THE ANSWER FOR E I) IS THE ON THE NEXT ONE.

a) 32 b) 2 c) i) MAR is a register in the CPU; To be taken from the ram; ii) Taken from RAM; MDR is a register in the CPU; d) i) Interrupt handling;Resource allocation; ii) Hard disk and ROM e) i) ANSWER IS THE IMAGE FOR THE NEXT ONE ii) Control unit; iii) Arithmetic and logic unit;

In an 8-bit register, state the binary representation of the hexadecimal number 3B. [2]

00111011;

. Calculate how many different colours can be represented using two hexadecimal characters. [2]

2 hex = 4 + 4 = 8 bits; hence 256 colours;

(i) State how the data stored in the following byte will be represented in hexadecimal. [1] 0 1 0 1 1 1 1 0

5E;

Outline how a colour can be represented in a computer. [2]

A colour will be split into three components; Each component will be assigned a certain number of bytes;

State the part of the central processing unit (CPU) that is responsible for carrying out calculations. [1]

Arithmetic and ALU;

Explain the importance of the memory management function of an operating system. [3]

Assigns blocks of memory to programs; Manages virtual memory if needed; To avoid overwriting memory usage

. Outline the function of the ALU. [1]

Part of a processor that performs arithmetic and logical operations;

Outline the Function of the (b) CU. [1]

Part of processor which coordinates all activities in processor and all other parts within a computer;

Draw a diagram to show the relationship between random access memory (RAM), the processor and cache memory. [1]

Processor --> Cache --> Ram

The machine instruction cycle is the process by which a program instruction is fetched, decoded, executed and the results are stored. (a) State where all instructions and data are stored. [1]

RAM

(a) (i) Distinguish between random access memory (RAM) and read only memory (ROM). [3]

RAM acts as temporary storage of data, instructions and programs currently running whilst ROM is permanent memory; Memory access, both read and write operations are performed on RAM whilst ROM works with read only operation; RAM is volatile memory, ROM is non-volatile memory;

14. A company that provides training for teachers plans to set up a training room in its offices with a network of 15 computers. Each computer has 1 TB of storage and 16 GB of random access memory (RAM). (a) Identify two characteristics of RAM. [2]

RAM is volatile erased when power is switched off;Access speed is fast than hard drive;

14. A company that provides training for teachers plans to set up a training room in its offices with a network of 15 computers. Each computer has 1 TB of storage and 16 GB of random access memory (RAM). (c) Identify two types of general application software that would be installed on the training computers. [2]

Spreadsheet;Database management system;


Related study sets

Iggy Chp 25 - Care of Patients with Skin Problems

View Set

Day 04: Texas PLE - Life and Health Insurance

View Set

Chapter 8: Administration of Justice

View Set

LAB II: Spinal Cord & Nerves, Vertebral Column I, Pectoral Girdle

View Set