1) Find the correct statement about let floorData = [1, 1, 2, 3, 3, 4] a) There are 4 floor blocks at the first column b) There are total 6 columns for the floor blocks formed c) The third column has the highest surface d) The "let" variable is also known as group 2) In Platformer Game, which one is not used ? a) "finish" sign b) "jump" player sprite c) "crash" player sprite d) "start" sign 3) What is the function called to start Platformer Game ? a) gameOn() b) gameStart() c) gamePlay() d) gameLoop() 4) If you want to make the sprite jump with "Enter" key, you need to write... a) event.code == "Enter" b) sprite.jump = "Enter" c) sprite.code = Enter d) sprite.enter = "Jump" 5) A player cannot collect all the coins in Platformer Game, which code is the possible related code? a) let coinsData = [0, 1, 2, 2, 3, 0, 3] b) let coinsData = [0, 2, 1, 0, 1, 1, 2] c) let coinsData = [2, 3, 4, 2, 8, 10, 13] d) let coinsData = [3, 2, 1, 2, 1, 1, 3] 6) When doing traffic looper game, we need to declare variable... a) let player = car; b) let scale = 0.5; c) let gravity = 1; d) let angleSpeed = 1.5; 7) Which code is not needed to ensure the car move in circular pattern? a) movePlayer(); b) player.style.top = carY + "px"; c) angle += angleSpeed; d) player.style.right = carY + "px"; 8) In traffic looper, we can rotate the car sprite with the code... a) player.style.transform = "rotate(" + (angle - 180) + "deg)"; b) player.style.rotate = "rotate(" + (angle - 360) + "deg)"; c) player.style.transform = "rotate(" - (angle + 180) + "deg)"; d) player.style.turn = "rotate(" + (angle - 180) + "deg)"; 9) "pointerdown" means that we _____ the mouse. a) release b) click c) hold d) adjust 10) If we want the car to move faster, which code is suitable? a) angleSpeed = 1.3; b) angleSpeed = 0.3; c) angleSpeed = 0.6; d) angleSpeed = 0.28; 11) What do you understand about a complete loop? a) when the car turned 360 degree in a triangle b) when the car turned 180 degree in a circle c) when the car turned 360 degree in a circle d) when the car doesn't collide with motorbikes 12) Given code checkCollision(posX, posY); If car and motorbike have the same posX and posY, they _____ a) collide with each other b) nearly collide with each other c) do not collide with each other d) possibly will collide 13) Choose the wrong introduction about nonogram. a) A puzzle logic game where players use the numbers to figure out which cells to click b) The numbers show how many squares need to be filled in c) the answer will be a hidden picture pattern d) spaces between filled squares is not allowed 14) How can you represent vertical squares in nonogram ? a) <ul id="rowsList"></ul> b) <ul id="colsList"></ul> c) <ul id="totalList"></ul> d) <ul id="sumList"></ul> 15) When adding data to nonogram... a) 1 represents empty cell b) 0 represents blue cell c) it must form a specific (special) pattern d) the number of rows cannot be more than ten 16) Toggle the "active” class means that... a) we can click only some grid cells b) we can click one grid cell c) we can click grid cells randomly d) we cannot click any grid cell 17) By writing ___, the numbers beside the rows are shown. a) showrowlist() b) showRowList(); c) showColList(); d) showcollist(); 18) Choose the correct description about player animation in Dungeon Battle. a) The variable used will have a value of 1 b) By default, the animation starts at frame 0 c) The value of the variable cannot be less than the last frame d) The value of the variable will increase by 2 19) Which animation is not added to Dungeon Battle ? a) Attack  b) Special attack c) Player hit d) Survive 20) The code onclick="setPlayerAnim('specialAttack')" means... a) Special attack can be executed many times b) special attack cannot be executed by clicking the button c) Special attack can be executed by clicking the button d) Special attack might not be successful 21) How do the computer know that we have won the Dungeon Battle game? a) When the enemy index is greater than enemy amount b) When the last enemy is killed c) When the last enemy lost all HP d) When the enemy index is equal to the enemy amount 22) In Wall Jumper, gravity must be ___ jumping force to make game easier. a) less than b) more than c) less than or equal to d) more than or equal to 23) player.style.transform = "scaleX("+ direction +")"; a) identify the player's vertical height from ground b) identify the player's x-position c) flip the player to the correct direction opposing the wall d) flip the player to the correct direction facing the wall 24) Which below is not a type of player animation in Wall Jumper? a) playerAnim = "jump"; b) playerAnim = "fall"; c) playerAnim = "run"; d) playerAnim = "wallSlide"; 25) How can we make the rock fall in Wall Jumper? a) rock.speed += gravity; b) rock.speed -= gravity; c) rock.speed = gravity; d) rock.speed = posY;

Coding Quiz (14) : Mobile Game Developer

autor:

Tabela rankingowa

Motyw

Opcje

Zmień szablon

Przywrócić automatycznie zapisane ćwiczenie: ?