Brain Compiler - Round 2

Name:
What is the output of this Python code?
1234
12
11 22 33 44
11 33
What is the output of this C++ code?
A A
Compilation Error
A 65
65 65
What is the output of this C code?
Compilation error
Hello hello 0
Hello 0
Hello
What is the output of this C code?
2
4
3
Runtime Error
What is the output of this Python code?
[]
[3]
[2]
IndexError
What is the output of this C code?
0 1 1
4 1 1
0 3 2
1 1 0
What is the output of this C++ code?
One
Two
Compilation error
Runtime error
Which loop is best suited for iterating through elements of an array in Java?
For-each loop
Do-while loop
For loop
While loop
Which Python data structure stores unordered elements without duplicates?
Set
Tuple
List
Dictionary
What is the syntax to define a default constructor in C++?
Classname() {}
Classname() : classname() {}
Constructor() {}
Def constructor()
{"name":"Brain Compiler - Round 2", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Name:, What is the output of this Python code?, What is the output of this C++ code?","img":"https://www.quiz-maker.com/3012/CDN/98-4857205/carbon.png?sz=1200"}
Make your own Survey
- it's free to start.