Guess the Programming Language

Can you guess the programming language given a "Hello world" example code?
Quiz by Pinoccio
Rate:
Last updated: August 17, 2018
First submittedAugust 17, 2018
Times taken331
Report this quizReport
4:00
Enter programming language here
0
 / 15 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Hello World Code
Answer
#include

int main()
{
 std::cout << "Hello, world!";
 return 0;
}
C++
using System;
class Program
{
 public static void Main(string[] args)
 {
  Console.WriteLine("Hello, world!");
 }
}
C#
echo "Hello World"
Bash
disp('Hello world!')
MATLAB
print("Hello world!")
Python
puts "Hello world!"
Ruby
document.write('Hello world!');
JavaScript
program HelloWorld;
begin
 WriteLn('Hello world!');
end.
Pascal
cat('Hello, world! ')
R
$("body").append("Hello world!");
JQuery
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
#import
#import

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

func main() {
 fmt.Println("Hello World!")
}
Go
print_string "Hello World!\n";;
OCaml
PRINT "Hello, world!"​
BASIC
No comments yet