Section Six - Programming

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

What are the 5 main data types?

1 / 6

flashcard set

Earn XP

Description and Tags

will be updating weekly with more questions https://knowt.com/folder/49ce6500-b988-4e7b-80d1-418b6bfacb79

7 Terms

1

What are the 5 main data types?

Integer, Real/Float, Boolean, Character, String

New cards
2

What are the cast operators for each data type?

int, real, float, bool, str

New cards
3

Pros of using the right data type

Makes code more memory efficient, robust and predictable

New cards
4

How to convert a letter to ASCII and vice versa

ASC() or CHR()

New cards
5

What is casting?

Manually converting between data types

New cards
6

What is DIV?

Gives the highest possible multiplier within the bounds (ie. 20 —- 3 would give 6 as 6×3 is 18)

New cards
7

What is MOD?

Gives the remainder left after the division (ie. 20 —- 3 would give 2 as thats the remainder)

New cards

Explore top notes

note Note
studied byStudied by 38999 people
... ago
4.9(89)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
4.0(1)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 19 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (108)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 52 people
... ago
5.0(2)
flashcards Flashcard (24)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (35)
studied byStudied by 168 people
... ago
5.0(1)
flashcards Flashcard (39)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (44)
studied byStudied by 39 people
... ago
5.0(1)
flashcards Flashcard (50)
studied byStudied by 15 people
... ago
5.0(2)
flashcards Flashcard (72)
studied byStudied by 23 people
... ago
5.0(1)
robot