Software Flashcards
A question in a program requires a true or false response State the most suitable data type for storing this response?
Boolean.
DECLARE name INITIALLY “”
SEND “Please type in your name” TO DISPLAY
SD “Your name is” & name TO DISPLAY
RECEIVE name FROM KEYBOARD…
Identify the syntax error in the program code above.
There is an SD instead of SEND.
DECLARE name INITIALLY “”
SEND “Please type in your name” TO DISPLAY
SD “Your name is” & name TO DISPLAY
RECEIVE name FROM KEYBOARD…
Identify the Logic error in the program code above.
The name is displayed before the user enters it.
Convert the following 8-bit binary into the number denary.
1110 0010
226.
DECLARE answer INITITALLY 0
DECLARE numOne INITIALLY 3
RECEIVE numTwo FROM KEYBOARD
SET answer TO numOne ^ numTwo
SEND answer TO DISPLAY
State the output.
9.
Explain why the development of software is called an iterative process.
Previous Stages in development are often revisited.
Explain why encryption is used when sending emails across wireless networks.
to try to prevent unauthorized access to content/reading or understanding of email.
Using a design technique of your choice, design an efficient solution to ensure that a program will only accept valid numbers (1 or 5) from the user.
A mark for…
Conditional loop
Loop Condition
Input message inside loop
error message.
Convert the following 8-bit binary into the number denary.
1011 1001