Subroutines Theory

Subroutines Theory

12th Grade

37 Qs

quiz-placeholder

Similar activities

Eldas dan Arduino

Eldas dan Arduino

9th Grade - University

40 Qs

Exam 4 Study Guide - EIEC 2140

Exam 4 Study Guide - EIEC 2140

12th Grade - University

41 Qs

Programming with Sphero (End-of-Year Review)

Programming with Sphero (End-of-Year Review)

KG - 12th Grade

40 Qs

HAAS CNC CODE-TOOLS

HAAS CNC CODE-TOOLS

12th Grade

33 Qs

ALL QUIZ

ALL QUIZ

KG - Professional Development

39 Qs

CNC 2

CNC 2

9th - 12th Grade

37 Qs

Remedial PTS Robotika

Remedial PTS Robotika

9th - 12th Grade

40 Qs

Unit 2 Review POB

Unit 2 Review POB

9th - 12th Grade

42 Qs

Subroutines Theory

Subroutines Theory

Assessment

Quiz

Other

12th Grade

Medium

Created by

Mr Massett

Used 9+ times

FREE Resource

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Subroutine

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Data being passed into a subroutine.

An item of data being passed to a subroutine.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Function

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Data being passed into a subroutine.

An item of data being passed to a subroutine.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Parameter

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Identifies data being passed into a subroutine.

An item of data being passed to a subroutine.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Argument

A named block of code designed to carry out a specific task.

A named block of code that returns a value.

Identifies data being passed into a subroutine.

An item of data being passed to a subroutine.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Another technical name for subroutine

Block of code

2D array

Global Variable

Procedure

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many parameters are being passed into the function add?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How would you run this piece of code in python?

add():

add{}

add(5,6)

add()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?