Software Flashcards

1
Q

A question in a program requires a true or false response State the most suitable data type for storing this response?

A

Boolean.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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.

A

There is an SD instead of SEND.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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.

A

The name is displayed before the user enters it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Convert the following 8-bit binary into the number denary.

1110 0010

A

226.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DECLARE answer INITITALLY 0
DECLARE numOne INITIALLY 3
RECEIVE numTwo FROM KEYBOARD
SET answer TO numOne ^ numTwo
SEND answer TO DISPLAY

State the output.

A

9.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain why the development of software is called an iterative process.

A

Previous Stages in development are often revisited.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain why encryption is used when sending emails across wireless networks.

A

to try to prevent unauthorized access to content/reading or understanding of email.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A mark for…
Conditional loop
Loop Condition
Input message inside loop
error message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Convert the following 8-bit binary into the number denary.

1011 1001

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly