Back to marketplace

Software Design and Development - Implementation

No description yet. This curated deck is ready for daily study.

Total cards: 18•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (18)

#1
Front (Question)

How do you assign a value to a variable?

Back (Answer)

Assigning a value to a variable e.g. In reference language SET score TO 20 In Livecode put 20 into score

#2
Front (Question)

How do you use Arithmetic in a program?

Back (Answer)

Using arithmetic (+, -, /, *, ^) e.g. In reference language SET total TO total + score In Livecode put total + score itno total

#3
Front (Question)

What is concatenation?

Back (Answer)

Joining two or more strings or substrings For example in Livecode: put firstname & “ “ & surname into fullname Would join first name and surname and include a space between both In Reference language: SET fullname TO firstname + “ “ + surname

#4
Front (Question)

What selection constrcuts can be used?

Back (Answer)

< Less than > Greater than ≤ Less than or equal to ≥ Greater than or equal to = Equals ≠ Does not equal

#5
Front (Question)

What is an IF statement?

Back (Answer)

An If statement IS NOT A LOOP. IF statements allow the program to make decisions. Conditions, such as score <10 are used within IF statements. IF score < 10 OR score >50 SEND ‘Try Again’ TO DISPLAY END IF This IF statements checks to see if a score is less than 10 or higher than 50

#6
Front (Question)

What is a nested IF statement?

Back (Answer)

Nested IFs are IF statements inside IF statements. The nested parts only run if needed. IF score < 100 THEN SEND “Low Score” to DISPLAY ELSE IF score < 150 THEN SEND “Mid level score” TO DISPLAY ELSE SEND “High score” TO DISPLAY END IF END IF

#7
Front (Question)

What are Logical Operators?

Back (Answer)

Logical operators can be used in IF statements and conditional loops. AND – Both conditions must be true OR – One condition must be true NOT – The opposite outcome to what would logically apply (negation)

#8
Front (Question)

What is a simple condition?

Back (Answer)

A simple condition has only one condition e.g. IF firstname = “Betty” The condition is = “Betty”

#9
Front (Question)

What is a complex condition?

Back (Answer)

A complex condition has two or more conditions e.g. IF firstname = “Betty” OR firstname = “Trevor” The two conditions are = “Betty” , = “Trevor” AND /OR are used as part of complex conditions

#10
Front (Question)

What is repetition / iteration?

Back (Answer)

Repetition and iteration are technical terms for loops. Repetition repeats a task set number of times. Iteration is the same but usually involves checking over the contents of an array until you achieve what you want to achieve e.g. find a number or get to the end of the array list .

#11
Front (Question)

What is a fixed loop?

Back (Answer)

A fixed loop will repeat all code held within the loop a set number of times only. E.g. For loop = 0 to 9 <code> Next loop The above loop would repeat 10 times</code>

#12
Front (Question)

What is a conditional loop?

Back (Answer)

A conditional loop repeats until a condition is met e.g. WHILE score < 10 <code> END WHILE This loop will repeat the code inside as long as the score variable holds a value that is less than 10</code>

#13
Front (Question)

What is the ROUND function?

Back (Answer)

ROUND is a pre-defined function, meaning the code to make it work already exists. If you use the ROUND function, the computer will round a value to a certain number of decimal places: SET size TO ROUND (measurement, 1) This takes the value of the measurement variable and rounds it to one decimal place. It then returns this new value to the size variable

#14
Front (Question)

What is the RANDOM function?

Back (Answer)

RANDOM is a pre-defined function, meaning the code to make it work already exists. If you use the RANDOM function, the computer will generate a random number: SET bonusBall TO RANDOM(1, 59) This would generate a random number between 1 and 59 and returns this number to the bonusBall variable.

#15
Front (Question)

What is the LENGTH function?

Back (Answer)

LENGTHis a pre-defined function, meaning the code to make it work already exists. If you use the LENGTH function, the computer will calculate the number of characters held in a string variable: SET numberOfCharacters TO LENGTH (firstname) This would take the value in the first name variable, calculate its length and returnsit to the numberOfCharacters variable. E.g. Jane would return 4

#16
Front (Question)

Describe the INPUT VALIDATION algorithm

Back (Answer)

This algorithm checks that input is valid: Line 1 SEND “Enter a score between 1 and 99” TO DISPLAY Line 2 RECEIVE score FROM (INTEGER) KEYBOARD Line 3 WHILE score ˂1 OR score ˃99 DO Line 4 SEND “Error, enter valid number” TO DISPLAY Line 5 RECEIVE score FROM (INTEGER) KEYBOARD Line 6 END WHILE

#17
Front (Question)

Describe the RUNNING TOTAL algorithm

Back (Answer)

This algorithm keeps a running total: Line 1 DECLARE total INITIALLY 0 Line 2 FOR loop FROM 0 TO 4 DO Line 3 RECEIVE number FROM (INTEGER) KEYBOARD Line 4 SET total TO total + number Line 5 END FOR It asks for and keeps a running total of 5 values.

#18
Front (Question)

Describe how to traverse a one dimesional array

Back (Answer)

To traverse an array means to use a loop to go through the array one item at a time. DECLARE allGrades INITIALLY [A, B, B, D, F] FOR EACH grade FROM allGrades DO IF grade = 'A' THEN SET a_total TO a_total +1 END IF END FOR EACH In the above example, each item in the all Grades array is checked one after another, with a running total also calculated.