Find the Error Java/Python
Coding Language?
What does this print?(Java)
Mystery
100

Find the Error in the code:

print("Hi CS Club)

missing endquotes

100

What is the Language this is written in?

print("Hello, World!")

Python

100

What does this print?

System.out.println("12345");

12345

100

What numbers is binary consisted of?

1s and 0s

200

Find the Error in the code:

for(x = 0; x < 10; x++){

    System.out.println(x);}

x is missing a type.

200

What is the Language this is written in?

int x = 10;
for(int i= 0; i < 3; i++){
x++;}

System.out.print(x);

Java

200

What does this print?

System.out.println("CS");

System.out.print("INTEREST");

System.out.print("MEETING");

CS

INTERESTMEETING

200

What is the sequence of the first 6 letter keys on a keyboard?

What is QWERTY?

300

Find the Error in the code:

int sum = 200;

for(int x = 0; x < 10; x++){

    sum += (sum/x);}

division by 0!

300

What is the Language this is written in?

let score = 85;

if(score >= 60){
console.log("pass");
}else{

console.log("fail");

}

JavaScript

300

String[] words = {"Apple", "Banana", "Cherry"}; System.out.print(words[0].substring(1));

pple

300

What did Dorothy follow to find the Wizard of Oz?

What is the Yellow Brick Road?

400

Find the Error in the code:

String[] Arr = new String[1+1];

Arr[0] = "Kris";

Arr[1] = "David";

Arr[2] = Arr[0] + " " + Arr[1];

Arr[2] is out of bounds.

400

What is the Language this is written in?

#include <iostream>

int main(){
for(int i = 1; i <= 5; ++i){

std::cout << i << " ";
}
std::cout << std::endl;

return 0;
}

C++

400

int points = 0;
for (int i = 1; i <= 3; i++) {
  points = points + i;
}
System.out.print(points);

6

400

This spooky tech phrase describes the exact moment at midnight when the year 1999 ended, and people feared every computer would suddenly freeze.

What is Y2K?  

500

Find the Error in the code:
total = 0 

numbers = [1, 2, 3, 4, 5] 

for num in numbers:

  total = total + num  

  print("Current sum is " + total)

python cannot concatenate strings and numbers with +
must add str() like str(total)

500

What is the Language this is written in?

 class MyMeta(t):
   def complicated_method_lol(cls, name, bases, dct):
     dct['custom attribute'] = 'The is a custom attribute'
  return super().__new__(cls, name, bases, dct)

Python 

500

What does this print?

double q = Math.pow(5, Math.sqrt(2 * Math.pow(2, 3)));

double s = Math.pow(2, (6 * 125)/(2.5 * 50)) * 10;

for(   ; q < s; q++){

q+=1;
}


nothing

500

What language is Windows coded in?

C