Statistics for Guess the Programming Language

Click here to take the quiz!

General Stats

  • This quiz has been taken 1,100 times
  • The average score is 6 of 15

Answer Stats

Hello World CodeAnswer% Correct
#include

int main()
{
 std::cout << "Hello, world!";
 return 0;
}
C++
96%
using System;
class Program
{
 public static void Main(string[] args)
 {
  Console.WriteLine("Hello, world!");
 }
}
C#
82%
import javax.swing.JFrame;
import javax.swing.JLabel;
public class HelloWorld {
 public static void main(String[] args) {
  JFrame frame = new JFrame();
  frame.setTitle("Hi!");
  frame.add(new JLabel("Hello world!"));
  frame.pack();
  frame.setLocationRelativeTo(null);
  frame.setVisible(true);
 }
}
Java
79%
print("Hello world!")
Python
77%
document.write('Hello world!');
JavaScript
50%
echo "Hello World"
Bash
37%
puts "Hello world!"
Ruby
31%
$("body").append("Hello world!");
JQuery
27%
program HelloWorld;
begin
 WriteLn('Hello world!');
end.
Pascal
22%
PRINT "Hello, world!"​
BASIC
21%
#import
#import

int main(void)
{
 NSLog(@"Hello world!");
 return 0;
}
Objective-C
21%
package main
import "fmt"

func main() {
 fmt.Println("Hello World!")
}
Go
18%
cat('Hello, world! ')
R
14%
disp('Hello world!')
MATLAB
11%
print_string "Hello World!\n";;
OCaml
4%

Score Distribution

Percentile by Number Answered

Percent of People with Each Score

Your Score History

You have not taken this quiz