Junk Genius

Junk Genius

University

11 Qs

quiz-placeholder

Similar activities

flag

flag

KG - Professional Development

10 Qs

Guess the flags country

Guess the flags country

KG - Professional Development

10 Qs

Java Arrays

Java Arrays

5th Grade - University

10 Qs

Latihan soal

Latihan soal

2nd Grade - University

10 Qs

Kerstmisquiz

Kerstmisquiz

1st Grade - Professional Development

8 Qs

microprocessor 8085

microprocessor 8085

University

10 Qs

Arrays - 2D

Arrays - 2D

University

10 Qs

Modul 4_Linda Amaliyah

Modul 4_Linda Amaliyah

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?