Quiz on programming
This is a timed quiz. You will be given 15 seconds per question. Are you ready?
15
What is the correct syntax for creating a class in Java?
Correct!
Wrong!
What is the output of the following C code? c Copy int main() { int a = 10; printf("%d", a++); return 0; }
Correct!
Wrong!
Which of the following is a valid way to define a function in Python?
Correct!
Wrong!
Which of these is used to declare a constant in JavaScript?
Correct!
Wrong!
Which operator is used for exponentiation in Python?
Correct!
Wrong!
Which of the following is not a programming language?
Correct!
Wrong!
Which data structure uses LIFO (Last In First Out) order?
Correct!
Wrong!
What is the default value of a boolean variable in Java?
Correct!
Wrong!
Quiz on programming
You Failed!
You weren't even close... Carry on!
Close enough!
You were even close... Carry on!
You are Genius!
You nailed it!
Share your Results:








