Community Profile

photo

Jonathan


544 total contributions since 2011

Contact

Jonathan's Badges

  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • Magic Numbers Master
  • Leader
  • Creator
  • First Review
  • First Answer
  • Tiles Challenge Master
  • CUP Challenge Master
  • ASEE Challenge Master
  • Cody Challenge Master
  • Speed Demon
  • Commenter
  • Promoter

View all

Contributions in
View by

Solved


Extracting data: Heart rate (pulse)
The resting heart rate for an average adult is 60 - 100 beats per minute. Assign row array heartExtracted with all values in row...

circa 3 anni ago

Solved


Narcissistic problem
How many likes has this problem?

oltre 3 anni ago

Solved


Constructing column arrays
* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10

oltre 3 anni ago

Solved


Adding an element: Ticker tape
* Add stockPrice to the beginning of row array tickerTape

oltre 3 anni ago

Solved


Function call in expression: Reduced pricing.
Write a single statement that assigns cartTotal with the discounted cost of items 1 and 2. Function DiscountedPrice will return ...

oltre 3 anni ago

Solved


Column arrays: Transpose a row array
* Construct a row array countValues with elements 1 to endValue, using the colon operator. * Transpose countValues to result in...

oltre 3 anni ago

Solved


Variable sized row arrays
* Reverse the contents of row array mileMarkers

oltre 3 anni ago

Solved


Array resizing: Removing elements
* Remove elements 2, 4, and 6 from row array pendingTasks

oltre 3 anni ago

Solved


Logic array: Identifying qualifying times
Create a logic array qualifyingIndex with true for any location where the runner is male with a running time less than 8.2. Row ...

oltre 3 anni ago

Solved


Linear-spaced points array
* Construct a row array plotPoints with 5 values that are spaced linearly from lowValue to highValue. Ex: If lowValue is 1 and ...

oltre 3 anni ago

Solved


Integer indexing array: Reverse subsets
Construct an indexing array copySubset so that the statement reversedOrder = origOrder(copySubset); results in a row array begin...

oltre 3 anni ago

Solved


Concatenating arrays
* Assign studentIDs with concatenated row arrays groupA and groupB

oltre 3 anni ago

Solved


Indexing the array: Moving values
Assume sampleReadings always contains three elements. * Shift the array contents one position to the left. * The rightmost ...

oltre 3 anni ago

Solved


Element-wise division
* Assign row array weightKilo with the corresponding weight in kilograms. Use the following conversion: kg = lb / 2.2

oltre 3 anni ago

Solved


Relational operators and row arrays: Overweight baggage
Create a logical indexing array overweightBaggage with true in each location where the corresponding baggageWeight is greater th...

oltre 3 anni ago

Solved


Tree Height
Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...

oltre 3 anni ago

Solved


Function definition: Volume of a pyramid
Define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight. The function returns pyramidVolum...

oltre 3 anni ago

Solved


Double colon operator: Counting down
* Construct a row array countValues from startValue to endValue, elements decremented by -2 Ex: If startValue is 10 and end...

oltre 3 anni ago

Solved


Multi-line comments
* Fix the syntax errors.

oltre 3 anni ago

Solved


Integer indexing array: Shift left
Write a *single* statement that shifts row array attendanceValues one position to the left. The rightmost element in attendanceV...

oltre 3 anni ago

Solved


Double colon operator: Increment by x
* Construct a row array countValues from 0 to 25, elements incremented by incrementValue. Ex: If incrementValue is 5, countVa...

oltre 3 anni ago

Solved


Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...

oltre 3 anni ago

Solved


Indexing an array element
* Assign currentStudent with the second element of array testScores. _Reminder: Array indexing starts with 1._

oltre 3 anni ago

Solved


Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...

oltre 3 anni ago

Solved


Comments
* Fix the syntax errors.

oltre 3 anni ago

Solved


Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.

oltre 3 anni ago

Solved


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

oltre 3 anni ago

Solved


Arithmetic array operations
* Add x to each element of array temperatureReadings.

oltre 3 anni ago

Solved


Declaring a character
* Assign middleInitial with the character T.

oltre 3 anni ago

Solved


Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

oltre 3 anni ago

Load more