Text (String) - A sequence of characters, like words or sentences, enclosed in quotes (e.g., "Hello, world!")., Variable - A storage location in a program that holds a value, such as a number or text., Assignment - Storing a value in a variable using = (e.g., name = "Alex")., Concatenation - Joining two or more pieces of text together (e.g., "Hello " + "World")., Input - Getting information from the user (e.g., input("What is your name?"))., Output - Displaying information on the screen (e.g., print("Welcome!"))., Data Type - The kind of value a variable holds (e.g., string for text, integer for whole numbers)., Integer (int) - A whole number (e.g., 10, -3, 42)., Float - A decimal number (e.g., 3.14, 0.5)., Boolean - A value that is either True or False., String Methods - Special functions that modify text, like .upper() (makes text uppercase) or .lower() (makes text lowercase)., Casting - Converting between data types, like changing a number to text using str(10).,
0%
Programming - working with text and variables
Share
Share
Share
by
Entrepreneurquizzes
Secondary
KS3
Computing
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Match up
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
Open results
Copy link
QR code
Delete
Continue editing:
?