Typing Speed Java Program - Calculate WPM #60

Поділитися
Вставка
  • Опубліковано 22 лип 2020
  • $1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 bit.ly/3HX970h
    You can calculate typing speed with the words per minute (wpm) formula. In this java program, we'll create a countdown timer and random word generator, get user input and give back the typing speed!
    I love making little java programs like this for you all :) This wpm java program was especially fun to make. I am quite a typist myself.
    What's your wpm?
    I hope you enjoyed this typing speed java program!
    Full Java Tutorial For Beginners Playlist: • Full Java Course by Al...
    Free Tips: bit.ly/3U6HXcb
    Disclosure: Springboard link provided is linked to my affiliate account & supports the channel.
    Alex Lee

КОМЕНТАРІ • 68

  • @alexlorenlee
    @alexlorenlee  7 місяців тому +1

    If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h

  • @jimstaxx4978
    @jimstaxx4978 3 роки тому +19

    Mr. Lee, I love your learn-by-doing approach, I still need to learn the finer details at a slower pace, but doing the codes first makes learning how to program easier to grasp and more effective, so keep the lessons coming, and Much Thanks!

  • @michaelsito8537
    @michaelsito8537 3 роки тому +18

    Thanks a lot for these tutorials mate, I’m really gaining a lot🙌🏿

  • @krishankumarpandey3254
    @krishankumarpandey3254 3 роки тому +2

    Thanks man! I literally learn coding by watching your videos during quarantine 👍👍

  • @MrHydrated
    @MrHydrated 3 роки тому +31

    Alex Lee: *speed typing a program*
    Me an intellectual: *Building a Program to Build a Program*

    • @merowareinstance
      @merowareinstance 3 роки тому +2

      Mr. Hydrated it would be fun to build a program that just builds this program 🙃

  • @damianlemina9210
    @damianlemina9210 3 роки тому +1

    Thanks, Alex! A month and half ago I started learning Java from 0 knowledge about programming or so and lately I got so frustrated I almost quit, yesterday I've decided to pickup what I put on watch later, started watching your videos and learnt some things that courses didn't explain.
    Most people do full theory but I really needed to see the coding minute per minute to check if I'm doing something wrong, you really helped me with that.

  • @fuzedcable5612
    @fuzedcable5612 3 роки тому +3

    Couldn’t miss a vid by my boi alex

  • @ferfykins
    @ferfykins 3 роки тому +1

    Love this channel ^^. Excellent video, thanks Alex.

  • @andrew_.3226
    @andrew_.3226 3 роки тому

    wow this was really helpful! thanks for never failing to help me

  • @demariomcleod5163
    @demariomcleod5163 3 роки тому +1

    thank you very much. i followed along with this and i learned a lot. now i understand more about writing and structuring my code better

  • @EStoryStrikes
    @EStoryStrikes Рік тому +1

    amazing! I learn a lot. Excepted more from you

  • @Evilshrimp02
    @Evilshrimp02 3 роки тому +2

    Alex your a boss man keep it up. You doing very good at teaching people java. Thank you for the exciting videos. It helps a lot.

  • @anirvinvaddiyar7671
    @anirvinvaddiyar7671 3 роки тому +1

    I love your videos. Could you do a video explaining java threads?

  • @seemabansal5057
    @seemabansal5057 2 роки тому

    Bro , your teaching skills 🔥🔥

  • @marciskalejs4130
    @marciskalejs4130 3 роки тому

    thank you Alex!

  • @juve788
    @juve788 3 роки тому +2

    Nice! Great Video! Can you do another GUI tutorial? Those ones were the BEST

  • @AyshaBlogsStuff
    @AyshaBlogsStuff 3 роки тому

    Thank you Alex!!!!

  • @Cris27779
    @Cris27779 3 роки тому

    Man this was fun!!

  • @minhtran7096
    @minhtran7096 3 роки тому +4

    The bound of the rand.nextInt(bound) is exclusive, that means rand.nextInt(9) will generate random int from 0-8. And since the String array has 10 elements, indexing from 0 to 9, the last word in that String will never be printed.

    • @DrSaav-my5ym
      @DrSaav-my5ym 2 роки тому

      yea.......just put in the size of the array into the nextInt argument, simple, or you could just do arr.length

  • @krishanuchakraborty3500
    @krishanuchakraborty3500 3 роки тому +1

    This is something new

  • @IceMcFall
    @IceMcFall 3 роки тому

    I really like your tutorials. Can you talk about api’s in Java? Being able to write code once, and never write it again?

  • @iamali9293
    @iamali9293 3 роки тому

    you could calculate the entered words with space which seprated them instead divisioned the all characters on 5

  • @vaderen5283
    @vaderen5283 3 роки тому +1

    Which keyboard do you use. Please Let Me Know

  • @johncarlodiaz3829
    @johncarlodiaz3829 3 роки тому

    evt.consume() is perfect for this program.

  • @reewajadhikari6799
    @reewajadhikari6799 3 роки тому +5

    Notification Squad🔔🔔🔔

  • @hibaiqbal2748
    @hibaiqbal2748 3 роки тому

    Alex i love your videos, but can you please make a playlist using javaFX tutorials that be an amazing series :)

  • @trialdy_khs
    @trialdy_khs 3 роки тому

    Mr. Lee Thank you so much to teach me how to code using java, this helps me so much,
    would you mind creating content about, how can we create a log file by using java?, I mean log file that contains the record that happens when we running the script
    Thank you once again, Mr. Lee

  • @kanishkasharma2285
    @kanishkasharma2285 3 роки тому +1

    Awesome

  • @myworldisenogh
    @myworldisenogh 3 роки тому

    Fantastic

  • @mrbonono2951
    @mrbonono2951 3 роки тому

    I'm unaware of if you have made a lambada video, if you have please link it or something, but if you haven't I'd love to learn it.

  • @mormsophen3238
    @mormsophen3238 3 роки тому

    Wow, it is more simple than i think. Dang it, i need to do more research.

  • @vimalakshay9145
    @vimalakshay9145 3 роки тому

    Alex plzz make a video on how to make a website frontend and backend both

  • @maheshk6516
    @maheshk6516 3 роки тому

    Which is the best softwares to use for video editing and audio an images like thumbnails for freee

  • @vincentfernandez9994
    @vincentfernandez9994 3 роки тому

    if(Type == Story1.toString()) {
    System.out.print("Congrats");
    System.out.println(elapseTime);
    }
    else {
    System.out.println("You didnt complete the words");
    TimeUnit.SECONDS.sleep(2);
    System.out.println("Please try Again!");

    }
    I want to make the User Type the same as the String[] array
    if they didn't type the value on the array it gives an Error or Message ("You didn't type the words");
    how do you make it ?
    and btw how do you make an limit for this?

  • @sasuna3085
    @sasuna3085 3 роки тому +1

    Odd question but wouldn't the code fail if I were to run this just before midnight and be done typing after midnight? What would be a way to get around this?

    • @jellohunter7981
      @jellohunter7981 3 роки тому +1

      Two ways: Number one store the dates and see if the day remains the same, or two make a special edge case testing if it’s midnight

  • @spongewent1479
    @spongewent1479 3 роки тому

    1:00 i use a for loop for the "3, 2, 1" but it's okay (i think)

  • @renecabuhan1675
    @renecabuhan1675 3 роки тому

    Sir alex make android studio tutorials please.

  • @themodestai9603
    @themodestai9603 3 роки тому

    Cool

  • @NiteshPant
    @NiteshPant 3 роки тому +2

    The user can input the letter 'a' and space 10 times, wpm failure. How to solve that?

    • @ariton2990
      @ariton2990 3 роки тому

      I think the randomized words should get stored in single String and when the user enters the words and presses enter, if the input he typed does not equal the String containing random words, it should say wrong input and either close the program or reset the timer and let him type it again.

    • @NiteshPant
      @NiteshPant 3 роки тому

      @@ariton2990 well, that will generate an error in the calculation of wpm.

    • @ariton2990
      @ariton2990 3 роки тому

      @@NiteshPant if it does an error, it means you have done something wrong.

    • @NiteshPant
      @NiteshPant 3 роки тому

      @@ariton2990 what if you write everything correctly except last word, what will be the wpm score?

  • @jharding32
    @jharding32 3 роки тому

    If words is a constant then shouldn't it technically be WORDS ?

  • @thenameistyrone6879
    @thenameistyrone6879 3 роки тому

    can you please make a video about nodes in java? my professor kinda sucks lol

  • @shauryagaur1262
    @shauryagaur1262 3 роки тому

    Yay I am came very early

  • @AbdulMunim-kx6np
    @AbdulMunim-kx6np 3 роки тому

    Hi
    Can you please make android studio tutorials?

  • @_foodie_foodie
    @_foodie_foodie 3 роки тому

    Can you please start some tutorials on Junit. ???????????????????????????????????

  • @RizaHariati
    @RizaHariati 3 роки тому +1

    You should rate your programs based on difficulty. I'm confused of which one I should follow first hahaha

    • @raynei
      @raynei 3 роки тому +1

      I think that you should just do whichever one you like, since all of them are basic enough for beginners to understand imo

  • @juanpablocuellar8506
    @juanpablocuellar8506 3 роки тому +1

    Omg I was early

  • @migo369
    @migo369 3 роки тому

    I would like to see the Fart Generator next!

  • @rahulwadikar1771
    @rahulwadikar1771 3 роки тому

    How do you type so fast bro ....
    I wish i could copy your muscle memory and paste in my mind 🤣

  • @armand.sarkani
    @armand.sarkani 3 роки тому

    But like, why would you do this in Java?

  • @brunamanuela3267
    @brunamanuela3267 Рік тому

    I have been watching your video and help me a lot. But I’m wondering if u can help me with some project or anyone here in comments and I will pay for it .

  • @Blaze071234
    @Blaze071234 3 роки тому +10

    the 1 dislike is from the python programmer who doesn't;t understand semicolons

  • @niccster1061
    @niccster1061 3 роки тому

    Im more interested in whatever FartGenerator is

  • @legendarytwister3656
    @legendarytwister3656 3 роки тому

    Fart generator? 😳

  • @parwisingh1171
    @parwisingh1171 3 роки тому

    You are ambitious and talented, i expected you must b making something big. But ur first project is.
    .
    .
    .
    .
    .
    .
    .
    .
    .
    Fart generator
    Lol wtf

  • @crazy_mind-ox8if
    @crazy_mind-ox8if 3 роки тому

    oh god he spelled cantaloupe sooo wrong... "cantelope" no 10 year old me. Thats not right *tear*

  • @tanishajaiswal2410
    @tanishajaiswal2410 3 роки тому +1

    If you lived where I live I would marry you and learn programming from you and live happily ever after 😍❤️

  • @lucasf.v.n.4197
    @lucasf.v.n.4197 3 роки тому

    and I thought u had a fast typing but ur score was low ; )

  • @rafa_337
    @rafa_337 2 роки тому

    I upgrade the code with this parameters:
    if(wmp < 100){
    System.out.println("Pretty God");
    } else if(wmp < 50){
    System.out.println("Good");
    } else if(wmp < 30){
    System.out.println("Better");
    } else if(wmp < 20){
    System.out.println("Bad");
    } else if(wmp < 30){
    System.out.println("Worst");
    }

    • @rafa_337
      @rafa_337 2 роки тому

      I forgot that in order for the code to work well and not have errors, it has to look like this:
      if(wmp < 100){
      System.out.println("Pretty God");
      } else if(wmp < 50){
      System.out.println("Good");
      } else if(wmp < 30){
      System.out.println("Better");
      } else if(wmp < 20){
      System.out.println("Bad");
      } else {
      System.out.println("Worst");
      }