String/type Conversion (AQA GCSE Computer Science): Flashcards

📚Flashcards
String/type Conversion
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

14 cards from this deck

Show

Another name for type conversion

Casting

AQA function to convert string to integer

STRING_TO_INT()

AQA function to convert string to real number

STRING_TO_REAL()

AQA function to convert integer to string

INT_TO_STRING()

AQA function to convert real to string

REAL_TO_STRING()

Python function to convert to integer

int()

Python function to convert to string

str()

Python function to convert to float/real

float()

VB.Net function to convert to integer

CInt()

VB.Net function to convert to string

CStr()

VB.Net function to convert to real number

CSng()

C# function to convert to integer

Convert.ToInt32()

C# function to convert to string

Convert.ToString()

Converting 'hello' to integer

Causes an error (invalid conversion)

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.