jagomart
digital resources
picture1_Python For Loop Practice Problems Pdf 189071 | Java 4


 181x       Filetype PDF       File size 1.22 MB       Source: cs.williams.edu


File: Python For Loop Practice Problems Pdf 189071 | Java 4
cs134 java oop review announcements logistics lab 10 selection sort in java due today tomorrow 10 pm final exam reminder fri dec 16 9 30am in tpl 203 reduced distractions ...

icon picture PDF Filetype PDF | Posted on 03 Feb 2023 | 2 years ago
Partial capture of text on file.
        CS134:  
     Java & OOP Review
                     Announcements & Logistics
      •   Lab 10 Selection Sort in Java: due today/tomorrow @ 10 pm
      •   Final exam reminder:  Fri Dec 16 @ 9:30am in TPL 203 
          •    Reduced distractions/extra time:  TPL 205 
          •    Cumulative, more weight on post-midterm topics
          •    Will discuss more about this in Friday's wrap up lecture
          •    Practice problems for final available on Glow
      • Review session/office hours next week:  check calendar! 
          • Review session: Wed Dec 14 7:30pm-9:30pm in TPL 203 
      • Course evals on Friday:  bring a laptop to class if possible
                          Last Time
   • Discussed loops and conditionals in Java
   • Python for loops are most similar to for each loops in Java
   • A simple Java for loop explicitly requires starting condition, stopping 
     condition, and steps in the header: 
      
     for i in range(10):          for (int i = 0; i < 10; i++) {    
      
         print(i)                     System.out.println(i);  
      
         ...                          ... 
                                  } 
                                  for (int i : myArray) { 
     for el in seq:                   System.out.println(i);  
         print(el)  
         ...                          ... 
                                  }             for each loop in Java
       Python vs Java:  Check-in after Lab 10
    •  Curly braces, semicolons:  what value do they add?
          • Make the code more maintainable and platform independent!
          • White spaces, tabs, and line breaks are not stored consistently across 
             computer architectures and operating systems
          • Converting a file from one system to another (say Windows to Mac) 
             can change the white space
          • This would break a Python script;  Java program might become 
             unreadable but will still run!
    •  Specifying data types at all times:  how is it useful?
          • In larger coding projects, not knowing the type of variables can make 
             code harder to follow
          • This is why Python docstrings are so important!
The words contained in this file might help you see if this file matches what you are looking for:

...Cs java oop review announcements logistics lab selection sort in due today tomorrow pm final exam reminder fri dec am tpl reduced distractions extra time cumulative more weight on post midterm topics will discuss about this friday s wrap up lecture practice problems for nal available glow session ofce hours next week check calendar wed course evals bring a laptop to class if possible last discussed loops and conditionals python are most similar each simple loop explicitly requires starting condition stopping steps the header i range int print system out println myarray el seq vs after curly braces semicolons what value do they add make code maintainable platform independent white spaces tabs line breaks not stored consistently across computer architectures operating systems converting le from one another say windows mac can change space would break script program might become unreadable but still run specifying data types at all times how is it useful larger coding projects knowing typ...

no reviews yet
Please Login to review.