Statistics for Guess the Programming Language

Click here to take the quiz!

General Stats

  • This quiz has been taken 1,649 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%
print("Hello world!")
Python
80%
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%
document.write('Hello world!');
JavaScript
50%
echo "Hello World"
Bash
39%
puts "Hello world!"
Ruby
33%
$("body").append("Hello world!");
JQuery
25%
#import
#import

int main(void)
{
 NSLog(@"Hello world!");
 return 0;
}
Objective-C
21%
PRINT "Hello, world!"​
BASIC
20%
program HelloWorld;
begin
 WriteLn('Hello world!');
end.
Pascal
20%
package main
import "fmt"

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

Score Distribution

Percentile by Number Answered

Percent of People with Each Score

Your Score History

You have not taken this quiz