ITM448_WEEK4

.docx

School

California State University, Long Beach *

*We aren’t endorsed by this school

Course

4278

Subject

Computer Science

Date

Jan 9, 2024

Type

docx

Pages

6

Uploaded by dattnguyenn8196

CHRISTOPHER CONSUL 09/15/2022 ITM 448 18:00-21:00 ITM448 Homework – Week 4 Edit your submission in this word document, attaching the screenshots of the codes used for each question. Include narrative descriptions, outputs screenshot, or short answers when requested. Task 1 Please generate a vector of the following values: 12,32,33,44 and assign this vector to a variable x. Then output the first element and the last element from this vector
Task 2 Following the previous question, please square each number of the vector, and name the new vector “y”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help