Bill Barnum
Bill Barnum
  • 251
  • 2 304 624
A Wizard Explains Iteration and Recursion (Computer Science)
Embark on a mysterious journey through the realm of Computer Science with our medieval wizard as your guide! In this captivating video, our wise instructor will unveil the mysteries of iteration and recursion that lie at the heart of many coding adventures.
#Iteration #Recursion #ComputerScience
zhlédnutí: 227

Video

2D Arrays (Java Tutorial)
zhlédnutí 109Před 2 měsíci
A complete and easy-to-understand Java tutorial on Two Dimensional Arrays. 0:00 Introduction 0:09 - 2D Arrays 2:21 - Traversing a 2D Array 2:32 - Traversing With a For-Loop 5:35 - Traversing With a For-Each Loop (Enhanced For Loop) 7:49 - Conclusion
Inheritance and Polymorphism (Java Tutorial)
zhlédnutí 1,4KPřed 2 měsíci
A complete and easy-to-understand Java tutorial on Inheritance and Polymorphism. 0:00 Introduction 0:19 Part 1 - Inheriting Methods 4:20 Part 2 - Overriding Methods 7:22 Part 3 - Calling Superclass Methods 11:38 Part 4 - Accessing Private Fields 13:29 Part 5 - Polymorphism 17:44 Part 6 - Constructors in Standalone Methods 22:55 Part 7 - Calling Constructors in a Superclass 26:37 Part 8 - Passin...
AP Computer Science A - Unit 8: 2D Arrays
zhlédnutí 3,4KPřed 3 měsíci
Study guide and exam review for Unit 8: 2D Arrays APCSA curriculum in Java. ap csa unit 8 ➡️ Great AP CSA Exam Review Book: amzn.to/3RGN8ii ⬅️ 🎧🚀 Fun Sci-Fi Audiobook For Educators: amzn.to/3TItymu 🪐🎧 0:00 Introduction 0:15 - 2D Arrays 2:26 - Traversing a 2D Array 2:38 - Traversing With a For-Loop 5:40 - Traversing With a For-Each Loop (Enhanced For Loop) 7:54 - Practice 2D Array FRQ (Temple of...
Temple of Arrays - AP Computer Science A FRQ
zhlédnutí 196Před 3 měsíci
Practice AP CSA style Free Response Question. Nevada Smith and the Temple of Arrays Temple of Arrays PDF: drive.google.com/file/d/1y8BCquEgzVw62htiB_Y_FDko_UnzS3di/view?usp=sharing Temple of Arrays Solution PDF: drive.google.com/file/d/1y9RvA1NsmtM-mkVD5MHb0GqfP38Lptat/view?usp=sharing
Teach Virtual Reality Programming With Alice 3
zhlédnutí 597Před 4 měsíci
Learn about the Alice 3 programming language and create virtual reality programs, stories, and games for a VR headset. Alice 3 can be used in schools, colleges, and universities. The Last Lecture by Randy Pausch (creator of Alice): amzn.to/482ImBX 📖 Chapters: 0:00 Introduction 0:21 Teaching With Alice 3 1:31 VR Hardware 2:29 VR Game 1: Falcon Flight 3:03 VR Game 2: Alice's Quest 4:19 VR Game 3...
Create Task - Plagiarism Policy (AP Computer Science Principles - Updated for 2024)
zhlédnutí 2,1KPřed 4 měsíci
An explanation of the Plagiarism Policy for the AP CSP Create Task. Resource #1 - Citing Resources: czcams.com/video/afiFQR7o8l0/video.html Resource #2 - Parameters and Abstraction: czcams.com/video/s_8t69m7tcw/video.html Resource #3 - Sequencing, Selection, and Iteration: czcams.com/video/IP4FHPDmA90/video.html Resource #4 - Plagiarism Policy: czcams.com/video/Qu50uoBaJKM/video.html Resource #...
Citing Code And Resources For The Create Task (Spring 2024) (AP Computer Science Principles)
zhlédnutí 3,8KPřed 4 měsíci
An explanation and demonstration of how and when to cite code and other resources for the AP CSP Create Task. This demonstration is done using the App Lab Environment (Code.org) but would also work for most other languages. Resource #1 - Citing Resources: czcams.com/video/afiFQR7o8l0/video.html Resource #2 - Parameters and Abstraction: czcams.com/video/s_8t69m7tcw/video.html Resource #3 - Seque...
Create Task - Project & Code Walkthrough (AP Computer Science Principles - Updated for 2024)
zhlédnutí 13KPřed 5 měsíci
AP CSP Create Task Resource #1 - Citing Resources: czcams.com/video/afiFQR7o8l0/video.html Resource #2 - Parameters and Abstraction: czcams.com/video/s_8t69m7tcw/video.html Resource #3 - Sequencing, Selection, and Iteration: czcams.com/video/IP4FHPDmA90/video.html Resource #4 - Plagiarism Policy: czcams.com/video/Qu50uoBaJKM/video.html Resource #5 - Submitting Code: CodePrint: bakerfranke.githu...
Traversing a Java ArrayList (Printing an ArrayList)
zhlédnutí 420Před 5 měsíci
Learn to traverse (or print) an ArrayList in Java using either a for loop or a for-each (enhanced for) loop. Aligned to AP Computer Science A 🔥 Subscribe To Get More Tutorials: bit.ly/36H70sy 🔥 #Java #JavaTutorial #JavaTutorials
AP Computer Science A - Unit 7: ArrayLists
zhlédnutí 7KPřed 5 měsíci
Study guide and exam review for Unit 7: ArrayList APCSA curriculum in Java. ap csa unit 7 ➡️ Great AP CSA Exam Review Book: amzn.to/3RGN8ii ⬅️ 🎧🚀 Fun Sci-Fi Audiobook For Educators: amzn.to/3TItymu 🪐🎧 00:00 Introduction 00:30 Using ArrayLists and Comparison to Arrays 05:30 Traversing an ArrayList 08:54 Search and Remove From an ArrayList 13:55 Converting an Array to an ArrayList 16:09 Conclusio...
Convert an Array to an ArrayList (Java Tutorial)
zhlédnutí 188Před 5 měsíci
Learn to convert a Java Array to an ArrayList.
Search And Remove From ArrayLists (Java Tutorial)
zhlédnutí 181Před 5 měsíci
Learn different algorithms to search Java ArrayLists and remove target values. Aligned to AP Computer Science A Arrays: czcams.com/video/oN_KEbq3U14/video.html Traversing an ArrayList: czcams.com/video/r5VavXQd3pc/video.html Subscribe To Get More Tutorials: bit.ly/36H70sy #Java #ArrayList #ArrayLists
AP Computer Science A - Unit 9: Inheritance
zhlédnutí 13KPřed 5 měsíci
AP Computer Science A - Unit 9: Inheritance
Java Constructor (Part 1) - Standalone Constructors
zhlédnutí 277Před 5 měsíci
Java Constructor (Part 1) - Standalone Constructors
Java Constructor (Part 3) - Passing Data to a Superclass Constructor
zhlédnutí 183Před 5 měsíci
Java Constructor (Part 3) - Passing Data to a Superclass Constructor
Polymorphism (Java Tutorial)
zhlédnutí 359Před 5 měsíci
Polymorphism (Java Tutorial)
Inheritance in Java (Part 4 - Accessing Private Fields in a Superclass)
zhlédnutí 379Před 5 měsíci
Inheritance in Java (Part 4 - Accessing Private Fields in a Superclass)
Inheritance in Java (Part 3 - Calling Methods in a Superclass)
zhlédnutí 256Před 5 měsíci
Inheritance in Java (Part 3 - Calling Methods in a Superclass)
Inheritance in Java (Part 2 - Overriding Methods)
zhlédnutí 220Před 5 měsíci
Inheritance in Java (Part 2 - Overriding Methods)
Inheritance in Java (Part 1 - Inheriting Methods)
zhlédnutí 342Před 5 měsíci
Inheritance in Java (Part 1 - Inheriting Methods)
Java Constructor (Part 2) - Calling Constructors in a Superclass
zhlédnutí 237Před 5 měsíci
Java Constructor (Part 2) - Calling Constructors in a Superclass
Operator Precedence / Order Of Operation (Java Tutorial)
zhlédnutí 1,2KPřed 11 měsíci
Operator Precedence / Order Of Operation (Java Tutorial)
String Class (Java Tutorial)
zhlédnutí 4,5KPřed rokem
String Class (Java Tutorial)
Arrays (Java Tutorial)
zhlédnutí 2,1KPřed rokem
Arrays (Java Tutorial)
Java ArrayList
zhlédnutí 3,3KPřed rokem
Java ArrayList
A Knight's Guide To For Loops (Java Programming)
zhlédnutí 206Před rokem
A Knight's Guide To For Loops (Java Programming)
AP Computer Science A - Unit 10: Recursion
zhlédnutí 10KPřed rokem
AP Computer Science A - Unit 10: Recursion
Head Recursion and Tail Recursion
zhlédnutí 3,2KPřed rokem
Head Recursion and Tail Recursion
Tree Recursion and Binary Recursion (Computer Science)
zhlédnutí 1,6KPřed rokem
Tree Recursion and Binary Recursion (Computer Science)

Komentáře

  • @psiangel8341
    @psiangel8341 Před 4 dny

    This is amazing!

  • @fulins456
    @fulins456 Před 7 dny

    How would I be able to define what can get passed into the creation of objects when creating classes? For example, if I made the lightbulb class, how would I be able to have green inside the parenthesis of an object?

    • @BillBarnum
      @BillBarnum Před 6 dny

      Writing one or more constructors would define what can be passed to newly created objects. I have a few videos on writing constructors later on in the playlist.

  • @user-rl8fk5ds2n
    @user-rl8fk5ds2n Před 13 dny

  • @cubingpro9877
    @cubingpro9877 Před 16 dny

    Taking this in the upcoming school year

    • @BillBarnum
      @BillBarnum Před 15 dny

      That's great! A small word of caution to future AP CSA students. If you look ahead to future units, it can seem overwhelming because your teacher hasn't taught you the fundamentals yet.

  • @fbornemann
    @fbornemann Před 26 dny

    When I share my "app" with the share link and open it on an iPhone the data does not get stored in the table. Why not?

    • @BillBarnum
      @BillBarnum Před 26 dny

      I suspect it was a security/privacy decision to do it that way.

  • @Outlicious
    @Outlicious Před měsícem

    is this predefined or uses a library?

    • @BillBarnum
      @BillBarnum Před měsícem

      No need to import a library.

  • @iamnotsiddhant
    @iamnotsiddhant Před měsícem

    So cool!

  • @ensarthewicked
    @ensarthewicked Před měsícem

    that's fantastic man!

  • @D_kkeks
    @D_kkeks Před měsícem

    Can you please send me the link to the finished game LG

  • @realairlot
    @realairlot Před měsícem

    30:20 wouldn’t this just make it so anything only equal to zero would be heads? What if the random generator generated 0.12 for example? Then the only possibility to make it heads would be 0 no? Making it harder to actually get heads and thus, not making it a 50/50 chance. So instead of that, could I do if(coinFlip < 1), SOP(“Heads”) so it’s actually 50/50? Or am I thinking of this number generator wrong?

  • @rizzfullest
    @rizzfullest Před měsícem

    Quick question: is the factorial recursion method more efficient than using the brute force factorial method?

    • @BillBarnum
      @BillBarnum Před měsícem

      The iterative (loop) approach is typically more efficient. However, the recursive approach is more elegant and easier to understand.

  • @rizzfullest
    @rizzfullest Před 2 měsíci

    on my own

  • @rizzfullest
    @rizzfullest Před 2 měsíci

    so if you divide by zero is it always okay?

  • @altxd2567
    @altxd2567 Před 2 měsíci

    is this course enough to get me through the foundations of the AP Computer Science A?

  • @cr7neymar908
    @cr7neymar908 Před 2 měsíci

    so confusing how length isnt indexed but substring is and how substring is inclusive and exclusive at the same time

  • @zeroossi5967
    @zeroossi5967 Před 2 měsíci

    I like how you simplify things so a kid can understand it

  • @Soulkarann
    @Soulkarann Před 2 měsíci

    How to do fix the yellow warming in line 4

  • @enokadilhani1166
    @enokadilhani1166 Před 2 měsíci

    loved the video

  • @nahomberhanu332
    @nahomberhanu332 Před 2 měsíci

    that so helpful but you hasn't mentioned the website or platform they're using to educated us please tell me

    • @BillBarnum
      @BillBarnum Před 2 měsíci

      It's a piece of software called Alice 3. You can find it at www.alice.org

  • @Imagine_Baggins
    @Imagine_Baggins Před 2 měsíci

    Yeah, backend programmers are here to stay. At least for the time being. Jippity has too much trouble with even simple logical problems. It also requires programming knowledge even be able to prompt for a precise result, and the result is oftentimes invalid regardless of the fact.

  • @OhBortherProductions
    @OhBortherProductions Před 2 měsíci

    24:04

  • @ChloeLee-np7tn
    @ChloeLee-np7tn Před 2 měsíci

    For the list portion of my AP CSP task, I zoomed in on my screenshot and you can only see the list (and not a citation before it) for 3B. It has a very similar idea to an example which I had realized after submitting. How do you think this would effect my test?

  • @felixhang1197
    @felixhang1197 Před 2 měsíci

    Im doing the late exam and I have a week left, wish me luck.

  • @MorselOfBread
    @MorselOfBread Před 2 měsíci

    Wow, very simple if you put it that way!!

  • @monalisart
    @monalisart Před 2 měsíci

    Thanks❤

  • @StephanYazvinski
    @StephanYazvinski Před 2 měsíci

    you will be getting tens of thousands of views within the next few years because of the quality of theese videos.

  • @StephanYazvinski
    @StephanYazvinski Před 2 měsíci

    dawg you have legitimately been my savior for literally every unit. i watch ur video once on 1.25x speed and i get 100% on my test. hell yea brother!! keep making stuff like this.

  • @Clipzyy9401
    @Clipzyy9401 Před 2 měsíci

    10 min til the test wish me luck lolololol

  • @Johnweely
    @Johnweely Před 2 měsíci

    1 hours before exam I'm cooked 😢

  • @ngimbel5058
    @ngimbel5058 Před 2 měsíci

    Why does "value" increase in the for loop? I don't see why it doesn't stay printing row 0 column 0 over and over

  • @everythingcoveredff890
    @everythingcoveredff890 Před 2 měsíci

    2 Hours left y’all, can’t wait to start studying!

  • @dilveersinghgill5267
    @dilveersinghgill5267 Před 2 měsíci

    Got the exam in 4 hours 😢

  • @certifiedcrits
    @certifiedcrits Před 2 měsíci

    bill barnum coming in clutch 💯

  • @mr.morisani4382
    @mr.morisani4382 Před 2 měsíci

    Thank you for the video. In your opinion, what would be the point deduction for an Index out of Bounds error in the loop for part (A)'s solution? In this case, everything else about the solution worked just fine. Thanks in advance!

    • @BillBarnum
      @BillBarnum Před 2 měsíci

      My guess would be one point.

  • @sreehanadigopula1904
    @sreehanadigopula1904 Před 2 měsíci

    3 hours left for the test and i still don't know unit 9-10

  • @hamzaepps2497
    @hamzaepps2497 Před 2 měsíci

    Ap test in few hours

  • @up_to_a_million
    @up_to_a_million Před 2 měsíci

    The pace was about right

  • @ervanaz4850
    @ervanaz4850 Před 2 měsíci

    what is the difference between Car car1 = new SelfDrivingCar and SelfDrivingCar self1 = new SelfDrivingCar

  • @certifiedcrits
    @certifiedcrits Před 2 měsíci

    good work

  • @xelzoid
    @xelzoid Před 2 měsíci

    An hour before the exam

  • @bluesealol
    @bluesealol Před 2 měsíci

    Your videos are amazing. I understand everything so much clearer now.

  • @mr.sujithgamingyt507
    @mr.sujithgamingyt507 Před 2 měsíci

    thank you so much man i am struggling apcsa since starting of the semester but after watching your videos i made feel so easy and i have my test tomorrow

  • @lotax-jb3ot
    @lotax-jb3ot Před 2 měsíci

    in 16:18, could you still call controlTemp with super(controlTemp())?

  • @athanhwang8086
    @athanhwang8086 Před 2 měsíci

    started studying 17 hours before my ap exam!! needed this

  • @michaellai872
    @michaellai872 Před 2 měsíci

    2hours before the exam and im still trying to cram the whole course.🤣

  • @ishaanawasthi416
    @ishaanawasthi416 Před 2 měsíci

    Hey Mr. Barnum, wanted to give you my thanks as well. This video somehow addressed every single confusion I had about ArrayLists and explained them perfectly. Two gold star stickers for you haha! Keep it up! :D

    • @BillBarnum
      @BillBarnum Před 2 měsíci

      Glad it helped! Good luck on the test!

  • @gracey2448
    @gracey2448 Před 2 měsíci

    Where does the 0, 1, and 2 come from at the end of the recursion problem?

  • @sweatypineapple4411
    @sweatypineapple4411 Před 2 měsíci

    fire

  • @sweatypineapple4411
    @sweatypineapple4411 Před 2 měsíci

    I really appreciate how clear your voice is, I listen on 1.75x speed and there is no problem in understanding what you are saying.

  • @sweatypineapple4411
    @sweatypineapple4411 Před 2 měsíci

    fire