the CRM system
March 29, 2019
Project Assignment problem
March 29, 2019

Understanding Programming

1CI1CIS 36A :: LAB 05 – Arrays and Strings

Student Name:

Instructions:

  1. Make a copy of assignment template. Go to File => Make a copy (or download as a Word file.)
  2. Complete definitions and attach Snipping Photos where appropriate
  3. Place your name in the Title of each Assignment
    1. For Example: CIS 36A- Assignment 1 – Basic Concepts –  Irfan O.
  4. Use the book or do online research to find answers. 
  5. Write your answers using a different font color. Find your own unique color. 
  6. Write answers in your own words. DO NOT COPY & PASTE from anywhere.
  7. Submission: When done, go to File -> Download as -> Microsoft Word and then upload the file to Canvas. 

Task 1: Definitions & Concepts

Instructions: Briefly answer the questions below.

  1. Keywords: To you best knowledge, describe below words: 
    1. Array =>  
    2. .length=> 
    3. .length()  =>
  2. Show two ways to declare a one-dimensional array of 12 doubles.
    =>
  3. Show how to initialize a one-dimensional array of integers to the values 1 through 5.  
    =>  
  4. List two String operations and explain what they do.  
    => 
  5. Explain the ? operator and give an example.   

Task 2: Understanding Programming

Instructions: Answer each question below. Try to understand and explain the code. Do not put an IDE code screenshot. 

Exercise 6:

Exercise 9:

Exercise 18:

Exercise 24:

Task 3: Programming Exercises

Instructions: Use any IDE to write and execute below exercises from the book chapter 3. Attach Snipping photos of your source code and execution of the code in the console. Make sure to create separate files for each exercise.

Chapter Examples: Follow the lectures to do the programs with the instructor. Share the screenshots of at least two from each day. .

  1. Day 1: 
  2. Day 2: 
  3. Day 3:

TRY THIS

  1. TRY THIS 5-1:
  2. TRY THIS 5-2:

Chapter Exercises: Do the following chapter exercises.

  • Exercise 3: Average of 10 numbers
  • Exercise 7: SimpleCipher
  • Exercise 13: MinMax
  • Exercise 16: Filling arrays 
  • Exercise 22: Triangular Array
  • Exercise 23: Reversing an Array

Extra Credit: 

  • Exercise 25, 26, 27: S 31CIS 36A :: LAB 05 – Arrays and Strings
 

"Is this question part of your assignment? We Can Help!"

WhatsApp chat