Describe an environmental issue related to the disposal of computer components
Many components that go into computer systems are toxic and dangerous to the environment if released or disposed of inappropriately.
Heavy metals are used in batteries and circuits and these can pollute groundwater or kill animals if left exposed on landfill. Large quantities of plastics are used in systems, which take a long time to break down, some of the plastic will eventually break down into toxins as it degrades.
Give one application of each type of data transmission. Each application must be different
Parallel
Serial
Explain how an SSD stores data
Uses transistors( resistors and capacitors) . It can be implemented by the use of NAND or NOR gates. Data is stored on the chip as a charge
KCSE 2021 Prediction Computer Studies Paper 1
b) Study the following pseudocode and answer the questions that follow.
1. Start
2. Get Value1 and Value2
3. If Value1> Value2 Then
4. Maximum = Value1
5. Else If Value1< Value2 Then
6. Maximum = Value2
7. Else Go to 9
8. Display Maximum
9. Stop
i) State the purpose of the pseudocode [1]
To compare two values and output the greater of the two
ii) Draw a flowchart equivalent to the pseudocode. [8]
Identify the protocol used to transfer data in networks.
Give three examples of how data can be damaged accidentally
There are many different types of errors that can occur when developing computer programs. (a) State the name of the two different types of programming error described below.
(i) Unexpectedly halts the program.
(ii) The program produces the wrong output.
(b) Another error can result from incorrectly using the rules or grammar of the programming language.
(i) Name this error.
(ii) State when this error is detected.
(i) Unexpectedly halts the program. Run time (execution)
(ii) The program produces the wrong output. Logical
(b) Another error can result from incorrectly using the rules or grammar of the programming language.
(i) Name this error. Syntax
(ii) State when this error is detected.
Syntax error is detected during translation into executable code / attempted to run but fails
6 Programmers write software that controls hardware and interacts with users. Some of this software ensures that networks function properly.
(a) Compilers and interpreters translate source code written in programming languages.
State four other features of a compiler.
A single executable file is produced
The executable program is portable between machines
The program source code is not available
Code can be optimised/made more efficient
Entire source code file is converted at once
No special environment is needed to execute the code
It creates object/machine code
Error report is provided at the end of the compilation
State two ways in which data validation is implemented on an input form of a database application
State ways in which an OS secures a computer system
Clearly define a computer
Lucy wrote: “I should validate the input into my database by typing in the same data twice”.Why was her statement incorrect?
State two functions of utility software
Distinguish between Incremental and Full backup
Incremental:
Full:
Explain one drawback to a user if the program is distributed as freeware
The user is not allowed to access the source code so, they cannot tailor the software to their needs and they cannot fix any bugs in it
The software is still covered by copyright
The user must get the owner’s permission to do anything beyond using it
State three different methods that allow people to communicate using the Internet. In each case, give a different benefit for the stated method.
emails: – fast delivery of messages (to recipient’s mail box)
– able to send attachments
– can store messages for later use
– auto-translation no language problems
– can open email at a convenient time
video conferencing/calling/chat:
– removes need to travel (saves time and money)
– allows face to face discussions
– works in real time (only allow once)
VoIP: – much cheaper than normal international calls
– direct communication between people
– works in real time (only allow once)
chat rooms/instant messaging:
– instantaneous reply
– anyone can join in
social networking:
– can ensure only your “friends” are in communication
– usually free to join and use
– talk to (multiple) friends at the same time
A sound engineer is recording a singer. Describe why the sound must be converted to a digital format before it can be stored on a computer system
Why are CD-Rs and CD_ROMs referred to as WORM?
What is block operation as used in Microsoft word?
An editing or formatting procedure that is carried out on a selected block of text in a word-processing document.
A formatting or editing operation that is applied to a block of text after selecting. The block of text can be a paragraph, line, word, page or the whole document. It is much easier to apply editing or formatting to a block of text than to apply it to every single character