Concept Flow - What is Swift
Start
Swift: A Language
Used to build apps
Runs on Apple devices
Easy to learn & fast
End
Swift is a programming language used to create apps for Apple devices. It is designed to be easy and fast.
print("Hello, Swift!")
| Step | Action | Code Evaluated | Output |
|---|---|---|---|
| 1 | Start program | print("Hello, Swift!") | |
| 2 | Evaluate print statement | print("Hello, Swift!") | Hello, Swift! |
| 3 | Program ends |
| Variable | Start | After print | Final |
|---|---|---|---|
| None | N/A | N/A | N/A |
Swift is a programming language.
It is used to build apps for Apple devices.
Swift code is easy to read and fast to run.
Use print() to show messages on screen.
Example: print("Hello, Swift!")let speed = 60 let time = 2 let distance = speed * time print(distance)
let age = 25 age = 30 print(age)
Pass the test and this pattern moves unknown