Home »
MCQs
Babylon.js Multiple-Choice Questions (MCQs)
Babylon.js is a real time 3D engine using a JavaScript library for displaying 3D graphics in a web browser via HTML5. The source code is available on GitHub and distributed under the Apache License 2.0. Wikipedia
Babylon.js MCQs: This section contains multiple-choice questions and answers on the various topics of Babylon.js. Practice these MCQs to test and enhance your skills on Babylon.js.
List of Babylon.js MCQs
1. Which of the following is true about Babylon.js?
- It is an open-source framework
- It is a JavaScript framework for 3D game development
- It is one of the most popular 3D game engines
- All of the above
Answer: D) All of the above
Explanation:
Following things are true about Babylon.js:
- It is an open-source framework
- It is a JavaScript framework for 3D game development
- It is one of the most popular 3D game engines
Discuss this Question
2. Babylon framework was created with the ____ programming language.
- TypeScript
- Python
- Java
Answer: A) TypeScript
Explanation:
Babylon.js was created with the TypeScript programming language.
Discuss this Question
3. ____ is the application's primary container for all objects and cameras.
- Meshes
- Cameras
- Scenes
Answer: C) Scenes
Explanation:
Scenes is the application's primary container for all objects and cameras.
Discuss this Question
4. Which of the following controls the scene's view and allows you to observe the items from a certain angle?
- Meshes
- Cameras
- Materials
- Lights
Answer: B) Cameras
Explanation:
Cameras control the scene's view and allow you to observe the items from a certain angle.
Discuss this Question
5. ____ are the 3D objects, such as cubes, spheres, or bespoke models, that may be displayed on the screen.
- Meshes
- Cameras
- Materials
- Lights
Answer: A) Meshes
Explanation:
Meshes are 3D objects, such as cubes, spheres, or bespoke models, that may be displayed on the screen.
Discuss this Question
6. ____ control mesh appearance, including colour, texture, and lighting attributes.
- Meshes
- Cameras
- Materials
- Lights
Answer: C) Materials
Explanation:
Materials control mesh appearance, including colour, texture, and lighting attributes.
Discuss this Question
7. Which of the following initiates the render loop, which refreshes and renders the scene continually?
- engine.runRenderLoop(function () { scene.render(); });
- engine.Render(function () { scene.render(); });
- run.LoopRender(function () { scene.render(); });
Answer: A) engine.runRenderLoop(function () { scene.render(); });
Explanation:
engine.runRenderLoop(function () { scene.render(); }); initiates the render loop, which refreshes and renders the scene continually.
Discuss this Question
8. The ____ camera spins around the target.
- ArcCamera
- RotateCamera
- ArcRotateCamera
Answer: C) ArcRotateCamera
Explanation:
The ArcRotateCamera camera spins around the target.
Discuss this Question
9. Which of the following creates meshes in Babylon.js?
- Create.mesh()
- Mesh.Create()
- CreateBox()
- Mesh.box()
Answer: B) Mesh.Create()
Explanation:
Mesh.create() creates meshes in Babylon.js.
Discuss this Question
10. ____ aids in the transformation of a 2D shape into a volumic shape.
- Line
- Tube
- Ribbon
- Extrusion
Answer: D) Extrusion
Explanation:
Extrusion aids in the transformation of a 2D shape into a volumic shape.
Discuss this Question
11. ____ accepts as input an array of pathways and draws lines along those paths.
- Line
- Tube
- Ribbon
- Extrusion
Answer: C) Ribbon
Explanation:
Ribbon accepts as input an array of pathways and draws lines along those paths.
Discuss this Question
12. ____ is a Babylon.js class that makes it easy to generate sophisticated Meshes such as boxes, spheres, cylinders, and toruses.
- MeshBuilder
- MeshBox
- Parametric Mesh
Answer: A) MeshBuilder
Explanation:
MeshBuilder is a Babylon.js class that makes it easy to generate sophisticated Meshes such as boxes, spheres, cylinders, and toruses.
Discuss this Question
13. Which is better, Mesh or MeshBuilder?
- Mesh
- MeshBuilder
- Both
- Depends upon the situation
- None
Answer: D) Depends upon the situation
Explanation:
Mesh and MeshBuilder both have their own set of benefits and applications. The best option is determined by the project's unique requirements.
Discuss this Question
14. ____ collision in Babylon. js refers to the process of assessing if a user has clicked on a Mesh in the scene.
- Mesh Shaping
- Mesh Intersecting
- Mesh picking
- Mesh Joining
Answer: C) Mesh picking
Explanation:
Mesh picking collision in Babylon. js refers to the process of assessing if a user has clicked on a Mesh in the scene.
Discuss this Question
15. ____ is a method used in Babylon.js to identify the intersection of a ray and objects in the scene.
- Raycasting
- Picking
- Intersection
- Raysection
Answer: A) Raycasting
Explanation:
Raycasting is a method used in Babylon.js to identify the intersection of a ray and objects in the scene.
Discuss this Question
16. With which of the following method an action is registered with the action manager?
- Actionregister
- registerAction
- Register.action
Answer: B) registerAction
Explanation:
With registerAction method an action is registered with the action manager.
Discuss this Question
17. Which of the following method clears all actions that have been registered with the action manager?
- Remove
- Del
- Delete
- Clear
Answer: D) Clear
Explanation:
Clear method, clears all actions that have been registered with the action manager.
Discuss this Question
18. A ____ is used in Babylon.js to represent a location in 3D space.
- Vector3
- Vector
- 3Dvector
Answer: A) Vector3
Explanation:
A Vector3 is used in Babylon.js to represent a location in 3D space.
Discuss this Question
19. A ____ describes a 3D route in space specified by a set of 3D points.
- Vector3
- Curve3
- Vector
- Curve
Answer: B) Curve3
Explanation:
A Curve3 describes a 3D route in space specified by a set of 3D points.
Discuss this Question
20. Is Curve3 and Vector3 both are same?
- Yes
- No
Answer: B) No
Explanation:
A Curve3 describes a 3D route in space specified by a set of 3D points, whereas A Vector3 is a 3D point represented by its x, y, and z coordinates.
Discuss this Question
21. ____ is a Babylon.js feature that allows you to generate and change textures in real-time.
- Interactive texture
- Reactive pattern
- Dynamic texture
Answer: C) Dynamic texture
Explanation:
Dynamic texture is a Babylon.js feature that allows you to generate and change textures in real-time.
Discuss this Question
22. Parallax mapping is also called ____.
- On mapping
- onset mapping
- off mapping
- offset mapping
Answer: D) offset mapping
Explanation:
Parallax mapping is also called offset mapping.
Discuss this Question
23. ____ is a method used in computer graphics to generate the appearance of depth in textures by simulating a displacement of pixels along a surface normally dependent on the camera perspective.
- Internal mapping
- Parallax mapping
- Rectangle mapping
Answer: B) Parallax mapping
Explanation:
Parallax mapping is a method used in computer graphics to generate the appearance of depth in textures by simulating a displacement of pixels along a surface normally dependent on the camera perspective.
Discuss this Question
24. Who created babylon.js?
- David Walt
- David Catuhe
- David Sting
- David Flanagan
Answer: B) David Catuhe
Explanation:
David Catuhe created Babylon.js.
Discuss this Question
25. ____ function adds a mesh to the scene.
- Scene.addMesh()
- Scene.Mesh()
- Add.sceneMesh()
Answer: A) Scene.addMesh()
Explanation:
Scene.addMesh()function adds a mesh to the scene.
Discuss this Question
26. A set of alterations performed on an item over time is known as ____.
- Skeleton
- Animation
- Movements
- Trigger
Answer: B) Animation
Explanation:
A set of alterations performed on an item over time is known as animation.
Discuss this Question
27. In Babylon.js, you may create a screenshot by utilizing the engine's ____ functionality.
- renderScreenshot
- TargetScreen
- renderScreen
- renderTarget
Answer: D) renderTarget
Explanation:
In Babylon.js, you may create a screenshot by utilizing the engine's renderTarget functionality.
Discuss this Question
28. To produce a mirror-like scene, ____ are employed.
- Reflection probes
- Replication target
- Replica scene
Answer: A) Reflection probes
Explanation:
To produce a mirror-like scene, reflection probes are employed.
Discuss this Question
29. Which of the following shader is in charge of determining the final colour of each pixel?
- Edge cut shader
- Fragment shader
- Edgy shader
- Vertex shader
Answer: B) Fragment shader
Explanation:
The fragment shader is in charge of determining the final colour of each pixel.
Discuss this Question
30. Which of the following shader is in charge of converting 3D geometry to screen space and transferring data to the fragment shader?
- Edge cut shader
- Fragment shader
- Edgy shader
- Vertex shader
Answer: D) Vertex shader
Explanation:
The vertex shader is in charge of converting 3D geometry to screen space and transferring data to the fragment shader.
Discuss this Question