Unity: Unity Quiz 1


Khóa học qua video:
Lập trình Python All Lập trình C# All SQL Server All Lập trình C All Java PHP HTML5-CSS3-JavaScript
Đăng ký Hội viên
Tất cả các video dành cho hội viên

(nhấn nút 'Result' để biết kết quả)

Q1. When we declare a variable, we need to provide a __________ and a variable name
assignment statement
class name
data type
value type

Q2. The most appropriate way to provide external consumer access to the state of an object is through
fields
methods
properties
identities

Q3. The most appropriate way to provide external consumer access to the behavior of an object is through
fields
methods
properties
identities

Q4. When we call a static function, we start with the _____________ name
field
class
object
variable

Q5. Entities in a Unity scene are called
Game Objects
sprites
scripts
Bob

Q6. We use the __________________________ class when processing input in Unity
InputManager
Input
Keyboard
Mouse

Q7. When we say we clamp a value, we mean we
set the value to 0
keep the value within a specific range of values
set the value to an input axis

Q8. When we process mouse button input using the input manager, we can use GetMouseButtonDown to respond to player clicks
False
True

Q9. To make sure our movement is independent of frame rate when we process keyboard or gamepad input, we should
use Time.deltaTime in the Update method for the moving game object
put our movement code in the FixedUpdate method so we know we get called 50 times per second

Q10. If we use the input manager, adding gamepad support to a game that already has keyboard support typically requires lots of code changes.
False
True

Q11. You have 4 bits you can use to give unique names (using binary!) to different inventory items in your game. How many unique names can you have?
16
-1
42
8

Q12. You need to represent 31 unique values in binary. How many bits do you need?
-1
5
49542
8

Q13. What are two kinds of plugins you can use in Unity?
Script plugins and Native plugins
Managed plugins and Script plugins
Managed plugins and Native plugins
None of the others

Q14. How do you create a variable with the numberic value 5?
int x = 5
num = 5
x = 5
num x = 5

Q15. How you can pause the game?
Time.deltaTime = 0;
Time.timeScale = 0;
Time fixedDeltaTime = 0;
Time.time = 0;

Q16. Which operator is used to add together two value a and b?
The += sign
The + sign
The ++ sign
The =+ sign

Q17. What component GameObject need to have to be considered by the Unity physics
Collider
Rigidbody
Physics Raycaster
Transform

Q18. Which features include full 3D spatial sound, real-time mixing and mastering,... predefined effects
Unity's Animation
Unity's Physics
Unity's Graphics
Unity's Audio

Q19. Which method excutes, when script is enabled in MonoBehaviour
Awake()
onEnable()
Start()
Update()

Q20. How do you assign a script to an object?
Drag script onto game object in the project options
Drag script onto game object in the inspector
Drag script onto game object in the hierarchy
Drag script onto game object in the sence

Q21. To define input axes and game actions for your project you need
Physics manager
Input manager
Preset manager
PlayerSettings

Q22. What is the name of the component used to connect animation clips...
Clips Controller
Animator
Animator Controller
State Machine

Q23. When you move the game object on the scene what will happen with the child game
Will not move with the parent
Static child objects does not move, dynamic child objects move
Dynamic child objects does not move, static child object move
Will move with parent

Q24. Which is a CPU-Independent instructions set into which .NET Framework programs instructions for loading, storing, initializing and calling methods on objects?
Byte code
Machine code
MSIL( Microsoft Intermediato Language)
.NET code

Q25. Which method in GameObject in Unity, calls a method on every MonoBehaviour in ... its children?
MessageBroadcast
BroadcastMessage
ChildBroadcast
BroadcastChild

Q26. Which is not a property of Sprite class?
Border
Size
Textture
Triangles


(Ghi chú: Phần câu hỏi Qi có nền màu Green thể hiện đáp án đúng)
» Tiếp: Unity Quiz 2
Khóa học qua video:
Lập trình Python All Lập trình C# All SQL Server All Lập trình C All Java PHP HTML5-CSS3-JavaScript
Đăng ký Hội viên
Tất cả các video dành cho hội viên
Copied !!!