wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Junk Genius

Total questions: 11

Worksheet time: 3hrs 31mins

Name
Class
Date
1.

Let me tell me a something "Are You Capable of Keep it as a Secret?"

a)
b)
c)
2.

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;

}

a)

9

b)

10

c)

11

d)

Compiler error

3.

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

}

}

a)

10

b)

11

c)

9

d)

0

4.

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)

a)

1 1 2

b)

1 2 2

c)

2 2 2

d)

Error

5.

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

a)

🥚

b)

🐔

c)

EPPUDRAA....

6.

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

(a)  

7.

Cryptography can be easy, do you know what ROT13 is?

(a)  

8.

Python scripts are invoked kind of like programs in the Terminal... Can you run this Python script using this password to get the flag?

Hint: -e(Encrypt)/-d(Decrypt)

(a)  

9.

Can you invoke help flags for a tool or binary? This program has extraordinarily helpful information...

(a)  

10.

Files can always be changed in a secret way. Can you find the flag?

Hint: Do you know about Metadata?

(a)  

11.

There is nice Program i will give Ta-da! but it doesn't speak English... Mr.Rapid will be helping you

(a)