Coding Quiz Zone
前往频道在 Telegram
✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!
显示更多1 547
订阅者
+124 小时
-57 天
-530 天
帖子存档
1 547
class Output { public static void main(String args[]) { final int a=10,b=20; while(a<b) { System.out.println("Hello"); } System.out.println("World"); }}
1 547
class comma_operator{public static void main(String args[]){int sum = 0;for (int i = 0, j = 0; i < 5 & j < 5; ++i, j = i + 1)sum += i;System.out.println(sum);}}
1 547
class selection_statements { public static void main(String args[]) { int var1 = 5; int var2 = 6; if ((var2 = 1) == var1) System.out.print(var2); else System.out.print(++var2); }}
1 547
#include <stdio.h> int main() { int a = 1, b = 1, c; c = a++ + b; printf("%d, %d", a, b); }
1 547
#include <stdio.h> //Program 1 int main() { int d, a = 1, b = 2; d = a++ + ++b; printf("%d %d %d", d, a, b); } #include <stdio.h> //Program 2 int main() { int d, a = 1, b = 2; d = a++ +++b; printf("%d %d %d", d, a, b); }
1 547
if (9 < 0) and (0 < -9): print("hello") elif (9 > 0) or False: print("good") else: print("bad")
1 547
What will be the output of the given Python code?
class Truth: pass x=Truth() bool(x)
1 547
Choose the option that correctly specifies the output of the following CSS.
span { border: 1px solid red; outline: green dotted thick; }
1 547
Which of the following property is used to draw a line around elements outside the borders?
1 547
Question: What will be the result of executing the following code?
const obj = {};
Object.defineProperty(obj, 'key', { value: 'value', writable: false }); obj.key = 'newValue'; console.log(obj.key);
1 547
Question: Which of the following statements about ES6 Modules is true?
1 547
Question: What will be the output of the following code?
async function fetchData() {
return 'Data Fetched'; } fetchData().then(data => console.log(data));
1 547
Question: What will be the output of the following code?
function greet(greeting) {
return `${greeting}, ${this.name}`; } const user = { name: 'Alice' }; const greetAlice = greet.bind(user); console.log(greetAlice('Hello'));
