Trivia

240 readers
1 users here now

A place to quiz others with trivia questions related to the instance!

Please keep questions on the topic of trivia. If you have a question for how to do something please post it in a community relevant to what youre doing or [email protected]

Guidelines

Credits

Logo base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
1
9
Guess the language: #10 (programming.dev)
submitted 1 year ago by Ategon to c/trivia
 
 
IO.puts "Hello, world!"

Options: Erlang, Elixir, Julia, Kotlin

Use the following link to guess an answer, answer + results posted in 12 hours. (If you say the answer in the replies please put it in spoiler tags)

https://strawpoll.com/e2narP0olgB

2
 
 

Options: TRS-80, Altair 8800, Commodore 64, Apple II

Use the following link to guess an answer: https://strawpoll.com/e2narPLNzgB

If you say the answer in the replies please put it a spoiler tag

3
9
Guess the Language: #9 (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by Ategon to c/trivia
 
 
import std.stdio;

void main()
{
    writeln("Enter a number:");
    int input;
    readf("%d", &input);
    writeln("Factorial:", factorial(input));
}

int factorial(int n)
{
    if (n <= 1)
        return 1;
    return n * factorial(n - 1);
}

Options: Vala, Crystal, D, Nim

Use the following link to guess an answer, answer + results posted in 12 hours. (If you say the answer in the replies please put it in spoiler tags)

https://strawpoll.com/Qrgebk7PKZp

4
 
 

Use the following link to guess an answer: https://strawpoll.com/w4nWrMRBdyA

You can discuss it below but if you say the answer put it in spoiler tags

5
6
Guess the Language: #8 (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by Ategon to c/trivia
 
 
function isPalindrome(str)
    str = str:gsub('%s', ''):lower()
    return str == str:reverse()
end

local input = "A man a plan a canal Panama"
if isPalindrome(input) then
    print("It's a palindrome!")
else
    print("It's not a palindrome.")
end

Testing out a new voting system of using strawpoll so that vote totals can be hidden. A thing I noticed in some of the previous rounds was that people would pile on to the same option. Loses a bit of the ease of vote but shouldnt be too bad since you can just instantly vote after you go to the site

You can vote for what you think it is here: https://strawpoll.com/xVg7j6Q5Rnr

Voting ends in 12 hours and then ill post here with the results. You can talk about it below but if you want to talk about the correct answer put it in spoiler tags

6
4
Guess the Language: #7 (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by Ategon to c/trivia
 
 

Upvote a comment to vote. Answer revealed in ~ 12 hours

7
 
 

Answer revealed in ~ 12 hours, Upvote a comment below to vote

8
 
 

Answer revealed in ~12 hours. Upvote a comment below to vote

9
4
Guess the Language: #6 (programming.dev)
submitted 1 year ago by Ategon to c/trivia
 
 

Answer revealed in ~12 hours. Upvote a comment below to vote

10
 
 

And the third trivia question of the day. Will be doing 3 questions every day, 1 about guessing the language, 1 about concepts, and 1 about history

The 4 options will be given in the comments and answer + results will be posted in ~ 12 hours

Feel free to also do your own trivia questions in the community if youve got any

11
 
 

The 4 options will be given in the comments. Upvote the one you think is correct

Answer + how many people got it right will be posted in ~ 12 hours

12
10
Guess the Language: #5 (programming.dev)
submitted 1 year ago by Ategon to c/trivia
 
 

Back from a small break and doing some more programming trivia! Doing a bit of a different format this time as it was a bit hard to guess if you didnt know the names of a bunch of different programming languages by memory

There will be 4 options in the comments you can vote for. Just upvote the one that you think is the answer and ill post the answer + results ~ 12 hours after it started

For this question its just a simple hello world statement

13
8
Guess the language: #4 (programming.dev)
submitted 1 year ago by Ategon to c/trivia
 
 

Answer will be revealed in a day, put guesses below

14
9
submitted 1 year ago* (last edited 1 year ago) by ruffsl to c/trivia
 
 

Bonus points if you also know:

  • How the language (allegedly) got it's name?
  • Which operating system still leverages the language today?
15
13
Guess the language: #3 (programming.dev)
submitted 1 year ago by Ategon to c/trivia
 
 

And were up to the third language to guess! This one might be a bit harder for most people compared to the last two. Throw your guesses down below and ill reveal the answer in a day

16
15
Guess the language: #2 (programming.dev)
submitted 1 year ago by Ategon to c/trivia
 
 

Answer will be revealed in a day. Comment your guesses below

17
 
 

Give your guesses below, answer will get posted in a day

18
11
Guess the language: #1 (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by Ategon to c/trivia
 
 

Throw your guesses down below. Answer will be given in a day

19
11
submitted 1 year ago* (last edited 1 year ago) by Ategon to c/trivia
 
 

Welcome to the programming trivia community! This will be a spot where you can post questions related to the instance and others will have a chance to guess answers

Answers should be given in the comments around a day after the question was posted and do not look up answers on search engines if you are answering it. Just post a guess for what you think the answer is in the comments

Ill be doing daily questions (and will do some more today + tomorrow to start the community off) but feel free to post your own as well

To start off heres a history-related question, enjoy!