Home
Explore
Exams
Search for anything
Login
Get started
Home
Engineering
Computer Science
Subroutines
0.0
(0)
Rate it
Studied by 2 people
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/11
Earn XP
Description and Tags
Computer Science
Add tags
Study Analytics
All
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
12 Terms
View all (12)
Star these 12
1
New cards
Define a subroutine
A sequence of instructions designed to perform a specific task with an identifiable name
2
New cards
A subroutine call has
arguments
3
New cards
Parameters
A value that adds extra information to a procedure or function to adjust its behaviour.
4
New cards
Passing parameters
Specifying the input parameters at the start of a procedure or a function.
5
New cards
How are subroutines represented in flow charts?
6
New cards
Define a procedure without parameters in pseudocode
PROCEDURE
ENDPROCEDURE
7
New cards
Define a procedure with parameters in pseudocode
PROCEDURE
(
:
,
:
...)
ENDPROCEDURE
8
New cards
Call a procedure both without and with parameters
CALL
CALL
(Value1,Value2...)
9
New cards
procedure vs function
A procedure performs a task, whereas a function produces information.
10
New cards
Define a function without parameters
FUNCTION
RETURNS
ENDFUNCTION
11
New cards
Define a function with parameters
FUNCTION
(
:
,
:
...) RETURNS
ENDFUNCTION
12
New cards
the keyword CALL is used to call...
procedures
Explore top notes
Toxteth, Liverpool - CASE STUDY
Updated 112d ago
Note
Preview
Chapter 1: Introduction and Mathematical Concepts
Updated 763d ago
Note
Preview
Chapter 9 - Harmonic Progression and Harmonizing a Melody
Updated 808d ago
Note
Preview
Music for Stage and Screen: Wicked
Updated 440d ago
Note
Preview
Chapter 17: Social Thinking and Behavior
Updated 1060d ago
Note
Preview
Transplantations and Borderlands: Need To Know
Updated 253d ago
Note
Preview
Topic 3 Acronyms
Updated 90d ago
Note
Preview
When Chop Happens and Top-Down Analysis
Updated 1d ago
Note
Preview
Explore top flashcards
Pharma Intro
Updated 868d ago
Flashcards (27)
Preview
MedTerm #5
Updated 625d ago
Flashcards (64)
Preview
EEE Final 2023
Updated 775d ago
Flashcards (64)
Preview
Ch12 - Genetics
Updated 860d ago
Flashcards (60)
Preview
9과
Updated 358d ago
Flashcards (48)
Preview
Lesson 53: Expressing necessity + Pros and Cons
Updated 339d ago
Flashcards (31)
Preview
IB Ecology
Updated 884d ago
Flashcards (74)
Preview
Digital SAT Vocabulary (copy)
Updated 395d ago
Flashcards (991)
Preview