#rustquiz — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rustquiz, aggregated by home.social.
-
#RustQuiz: what will be the output?
A. Panics with "error"
B. Prints "32"
C. Prints "1"
D. Compilation error -
🦀 Simple #RustQuiz
A. X gives compilation error and Y prints true
B. X prints false and Y prints true
C. X prints true and Y gives compilation error
D. Both gives compilation errorVote👇
-
#RustQuiz: what will be the output?
A. false
B. true
C. Compilation error
D. unsafe block is missing -
#RustQuiz: what is the output?
A. prints
fn1
fn2
1B. prints
fn1
1C. Compilation error
D. Runtime panic
vote below 👇
-
#RustQuiz what is the output?
A. It will print
🦀
🦀B. Compilation error
C. It will print
🦀
Hello Rust!D. It will print
Hello Rust!
Hello Rust!Credits: @FineFindus
If you have seen @FineFindus post, you might already know the answer
Vote below 👇
-
A. X gives compilation error & Y prints "Kernel" then "Dropped"
B. X prints "Kernel" & Y gives compilation error
C. X prints "Kernel" & Y prints "Kernel" then "Dropped"
D. Both X & Y gives compilation error
-
#RustQuiz : What is the output?
A. Compilation error in X & Y
B. Runtime error in X & Y
C. X prints "boo" and "kernel", Y Prints "Kernel"
D. X gives compilation error, Y prints "Kernel"
vote below
-
#RustQuiz : What will the output?
A.
Astra
KernelB.
Kernel
AstraC.
Compilation ErrorD.
Kernel panic!----
Vote below
-
🦀 Simple #RustQuiz
What will be the output?
A. Prints "Astra"
B. Assertion fails and panic
C. Compilation error -
#RustQuiz: what will be the output?
A. Hello
B. HelloWorld
C. World
D. Nothing gets printedVote below 👇
-
#RustQuiz: What will be the output?
A. 1 2
B. Compilation error
C.
1 2
1 2D.
1 2
1 2
1 2(This is very simple i am not sure mastodon might enjoy the simple ones)
-
#RustQuiz What will the Output?
A. Compilation error
B. Runtime panic
C.
4919
AstraKernelD.
0x1337
AstraKernel -
-
What will be the output?
A. Compilation error
B. 20 20
C. 30 30
D. 30 ( )Vote here
-
What is the output?
A. X prints "Kernel panic!" but Y gives Compilation error
B. Both gives Compilation Error
C. Y prints "Kernel panic!" but X gives Compilation Error
D. Both compilesCredits to
@ThePrimeagen
and
@wiseaidev
for this quizPoll 👇
-
What is the output?
A. X compiles but Y gives Compilation error
B. Both gives Compilation Error
C. Y compiles but X gives Compilaton Error
D. Both compilesYou can also vote your answer 👇
-
-
What is the output?
A.
Astra
Kernel
Dropped
DroppedB.
Astra
Dropped
Kernel
DroppedC.
Compilation error:
value used here after moveD.
Astra
Astra
Dropped
Dropped -
-
-
-
what will be the output?
1: Both A & B will give error
2: A will give error, B will run
3. B will give error, A will run
4. Both will run -
-
-
🦀 #RustQuiz
(similar to previous)What is the result in "release" mode?
A. Both X and Y give compilation error
B. X gives compilation error and Y gives runtime error
C. X gives compilation error and Y prints 0
D. Y gives compilation error and X prints 0
Previous related quiz:
https://infosec.exchange/@AstraKernel/110245932173537194 -
What is the result?
A. X & Y give compilation error
B. X & Y give runtime error
C. X give runtime error and Y give compilation error
D. X gives compilation error and Y gives runtime error
E.Both will work since index starts at 1 🤷
- i know the option E is dumb 😂
-
What will be the output?
A. X will give compilation error and Y will run
B. Both X and Y will run
C. Both X will run and Y will compilation error
D. X will give a runtime error and Y will run
-
What's the output?
A. It will print "hello"
B. It will print "rusty"
C. It will give a compilation error
D. It will give a runtime error -
What is the output of this?
A. Error
B. RustJsPython
C. (Rust, Js, Python)
D. Rust(Not hard/tricky or unique as #RustChallenge, just simple quizzes)