JCC CSC 1590 Computing Fundamentals I

Fun For Everyone

pg 553 – 566




Read and write a 3:2:1 response by May 30th. Thank you.

Create a free edublog to get your own comment avatar (and more!)

7 Responses to “pg 553 – 566”

  1.   Kull-The Conquerer Says:

    1. There is a different kind of for loop called a foreach loop.
    2. The foreachloop process the elements of an object, which is a collection of elements.
    3. A method can have at most one variable length formal parameter.

    1. Do we need to learn about foreach loops for the final.
    2.Are we going to be doing a lot of these in other programs.

    1.This is hard an confusing and hope we don’t have to do much of these.

  2.   nezumigraberobber Says:

    1) Arrays can also be used with objects, not only with int and double
    2) an array with strings is declared as (only an example)
    String[] nameList = new String[5];
    3) you can still use primitive data such as int and double in your code with String arrays

    1) could we please not do a lab for this with only a week left?
    2) when is the test? (sorry for the not related questions)

    1) hopefully we don’t have this on a new lab but if we do it should be short.

  3.   Captain Charisma Says:

    1) You can use a for loop to output the String arrays.
    2) You can use String methods to work with the objects in a String array. Such as .equals and .substring.
    3) To declare a variable length formal parameter you would type dataType … identifier.
    (For Example) double … numList.

    1)Will we be using Variable Length Parameter Lists in the future?
    2)Will our final project involve any of these topics in it?

    1) This is a harder topic to grasp and hopefully since the year is almost over we will not do much with it.

  4.   Lbboy45 Says:

    1) a one-dimensional array is an array arranged in list form.
    2)the base address is the location of the first array value.
    3)we use for loops to initialize and read values into an array
    1) Is there a way to make an array that keeps expanding until the last value is entered?
    2) What number does the java index always start at?
    1) The use of a for loop would be an efficient way to assign values to each index.

  5.   GOD Says:

    3.) Arrays can be used to compare a list of data values such as numbers.
    2.) A method can have at most one variable length formal parameter.
    1.) Arrays can be used with objects as well and doubles and ints.
    2.) Can arrays be infinite?
    1.) How do the parameters work for one dimensional arrays?
    1. We can use arrays to be able to enter a large amount of data to compare it, sorta like a spread sheet type thing.

  6.   Jordan O. a Says:

    1.) In a call to the method largest, one can specify either any number of actual parameters of the type double or an array of the type double.

    2.) When using a variable length formal parameter list, a method cannot have more than one variable length parameter.

    3.) One is able to use primitive data types; such as doubles and ints in your code with String arrays.

    1.) How does a foreach loop work?

    2.) How does one use an index variable?

    1.) I know were not getting deep into this stuff but I think it could have helped us solve complicated problems.

  7.   Penis Enlargement Pills Says:

    For penis enlargement visit http://www.hqpicture.com

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image