Design & Theory of Programming - Pre Defined Functions Flashcards

1
Q

What does the pre defined function ‘Len’ do?

A

Calculates the number of characters in a string

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

What does the pre defined function ‘Int’ do?

A

Truncates the decimal part of a number to leave a whole number

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

What does the pre defined function ‘RND’ do?

A

Produces a random number between a specified range

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

What does the pre defined function ‘ROUND’ do?

A

Rounds a number to the nearest whole number

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

What does the pre defined function ‘Asc’ do?

A

Returns the ASCII value of a character

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

What does the pre defined function ‘Chr’ do?

A

Returns the character of an ASCII value

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

What does the pre defined function ‘Mid’ do?

A

Extracts a substring from a string

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

What does the pre defined function ‘UCase’ do?

A

Converts lowercase characters to uppercase characters

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

What does the pre defined function ‘LCase do?

A

Converts uppercase characters to lowercase characters

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