Nuna has written the following code to display a menu for a computer game below. She wants to show the menu a number of times throughout the game. What would be the best way for ther to do this?, Copy and paste the code where it is needed, Place the code into a loop, Place the code within a procedure, Place the code within a selection statement, Which of the following code makes use of a function?, total = price * quantity, name = "John", While Grade != 5, name = input("Enter your name"), What is the difference between a function and procedure?, Functions are for maths and Procedures are for strings., Functions return values, Procedures may or may not return a value., Functions carry out a predefined task, Procedures are tasks you set yourself., Functions always return a value, Procedures do not return values., What will this pseudocode output?, 68, 2435, Nothing, 86, Why do functions use parameters?, To enable the function to utilise variable that are passed to it, To enable the program to use translators, To minimise naming errors, To allow it to return values
0%
Subroutines
Share
Share
by
Dcaltutoring
KS5
Computing
Programming Concepts
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
Open results
Copy link
QR code
Delete
Continue editing:
?