NEW
Font size
WorksheetsComputer BTEC U1 quiz terms
Total questions: 14
Worksheet time: 14mins
When working with Strings, "+" means...
addition
swap
concatenation
multiplication
str1 = '101'
x = STRING_TO_INT(str1)
z= x + 400
OUTPUT z
101400
x400
501
none of the above
fruit1 = "kiwi"
fruit2 = "strawberry"
OUTPUT fruit1.LENGTH
OUTPUT fruit2.LENGTH
kiwi and strawberry
4
10
5 11
5
11
str = "BOnVoyage"
OUTPUT str.SUBSTRING(0,5)
BOnVoy
BOnVo
oyage
bonvo
What letter will be printed on the screen after running this code?
e
t
x
Nothing prints
Code executed based on a condition being true..
Sequence
Selection
Iteration
Variable
What does the following code do?
myAge - STRING_TO_INT(myAge)
Converts the variable myAge to a string
Converts the variable myAge to an integer
Converts the variable myAge from a integer to a string
Converts the variable myAge to an if statement
For loops, while loops and repeat until loops are all examples of:
selection
iteration
sequencing
What is decomposition?
Adding detail to make a problem more complex
Breaking down a complex problem or system into smaller, more manageable parts
When you ignore the unnecessary detail in a problem
Why do we need to look for patterns in problems?
Patterns make it easier for us to solve complex problems
We don't need to look for patterns
Patterns make it more difficult complex problems
heart,heart,heart
octagon, octagon, octagon
octagon, heart, octagon
octagon, octagon, heart
How would you describe this pattern's rule? 16, 11, 6, 1
Add 5
Subtract 3
Subtract 5
Subtract 6
