Quiz 3: Section End QUIZ

What will this code print? if (false) print ("Hello"); print ("World"); Look carefully because there are no curly braces. You may not know the answer for sure, and that is fine, the lesson is in the quiz answer if it's not clear to you. Hello
Hello
World
Hello World
Nothing!
What value will this (badly indented) code print? Int num = 123; void Start() { num = 345; print (num); }
345
123
What does the void keyword mean?
The method will not run
The method does not return anything
What data types does this method take in, and return? int MyMethod (float myNum) {}
Takes in int, returns float
Take in float, returns int
Which of the following is not a good reason to create a function. To simplify your code
To simplify your code
To create more lines of code
{"name":"Quiz 3: Section End QUIZ", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What will this code print? if (false) print (\"Hello\"); print (\"World\"); Look carefully because there are no curly braces. You may not know the answer for sure, and that is fine, the lesson is in the quiz answer if it's not clear to you. Hello, What value will this (badly indented) code print? int num = 123; void Start() { num = 345; print (num); }, What does the void keyword mean?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker