[SOLVED] UCS538 Assignment 3

20.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

 

1. Create two vectors as A = (23, 34 ,56,3 ,0, 0 ) and B=(“c”, “b”, “a”)
2. Generate the sequences as 1:n, m:n and by a difference of 0.6.
3. Divide the range 1 to 50 in 10 equal intervals.
4. Print the pattern 3, 4, 5 five times.
5. Generate 8 random numbers.
6. Create a vector as C=(2, 3, 4, 5, 6, 7) and add it to vector A in question 1.
7. Add D= (6, 7) to A.
8. Write a statement to find the square root of each number in C.
9. Find the length of A, B, C above.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.