Winter 2023 Programming Course Announcements and Reminders

Slide Note
Embed
Share

Dive into the Winter 2023 programming course with insights on missed quizzes, resubmission opportunities, upcoming assignments, nested loops syntax, random methods, and the significance of defining methods in programming tasks.


Uploaded on Oct 04, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. CSE 121 Elba Garza Winter 2023 Music: Around The World - Daft Punk

  2. Announcements, Reminders So much was done/due yesterday! Missed Quiz 0? No problem: Retakes! (More info soon.) Missed submitting C1? No problem: Resubs! Resubmission form for R1 releasing tomorrow; due January 31st by 11:59 PM Eligible assignments: C0, P0 Programming Assignment 1 out soon, due February 1st by 11:59 PM Lesson 6 - Winter 2023 2

  3. Last Time Nested for loops Syntax & conventions: (i, j, k) Applications Random Methods nextInt(): returns a random int value nextInt(int max): returns random int value [0, max) i.e. between 0 and max-1 nextDouble(): returns any random double value [0, 1.0) i.e. between 0 and 0.999 Specifying ranges of values: nextInt(max - min + 1) + min Lesson 6 - Winter 2023 3

  4. Plan for Today Methods Allow us to define our own commands allow us to compartmentalize our logic and thus our code! We call a method every time we wish to use it. System.out.println() filburt.up() myString.length() Class Constants Values that cannot be changed i.e. constant! Declared at the class level, outside of main Lesson 6 - Winter 2023 4

Related