The document discusses 2D arrays and algorithms. It covers declaring 2D arrays, filling them from named ranges, and outputting to named ranges. It emphasizes planning algorithms by breaking tasks down into simple steps before writing code. An example algorithm breaks a portfolio analysis program into tasks like selecting a time period, entering investments, estimating returns, and changing investments.
Desk reference for data wrangling, analysis, visualization, and programming in Stata. Co-authored with Tim Essam(@StataRGIS, linkedin.com/in/timessam). See all cheat sheets at http://bit.ly/statacheatsheets. Updated 2016/06/03
Stata cheat sheet: programming. Co-authored with Tim Essam (linkedin.com/in/timessam). See all cheat sheets at http://bit.ly/statacheatsheets. Updated 2016/06/04
Desk reference for data wrangling, analysis, visualization, and programming in Stata. Co-authored with Tim Essam(@StataRGIS, linkedin.com/in/timessam). See all cheat sheets at http://bit.ly/statacheatsheets. Updated 2016/06/03
Stata cheat sheet: programming. Co-authored with Tim Essam (linkedin.com/in/timessam). See all cheat sheets at http://bit.ly/statacheatsheets. Updated 2016/06/04
Desk reference for data transformation in Stata. Co-authored with Tim Essam (@StataRGIS, linkedin.com/in/timessam). See all cheat sheets at http://bit.ly/statacheatsheets. Updated 2016/06/03.
Talk is about simple data structures like queue and Tree and their possible implementation in Scala. It also talks about binary search trees and their traversals.
Watch video (in Hebrew): http://parleys.com/play/53f7a9cce4b06208c7b7ca1e
Type classes are a fundamental feature of Scala, which allows you to layer new functionality on top of existing types externally, i.e. without modifying or recompiling existing code. When combined with implicits, this is a truly remarkable tool that enables many of the advanced features offered by the Scala library ecosystem. In this talk we'll go back to basics: how type classes are defined and encoded, and cover several prominent use cases.
A talk given at the Underscore meetup on 19 August, 2014.
Desk reference for data transformation in Stata. Co-authored with Tim Essam (@StataRGIS, linkedin.com/in/timessam). See all cheat sheets at http://bit.ly/statacheatsheets. Updated 2016/06/03.
Talk is about simple data structures like queue and Tree and their possible implementation in Scala. It also talks about binary search trees and their traversals.
Watch video (in Hebrew): http://parleys.com/play/53f7a9cce4b06208c7b7ca1e
Type classes are a fundamental feature of Scala, which allows you to layer new functionality on top of existing types externally, i.e. without modifying or recompiling existing code. When combined with implicits, this is a truly remarkable tool that enables many of the advanced features offered by the Scala library ecosystem. In this talk we'll go back to basics: how type classes are defined and encoded, and cover several prominent use cases.
A talk given at the Underscore meetup on 19 August, 2014.
Advance procedures in assembly are fully explained by me and my group mates.
Main topics are:
*Stack frames
-Recursion
-ADDR, INVOKE , LOCAL, PROC , PROTO directives and variables
-MultiModule Programs in assembly
Deze presentatie is gegeven tijdens de KScope conferentie 2012
Spreker: Patrick Barel
Titel Can Collections Speed Up Your PL/SQL?
Onderwerp: Developers Toolbox - Coding
Deze presentatie gaat over het gebruik van Collections in PL/SQL. Hoe werken deze arrays? Hoe gebruikt Oracle deze structuren in één van de belangrijkste verbeteringen op het gebied van prestaties van PL/SQL code in combinatie met uitgevoerde SQL queries? Daarnaast wordt er ingegaan op het gebruik van Table Functions, waarmee je kracht van PL/SQL in SQL kunt gebruiken. In deze sessie leer je om met minimale inspanning een grote verbetering in de performance en onderhoudbaarheid van je PL/SQL code te bereiken.
Homework Assignment – Array Technical DocumentWrite a technical .pdfaroraopticals15
Homework Assignment – Array Technical Document
Write a technical document that describes the structure and use of arrays. The document should
be 3 to 5 pages and include an Introduction section, giving a brief synopsis of the document and
arrays, a Body section, describing arrays and giving an annotated example of their use as a
programming construct, and a conclusion to revisit important information about arrays described
in the Body of the document. Some suggested material to include:
Declaring arrays of various types
Array pointers
Printing and processing arrays
Sorting and searching arrays
Multidimensional arrays
Indexing arrays of various dimension
Array representation in memory by data type
Passing arrays as arguments
If you find any useful images on the Internet, you can use them as long as you cite the source in
end notes.
Solution
Array is a collection of variables of the same type that are referenced by a common name.
Specific elements or variables in the array are accessed by means of index into the array.
If taking about C, In C all arrays consist of contiguous memory locations. The lowest address
corresponds to the first element in the array while the largest address corresponds to the last
element in the array.
C supports both single and multi-dimensional arrays.
1) Single Dimension Arrays:-
Syntax:- type var_name[size];
where type is the type of each element in the array, var_name is any valid identifier, and size is
the number of elements in the array which has to be a constant value.
*Array always use zero as index to first element.
The valid indices for array above are 0 .. 4, i.e. 0 .. number of elements - 1
For Example :- To load an array with values 0 .. 99
int x[100] ;
int i ;
for ( i = 0; i < 100; i++ )
x[i] = i ;
To determine to size of an array at run time the sizeof operator is used. This returns the size in
bytes of its argument. The name of the array is given as the operand
size_of_array = sizeof ( array_name ) ;
2) Initialisg array:-
Arrays can be initialised at time of declaration in the following manner.
type array[ size ] = { value list };
For Example :-
int i[5] = {1, 2, 3, 4, 5 } ;
i[0] = 1, i[1] = 2, etc.
The size specification in the declaration may be omitted which causes the compiler to count the
number of elements in the value list and allocate appropriate storage.
For Example :- int i[ ] = { 1, 2, 3, 4, 5 } ;
3) Multidimensional array:-
Multidimensional arrays of any dimension are possible in C but in practice only two or three
dimensional arrays are workable. The most common multidimensional array is a two
dimensional array for example the computer display, board games, a mathematical matrix etc.
Syntax :type name [ rows ] [ columns ] ;
For Example :- 2D array of dimension 2 X 3.
int d[ 2 ] [ 3 ] ;
A two dimensional array is actually an array of arrays, in the above case an array of two integer
arrays (the rows) each with three elements, and is stored row-wise in memory.
For Example :- Program to fill .
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
2. SUMMARY
Quick recap of 1D arrays
2D Arrays
Declaring and re-declaring
Assigning values
Outputting values
Algorithms
Mapping out the tasks needed for a program
3. REVIEW OF 1D ARRAYS
Const NSTOCKS as Integer = 2
ReDim meanRet(NSTOCKS) as Double
Const TIMEPERIODS as Integer = 4
Dim stockReturns(TIMEPERIODS) as Double
**Assume we’re using Option Base 1**
4. REVIEW OF 1D ARRAYS
stockReturns(2) = ? _
**Assume we’re using Option Base 1**
5. REVIEW OF 1D ARRAYS
stockReturns(2) = 0.0024
**Assume we’re using Option Base 1**
6. REVIEW OF 1D ARRAYS
stockReturns(4) = ? _
**Assume we’re using Option Base 1**
7. REVIEW OF 1D ARRAYS
stockReturns(4) = 0.0052
**Assume we’re using Option Base 1**
8. REVIEW OF 1D ARRAYS
meanRet (1) = ? _
**Assume we’re using Option Base 1**
9. REVIEW OF 1D ARRAYS
meanRet (1) = 0.00371
**Assume we’re using Option Base 1**
11. ARRAYS
Hold a range (or set) of values
Basically a set of variables
Your arrays will mainly be 1 or 2 dimensions
arrayName(5)
arrayName(5)
arrayName(5, 4)
arrayName is the name of your array
12. ARRAYS
Hold a range (or set)about 2D Arrays
of values
Today is
Basically a set of variables
Your arrays will mainly be 1 or 2 dimensions
arrayName(5)
arrayName(5)
arrayName(5, 4)
arrayName is the name of your array
13. DECLARING ARRAYS
The same rules apply to 2D arrays as to 1D arrays
Disposable, local or global? – Declare in the right place
Must specify a data type
Public Sub DescriptiveStats()
Dim stockPrices(5, 2) As Double
Dim stockRet(4, 2) As Double
End Sub
These are
disposable
14. DECLARING ARRAYS
The same rules apply to 2D arrays as to 1D arrays
Disposable, local or global? – Declare in the right place
Must specify a data type
Also, need to specify the size of the array
The “size” is the number of elements in the array
Public Sub DescriptiveStats()
Dim stockPrices(5, 2) As Double
Dim stockRet(4, 2) As Double
End Sub
5 rows
2 columns
4 rows
2 columns
15. DECLARING ARRAYS returns
5 stock prices
4 stock
2 rules
2 variables
The same stocks apply to arrays as to stocks
Disposable, local or global? – Declare in the right place
Must specify a data type
Also, need to specify the size of the array
The “size” is the number of elements in the array
Public Sub DescriptiveStats()
Dim stockPrices(5, 2) As Double
Dim stockRet(4, 2) As Double
End Sub
5 prices
2 stocks
4 returns
2 stocks
16. DECLARING ARRAYS (1D
AND
2D)
Many times we don’t know the number of
elements that will be in the array.
So, first declare them empty, like this:
Dim stockPrices() As Double
Dim stockRet() As Double
For example,
these are local
Public Sub DescriptiveStats()
End Sub
General format
for declaration
arrayName() As DataType
arrayName:= the name of the array
DataType:= Integer, Double, String…
17. DECLARING ARRAYS
After the size of the array is know, re-declare it
inside a procedure
Dim stockPrices() As Double, stockRet() As Double
Dim nDays As Integer, nStocks As Integer
Arrays will most likely need
to be local or global
These are local
18. DECLARING ARRAYS
After the size of the array is know, re-declare it
inside a procedure
Dim stockPrices() As Double, stockRet() As Double
Dim nDays As Integer, nStocks As Integer
Public Sub DescriptiveStats()
nDays = ComboBox1.Value
nStocks = ComboBox2.Value
End Sub
User selects number
of days from a
ComboBox on the
userform
19. DECLARING ARRAYS
After the size of the array is know, re-declare it
inside a procedure
Dim stockPrices() As Double, stockRet() As Double
Dim nDays As Integer, nStocks As Integer
Public Sub DescriptiveStats()
nDays = ComboBox1.Value
nStocks = ComboBox2.Value
End Sub
User selects number
of stocks from a
ComboBox on the
userform
20. DECLARING ARRAYS
After the size of the array is know, re-declare it
inside a procedure
Dim stockPrices() As Double, stockRet() As Double
Dim nDays As Integer, nStocks As Integer
Public Sub DescriptiveStats()
nDays = ComboBox1.Value
nStocks = ComboBox2.Value
Redim both arrays
using the variables
Redim stockPrices(nDays, nStocks) As Double
Redim stockRet(nDays-1, nStocks) As Double
End Sub
21. DECLARING ARRAYS
After the size of the array is know, re-declare it
inside a procedure
Dim stockPrices() As Double, stockRet() As Double
Dim nDays As Integer, nStocks As Integer
Public Sub DescriptiveStats()
nDays = ComboBox1.Value
Num Rows
Num Cols
nStocks = ComboBox2.Value
Redim stockPrices(nDays, nStocks) As Double
Redim stockRet(nDays-1, nStocks) As Double
End Sub
22. DECLARING ARRAYS
After the size of the array is know, re-declare it
inside a procedure
General format for
re-declaration
ReDim arrayName(nRows, nCols) As DataType
nRows:= the number of rows in the array
nCols:= the number of columns in the array
23. SUMMARY OF DECLARING 2D ARRAYS
If the size of the array is known and constant
Declare the constants for nRows and nCols as global
Declare the arrays (disposable, local or global) using the
constants as the nRows and nCols
Public Const TIMEPERIODS As Integer = 5
Public Const NSTOCKS As Integer = 2
Dim stockPrices(TIMEPERIODS, NSTOCKS) As Double
Dim stockRet(TIMEPERIODS-1, NSTOCKS) As Double
Remember to use Public instead of Dim if they are global.
24. SUMMARY OF DECLARING 2D ARRAYS
If the size of the array is unknown or variable
Declare the arrays empty (disposable, local or global)
25. SUMMARY OF DECLARING 2D ARRAYS
If the size of the array is unknown or variable
Declare the arrays empty (disposable, local or global)
Declare variables for nRows and nCols (disposable, local or
global) and assign them values
26. SUMMARY OF DECLARING 2D ARRAYS
If the size of the array is unknown or variable
Declare the arrays empty (disposable, local or global)
Declare variables for nRows and nCols (disposable, local or
global) and assign them values
Redim the arrays using the variables
27. 2D ARRAYS
VBA counts elements of 1D and 2D arrays from 0
For example,
This array is named stockPrices
It has 5 rows and 2 columns: stockPrices(5, 2)
Count
0
1
2
3
4
0
1
stockPrices(0, 0)
28. 2D ARRAYS
VBA counts elements of 1D and 2D arrays from 0
For example,
This array is named stockPrices
It has 5 rows and 2 columns: stockPrices(5, 2)
Count
0
1
2
3
4
0
1
stockPrices(4, 1)
29. 2D ARRAYS
To force VBA to count from 1
Use Option Base 1 at the top of each module
Count
1
2
3
4
5
1
2
stockPrices(1, 1)
30. 2D ARRAYS
To force VBA to count from 1
Use Option Base 1 at the top of each module
Count
1
2
3
4
5
1
2
stockPrices(5, 2)
31. EXERCISE 1. DECLARING 2D ARRAYS
Use Lecture 6 Student Example.xlsm, Module1
Declare an array to store the stock returns shown:
The array can be declared as disposable, local or global.
Assume you know in advance that:
nRows is the constant TIMEPERIODS
nCols is the constant NSTOCKS
32. EXERCISE 2. DECLARING 2D ARRAYS
Use Lecture 6 Student Example.xlsm, Module1
Declare an array to store the stock returns shown:
The array can be declared as disposable, local or global.
Assume that nRows and nCols are NOT known in advance:
nRows is the variable nTimePeriods. Assign a value in the procedure
nCols is the variable nStocks. Assign a value in the procedure
34. FILLING 1D ARRAYS FROM A NAMED RANGE
Range(“StockPrices”).Cells(1, 1)
Range(“StockPrices”).Cells(2, 1)
Range(“StockPrices”).Cells(3, 1)
Range(“StockPrices”).Cells(10,1)
35. FILLING 1D ARRAYS FROM A NAMED RANGE
For i = 1 to TIMPERIODS
stockPrices(i) = Range(“StockPrices”).Cells(i,1)
Next i
36. FILLING 2D ARRAYS FROM A NAMED RANGE
Range(“StockPrices”).Cells(1, 1)
Range(“StockPrices”).Cells(2, 1)
Range(“StockPrices”).Cells(3, 1)
Range(“StockPrices”).Cells(10,1)
37. FILLING 2D ARRAYS FROM A NAMED RANGE
Range(“StockPrices”).Cells(1, 2)
Range(“StockPrices”).Cells(2, 2)
Range(“StockPrices”).Cells(3, 2)
Range(“StockPrices”).Cells(10,2)
38. FILLING 2D ARRAYS FROM A NAMED RANGE
For k = 1 to NSTOCKS
For i = 1 to TIMPERIODS
stockPrices(i,k) = Range(“StockPrices”).Cells(i,k)
Next i
Next k
40. OUTPUTTING 1D ARRAY TO A NAMED RANGE
Range(“StockReturns”).Cells(1, 1)
Range(“StockReturns”).Cells(2, 1)
Range(“StockReturns”).Cells(3, 1)
Range(“StockReturns”).Cells(9,1)
41. OUTPUTTING 1D ARRAY TO A NAMED RANGE
For i = 1 to TIMPERIODS - 1
Range(“StockReturns”).Cells(i,1) = stockReturns(i)
Next i
42. OUTPUTTING 1D ARRAY TO A NAMED RANGE
Range(“StockReturns”).Cells(1, 1)
Range(“StockReturns”).Cells(2, 1)
Range(“StockReturns”).Cells(3, 1)
Range(“StockReturns”).Cells(9,1)
43. OUTPUTTING 1D ARRAY TO A NAMED RANGE
Range(“StockReturns”).Cells(1, 2)
Range(“StockReturns”).Cells(2, 2)
Range(“StockReturns”).Cells(3, 2)
Range(“StockReturns”).Cells(9,2)
45. EXERCISE 3. FILL AND OUTPUT
Use Lecture 6 Student Example.xlsm, Module1
Read in the prices from the range “PricesPence” to
an array with the same name
Convert the pence to pounds and assign the values
to an array called PricesPounds()
Output the values of PricesPounds() to the named
range “PricesPounds”
REMEMBER: Generalise your code!
Ranges have been named.
47. THINK ABOUT THE PROCESS
Taking a road trip
Just get in the car and drive, OR
Make a plan and print directions (or set the sat nav)?
When you write a program
Go straight to VBA and try typing some code? NO!
Make a plan first!
Why is this so difficult?
The plan is usually written for you (assignments, labs,
etc…). You just have to follow the steps already given.
When you write a program/software, there are no steps
given – you have to write them.
48. TASK ANALYSIS
(JOHNSON, 2010)
(A few) questions you should answer first:
What will the user want to achieve with this software?
Portfolio optimisation, simulation, risk analysis, etc…?
What tasks are needed in order to get the end result?
Select stocks, assign weights, choose capital to invest, etc…?
What are the steps for each task?
Will they select stocks from a list, will they enter weights or
investments, navigate with command buttons, etc…?
What tools are used to complete the steps for each task?
Includes userform controls as well as programing tools?
Where does the information for each task come from?
Are stock prices already in the spread sheet or downloaded from
the internet, what information is entered by the user, etc…?
49. TASK ANALYSIS (CONT’D) ( J O H N S O N , 2 0 1 0 )
What is the result/output of each task?
How will the result of each task be used?
Count how many stocks are chosen, output chosen stocks on a
separate sheet, etc…?
What problems may users have in doing these tasks?
Will they know what order to do things & understand instructions?
What are common user mistakes?
Entering decimal numbers instead of integers, trying to move
forward without completing all steps, etc…?
How will you deal with these errors when they occur?
What terminology will the user be familiar with?
Can they understand your lingo?
50. BREAKING DOWN A COMPLICATED TASK
You cannot write a complicated program without
planning.
Break everything down into simple steps
You will never write a ‘perfect’ program without
first making mistakes
Trial and error – that’s part of programming
Just because it doesn’t work the first time, don’t give up
If something isn’t ‘working’ it’s probably an error on your
part, not VBA.
The hardest part of creating a program is writing
out the process. Usually, the actual code is fairly
straight forward.
52. EXAMPLE. BREAKING DOWN TASKS
Task 1: Select a time period
Task 2: Enter investments
Task 3: Click ‘Estimate
return’ button
Task 4: Review investment
on next userform.
Task 5: Click ‘Change
investment’ button
Task 6: Click ‘Quit’ button
53. EXAMPLE. TASK 1 – SELECT TIME
User selects time from combobox
Fill combobox BEFORE user sees
Userform initialise: add items
When the user selects a time:
Name the range of prices
corresponding to that time
Use that range to calculate stats
I’ll need the means later, so assign those to
an array first
Then use the array of means to assign
values to the labels.
Display those stats on the userform
Format the display to be %
Enable the textboxes
54. EXAMPLE. TASK 2 - INVESTMENTS
The user enters investments in
the textboxes.
55. EXAMPLE. TASK 3 – CLICK BUTTON
Check user entries:
Check for letters, blanks & negative
numbers
I’ll need to use investments in a
calculation so assign them to an
array.
Calculate total investment
Add together all investments
Calculate the final value
Need means and investments
Calculate the return
(final value/total investment)–1
Show the next userform
56. EXAMPLE. TASK 4 – REVIEW RESULTS
Output should display BEFORE the
user sees the form (initialise sub)
Display total investment (£)
Assign the label the value of the total
investment variable
Format label as £0.00
Display portfolio return
Assign the label the value of the portfolio
return variable
Format label as 0.000%
Display final investment value (£)
Assign the label the value of the final
investment variable
Format label as £0.00
57. EXAMPLE. TASK 5 – CHANGE INVESTMENT
User wants to change their
investments:
Unload the investment summary
userform
58. EXAMPLE. TASK 6 – QUIT
User wants to quit the program:
Ask user if they are sure they want to
quit as this will close the program
If yes, then unload both userforms
If no, then do nothing
59. LEARNING OUTCOMES
You are ready to move on when…
LO26: You can declare a 2D array with the correct number
of elements, in the correct location within your code and
with the correct data type. In addition, you understand
when to declare an array empty and how to use the ReDim
statement.
LO27: You can assign values to a 2D array as well as assign
the values of a 2D array to cells, a range or userform
controls.
LO28: You can list the questions we should ask when
developing a program. You can describe what is meant by
a ‘task’ as part of a program. Lastly, you can identify the
tasks of a program in order to construct an algorithm.