Statistics for Print "Hello World" in different Coding Languages

Click here to take the quiz!

General Stats

  • This quiz has been taken 30 times
  • The average score is 7 of 15

Answer Stats

HintAnswer% Correct
print("Hello World")Python
100%
#include <stdio.h>
int main() {
printf("Hello, world!\n");
return 0;
}
C
96%
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
Java
96%
console.log("Hello, world!");JavaScript
81%
<?php
echo "Hello, world!";
?>
PHP
70%
#include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
return 0;
}
C++
56%
using System;
class Program
{
static void Main()
{
Console.WriteLine("Hello, world!");
}
}
C#
44%
puts "Hello, world!"Ruby
44%
fn main() {
println!("Hello, world!");
}
Rust
37%
echo "Hello, world!"Shell Script
37%
package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}
Go
22%
program hello
print *, 'Hello, World!'
end program hello
Formula Translation
15%
object HelloWorld {
def main(args: Array[String]): Unit = {
println("Hello, world!")
}
}
Scala
11%
main = putStrLn "Hello, world!"Haskell
7%
print "Hello, world!\n";Perl
4%

Score Distribution

Percentile by Number Answered

Percent of People with Each Score

Your Score History

You have not taken this quiz