Concepts of Algorithm, Flow Chart & C Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • Concepts of Algorithm, Flow Chart & C Programming by Prof. Wongmulin | Dept. of Computer Science Garden City College-Bangalore

ความคิดเห็น • 587

  • @kaupthing
    @kaupthing 8 ปีที่แล้ว +83

    I do not program in C but this is just good for all programmers. Thank you so much

  • @TP_Raks
    @TP_Raks 4 ปีที่แล้ว +21

    The hero we need but don't deserve 😢you are awesome Prof.

  • @elrepz
    @elrepz 10 ปีที่แล้ว +2

    The problem is the initialization of i equal to 1 in for loop statement; for (i=1; i

    • @onjofilms
      @onjofilms 10 ปีที่แล้ว +2

      Sorry sir, you are incorrect. The instructor used ( i=1 ; i

  • @darklightning4539
    @darklightning4539 3 ปีที่แล้ว +16

    Thank you sir for uploading this video, my teacher recommend me to watch to understand this topic.

  • @reedthornhill9043
    @reedthornhill9043 3 ปีที่แล้ว +14

    Homework: INF 131
    1)Write an algorithm that reads the first and last name of an employee, the number of working hours he/she has performed, and his/her hourly rate. Then calculates and print out his/her first and last name and the salary of that employee.
    2) write an algorithm that reads the marks of CA, of TPE, and that of the normal exams for an undergraduate student in a certain unit of value. Then calculates the average of that student in that unit of value.
    Note that: CA count for 20%, TPE count for 10%, and normal exams count for 70%. The algorithm will be able to tell the student whether or not he has validated his exam or not, and with what reference or grade ( "fair" for an average between or equal to 10 and 11, "fairly good" for an average between or equal to 12 and 13, "good" for an average between or equal to 14 and 15, "very good" for an average between or equal to 16 and 18, and then "Excellent" for an average between or equal to 19 and 20.
    Good luck!
    We shall all correct it here on Tuesday evening, after every body have solve!!!

  • @archieterrace4152
    @archieterrace4152 4 ปีที่แล้ว +1

    To ME, a character analyst, , THIS specific mathematical orator appears to be VERY superbly talented to the HIGHEST possible degree, in "ALL" perspectives and concepts of algebra & trigonometry BUT could IMPROVE his tutoring style of delivery, by simply pronouncing his words with MORE distinctly different syllable emphasis OR stated differently, by using SLOWER pronunciation that simultaneously, would render his delivery more impressive. THIS man has inherited the character ingredients that permit him to be successful at virtually ANYTHING he sets his mind to accomplish and very probably was parented by similarly talented people whom were attracted to each other by each desiring a companion with an orderly mind.

  • @RayiesAhmad
    @RayiesAhmad 10 ปีที่แล้ว +16

    there is an error in problem no. 2 in printing section where you want to print the largest no.
    the error is if you only want to print the largest variable name then you must write it inside the double quotes,
    otherwise you need to write format specifier of that variable inside the double quotes,
    thank you.

  • @bimochanyatri
    @bimochanyatri 4 ปีที่แล้ว +6

    This video is very helpful for me. ....
    Sir, I want more video ..
    Love from Nepal ❣️

  • @rkumaresh
    @rkumaresh 6 ปีที่แล้ว +3

    You have explained it very neatly sir. I am refreshing my thoughts on writing algorithms and drawing flowcharts for different programs which i used to do heavily when i was a student. I am a tutor in early 40s and this helps me to teach the programming for my students as well.

  • @mamadanpro6964
    @mamadanpro6964 3 ปีที่แล้ว +1

    Now i can do flow chart even if i don't get alogarithm steps. thank you you made me good student.

  • @DerrickPalmer
    @DerrickPalmer 12 ปีที่แล้ว +7

    DWL Thank You Man, You Did My Home Work.... My Exact Homework was in this video, Am Gonna Be The Boss In Class Monday.... lol Thanks Again

  • @krypto_69
    @krypto_69 3 ปีที่แล้ว +1

    I have been looking for hours thanks to u that u exist i finally found it

  • @samuelokeke3149
    @samuelokeke3149 5 ปีที่แล้ว +1

    Hi prof,
    I think the right question/ decision to ask in problem 2 is, is b less than or equal to A, if answer is No, then print A is larger than B. This is because B might be equal to A.

  • @beneelohimhub
    @beneelohimhub ปีที่แล้ว +1

    Woaw... Thank you prof

  • @keshanglama3885
    @keshanglama3885 3 ปีที่แล้ว +6

    This is a good explanation I loved it and is easier to do ❤❤❤

  • @munnaengineer
    @munnaengineer 9 ปีที่แล้ว +9

    Very nice tutorial. Thank you professor.

  • @mubeenali6167
    @mubeenali6167 3 ปีที่แล้ว +1

    please solve this problem
    Write an algorithm and draw the flowchart that will request from the user to enter 2 integer numbers. If the numbers signs are same (both are positive or both are negative), the algorithm will find and print the average of the two numbers. Otherwise, it will find and print the multiplication of two numbers as an output.

  • @hectic_student
    @hectic_student 4 ปีที่แล้ว +1

    If you are still wondering what is the error, for me the error is not having a variable array but just a single variable, it overwrites the value to the latest. To fix this just have an array like float a [9999] to assign it to handle atleast 9999 values, if you put too much like 9999999 there will be a segmentation fault due to file handling of memory for the 9999999. Then if It's a for i loop just do a [i].

  • @folgee7368
    @folgee7368 ปีที่แล้ว

    thank you very much Proffesor Wongmulin, this was extremly helpfull

  • @sadammohamed2733
    @sadammohamed2733 6 ปีที่แล้ว

    10% my class attendance 90% in your lecture vidios thank you so much you are my hero
    pls
    create
    more
    vidios
    you are so nice
    tnx

  • @deepeshbuckus5206
    @deepeshbuckus5206 3 ปีที่แล้ว +1

    Hey Wong Sir! One of my favorite lecturer!

  • @gerroaolcom
    @gerroaolcom 5 ปีที่แล้ว +1

    Great job Prof. Wongmulin. Many students are being helped by your demonstration of an algorithm.

  • @aimarramadhan2380
    @aimarramadhan2380 5 ปีที่แล้ว +29

    Flowchart is much more easier than Pseudocode but less reliable than pseudocode. Since I love drawings, I prefer flowchart than Pseudocode as it deals with shapes and not words.

    • @thel3gitdanmal668
      @thel3gitdanmal668 ปีที่แล้ว +1

      Can you teach me how to properly deal with flowcharts?

  • @praveenreddy9464
    @praveenreddy9464 9 ปีที่แล้ว +4

    its been a great video......... thank u very much "GARDENCITY"

  • @sanjeevashetty8891
    @sanjeevashetty8891 6 ปีที่แล้ว +3

    In the problem 1 in algorithm in step 2 why should we use only output cant we use input.....

  • @asaadsaaid5950
    @asaadsaaid5950 2 ปีที่แล้ว

    i have a questin ...why are we first finding the average of 3 integers and then going for inputting them in a command?

  • @zakiasmaa6834
    @zakiasmaa6834 ปีที่แล้ว +1

    good video; thank you so much

  • @nareshsukheja7747
    @nareshsukheja7747 4 ปีที่แล้ว +8

    Who else watched in 2x speed and still felt 3x should also be there

  • @cefanie
    @cefanie 4 ปีที่แล้ว +4

    Amazing, great explanation!

  • @SIGMA_Afg
    @SIGMA_Afg 8 ปีที่แล้ว

    My friends are in GCC but they did not tell me about you sir !
    So nice and helpful tutorial !

  • @PoetryInMotion946
    @PoetryInMotion946 2 วันที่ผ่านมา

    Prof Wongmulin a real G👊

  • @mjoctavio3730
    @mjoctavio3730 7 ปีที่แล้ว +3

    Great stuff! Good video and easy to understand by beginners. Kudos!

  • @neogeo3063
    @neogeo3063 10 ปีที่แล้ว +4

    For the third example, sum must be initialized to 0 before the loop, Thank you

  • @lightbonkey
    @lightbonkey 7 ปีที่แล้ว +1

    I really appreciate your explanation to me, it was very difficult to me to understand well how to do flow chart and algorithm

  • @thecuriousengineer
    @thecuriousengineer 6 ปีที่แล้ว

    This is nicely put together. Clear instructions and everything! If this is too slow, people can go settings > speed > 1.5 :)

  • @shortToGND
    @shortToGND 10 ปีที่แล้ว +11

    in the problem 2 you wrote :
    if a>b
    output "largest is ", a
    else
    output "largest is ",b
    but you forgot if the a == b

    • @richardsantink
      @richardsantink 10 ปีที่แล้ว +2

      else if (a==b)
      printf("the integers are equal: %d = %d", a,b);

    • @cherishroby8639
      @cherishroby8639 7 ปีที่แล้ว

      nerdsssssssssss!!!!!!

    • @asustufa1515
      @asustufa1515 7 ปีที่แล้ว

      it's not that complimented lol..pretty stander stuff

    • @sapthasagar7840
      @sapthasagar7840 7 ปีที่แล้ว

      I did notice that

  • @dorismagri1523
    @dorismagri1523 8 ปีที่แล้ว

    Thanks Pro. Wongmulin for youre video you are very clear and people could learn and helpful.

  • @TrustCoding
    @TrustCoding ปีที่แล้ว

    Dear sir, you should continue recording. keep it up the good work.

  • @yulose9
    @yulose9 3 ปีที่แล้ว +3

    damn homie you be saving my ass for my midterms! thanks!

  • @kundanchouhan7357
    @kundanchouhan7357 7 ปีที่แล้ว

    its too much correct way that you you are explain clearly understandable...
    and very nice video format

  • @amitthakur550
    @amitthakur550 12 ปีที่แล้ว +4

    thanks sir today i'm watch this video,they are very helpful

  • @ramsureshkumar7824
    @ramsureshkumar7824 2 ปีที่แล้ว +1

    thank you a lot before this i didnt understand algorithms clearly

  • @mulungapumulo4948
    @mulungapumulo4948 ปีที่แล้ว +1

    Thank you very much for the information

  • @SUHCALVINAMBE
    @SUHCALVINAMBE 3 ปีที่แล้ว

    Indians are the best when it comes to Computer Engineering. I'm happy I saw this. Almost failed this course because I had a shitty teacher.

  • @LindokuhleNkamela
    @LindokuhleNkamela 11 ปีที่แล้ว +3

    wow! what a superb lecture thanks,is it a must to calculate the sum of n terms using FOR loop

  • @ehvway
    @ehvway 4 ปีที่แล้ว +1

    great video sir! I will use this knowledge for my arduino projects from now on!

  • @learnmorebmusikiri8029
    @learnmorebmusikiri8029 3 ปีที่แล้ว +1

    thanks you helped me to solve my problems

  • @eternalwaze2889
    @eternalwaze2889 3 ปีที่แล้ว

    My B.I.L said this to me, if i want to learn Algorithm, i must start from basic first how to use and undertand the flow each of Algorithm first since most of this are composed of mathematics and sometimes while i’m watching this, the old saying is true, the old repentance is true, most of us during our younger years, we wants to cotrol the world, we wants to have more friends, to be cool, to be self centered sometimes until we forgot it more to learn more

  • @suraj4959
    @suraj4959 9 ปีที่แล้ว +2

    Thanks a lot prof. Wongmulie

  • @gopip618
    @gopip618 6 ปีที่แล้ว +2

    Sir, in the problem "biggest if 2 No's" u haven't mentioned %d in the printf statements

  • @ahsanraza6871
    @ahsanraza6871 10 ปีที่แล้ว +2

    This is quite full of benifits for beginners !
    Anyway TYSM ! :')

  • @BRYDN_NATHAN
    @BRYDN_NATHAN 3 ปีที่แล้ว

    Thank you
    Pseudocode plus.
    ✨👍✨

  • @robdemonx
    @robdemonx 12 ปีที่แล้ว +2

    A very helpful video indeed. Thank you Mr.Wong Mulin :)

  • @sujayghosh3540
    @sujayghosh3540 2 ปีที่แล้ว +1

    write an algorithm and draw a flowchart to accept the numbers in bytes and convert that into kilobytes, megabytes, gigabytes and terabytes.

  • @blue-ki2vg
    @blue-ki2vg 4 ปีที่แล้ว +2

    Nice explanation, thank you!

  • @avneetsingh7378
    @avneetsingh7378 8 ปีที่แล้ว +2

    Can you explain the concept of taking 'a' in the last program?
    I mean to say from where it is getting value?
    And why we have used?because it is of no use in the program.
    And that "insert" statement is also of no use.

    • @menardkatavare9854
      @menardkatavare9854 4 ปีที่แล้ว

      I have the same question .what is the use of a?

  • @primex9427
    @primex9427 3 ปีที่แล้ว +1

    I always skip this video because of the quality but tf I was wrong this is only the video I learned a lot about flowchart

  • @MarkAnderson-fl8oq
    @MarkAnderson-fl8oq 9 ปีที่แล้ว +2

    Nice tutorial. Please share a tutorial on C programming for beginners.

    • @ArunKumar-ez8nr
      @ArunKumar-ez8nr 9 ปีที่แล้ว +1

      You can check this tutorial on C programming www.techcrashcourse.com/2015/05/c-programming-language-tutorial.html hope it helps.

    • @CodingClassroom
      @CodingClassroom 8 ปีที่แล้ว

      Subscribe us.. Learn programming from scratch

  • @dennyahmad4236
    @dennyahmad4236 9 ปีที่แล้ว +5

    there is something wrong. he did not define the variable type first for a,b, and c in flowchart

    • @dexter1
      @dexter1 9 ปีที่แล้ว

      +Denny Ahmad Could you may be show us what u mean. like define the variables yourself, in your way.
      This way everyone know exactly what you mean.

    • @dennyahmad4236
      @dennyahmad4236 9 ปีที่แล้ว

      i mean, before you input a value into a variable, you have to define it first, example variable a will save only number value then i define it as integer variable.

  • @MarcAndrew11
    @MarcAndrew11 12 ปีที่แล้ว +1

    Sir ! what if the 2 inputed integers are equal ? what would be the process on the ALGORITHM,FLOWCHART AND PROGRAMMING?

  • @Mahdi.Samadi
    @Mahdi.Samadi 5 ปีที่แล้ว

    I think if you enter float numbers instead of integers, the program will still run. it will not show "You haven't entered an integer". That's my guess what error is.

  • @dipeshpoudel7880
    @dipeshpoudel7880 6 ปีที่แล้ว

    Teaching the more lesson to the student as they are the future of a builder nation

  • @kakikumendaki
    @kakikumendaki 9 ปีที่แล้ว +4

    very helpful , thanks prof. Wongmulie

  • @phaicoding9073
    @phaicoding9073 2 ปีที่แล้ว

    wow, your explanation is very good...!!!

  • @adamsdarrellj
    @adamsdarrellj 10 ปีที่แล้ว +1

    Why do you need to clear screen after defining the variables? There should be nothing on the screen at this point...
    Also,
    return 0; works in place of getch();
    With those two, you should be able to eliminate the second header.

    • @adamsdarrellj
      @adamsdarrellj 10 ปีที่แล้ว

      got the clear screen. just had to keep watching.

  • @devarapallivinay5667
    @devarapallivinay5667 5 ปีที่แล้ว +1

    Thank u so much for your valuable words sir.,.........

  • @JeffreyRelatedIssues
    @JeffreyRelatedIssues 9 ปีที่แล้ว +6

    Your integer comparator algorithm was a bit off; consider a=b, your program would output b>a
    I liked the video anyway :)

    • @lindrik
      @lindrik 8 ปีที่แล้ว +3

      That bugged me as well. I understand that this class is at an introductory level and needs to use simple examples but I feel that simplifying to the point of error sows dangerous seeds in the students' minds.

    • @nandurstudio
      @nandurstudio 5 ปีที่แล้ว

      That's how programs works, you always be able to run your code till u find the error then fixed it and call it Version 1.1 Update.

  • @gelomacapuno927
    @gelomacapuno927 4 ปีที่แล้ว

    Sir in printf("
    The Largest is",a); is good?
    not this|
    printf("
    The Largest is %d",a);
    ?
    I'm using Dev C++;
    I'm not sure if your code is running correctly.
    Thank you for your response.

  • @hissuyash677
    @hissuyash677 3 ปีที่แล้ว +1

    sir I've doubt in 3rd example in the float a declaration part (ps:overall the lecture was good)

  • @maureenmaina7984
    @maureenmaina7984 6 ปีที่แล้ว

    thanks u made me understand the concepts which i had almost given up on

  • @nayrrepse2074
    @nayrrepse2074 10 ปีที่แล้ว +174

    dafaq.. its easy but hard.

  • @MrBledi
    @MrBledi 12 ปีที่แล้ว

    Great Mr Prof.
    Thanks allot.
    Greetings from Albania

  • @peterpouk6783
    @peterpouk6783 5 ปีที่แล้ว

    very good presentation, it gives full intuition really on algorithms

  • @bravek9881
    @bravek9881 7 ปีที่แล้ว

    Thank you alot for this Useful video..i have got my exam on algorithms and flowcharts next week..and i want the Algorithm for this piece of Code in c++ (do..while loop):
    #include
    using namespace std;
    int main() {
    int i=1;
    int sum=0;
    do{
    cout

  • @MsBeatria
    @MsBeatria 11 ปีที่แล้ว +1

    Nice clip.
    Did you have example for C-Programming- Java?
    Thanks!

  • @souvikmukherjee2349
    @souvikmukherjee2349 4 ปีที่แล้ว +1

    You clarified them one after another !!Thank you sir!!

  • @ramanareddy8999
    @ramanareddy8999 3 ปีที่แล้ว

    I mechanical student but I understand concept very easily

  • @AnjaliKumari-rp3zn
    @AnjaliKumari-rp3zn 3 ปีที่แล้ว

    Write a program in Q Basic to calculate the area and perimeter of 10 different rectangles. Take the length and breadth as input and display the result.( use any loop)

  • @ajmalsaber6577
    @ajmalsaber6577 4 ปีที่แล้ว

    The error is on variable "sum". You didn't initialize it, it should be initialized by 0.

  • @knightartsproduction1916
    @knightartsproduction1916 3 ปีที่แล้ว +1

    Watching this for my tomorrow exam

  • @SoniyaSoniya-pl8dw
    @SoniyaSoniya-pl8dw 6 ปีที่แล้ว

    I have tried to understand..but it looks hard
    But after seeing this video it's looks easy
    Thanks 😊

  • @alynamalik7889
    @alynamalik7889 6 ปีที่แล้ว

    Very better than my computer teacher all we do is: we sleep during lecture
    lol!

  • @anshuldabrase2825
    @anshuldabrase2825 7 ปีที่แล้ว

    I look is video and is very very simple explanation this man I understand this concepts

  • @Hevletica
    @Hevletica 3 ปีที่แล้ว

    Excellent video

  • @GemilangIsmajaya
    @GemilangIsmajaya 7 หลายเดือนก่อน

    splendid professor

  • @annejayathilaka2062
    @annejayathilaka2062 4 ปีที่แล้ว +1

    this was so useful to me . thank u

  • @vijaytvdrama4903
    @vijaytvdrama4903 3 ปีที่แล้ว

    Sir . why didn't you used connector symbol withbeen two process ( problem 2)

  • @sibaka1234
    @sibaka1234 3 ปีที่แล้ว

    Thanks so much Prof....let me review some Algorithm, Flow Chart, C Program before asking for your assistant

  • @declanoconnor841
    @declanoconnor841 9 ปีที่แล้ว

    A flow chart is a type of algorithm. He did a examples of a flow chart and a psudo code.

  • @MJ-be2ld
    @MJ-be2ld 6 ปีที่แล้ว

    sir when should be use connector?? Referring to program 2 , can we use connector before stop oval where results of yes and no are combining?????

  • @annwambo3506
    @annwambo3506 8 ปีที่แล้ว +1

    Smart,,it has helped me a lot

  • @HetPatel_1
    @HetPatel_1 6 ปีที่แล้ว

    I like it very much
    You are the excellent professor

  • @devikiranreddykesavarapu3635
    @devikiranreddykesavarapu3635 5 ปีที่แล้ว +2

    Super awesome sir & love u you r very smart, handsome 🥰😘😘

  • @BCMCHINNI
    @BCMCHINNI 6 ปีที่แล้ว +3

    This is driving me crazy! I'm gonna flunk my exams... ☹

    • @camillomancini5619
      @camillomancini5619 6 ปีที่แล้ว +1

      Bhavana Chandramouli dont worry fuck school

  • @terraflops
    @terraflops 10 ปีที่แล้ว

    thank you so much for this video, i understood what was happening despite not using C but C++.

  • @joyzia1335
    @joyzia1335 12 ปีที่แล้ว

    thank you Prof. Wongmulin, i learned something for today!very helpful video!

  • @simpleme84
    @simpleme84 7 ปีที่แล้ว

    why do you still need to output "input 3 integers"? (problem 1) x)

  • @gamepakar
    @gamepakar 6 ปีที่แล้ว +1

    For Problem 2, I think there is a small mistake when creating the algorithms, which the condition of a=b is not considered in the algorithm. If I had any mistake, please point it out. Thank you^^

    • @TheRVSN
      @TheRVSN 2 ปีที่แล้ว

      That should be the first test to catch and output an error.

  • @ShreeRamFaujdar-gm3bj
    @ShreeRamFaujdar-gm3bj 2 ปีที่แล้ว +2

    Command:- Thanks the tutor
    step1: START
    step2: if helpful say thanks
    step3: yes, then say thanks
    step4: output, Thanks
    step5: STOP
    😒😒😒😒 it sucks

  • @asaadsaaid5950
    @asaadsaaid5950 2 ปีที่แล้ว

    how can a system find an average if user has not inserted the integers?