Description

Quiz on Untitled, created by Jack Travis on 05/05/2016.
Jack Travis
Quiz by Jack Travis, updated more than 1 year ago
Jack Travis
Created by Jack Travis over 8 years ago
13
0

Resource summary

Question 1

Question
Procedures can only return a single value.
Answer
  • True
  • False

Question 2

Question
Which of these performs a single task?
Answer
  • Functions
  • Procedures
  • Both
  • Neither

Question 3

Question
Functions and procedures are [blank_start]self-contained[blank_end] blocks of code, and use values as [blank_start]parameters[blank_end] for tasks.
Answer
  • parameters
  • self-contained

Question 4

Question
Which type of variable do functions and procedures use to perform tasks?
Answer
  • Local
  • Global
  • Both

Question 5

Question
Passing by reference changes the value of the variable being used in a procedure/function.
Answer
  • True
  • False

Question 6

Question
Stepwise refinement involves:
Answer
  • Breaking a problem into a few, large parts...
  • ...until each task can be written as a single function/procedure
  • Breaking a problem into progressively smaller tasks...
  • ...until each task is mildly complex
Show full summary Hide full summary

Similar

Mapa Mental - Como Criar um Mapa Mental
miminoma
Geography - Unit 1A
NicoleCMB
AS-Level Chemistry: Unit 1:The Atom
Daena Targaryen
SMART School Year Goals
Alice McClean
MATTERS OF LIFE AND DEATH - UNIT 1, SECTION 2 - RELIGIOUS STUDIES GCSE EDEXCEL
Khadijah Mohammed
Edexcel Additional Science Chemistry Topics 1+2
hchen8nrd
Function and Structure of DNA
Elena Cade
GCSE Maths Quiz: Ratio, Proportion & Measures
Andrea Leyden
PSBD TEST # 3
yog thapa
AN ECONOMIC OVERVIEW OF IRELAND AND THE WORLD 2015/16
John O'Driscoll
World War I
Lydia Klein