Junk Genius

Junk Genius

University

11 Qs

quiz-placeholder

Similar activities

flag

flag

KG - Professional Development

10 Qs

Impossible Flag Quiz

Impossible Flag Quiz

KG - Professional Development

10 Qs

Easy Quiz 3

Easy Quiz 3

KG - Professional Development

10 Qs

Oceania Flags

Oceania Flags

KG - Professional Development

14 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

University

12 Qs

C PROGRAMMING

C PROGRAMMING

University

15 Qs

Flags

Flags

4th Grade - Professional Development

10 Qs

JSP

JSP

University

10 Qs

Junk Genius

Junk Genius

Assessment

Quiz

Other

University

Hard

Created by

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

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?

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?