Introduction to Programming
Sorting Algorithm
Operators
BIDMAS
100

___ is a step by step sequence of events or instructions, used to carry out a task or to solve a problem.

Algorithm

100

Original values : 4, 5, 1, 6

What is the ascending order of this value?

1,4,5,6

100

Which arithmetic operator is used to Add ?

+

100

Tell us the order of operations when working out a calculation that has a multiple parts.

BIDMAS

100
True or False

Python can be run on a wide variety of devices.


True

100

Fill in the missing function.

numbers = [3,2,9,0]

numbers.____()

print(numbers)

sort

100

Write a program which multiply 3 and 5 and then display the result.

number = 3*5

print(number)
100

What does the acronym BISMAS stand for ?

Brackets

Indices

Division

Multiplication

Addition

Subtraction

100

____ language includes key words for specific tasks and can process data in a variety of formats. Popular examples include Python, Java and C++.

Text-based

100

Which operator is used to Multiply?

*

100

Carry out the calculation below using BIDMAS rules.

(2*3)/2-1(4*2)

-5

100

What is the output of this code?

print("Nice to meet you")

Nice to meet you

100

Write down the missing line for this descending order program.

letters = ["c","a","b","y","o"]

________

print(letters)

letters.sort(reverse="True")

100

Which operator is used to divide?

/

100

True or False

Python doesn't follow the BIDMAS rule.

False

100

Python is a popular ____ programming language.

text-based

100

What function do we use to order Alphabetical sort in Python ?

sort()

100

Which operator is used to calculate the remainder?

%

100

Indices is the another term for what?

the power of