course2 lesson10

course2 lesson10

2nd Grade

6 Qs

quiz-placeholder

Similar activities

MatataLab

MatataLab

KG - 5th Grade

10 Qs

There Is No Quiz

There Is No Quiz

1st - 7th Grade

11 Qs

GameMaker Quiz 5

GameMaker Quiz 5

KG - Professional Development

8 Qs

CYBERSECURITY

CYBERSECURITY

1st - 3rd Grade

10 Qs

course2 lesson18

course2 lesson18

2nd Grade

8 Qs

mad city

mad city

2nd Grade

10 Qs

lesson 14

lesson 14

1st - 5th Grade

8 Qs

Physical Security

Physical Security

1st Grade - University

10 Qs

course2 lesson10

course2 lesson10

Assessment

Quiz

Computers

2nd Grade

Hard

Created by

Academy OneSpace

Used 9+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A block of reusable code to make the hero attacks the enemy

A code to make a game

A block of  organized and reusable code that given a name

A block of reusable code to make the hero finds the enemy

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the right way to define the function test?

Define test():

def test():

Def test():

def test()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use functions for?

Organize a code

Reuse a code

Make the code easier to change

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Choose the right syntax to call this function

findAndAttackEnemy()

findandAttackEnemy()

findAndAttackEnemy():

def findAndAttackEnemy()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the right syntax to define the function heroAttack with parameter “enemy”

def hero.Attack enemy():

def heroAttack(“enemy”):

def heroAttack(enemy):

def heroAttack(enemy)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Choose the right syntax to call this function

Media Image
Media Image
Media Image
Media Image