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

Find the Error in the code:

System.out.print("Hello World")

missing semicolon

100

What is the Language this is written in?

print("Hello, World!")

Python

100

What is the type of Error?

Code outputs but it's not the expected output.

Logical Error

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:

int sum = 200;

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

    sum += (sum/x);}

division by 0!

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 is the type of Error?

Code doesn't compile.

Syntax Error

200

What does this print?

System.out.println("CS");

System.out.print("INTEREST");

System.out.print("MEETING");

CS

INTERESTMEETING

200

What is the most popular coding language?

Python

300

Find the Error in the code:

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

    System.out.println(x);}

x is missing a type.

300

What is the Language this is written in?

let score = 85;

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

console.log("fail");

}

JavaScript

300

What is the type of Error?

successfully compiles but error occurs during running.

Runtime error

300

What does this print?

String cs = "Computer Science Rocks";

String fun = "yay";

System.out.print(cs.substring(3, 10) + fun + fun.substring(1));

puter Syayay

300

How many school owned wired mice are currently in this classroom? (not including Mr. Jasik's mouse)

TBD (ill count it before the meeting)

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

What is the type of Error?

When you try accessing/using an empty variable.

NullPointerException

400

What does this print?

int sum = -2;

for(int x = 1; x < 8;x++){
 sum+= x;
sum*= 3;
}

System.out.print(sum);

534

400

Are you going to join comp sci club this year?

Yes

500

Find the Error in the code:

i = 0

if i < 5:

print("This code block executes");

print("Error is here");

the prints have a semicolon

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 is the type of Error?

A type of runtime error that occurs when java has exhausted all available memory in the call stack

StackOverFlowError

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



500

What language is Windows coded in?

C

M
e
n
u