Junk Genius

Quiz
•
Other
•
University
•
Hard
Technical Event
Used 6+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Let me tell me a something "Are You Capable of Keep it as a Secret?"
Answer explanation
Let's have a warmup shall we
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
WHAT IS THE OUTPUT OF THE FOLLOWING C CODE?
#include <stdio.h>
int main() {
int a=2,b=3,c=4;
printf("%d",a + ++b + ++c);
return 0;
}
9
10
11
Compiler error
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
WHAT IS THE OUTPUT OF THE FOLLOWING JAVA CODE?
public class Main {
public static void main(String[]args)
{
int x =10;
int y = x++ + ++x - --x ;
System.out.println(y);
}
}
10
11
9
0
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
WHAT IS THE OUTPUT OF THE FOLLOWING CODE?
class A:
def __init__ (self,x):
self.x = x
class B(A):
def __init__ (self,y):
super().__init__(y)
self.y = y
a = A(1)
b = B(2)
print(a.x, b.x, b.y)
1 1 2
1 2 2
2 2 2
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
LET'S SOLVE THE TIME OLD MYSTERY
# Which came first "Hen" or "Egg"
mystery = ['🥚','🐔']
s = '🐔'
y = '🥚'
print(s.encode('unicode-escape').decode('ASCII'))
#ASCII value: \U0001f414
print(y.encode('unicode-escape').decode('ASCII'))
#ASCII value: \U0001f95a
mystery.sort()
print(mystery[0])
🥚
🐔
Answer explanation
NOT ALL PROGRAMMERS ARE HACKERS BUT ALL HACKERS ARE PROGRAMMERS
Let's Move to Cryptography
6.
FILL IN THE BLANK QUESTION
15 mins • 5 pts
This file has a flag in plain sight (aka "in-the-clear"). Download flag.
Hint : Click the flag and just put the sequence inside the braces
7.
FILL IN THE BLANK QUESTION
15 mins • 10 pts
Cryptography can be easy, do you know what ROT13 is?
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Pointeurs et références

Quiz
•
University
10 questions
Flags

Quiz
•
4th Grade - Professio...
10 questions
Impossible Flag Quiz

Quiz
•
KG - Professional Dev...
12 questions
Código ASCII y Medidas de Almacenamiento

Quiz
•
University
15 questions
Definite Integrals #1

Quiz
•
10th Grade - University
10 questions
Arrays - 2D

Quiz
•
University
15 questions
Hispanic Heritage Trivia

Quiz
•
University
12 questions
PRF192 - Review

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade