Part of a sorting algorithm is shown below. Which algorithm is it?
- Merge sort
- Bubble sort
- Insertion sort
- Bucket sort
What is the correct syntax to declare and initialise a string variable in Python?
str name = "Hello"var Hello = "name"var Hello = "name"name = "Hello"
Which searching algorithm works by repeatedly dividing the search space in half?
- Linear search
- Jump search
- Binary search
- Insertion search
Which SQL clause is used to filter records based on a specified condition?
What name is given to a file generated by compilation?
- Assembly language
- Hexadecimal
- Object code
- App
In high-level programming languages, what is the primary advantage of using variables?
- Variables are not supported in high-level languages
- They provide a way to store data in use by the program
- Variables only store constant values
- Variables are only used in low-level programming languages
Which of the following is a valid Python variable name?
123variablemy_variablebreakelse
What will be output when this program is executed?
What is meant by a "syntax error"?
- Unexpected results are produced
- A mistake in the "grammar" of the program
- The program loops forever
- An attempt is made to divide by zero
What is the value of
F when
D = 0, E = 0?