CoursesDSA MasterclassGetting Started
Beginner·1 min read

Hello World

Write and run your first program. Submit it to confirm everything works.

Hello, World!

Welcome to Kernal. Before diving into data structures and algorithms, let's make sure your setup works by writing the most famous program in computer science.

What You'll Do

Write a program that prints Hello, World! to the console. That's it.

This confirms that:

  • Your code editor works
  • The execution engine can compile and run your code
  • Test case evaluation is functioning

Hello World in Every Language

Python

``python

print("Hello, World!")

` JavaScript `javascript

console.log("Hello, World!");

` C++ `cpp

#include

using namespace std;

int main() {

cout << "Hello, World!";

return 0;

}

` Java `java

class Main {

public static void main(String[] args) {

System.out.println("Hello, World!");

}

}

` C `c

#include

int main() {

printf("Hello, World!\n");

return 0;

}

``

Why This Matters

Every journey starts with a single step. Once you submit this and see the green "Passed" indicator, you'll know the platform is ready for the real work ahead.

Click Submit below to verify everything is working.

Code Example

python
print("Hello, World!")

Practice Problems

  • 01Print Hello World in your preferred language
  • 02Try switching languages and running the same logic