Search Header Logo

Junk Genius

Authored by Technical Event

Other

University

Used 6+ times

Junk Genius
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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?"

Media Image
Media Image
Media Image

Answer explanation

Media Image

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])

🥚

🐔

Media Image

Answer explanation

Media Image

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?

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?