Introduction to JK flip flop

Поділитися
Вставка
  • Опубліковано 17 лют 2015
  • Digital Electronics: Introduction to JK flip flop.
    Contribute: www.nesoacademy.org/donate
    Website ► www.nesoacademy.org/
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Pinterest ► / nesoacademy

КОМЕНТАРІ • 487

  • @chrism7574
    @chrism7574 7 років тому +152

    Learned more in 20 minutes of these videos than a full month in my CMP ENG course. Life saver.

    • @last_time_I_pooped_was
      @last_time_I_pooped_was Рік тому +18

      Now what are you doing in ur life?

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

      @@last_time_I_pooped_was I'm a working electrical engineer and pursuing my PhD.
      As an added note, I've never mentioned, used, or required knowledge about JK flip-flops since the computer engineering course at the time of the above comment. Everything is based on the D flip-flop.

    • @pav4540
      @pav4540 10 місяців тому

      @@last_time_I_pooped_was i was wondering this too

    • @aadvaitture
      @aadvaitture 6 місяців тому

      how in the world did you not learn about flip flop circuits

    • @yousufzohair4342
      @yousufzohair4342 3 місяці тому +1

      Pretty Dumb I guess

  • @priya09213
    @priya09213 5 років тому +262

    I dont understand .why it is getting dislikes..you are getting a great job sir..with a great teaching

    • @muniaferdoushi2168
      @muniaferdoushi2168 3 роки тому +7

      because he calls latches flipflops

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

      There are teacher of our college who didn't explain

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

      @Prateek Patel okay. I'll watch .

    • @ChesswithPramit
      @ChesswithPramit 2 роки тому +13

      Dislike are from those teachers who were expelled for not teaching well...

    • @SAM-yy3db
      @SAM-yy3db 2 роки тому +8

      UA-cam removed dislike are you happy now ?

  • @gowtham5168
    @gowtham5168 7 років тому +9

    I had digital electronics paper today..al I did ystrdy was watching ur videos.and im nw here typing my gratitude. thank you so much brother...you have brought satisfaction in me.cos I really feel having learned something.

  • @alphasatari
    @alphasatari 5 років тому +766

    After doing a couple of hour of observation and trying different combination of gates for flip-flop I came up with these conclusions.
    Things get really confusing when we moved to the J-K flip flop.
    Let’s start from beginning,
    We’ve two data storing elements i.e.
    1: SR NOR Latch
    2: SR NAND Latch
    They work the same but their truth tables are completely opposite to each other. i.e.
    SR NOR Latch truth table
    S R Q
    0 0 Memory state
    1 0 1
    0 1 0
    1 1 Not used
    SR NAND Latch truth table
    S R Q
    0 0 Not used
    1 0 0
    0 1 1
    1 1 Memory state
    After studying these basic memory elements. We moved to SR latches with “enable”. This enable is input to the two NAND gates along with Set and Reset (as in the circuit diagram shown in video). The output of these two NAND gates is input to the Latch (SR NAND). If we replace “enable” by “Clock” we would have a flip flop.
    Let me ask you a question. Can’t we use any other combination of gates?
    Of course, we can.
    See the possible combinations which will work as an SR flip flop.
    1. AND-NOR
    2. NOR-NOR
    3. OR-NAND
    4. NAND-NAND (Used in video)
    You must be thinking what about the other combinations?
    5. NAND-NOR
    6. OR-NOR
    7. AND-NAND
    8. NOR-NAND
    These combinations (5 to 8) will not work as flip flop. Try making truth table for each of these combinations. After making truth table, You’ll realise that these circuits (5 to 8) are automatically going into “Invalid State” when the clock is Low/High depending upon the circuit configuration. Flip flop must follow one property, if clock goes Low or High, it must have a memory state. See these circuits
    are not storing data we can’t use these combinations.
    The only possible combinations which will work as an SR flip flop are:
    1. AND-NOR
    2. NOR-NOR
    3. OR-NAND
    4. NAND-NAND (Used in video)
    Hope, it cleared your doubt till now.
    But as we move to J-K and T flip flop. We again have some limitations.
    We get J-K flip flop when we feedback Q’ to the top NAND gate and Q to the bottom NAND gate
    Using this type of arrangement of feedback. Only two possible combinations will work i.e.
    1. NOR-NOR
    2. NAND-NAND
    Did you see? We started with 8 combinations and end up having only two useful combinations for J-K and T flip flop.
    If you want to use the remaining combinations for J-K and T flip flop
    1. AND NOR
    2. OR NAND
    Then, these two combinations can also be used if we make some changes in the feedback arrangement.
    Suppose, if we have an AND-NOR SR flip flop we want to make JK flip flop then we have to use this configuration,
    “If Q is input to the top AND gate and Q’ is input to the bottom AND, using this configuration the remaining two (AND-NOR, OR-NAND) will also work.”
    I tried every possible combination and their truth table. Everything in this video is correct and accurate.
    Hope it helped you!

    • @gytisdramblewolfskis8521
      @gytisdramblewolfskis8521 5 років тому +12

      your stuff is kinda wrong in terms how it is tought in my school. Here truth tables are the same with any gates, what changes are the inputs and the scheme
      IE in SR latch with nand if you give top input s and bottom input r while top output is q
      then you will get the opposite of regular truth table however in my university that is considered a nonsensical trigger. You have to give both inputs reversed, so top input is 'not s' bottom is 'not r' ;;;; outputs: top 'q' bottom 'not q'
      though there are other combination where the table would be correct as well IE
      nR->nQ
      nS->Q
      and only difference of sr and jk is the 11 in sr is undefined and in jk is reversed.

    • @ghazikhan2624
      @ghazikhan2624 5 років тому +6

      Wow great..... excellent understanding

    • @shristisingh2417
      @shristisingh2417 4 роки тому +9

      😨

    • @RAHULTMNT100
      @RAHULTMNT100 4 роки тому +6

      thanx saved me a lot of time

    • @ir2001
      @ir2001 4 роки тому +19

      Bhai logic gates ki sale lagi thi kya

  • @shayanshakil8922
    @shayanshakil8922 9 років тому +43

    u r simply amazing! i hope you get all the success u deserve

  • @andrewwatts1997
    @andrewwatts1997 3 місяці тому +2

    I have tried to understand JK flipflips for 15 years now and FINALLY I understand what they are, An SR latch with an extra feature ! TOGGLE. My goodness, THANK YOU !!

  • @hawak5652
    @hawak5652 9 років тому +16

    thank you so much for putting this much efforts and making it very clear and I'm really hoping that you are going to upload the the sequential circuits designing and analysis and the state digram because I have exam this week and can't find any good resources

  • @mooketsiruangngwako6204
    @mooketsiruangngwako6204 2 роки тому +4

    Man, i just wanna thank you for your videos, they helped me out in Varsity...i graduated last year but, Thank you so much💪💪❤

  • @sneakyboii732
    @sneakyboii732 6 місяців тому +4

    for anyone having trouble remembering this, i suggest you think of it like this: Only when Q = 1, the device can be Reset, and only when Qn = 1, the device can be set. Just as a tip for remembering it more easily 😊

  • @adityababurajan9684
    @adityababurajan9684 9 років тому +8

    explained....the whole concept in a very simple manner,..... thank u sir.....

  • @rileshkhatri1209
    @rileshkhatri1209 2 роки тому +14

    At 2:04 we have the truth table for Sr ff with nor gate but we are using the diagram of Sr with nand gate these two totally gives different outputs

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

      yes same doubt..

    • @rajaramyadav7546
      @rajaramyadav7546 11 місяців тому

      that is sr filp flop with NAND gate and that is correct. you are talking about sr latch with nor gate.

  • @ava43518
    @ava43518 6 років тому +2

    Sir you are a legend. I hope you get very successful in your life!

  • @scott430tube
    @scott430tube 8 років тому +16

    Wow, your presentation was really helpful! Thanks :)

  • @hisetip
    @hisetip 7 років тому +5

    Man, you are awesome. I'm studying for my test and you are the only guy that I understand!
    thank you so much for helping me.
    I'll drop my PayPal contribution on your website tomorrow. keep the great work!

  • @sonusambharwal8828
    @sonusambharwal8828 6 років тому +1

    Sir, I am very thankful to you for this.aapke lectures se Maine bahut ache marks obtained kiye.warna meri reappear thi sir electronic mein.thanks sir......

  • @haru-ic8fe
    @haru-ic8fe 3 роки тому +1

    I wish i found this channel sooner. finals are coming up.... gonna watch a few vids to save my grade loool

  • @tanusreenath2023
    @tanusreenath2023 6 років тому +4

    Thnku so much for making this things so easy for us☺ u were a life saver to me😊

  • @onepiecebarca
    @onepiecebarca 3 роки тому +12

    "you have already
    studied about the SR flip-flop and D flip-flop so what is the need to study the next type of flip-flop that is your third flip-flop"
    YES EXACTLY WHAT I'M THINKING, WHYYYY

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

    First time i understood toggling. You are legendary man🙏

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

    Great Explanation, one in a million!
    Thank you very much!

  • @OswaldChisala
    @OswaldChisala 8 років тому +26

    That was a wonderful presentation! However, I do wanna point out that there are two main variations on the SR Latch (which are used to synthesize the JK Flip Flop)...refer to the previous video as self-evidence. WHY DOES THAT MATTER? ==>> The NOR type preserves the memory state of Q, Q_bar whenever S = R = ‘0’; S = R = ‘1’ results in the forbidden state. The NAND gate simply inverts the relationship, where all ‘0’ is forbidden and all ‘1’ is the memory preservation state. I noticed that the SR schematic is NAND based, whereas its truth table is NOR based...an alleged contradiction, if you will. I’m not a seasoned pro at this, but I think my observation makes sense, and can be used to improve the insight that you provided. Again, great video, (& to the viewers, take the presentation with a grain of salt). :) I’ll keep watching, Neso Academy. Have a great day!

    • @TheGazanews
      @TheGazanews 8 років тому +4

      +Oswald Chisala this is really confusing me how can we use NAND based rs F-F while using NOR based f-f ??

  • @pranavshukla2009
    @pranavshukla2009 4 роки тому +32

    PLEASE MAKE VIDEOS ON DIGITAL LOGIC FAMILIES (TTL, ECL, CMOS etc) and ADC and DAC conversions.
    Your lectures are great.
    Thank you so much for them.

    • @yannrezk5735
      @yannrezk5735 8 місяців тому

      he wouldve done them if you weren't screaming at him. thanks a lot.

  • @Saptarshi.Sarkar
    @Saptarshi.Sarkar 6 років тому +1

    Just discovered these lectures. Now I don't have to worry about my CC V

  • @tharunreddy5201
    @tharunreddy5201 6 років тому +4

    Thank u sir for providing such a nice explanations on the sequential circuits..it is really helpful to Me..

  • @myrtopieridou9911
    @myrtopieridou9911 4 роки тому

    amazing job man! keep going !thanks for the help!
    I think you are the reason for my success !!!!!

  • @ronnieahabwomugisha5283
    @ronnieahabwomugisha5283 4 роки тому +2

    THANKS A LOT, ITS JUST GOT ME READY.

  • @rudranarayanbaral
    @rudranarayanbaral 5 років тому +2

    Thank you so much sir. You are simply marvelous.

  • @vishalbharadwaj4896
    @vishalbharadwaj4896 7 років тому +2

    Your lectures are very helpful.

  • @vipingautam9852
    @vipingautam9852 6 років тому

    Thanks sir, All your lectures are well explained. Thanks :)

  • @musicgirl_14
    @musicgirl_14 4 роки тому +2

    Thanks again and again sir for your work

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

    Thankuuuuuu sir
    You really help us alot.
    Clear concepts in a seconds.
    You really make difficult subjects easy.

  • @s.prabin
    @s.prabin 3 роки тому +4

    Here,T.T. for SR f/f using NOR gate and and the diagram for RS f/f using NAND gate, which is quite overwhelming if you are looking table and the diagram parallely , so nerds don't get confused 😕

  • @ssdubey6642
    @ssdubey6642 7 років тому

    thanks sir.
    that's so better explained as compared to others

  • @NaveenKumar-rv7fx
    @NaveenKumar-rv7fx 4 дні тому

    Hi NESO,
    If Q is given back to J NAND gate
    Q' is given back to K NAND gate,Also toggiling occurs. You proved that you are good teacher.And you has a knowledge sharing great habit.🙋🏻‍♂️

  • @Keerthana.J
    @Keerthana.J 2 роки тому +1

    I understood the concept well thank you so much sir👍

  • @Hari-lg3fi
    @Hari-lg3fi 2 роки тому +3

    Is it confusing only for me? :(

  • @HaydenHatTrick
    @HaydenHatTrick 6 років тому +2

    are you trying to tell me, with a JK flipflop and two high inputs, it will flipflop?
    Madness!
    PS, actually very helpful. Thankyou :)

  • @rajatshetty10
    @rajatshetty10 7 років тому +1

    Thank you very much for uploading these videos. Now I am able to understand digital electronics a bit.
    But Sir, will you please do me a favour by uploading the positive and negative edge triggering of SR, D, JK and T flip flops because I am not able o understand these particular things in digital electronics.
    Thank You.

  • @haricharan9280
    @haricharan9280 7 років тому

    Tq sir.this videos are very usefull to me.any one cam understand ur lecturing easily. Way of teaching i loved it thanq sir

  • @tanzimtheunstable4239
    @tanzimtheunstable4239 7 років тому

    this was grately helpful. I had a hard time understanding toggling

  • @stefanpuzic9785
    @stefanpuzic9785 8 років тому +18

    + Neso Academy how did u know what is the value of Q and Q' , accept the last case where u assumed

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

      U don't but if u see the nand truth table when ever one input is 0 then irrespective of 2 input we can say the output will always be 1.so if J=0 and K=1(0,1) input we take the Q=1 and then we pass this 1 as 2nd input of k and thus ~Q =0.
      Hope this help

  • @kmonish9119
    @kmonish9119 7 років тому

    you guys are great. iam able to understand about flip flops. good job. all the best guys and thank you : )

  • @jayantrathore2789
    @jayantrathore2789 5 років тому +4

    In J-k flip flop you have made use of 3 input NAND gate with 1.J 2.clk and 3 .k
    Until and unless we get all.3 input how will the gate work or there is previous some Q and Q bar going in 3 input NAND gate , please clarify it

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

    i have learned so much things from you thank youu you are the best

  • @curiosityzero2151
    @curiosityzero2151 6 років тому

    It was really helpful
    I apperciate your work!!!!

  • @kushagraagrawal1739
    @kushagraagrawal1739 5 років тому +1

    Sir can you make a series of videos on 8085 microprocessor please!!!...and thank you for your existing content too

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

    Congratulations 👏👏🎊 sir for 1million subscribers , keep growing

  • @aatibmd991
    @aatibmd991 23 дні тому

    I m watching almost every 6 months

  • @adityajaiswal4605
    @adityajaiswal4605 7 років тому

    salute to neso academy very good explanation

  • @10_yogeshchandrapandey90
    @10_yogeshchandrapandey90 4 роки тому +4

    Don't you think so, that clk. Must be edge triggered (as per diagram) ?

  • @EngineeringEducation
    @EngineeringEducation 6 років тому

    Excellent video!

  • @sangmolandry977
    @sangmolandry977 9 років тому +2

    your video is awesome.. thanks a lot

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

    Happy teacher's day...Sir. Your videos helps me a lot. Please make video on electromagnetic.

  • @ahmadjaradat3011
    @ahmadjaradat3011 9 місяців тому

    Man, you are awesome.

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

    sir in the sequential circuits playlist, you haven't added video of characteristic and excitation table of d flip flop.You directly moved onto JK flip flop. Please add it to the playlist too.

  • @Official-tk3nc
    @Official-tk3nc 4 роки тому +2

    Sweet voice sir😁

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

    Great explaination sir I was totally understanded thank you for sharing this sir♥️👌

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

    I have a question. Initially you had shown a S- R Flip Flop with S and R as two inputs with clock pulse present. That indicates that the NAND gates present in the first level are two input NAND gates.
    If this is the case then how a third input (Q or it's complement) can be added as one more input to these NAND gates? In this process the two input gates are changing to 3 input gates.

    • @googl-o-minator7335
      @googl-o-minator7335 Рік тому

      yes.. it can be done.. we have a separate IC for three input NAND gate (IC7410)

  • @zidanm969
    @zidanm969 7 років тому

    for me this tutorial is so good good job

  • @Mercio2
    @Mercio2 9 років тому

    Thank you so much, sir.

  • @Moon_lovee
    @Moon_lovee 9 місяців тому

    His way of teaching makes me feel like... It's an offline class. Mean face to face.

  • @user-zm4jb3ks9x
    @user-zm4jb3ks9x 6 років тому

    good clear explaination,thank you

  • @YosefTesfay
    @YosefTesfay 7 років тому

    You are amazing. Thank you!!!

  • @bhuvaneshwaranm7290
    @bhuvaneshwaranm7290 8 років тому +18

    sir ,i have been hearing your voice by this tutorial ,i just i want to see your face ,your tutorials are really awesome

    • @bhuvaneshwaranm7290
      @bhuvaneshwaranm7290 8 років тому

      see you are crossing in my way

    • @bhuvaneshwaranm7290
      @bhuvaneshwaranm7290 8 років тому

      did i do anything to u

    • @bhuvaneshwaranm7290
      @bhuvaneshwaranm7290 8 років тому

      i just like that video whats wrong with that . You said "gay" that was really annoyed me

    • @bhuvaneshwaranm7290
      @bhuvaneshwaranm7290 8 років тому

      so sry if i hurt You.plz dont cross my way.

    • @studentcommenter5858
      @studentcommenter5858 6 років тому +9

      He was actually replying to some other person's comments. But it seems like that other person has deleted his comments and this conversation looks one sided.

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

    Can u recommend textbook on digital electronica

  • @nerdguy1061
    @nerdguy1061 9 років тому +1

    just awsome video tutorials....i have ever seen...@neso

  • @Jam-yh4qp
    @Jam-yh4qp 5 років тому +2

    that was rly helpful, thnx

  • @taibatalat8766
    @taibatalat8766 6 років тому

    Explaination method is excellent

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

    Sir Can you please make videos on programming of 8051 microcontroller
    It would help a lot of students.
    Thank you.

  • @freud6343
    @freud6343 8 років тому

    awesome videos..helped a lot..thank you

  • @Anurag_Dhrejen
    @Anurag_Dhrejen 7 років тому +10

    you took j=0 k=1 as similar to sr flipflop
    can you explain it on jk directly how it is coming that output ...without taking reference of sr flip flop..

  • @akashsingha2616
    @akashsingha2616 8 років тому

    simple to understand videos!

  • @iancoleman6352
    @iancoleman6352 4 місяці тому

    Isn't the truth table you have for the SRFF for the nor gate implementation?

  • @relaxingmusicandmeditation516
    @relaxingmusicandmeditation516 7 років тому

    It is so helpful sir.Thank u

  • @406shubham
    @406shubham 6 років тому +5

    Hi Neso Academy, your videos are really help full, thanks for the easy explanations.
    for the JK flip flop i have a question, why are we considering the output of clk, S and R as Q(n+1) and why not just Q?
    this is causing a lot of confusion since the value iof Q and Q(n+1) are opposites. please help !!

  • @sam-pd6zi
    @sam-pd6zi 2 роки тому

    thanks to your video, i have understood now

  • @Gabrielisbtwmexican
    @Gabrielisbtwmexican 5 років тому

    so you explained the jk latch but how do we use jk latches to make JK flip flop?

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

    Thank you sir🥺❤️

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

    Thank you sir

  • @WARnationLD
    @WARnationLD 8 років тому +1

    Very good videos

  • @marouanebicher5959
    @marouanebicher5959 6 років тому +4

    hello there . i do have a very simple questions at 5:30 you said when we have 0 and 1 in SR latch the result actually is that Q =0 and not to 1 based on the table you have on your presentation any answer would be helpful .

    • @munirahmoorman3602
      @munirahmoorman3602 6 років тому +2

      marouane bicher you have to refer to basic SR Latch table . When Reset = 1, Qnot=0

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

      @@munirahmoorman3602 thanks bro
      Iam too wasted my time there

  • @coderavec2mdschool2024
    @coderavec2mdschool2024 7 років тому

    well that's just awesome thanks

  • @MasterXoergOwnsen
    @MasterXoergOwnsen 5 років тому +2

    If I assume Qn-1 = 1 and ~Qn-1 = 0, and I also set c=1, j=1 and k = 0, then the Inputs of the last nand gates (so the one for the latch) are both 0 and 1, which would result in Qn =1 and ~Qn = 1 if you go and check the network (not the truth table).

  • @humedomer6652
    @humedomer6652 4 роки тому

    Thank you sir for clarification toggle state

  • @saikatmondal2715
    @saikatmondal2715 5 років тому

    can i use it for blinking of two leds?

  • @user-me1qg2jk9w
    @user-me1qg2jk9w 7 місяців тому

    Great explaination and unorthodox English ❤😅

  • @DupczacyBawol
    @DupczacyBawol 7 років тому

    I still dont understand how the clock "locks" and "shift" the latches to next state :(

  • @keshavraj5451
    @keshavraj5451 9 місяців тому +10

    00:06 JK flip-flop provides an advantage over SR and D flip-flops.
    00:51 Introduction to JK flip-flop
    01:42 The JK flip-flop has two outputs Q and Q complement.
    02:50 JK flip-flop and SR flip-flop have similar outputs except for the last case.
    04:06 Analyzing the values for Q and Q complement
    05:03 NAND SR latch can produce different outputs based on input changes
    06:01 The JK flip-flop races between 0 and 1
    06:58 JK flip flop output is the complement of the previous state.

  • @gishopushparajah1477
    @gishopushparajah1477 9 років тому

    Life Saver! Thanks a lot

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

    Can you implement the jk flip-flop using SR NOR flip-flop

  • @muniraju115
    @muniraju115 6 років тому

    What do you mean by 3 inputs to a NAND gate?
    Please give details

  • @manojawasthi5255
    @manojawasthi5255 7 років тому

    also upload video of semiconductor memory and asynchronous sequential logic

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

    I just want to know how would the 3rd connection (which was not present in the sr FF) affect the 1st four output, I don't understand because you filled the same as SR FF..

  • @debanjanghosal618
    @debanjanghosal618 7 місяців тому

    1:00 Why does the logic diagram represents a SR flip-flop with NAND gate but the truth table is of a NOR gate SR flip-flop?

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

    Amazing videos

  • @fitrihanifa9504
    @fitrihanifa9504 3 місяці тому +1

    isnt that a truth table for SR in a NOR?

  • @Deepakfly
    @Deepakfly 2 роки тому +1

    I don't know why you have choosen as Q and Q complement different in last case... What does the meaning of last state if you taken as Different ? I don't know why... But I think there should be some different explanation to it....

  • @TwistedKrizZ33
    @TwistedKrizZ33 8 місяців тому

    Thank you

  • @nishantsingh931
    @nishantsingh931 5 років тому +10

    sir how can we assume ourr self the value of Q (4:20)

    • @rg1346
      @rg1346 4 роки тому +4

      the value of Q will depend on the previous state before input becomes 1,1 . so the Q value doesnt matter, it could be 0 or 1 but the working will be same

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

    sir while write output for inputs your not condidering q and q' inpus just writing outputs considerin only j and k and enable or clock